Settings...
This commit is contained in:
parent
6817a6b102
commit
ec4c373eaa
5 changed files with 16 additions and 16 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
||||
?>
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
|
||||
?>
|
||||
|
|
Loading…
Reference in a new issue