summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-06-28 10:06:57 +0200
committerBjörn Schießle <schiessle@owncloud.com>2013-07-01 10:48:13 +0200
commitd97d00fe0f6c944e13447161c32f781bea41aae8 (patch)
tree493f83d69078b10db8e44688a5061e646ef21fbf /lib
parentaead759f4750f2b453b6c1aa5a92dc94db59db3b (diff)
downloadnextcloud-server-d97d00fe0f6c944e13447161c32f781bea41aae8.tar.gz
nextcloud-server-d97d00fe0f6c944e13447161c32f781bea41aae8.zip
add logo claim to defaults.php
Diffstat (limited to 'lib')
-rw-r--r--lib/defaults.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/defaults.php b/lib/defaults.php
index 44c1a7e150b..215b148f946 100644
--- a/lib/defaults.php
+++ b/lib/defaults.php
@@ -17,6 +17,7 @@ class OC_Defaults {
private static $defaultSyncClientUrl = " http://owncloud.org/sync-clients/";
private static $defaultDocBaseUrl = "http://doc.owncloud.org";
private static $defaultSlogan = "web services under your control";
+ private static $defaultLogoClaim = "ownCloud Community";
private function themeExist($method) {
if (OC_Util::getTheme() !== '' && method_exists('OC_Theme', $method)) {
@@ -74,6 +75,14 @@ class OC_Defaults {
}
}
+ public static function getLogoClaim() {
+ if (self::themeExist('getLogoClaim')) {
+ return OC_Theme::getLogoClaim();
+ } else {
+ return self::$defaultLogoClaim;
+ }
+ }
+
public static function getShortFooter() {
if (self::themeExist('getShortFooter')) {
$footer = OC_Theme::getShortFooter();