summaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorJakob Sack <kde@jakobsack.de>2011-04-17 19:38:04 +0200
committerJakob Sack <kde@jakobsack.de>2011-04-17 19:38:04 +0200
commit47223ae2d98cf74101fd42a49d388ba48d01f80e (patch)
tree0390c9d89f34bc52be115e09cf8b5440ee2a902e /admin
parent1ffb09b38a9521e5421362a895c777fc0468ce38 (diff)
downloadnextcloud-server-47223ae2d98cf74101fd42a49d388ba48d01f80e.tar.gz
nextcloud-server-47223ae2d98cf74101fd42a49d388ba48d01f80e.zip
Working subnavigation
Diffstat (limited to 'admin')
-rw-r--r--admin/appinfo/app.php3
-rw-r--r--admin/users.php1
2 files changed, 4 insertions, 0 deletions
diff --git a/admin/appinfo/app.php b/admin/appinfo/app.php
index 2426adc9f8a..40d8b9188ec 100644
--- a/admin/appinfo/app.php
+++ b/admin/appinfo/app.php
@@ -7,4 +7,7 @@ OC_APP::addAdminPage( array( "id" => "core_users", "order" => 3, "href" => OC_HE
OC_APP::addAdminPage( array( "id" => "core_apps", "order" => 4, "href" => OC_HELPER::linkTo( "admin", "apps.php" ), "name" => "Apps", "icon" => OC_HELPER::imagePath( "admin", "navicon.png" )));
OC_APP::addAdminPage( array( "id" => "core_plugins", "order" => 5, "href" => OC_HELPER::linkTo( "admin", "plugins.php" ), "name" => "Plugins", "icon" => OC_HELPER::imagePath( "admin", "navicon.png" )));
+// Add subentries for App installer
+OC_APP::addNavigationSubEntry( "core_apps", array( "id" => "core_apps_installed", "order" => 4, "href" => OC_HELPER::linkTo( "admin", "apps.php" ), "name" => "Installed apps", "icon" => OC_HELPER::imagePath( "admin", "navicon.png" )));
+
?>
diff --git a/admin/users.php b/admin/users.php
index 9529ea74977..a5b08e0ce5c 100644
--- a/admin/users.php
+++ b/admin/users.php
@@ -30,6 +30,7 @@ if( !OC_USER::isLoggedIn() || !OC_GROUP::inGroup( $_SESSION['user_id'], 'admin'
// We have some javascript foo!
OC_UTIL::addScript( "admin", "users" );
+OC_APP::setActiveNavigationEntry( "core_users" );
$users = array();
$groups = array();