integrated help to settings navigation

This commit is contained in:
Jan-Christoph Borchardt 2011-04-17 12:38:32 +02:00
parent 58cb46c4e8
commit d076c22e28
4 changed files with 2 additions and 16 deletions

View File

@ -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" )));
?>

View File

@ -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();

View File

@ -1,10 +1,3 @@
<?php
/*
* Template for settings page
*/
?>
<h1>Help</h1>
<table cellspacing="0">
<tbody>
<?php foreach($_["kbe"] as $kb): ?>

View File

@ -1,10 +1,3 @@
<?php
/*
* Template for admin pages
*/
?>
<h1>Logs</h1>
<div class="controls">
<form id="logs_options">
<p>