Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-07-03 14:38:20 +0400
committerBjörn Schießle <schiessle@owncloud.com>2013-07-03 14:38:20 +0400
commitf155826dc226c0456d6a13e5c8bc03228e688d71 (patch)
tree4e277b0a3e02af102cea553d2387db77a13b6eb6 /settings
parentd6f2fe6a6b0133b2ef308c170a4bed00fd1099ca (diff)
Add init funtion to OC_Defaults to be able to wrap translatable strings
Diffstat (limited to 'settings')
-rw-r--r--settings/personal.php2
-rw-r--r--settings/templates/admin.php2
-rw-r--r--settings/templates/personal.php1
3 files changed, 5 insertions, 0 deletions
diff --git a/settings/personal.php b/settings/personal.php
index d6c84b5bbc3..3e2b7e048ed 100644
--- a/settings/personal.php
+++ b/settings/personal.php
@@ -8,6 +8,8 @@
OC_Util::checkLoggedIn();
OC_App::loadApps();
+OC_Defaults::init(); // initialize themable default strings and urls
+
// Highlight navigation entry
OC_Util::addScript( 'settings', 'personal' );
OC_Util::addStyle( 'settings', 'settings' );
diff --git a/settings/templates/admin.php b/settings/templates/admin.php
index bd78e24a16f..d289310a69b 100644
--- a/settings/templates/admin.php
+++ b/settings/templates/admin.php
@@ -4,6 +4,8 @@
* See the COPYING-README file.
*/
$levels = array('Debug', 'Info', 'Warning', 'Error', 'Fatal');
+
+OC_Defaults::init(); // initialize themable default strings and urls
?>
<?php
diff --git a/settings/templates/personal.php b/settings/templates/personal.php
index 6175dc97465..1d704c597ba 100644
--- a/settings/templates/personal.php
+++ b/settings/templates/personal.php
@@ -4,6 +4,7 @@
* See the COPYING-README file.
*/?>
+<?php OC_Defaults::init(); // initialize themable default strings and urls ?>
<div class="clientsbox">
<h2><?php p($l->t('Get the apps to sync your files'));?></h2>