From d97d00fe0f6c944e13447161c32f781bea41aae8 Mon Sep 17 00:00:00 2001 From: Björn Schießle Date: Fri, 28 Jun 2013 10:06:57 +0200 Subject: add logo claim to defaults.php --- lib/defaults.php | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'lib') 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(); -- cgit v1.2.3