Browse Source

integrated help to settings navigation

tags/v3.0
Jan-Christoph Borchardt 13 years ago
parent
commit
d076c22e28
4 changed files with 2 additions and 16 deletions
  1. 1
    1
      help/appinfo/app.php
  2. 1
    1
      help/index.php
  3. 0
    7
      help/templates/index.php
  4. 0
    7
      log/templates/index.php

+ 1
- 1
help/appinfo/app.php 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" )));

?>

+ 1
- 1
help/index.php 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();


+ 0
- 7
help/templates/index.php View File

@@ -1,10 +1,3 @@
<?php
/*
* Template for settings page
*/
?>
<h1>Help</h1>

<table cellspacing="0">
<tbody>
<?php foreach($_["kbe"] as $kb): ?>

+ 0
- 7
log/templates/index.php View File

@@ -1,10 +1,3 @@
<?php
/*
* Template for admin pages
*/
?>
<h1>Logs</h1>

<div class="controls">
<form id="logs_options">
<p>

Loading…
Cancel
Save