integrated help to settings navigation
This commit is contained in:
parent
58cb46c4e8
commit
d076c22e28
4 changed files with 2 additions and 16 deletions
|
@ -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" )));
|
||||
|
||||
?>
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
<?php
|
||||
/*
|
||||
* Template for settings page
|
||||
*/
|
||||
?>
|
||||
<h1>Help</h1>
|
||||
|
||||
<table cellspacing="0">
|
||||
<tbody>
|
||||
<?php foreach($_["kbe"] as $kb): ?>
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
<?php
|
||||
/*
|
||||
* Template for admin pages
|
||||
*/
|
||||
?>
|
||||
<h1>Logs</h1>
|
||||
|
||||
<div class="controls">
|
||||
<form id="logs_options">
|
||||
<p>
|
||||
|
|
Loading…
Reference in a new issue