|
|
|
@ -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(); |
|
|
|
|