diff options
author | Björn Schießle <schiessle@owncloud.com> | 2013-06-28 10:06:57 +0200 |
---|---|---|
committer | Björn Schießle <schiessle@owncloud.com> | 2013-07-01 10:48:13 +0200 |
commit | d97d00fe0f6c944e13447161c32f781bea41aae8 (patch) | |
tree | 493f83d69078b10db8e44688a5061e646ef21fbf /lib | |
parent | aead759f4750f2b453b6c1aa5a92dc94db59db3b (diff) | |
download | nextcloud-server-d97d00fe0f6c944e13447161c32f781bea41aae8.tar.gz nextcloud-server-d97d00fe0f6c944e13447161c32f781bea41aae8.zip |
add logo claim to defaults.php
Diffstat (limited to 'lib')
-rw-r--r-- | lib/defaults.php | 9 |
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(); |