aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--h-source/Application/Controllers/BaseController.php3
-rw-r--r--h-source/Application/Views/Desktop/right.php4
-rw-r--r--h-source/config.xml11
3 files changed, 15 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>
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 @@
</fr>
</top_news>
<right_column>
+ <discover_your_hardware>
+ <en>
+ <mod>
+ <type>raw</type>
+ <div>discover_hardware</div>
+ <text><![CDATA[
+ <a href="http://h-node.org/wiki/page/en/Discover-your-hardware"><img src="http://h-node.org/Public/Img/discover.png"></a>
+ ]]></text>
+ </mod>
+ </en>
+ </discover_your_hardware>
<en>
<mod>
<type>raw</type>