From d076c22e284e8ff59024ffc3520368fc0cfe9fad Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Sun, 17 Apr 2011 12:38:32 +0200 Subject: [PATCH] integrated help to settings navigation --- help/appinfo/app.php | 2 +- help/index.php | 2 +- help/templates/index.php | 7 ------- log/templates/index.php | 7 ------- 4 files changed, 2 insertions(+), 16 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 @@ 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 @@ - -

Help

- diff --git a/log/templates/index.php b/log/templates/index.php index 02fea0f87b0..e8a259cbaba 100644 --- a/log/templates/index.php +++ b/log/templates/index.php @@ -1,10 +1,3 @@ - -

Logs

-

-- 2.39.5