$records[]=$record;
}
- $tmpl = new OC_Template( "admin", "appsinst", "admin" );
+ $tmpl = new OC_Template( "admin", "appsinst", "user" );
$tmpl->assign( "apps", $records );
$tmpl->printPage();
unset($tmpl);
if($categories==NULL){
OC_App::setActiveNavigationEntry( "core_apps" );
- $tmpl = new OC_Template( "admin", "app_noconn", "admin" );
+ $tmpl = new OC_Template( "admin", "app_noconn", "user" );
$tmpl->printPage();
unset($tmpl);
exit();
}
// return template
- $tmpl = new OC_Template( "admin", "apps", "admin" );
+ $tmpl = new OC_Template( "admin", "apps", "user" );
$tmpl->assign( "categories", $categories );
$tmpl->assign( "apps", $apps );
$app=OC_OCSClient::getApplication($id);
- $tmpl = new OC_Template( "admin", "app", "admin" );
+ $tmpl = new OC_Template( "admin", "app", "user" );
$tmpl->assign( "categories", $categories );
$tmpl->assign( "app", $app );
$tmpl->printPage();
OC_App::setActiveNavigationEntry( "administration" );
-$tmpl = new OC_Template( "admin", "system", "admin" );
+$tmpl = new OC_Template( "admin", "system", "user" );
$tmpl->printPage();
?>
$groups[] = array( "name" => $i );
}
-$tmpl = new OC_Template( "admin", "users", "admin" );
+$tmpl = new OC_Template( "admin", "users", "user" );
$tmpl->assign( "users", $users );
$tmpl->assign( "groups", $groups );
$tmpl->printPage();
OC_App::setActiveNavigationEntry( "files_administration" );
// return template
-$tmpl = new OC_Template( "files", "admin", "admin" );
+$tmpl = new OC_Template( "files", "admin", "user" );
$tmpl->assign( 'htaccessWorking', $htaccessWorking );
$tmpl->assign( 'uploadMaxFilesize', $maxUploadFilesize);
$tmpl->printPage();
$kbe=OC_OCSClient::getKnownledgebaseEntries();
-$tmpl = new OC_Template( "help", "index", "admin" );
+$tmpl = new OC_Template( "help", "index", "user" );
$tmpl->assign( "kbe", $kbe );
$tmpl->assign( "pagecount", $pagecount );
$tmpl->assign( "page", $page );
array_unshift($languages,$lang);
// Return template
-$tmpl = new OC_Template( "settings", "index", "admin");
+$tmpl = new OC_Template( "settings", "index", "user");
$tmpl->assign('usage',OC_Helper::humanFileSize($used));
$tmpl->assign('total_space',OC_Helper::humanFileSize($total));
$tmpl->assign('usage_relative',$relative);