From 3c691c9ec9b659897f4dda3769da7049c1ed23a9 Mon Sep 17 00:00:00 2001 From: Björn Schießle Date: Wed, 3 Jul 2013 14:21:51 +0200 Subject: move to non-static OC_Defaults Conflicts: lib/mail.php --- settings/personal.php | 4 ++-- settings/templates/admin.php | 6 +++--- settings/templates/personal.php | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) (limited to 'settings') diff --git a/settings/personal.php b/settings/personal.php index d68de4d570a..2c0b4b9e33f 100644 --- a/settings/personal.php +++ b/settings/personal.php @@ -8,7 +8,7 @@ OC_Util::checkLoggedIn(); OC_App::loadApps(); -OC_Defaults::init(); // initialize themable default strings and urls +$defaults = new OC_Defaults(); // initialize themable default strings and urls // Highlight navigation entry OC_Util::addScript( 'settings', 'personal' ); @@ -62,7 +62,7 @@ usort( $languages, function ($a, $b) { //links to clients $clients = array( - 'desktop' => OC_Config::getValue('customclient_desktop', OC_Defaults::getSyncClientUrl()), + 'desktop' => OC_Config::getValue('customclient_desktop', $defaults->getSyncClientUrl()), 'android' => OC_Config::getValue('customclient_android', 'https://play.google.com/store/apps/details?id=com.owncloud.android'), 'ios' => OC_Config::getValue('customclient_ios', 'https://itunes.apple.com/us/app/owncloud/id543672169?mt=8') ); diff --git a/settings/templates/admin.php b/settings/templates/admin.php index fd79f88af1c..6b211b957dc 100644 --- a/settings/templates/admin.php +++ b/settings/templates/admin.php @@ -5,7 +5,7 @@ */ $levels = array('Debug', 'Info', 'Warning', 'Error', 'Fatal'); -OC_Defaults::init(); // initialize themable default strings and urls +$defaults = new OC_Defaults(); // initialize themable default strings and urls ?>
t('Version'));?> - + getName()); ?> ()
t('Developed by the ownCloud community, the source code is licensed under the AGPL.')); ?> @@ -242,6 +242,6 @@ endfor;?>
diff --git a/settings/templates/personal.php b/settings/templates/personal.php index 4cf2b2393b3..d4396407525 100644 --- a/settings/templates/personal.php +++ b/settings/templates/personal.php @@ -4,7 +4,7 @@ * See the COPYING-README file. */?> - +

t('Get the apps to sync your files'));?>

@@ -114,13 +114,13 @@ if($_['passwordChangeSupported']) {
t('Version'));?> -
+ getName()); ?>
t('Developed by the ownCloud community, the source code is licensed under the AGPL.')); ?>
-- cgit v1.2.3