diff options
author | Robin Appelman <icewind1991@gmail.com> | 2011-08-08 21:51:10 +0200 |
---|---|---|
committer | Robin Appelman <icewind1991@gmail.com> | 2011-08-08 21:51:10 +0200 |
commit | 5ecdd26902b7edd122a99de9286c8cdde8493185 (patch) | |
tree | edefc43feaee79f0f30401cac1bd996cb056e90d /admin | |
parent | e6f6d3dabccb5f9fd42d7f0f609107a9023fc4d3 (diff) | |
download | nextcloud-server-5ecdd26902b7edd122a99de9286c8cdde8493185.tar.gz nextcloud-server-5ecdd26902b7edd122a99de9286c8cdde8493185.zip |
show settings page in the correct context
Diffstat (limited to 'admin')
-rw-r--r-- | admin/apps.php | 8 | ||||
-rw-r--r-- | admin/system.php | 2 | ||||
-rw-r--r-- | admin/users.php | 2 |
3 files changed, 6 insertions, 6 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(); |