summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2012-06-11 12:48:47 +0200
committerLukas Reschke <lukas@statuscode.ch>2012-06-11 12:48:47 +0200
commitec4c373eaaf279e7a7d441ec52ec40a7a4886a53 (patch)
tree9f881b5aab918333fa4543eb3f9c14a93ff1eb51
parent6817a6b10286b0ba7d7b8b9b56cdb23c47e93c81 (diff)
downloadnextcloud-server-ec4c373eaaf279e7a7d441ec52ec40a7a4886a53.tar.gz
nextcloud-server-ec4c373eaaf279e7a7d441ec52ec40a7a4886a53.zip
Settings...
-rw-r--r--settings/admin.php4
-rw-r--r--settings/apps.php2
-rw-r--r--settings/help.php6
-rw-r--r--settings/personal.php12
-rw-r--r--settings/users.php8
5 files changed, 16 insertions, 16 deletions
diff --git a/settings/admin.php b/settings/admin.php
index a997bad4e3c..d160b3dcfd1 100644
--- a/settings/admin.php
+++ b/settings/admin.php
@@ -23,8 +23,8 @@ function compareEntries($a,$b){
usort($entries, 'compareEntries');
$tmpl->assign('loglevel',OC_Config::getValue( "loglevel", 2 ));
-$tmpl->assign('entries',$entries);
-$tmpl->assign('forms',array());
+$tmpl->assignHTML('entries',$entries);
+$tmpl->assignHTML('forms',array());
foreach($forms as $form){
$tmpl->append('forms',$form);
}
diff --git a/settings/apps.php b/settings/apps.php
index 7908e6cc18b..4f51a286ea6 100644
--- a/settings/apps.php
+++ b/settings/apps.php
@@ -92,7 +92,7 @@ usort($apps, 'app_sort');
$tmpl = new OC_Template( "settings", "apps", "user" );
-$tmpl->assign('apps',$apps);
+$tmpl->assignHTML('apps',$apps);
$tmpl->printPage();
diff --git a/settings/help.php b/settings/help.php
index f0abed8f558..e75607cd692 100644
--- a/settings/help.php
+++ b/settings/help.php
@@ -21,9 +21,9 @@ unset($kbe['totalitems']);
$pagecount=ceil($totalitems/$pagesize);
$tmpl = new OC_Template( "settings", "help", "user" );
-$tmpl->assign( "kbe", $kbe );
-$tmpl->assign( "pagecount", $pagecount );
-$tmpl->assign( "page", $page );
+$tmpl->assignHTML( "kbe", $kbe );
+$tmpl->assignHTML( "pagecount", $pagecount );
+$tmpl->assignHTML( "page", $page );
$tmpl->printPage();
?>
diff --git a/settings/personal.php b/settings/personal.php
index 64e08be89eb..927d9a407c0 100644
--- a/settings/personal.php
+++ b/settings/personal.php
@@ -48,14 +48,14 @@ foreach($languageCodes as $lang){
// Return template
$tmpl = new OC_Template( 'settings', 'personal', 'user');
-$tmpl->assign('usage',OC_Helper::humanFileSize($used));
-$tmpl->assign('total_space',OC_Helper::humanFileSize($total));
-$tmpl->assign('usage_relative',$relative);
-$tmpl->assign('email',$email);
-$tmpl->assign('languages',$languages);
+$tmpl->assignHTML('usage',OC_Helper::humanFileSize($used));
+$tmpl->assignHTML('total_space',OC_Helper::humanFileSize($total));
+$tmpl->assignHTML('usage_relative',$relative);
+$tmpl->assignHTML('email',$email);
+$tmpl->assignHTML('languages',$languages);
$forms=OC_App::getForms('personal');
-$tmpl->assign('forms',array());
+$tmpl->assignHTML('forms',array());
foreach($forms as $form){
$tmpl->append('forms',$form);
}
diff --git a/settings/users.php b/settings/users.php
index 96515a90ce4..1003ca8112a 100644
--- a/settings/users.php
+++ b/settings/users.php
@@ -34,10 +34,10 @@ foreach($quotaPreset as &$preset){
$defaultQuota=OC_Appconfig::getValue('files','default_quota','none');
$tmpl = new OC_Template( "settings", "users", "user" );
-$tmpl->assign( "users", $users );
-$tmpl->assign( "groups", $groups );
-$tmpl->assign( 'quota_preset', $quotaPreset);
-$tmpl->assign( 'default_quota', $defaultQuota);
+$tmpl->assignHTML( "users", $users );
+$tmpl->assignHTML( "groups", $groups );
+$tmpl->assignHTML( 'quota_preset', $quotaPreset);
+$tmpl->assignHTML( 'default_quota', $defaultQuota);
$tmpl->printPage();
?>