summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorJakob Sack <kde@jakobsack.de>2011-04-17 20:00:07 +0200
committerJakob Sack <kde@jakobsack.de>2011-04-17 20:00:07 +0200
commitee3d32b023642b675b66f0e14fa5747bc5671f95 (patch)
treeab33bc791cbaba0c2cb390fa90bcf0c6a5b43814 /settings
parent47223ae2d98cf74101fd42a49d388ba48d01f80e (diff)
downloadnextcloud-server-ee3d32b023642b675b66f0e14fa5747bc5671f95.tar.gz
nextcloud-server-ee3d32b023642b675b66f0e14fa5747bc5671f95.zip
Everything nice and active now
Diffstat (limited to 'settings')
-rw-r--r--settings/appinfo/app.php1
-rw-r--r--settings/index.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/settings/appinfo/app.php b/settings/appinfo/app.php
index 5f78b83dc23..2eb24b90efa 100644
--- a/settings/appinfo/app.php
+++ b/settings/appinfo/app.php
@@ -1,5 +1,6 @@
<?php
OC_APP::register( array( "id" => "settings", "name" => "Settings" ));
+OC_APP::addSettingsPage( array( "id" => "settings", "order" => -1000, "href" => OC_HELPER::linkTo( "settings", "index.php" ), "name" => "Information", "icon" => OC_HELPER::imagePath( "settings", "information.png" )));
?>
diff --git a/settings/index.php b/settings/index.php
index 0e3b3f28550..9bf89145cc3 100644
--- a/settings/index.php
+++ b/settings/index.php
@@ -7,7 +7,7 @@ if( !OC_USER::isLoggedIn()){
exit();
}
-
+OC_APP::setActiveNavigationEntry( "settings" );
$tmpl = new OC_TEMPLATE( "settings", "index", "admin");
$used=OC_FILESYSTEM::filesize('/');
$free=OC_FILESYSTEM::free_space();