summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-06-12 15:44:11 +0200
committerBjörn Schießle <schiessle@owncloud.com>2013-06-12 15:44:11 +0200
commite1e798c623c9a9b26a4e369e5448c9ac3fe1b9fc (patch)
tree9eaa282e00ff1252aa172f8a02953ab8a437c595 /lib
parentb29e01d5cf4b1d149373e4b70e83510d7e7cd50f (diff)
downloadnextcloud-server-e1e798c623c9a9b26a4e369e5448c9ac3fe1b9fc.tar.gz
nextcloud-server-e1e798c623c9a9b26a4e369e5448c9ac3fe1b9fc.zip
make footer and urls aware of ownCloud editions
Diffstat (limited to 'lib')
-rw-r--r--lib/defaults.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/defaults.php b/lib/defaults.php
index 59f8d976fe9..a43269dd67e 100644
--- a/lib/defaults.php
+++ b/lib/defaults.php
@@ -5,11 +5,13 @@ class OC_Defaults {
private static $communityEntity = "ownCloud";
private static $communityName = "ownCloud";
private static $communityBaseUrl = "http://owncloud.org";
+ private static $communitySyncClientUrl = " http://owncloud.org/sync-clients/";
private static $communitySlogan = "web services under your control";
private static $enterpriseEntity = "ownCloud Inc.";
private static $enterpriseName = "ownCloud Enterprise Edition";
private static $enterpriseBaseUrl = "https://owncloud.com";
+ private static $enterpiseSyncClientUrl = "https://owncloud.com/products/desktop-clients";
private static $enterpriseSlogan = "Your Cloud, Your Data, Your Way!";
@@ -21,6 +23,14 @@ class OC_Defaults {
}
}
+ public static function getSyncClientUrl() {
+ if (OC_Util::getEditionString() === '') {
+ return self::$communitySyncClientUrl;
+ } else {
+ return self::$enterpiseSyncClientUrl;
+ }
+ }
+
public static function getName() {
if (OC_Util::getEditionString() === '') {
return self::$communityName;