diff options
author | Jan-Christoph Borchardt <JanCBorchardt@fsfe.org> | 2011-04-17 12:38:32 +0200 |
---|---|---|
committer | Jan-Christoph Borchardt <JanCBorchardt@fsfe.org> | 2011-04-17 12:38:32 +0200 |
commit | d076c22e284e8ff59024ffc3520368fc0cfe9fad (patch) | |
tree | a01386347e44722f8d63b8dfd0336c7616f9ce25 /help | |
parent | 58cb46c4e85ff4af41d91522e8fcba89e01fed81 (diff) | |
download | nextcloud-server-d076c22e284e8ff59024ffc3520368fc0cfe9fad.tar.gz nextcloud-server-d076c22e284e8ff59024ffc3520368fc0cfe9fad.zip |
integrated help to settings navigation
Diffstat (limited to 'help')
-rw-r--r-- | help/appinfo/app.php | 2 | ||||
-rw-r--r-- | help/index.php | 2 | ||||
-rw-r--r-- | help/templates/index.php | 7 |
3 files changed, 2 insertions, 9 deletions
diff --git a/help/appinfo/app.php b/help/appinfo/app.php index c4e9eb5717c..12ae59b94c2 100644 --- a/help/appinfo/app.php +++ b/help/appinfo/app.php @@ -1,6 +1,6 @@ <?php OC_APP::register( array( "order" => 1, "id" => "help", "name" => "Help" )); -OC_APP::addSettingsPage( array( "order" => 2, "href" => OC_HELPER::linkTo( "help", "index.php" ), "name" => "Help", "icon" => OC_HELPER::imagePath( "admin", "navicon.png" ))); +OC_APP::addSettingsPage( array( "order" => 2, "href" => OC_HELPER::linkTo( "help", "index.php" ), "name" => "Help", "icon" => OC_HELPER::imagePath( "settings", "information.png" ))); ?> diff --git a/help/index.php b/help/index.php index bed0ac7b6bb..426abe39560 100644 --- a/help/index.php +++ b/help/index.php @@ -15,7 +15,7 @@ OC_APP::setActiveNavigationEntry( "help" ); $kbe=OC_OCSCLIENT::getKnownledgebaseEntries(); -$tmpl = new OC_TEMPLATE( "help", "index", "user" ); +$tmpl = new OC_TEMPLATE( "help", "index", "admin" ); $tmpl->assign( "kbe", $kbe ); $tmpl->printPage(); diff --git a/help/templates/index.php b/help/templates/index.php index 5ff414eb4a7..51b673678d3 100644 --- a/help/templates/index.php +++ b/help/templates/index.php @@ -1,10 +1,3 @@ -<?php -/* - * Template for settings page - */ -?> -<h1>Help</h1> - <table cellspacing="0"> <tbody> <?php foreach($_["kbe"] as $kb): ?> |