From bd08028d9186a3bf1c743fbeb98d5571db08bc0f Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Sun, 14 Oct 2012 08:59:56 +0000 Subject: improved the way the discover your hardware link in the right column is generated --- h-source/Application/Controllers/BaseController.php | 3 +++ h-source/Application/Views/Desktop/right.php | 4 +--- h-source/config.xml | 11 +++++++++++ 3 files changed, 15 insertions(+), 3 deletions(-) (limited to 'h-source') diff --git a/h-source/Application/Controllers/BaseController.php b/h-source/Application/Controllers/BaseController.php index b07d443..4b1246f 100644 --- a/h-source/Application/Controllers/BaseController.php +++ b/h-source/Application/Controllers/BaseController.php @@ -158,6 +158,9 @@ class BaseController extends Controller $mod = new BoxParser($this->getBox(array("top_menu","faq_link"))); $data["topMenuFaqLink"] = $mod->modules[0]->render($this->_topMenuClasses["faq"]); + //link to the "discover your hardware" wiki page + $data['discoverYourHardwareLink'] = $this->getModule(array('right_column','discover_your_hardware')); + $this->append($data); } diff --git a/h-source/Application/Views/Desktop/right.php b/h-source/Application/Views/Desktop/right.php index 1486181..14b6fbc 100644 --- a/h-source/Application/Views/Desktop/right.php +++ b/h-source/Application/Views/Desktop/right.php @@ -86,9 +86,7 @@ -
- "> -
+
"> diff --git a/h-source/config.xml b/h-source/config.xml index 1b0dfb6..a7d9e81 100644 --- a/h-source/config.xml +++ b/h-source/config.xml @@ -158,6 +158,17 @@ + + + + raw +
discover_hardware
+ + ]]> +
+
+
raw -- cgit v1.2.3