aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application
diff options
context:
space:
mode:
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>