From 10bc2a32759112ad7d97eeb8bd783e7451ef28fd Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Sun, 16 Sep 2012 21:28:33 +0000 Subject: improved the way the top menu is created - help wiki page added inside the top menu --- h-source/Application/Controllers/BaseController.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'h-source/Application/Controllers/BaseController.php') diff --git a/h-source/Application/Controllers/BaseController.php b/h-source/Application/Controllers/BaseController.php index 4a3bb65..6427a08 100644 --- a/h-source/Application/Controllers/BaseController.php +++ b/h-source/Application/Controllers/BaseController.php @@ -149,6 +149,11 @@ class BaseController extends Controller } } + //elements of the top menu from the config.xml file + //help link + $mod = new BoxParser($this->getBox(array("top_menu","help_page_link"))); + $data["topMenuHelpLink"] = $mod->modules[0]->render($this->_topMenuClasses["help"]); + $this->append($data); } -- cgit v1.2.3