aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application
diff options
context:
space:
mode:
authorAntonio Gallo <tonicucoz@gmail.com>2012-10-14 08:59:56 +0000
committerAntonio Gallo <tonicucoz@gmail.com>2012-10-14 08:59:56 +0000
commitbd08028d9186a3bf1c743fbeb98d5571db08bc0f (patch)
tree71117d968c589ace358e1e41f178d9b2b0b4a2c3 /h-source/Application
parent1ac426c97e6b117e9507ad5effbf7ec62590930e (diff)
improved the way the discover your hardware link in the right column is generated
Diffstat (limited to 'h-source/Application')
-rw-r--r--h-source/Application/Controllers/BaseController.php3
-rw-r--r--h-source/Application/Views/Desktop/right.php4
2 files changed, 4 insertions, 3 deletions
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 @@
</div>
- <div class="discover_hardware">
- <a href="<?php echo $this->baseUrl."/help/index/$lang#discover-hardware";?>"><img src="<?php echo $this->baseUrl;?>/Public/Img/discover.png"></a>
- </div>
+ <?php echo $discoverYourHardwareLink;?>
<div class="download_database">
<a href="<?php echo $this->baseUrl."/download/index/$lang";?>"><img src="<?php echo $this->baseUrl;?>/Public/Img/download.png"></a>