Settings...

This commit is contained in:
Lukas Reschke 2012-06-11 12:48:47 +02:00
parent 6817a6b102
commit ec4c373eaa
5 changed files with 16 additions and 16 deletions

View file

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

View file

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

View file

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

View file

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

View file

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