aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Controllers/HelpController.php
diff options
context:
space:
mode:
authorAntonio Gallo <tonicucoz@gmail.com>2012-09-16 21:28:33 +0000
committerAntonio Gallo <tonicucoz@gmail.com>2012-09-16 21:28:33 +0000
commit10bc2a32759112ad7d97eeb8bd783e7451ef28fd (patch)
tree0e27a0c8cee7038a94b45ec961a3b415d13dd94e /h-source/Application/Controllers/HelpController.php
parent1db259e769ea5a50c0d9969da0b4dc9b14c66b5b (diff)
improved the way the top menu is created - help wiki page added inside the top menu
Diffstat (limited to 'h-source/Application/Controllers/HelpController.php')
-rw-r--r--h-source/Application/Controllers/HelpController.php13
1 files changed, 6 insertions, 7 deletions
diff --git a/h-source/Application/Controllers/HelpController.php b/h-source/Application/Controllers/HelpController.php
index cd202ae..78a31b9 100644
--- a/h-source/Application/Controllers/HelpController.php
+++ b/h-source/Application/Controllers/HelpController.php
@@ -20,23 +20,22 @@
if (!defined('EG')) die('Direct access not allowed!');
-class HelpController extends BaseController
+class HelpController extends WikiController
{
public function __construct($model, $controller, $queryString)
{
-
$this->_topMenuClasses['help'] = " class='currentitem'";
parent::__construct($model, $controller, $queryString);
+ $this->_topMenuClasses['wiki'] = null;
+
+ $data['tm'] = $this->_topMenuClasses;
+
$data['title'] = 'help index - '.Website::$generalName;
+
$this->append($data);
}
-
- public function index($lang = 'en')
- {
- $this->cleverLoad('index');
- }
} \ No newline at end of file