summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--admin/apps.php8
-rw-r--r--admin/system.php2
-rw-r--r--admin/users.php2
-rw-r--r--files/admin.php2
-rw-r--r--help/index.php2
-rw-r--r--settings/index.php2
6 files changed, 9 insertions, 9 deletions
diff --git a/admin/apps.php b/admin/apps.php
index 4f39feab0c5..de11dccc3d5 100644
--- a/admin/apps.php
+++ b/admin/apps.php
@@ -53,7 +53,7 @@ if($installed){
$records[]=$record;
}
- $tmpl = new OC_Template( "admin", "appsinst", "admin" );
+ $tmpl = new OC_Template( "admin", "appsinst", "user" );
$tmpl->assign( "apps", $records );
$tmpl->printPage();
unset($tmpl);
@@ -63,7 +63,7 @@ if($installed){
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();
@@ -82,7 +82,7 @@ if($installed){
}
// return template
- $tmpl = new OC_Template( "admin", "apps", "admin" );
+ $tmpl = new OC_Template( "admin", "apps", "user" );
$tmpl->assign( "categories", $categories );
$tmpl->assign( "apps", $apps );
@@ -94,7 +94,7 @@ if($installed){
$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();
diff --git a/admin/system.php b/admin/system.php
index 11a76132b4c..da77027f7aa 100644
--- a/admin/system.php
+++ b/admin/system.php
@@ -29,7 +29,7 @@ if( !OC_User::isLoggedIn() || !OC_Group::inGroup( OC_User::getUser(), 'admin' ))
OC_App::setActiveNavigationEntry( "administration" );
-$tmpl = new OC_Template( "admin", "system", "admin" );
+$tmpl = new OC_Template( "admin", "system", "user" );
$tmpl->printPage();
?>
diff --git a/admin/users.php b/admin/users.php
index b87f1bb5bc8..30b9fa46d3c 100644
--- a/admin/users.php
+++ b/admin/users.php
@@ -48,7 +48,7 @@ foreach( OC_Group::getGroups() as $i ){
$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();
diff --git a/files/admin.php b/files/admin.php
index 0b8639f38ca..7161de6e196 100644
--- a/files/admin.php
+++ b/files/admin.php
@@ -42,7 +42,7 @@ if(isset($_POST['maxUploadSize'])){
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();
diff --git a/help/index.php b/help/index.php
index f1adea0be01..642b2131737 100644
--- a/help/index.php
+++ b/help/index.php
@@ -18,7 +18,7 @@ OC_App::setActiveNavigationEntry( "help" );
$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 );
diff --git a/settings/index.php b/settings/index.php
index 8b970a13c58..12f48f23838 100644
--- a/settings/index.php
+++ b/settings/index.php
@@ -24,7 +24,7 @@ unset($languages[array_search($lang,$languages)]);
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);