aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application
diff options
context:
space:
mode:
authorAntonio Gallo <tonicucoz@gmail.com>2012-10-16 13:51:26 +0000
committerAntonio Gallo <tonicucoz@gmail.com>2012-10-16 13:51:26 +0000
commit9b42c2f0488f798fdcbc0d49777fff812136142d (patch)
tree66ab304003ca5160d29686b9f129c838c58c06d7 /h-source/Application
parent9d4399c7402f5fdc23efb1bda6bf84583ffe6fde (diff)
improved the compatibility hint link
Diffstat (limited to 'h-source/Application')
-rw-r--r--h-source/Application/Views/Desktop/Notebooks/form.php2
-rw-r--r--h-source/Application/Views/Desktop/Notebooks/page.php2
-rw-r--r--h-source/Application/Views/Desktop/form.php6
-rw-r--r--h-source/Application/Views/Desktop/page.php4
4 files changed, 7 insertions, 7 deletions
diff --git a/h-source/Application/Views/Desktop/Notebooks/form.php b/h-source/Application/Views/Desktop/Notebooks/form.php
index cbf78bc..79a9419 100644
--- a/h-source/Application/Views/Desktop/Notebooks/form.php
+++ b/h-source/Application/Views/Desktop/Notebooks/form.php
@@ -90,7 +90,7 @@
<div class="form_entry hidden_x_explorer">
<div class="entry_label"><?php echo gtext("compatibility with free software");?>:</div>
<?php echo Html_Form::select('compatibility',$values['compatibility'],Notebooks::$compatibility,"select_entry");?>
- <a class="open_help_window" title="compatibility help page" target="blank" href="<?php echo $this->baseUrl."/help/index/$lang#notebook-compatibility";?>"><img class="top_left_images_help" src="<?php echo $this->baseUrl;?>/Public/Img/Acun/help_hint.png"></a>
+ <a class="open_help_window" title="compatibility help page" target="blank" href="<?php echo $this->baseUrl."/wiki/page/$lang/Compatibility-classes#Notebooks";?>"><img class="top_left_images_help" src="<?php echo $this->baseUrl;?>/Public/Img/Acun/help_hint.png"></a>
</div>
<div class="form_entry">
diff --git a/h-source/Application/Views/Desktop/Notebooks/page.php b/h-source/Application/Views/Desktop/Notebooks/page.php
index 3dede4e..09bc80f 100644
--- a/h-source/Application/Views/Desktop/Notebooks/page.php
+++ b/h-source/Application/Views/Desktop/Notebooks/page.php
@@ -81,7 +81,7 @@
<div class="notebook_compatibility">
<div class="inner_label"><?php echo gtext("compatibility with free software");?>:</div>
- <div class="inner_value"><b><?php echo gtext($item[$tableName]['compatibility']);?></b> <a class="open_help_window" target="blank" title="compatibility help page" href="<?php echo $this->baseUrl."/help/index/$lang#notebook-compatibility";?>"><img class="top_left_images_help" src="<?php echo $this->baseUrl;?>/Public/Img/Acun/help_hint.png"></a></div>
+ <div class="inner_value"><b><?php echo gtext($item[$tableName]['compatibility']);?></b> <a class="open_help_window" target="blank" title="compatibility help page" href="<?php echo $this->baseUrl."/wiki/page/$lang/Compatibility-classes#Notebooks";?>"><img class="top_left_images_help" src="<?php echo $this->baseUrl;?>/Public/Img/Acun/help_hint.png"></a></div>
</div>
<div class="model_tested_on">
diff --git a/h-source/Application/Views/Desktop/form.php b/h-source/Application/Views/Desktop/form.php
index dd66614..a9e23af 100644
--- a/h-source/Application/Views/Desktop/form.php
+++ b/h-source/Application/Views/Desktop/form.php
@@ -104,15 +104,15 @@
switch ($this->controller)
{
case 'printers':
- $fragment = 'printer-compatibility';
+ $fragment = 'Printers';
break;
case 'scanners':
- $fragment = 'scanner-compatibility';
+ $fragment = 'Scanners';
break;
}
?>
<!--if it is a printer-->
- <a class="open_help_window" title="compatibility help page" target="blank" href="<?php echo $this->baseUrl."/help/index/$lang#$fragment";?>"><img class="top_left_images_help" src="<?php echo $this->baseUrl;?>/Public/Img/Acun/help_hint.png"></a>
+ <a class="open_help_window" title="compatibility help page" target="blank" href="<?php echo $this->baseUrl."/wiki/page/$lang/Compatibility-classes#$fragment";?>"><img class="top_left_images_help" src="<?php echo $this->baseUrl;?>/Public/Img/Acun/help_hint.png"></a>
<?php } ?>
</div>
diff --git a/h-source/Application/Views/Desktop/page.php b/h-source/Application/Views/Desktop/page.php
index 231975c..8da5a35 100644
--- a/h-source/Application/Views/Desktop/page.php
+++ b/h-source/Application/Views/Desktop/page.php
@@ -102,12 +102,12 @@
<?php } else if (strcmp($this->controller,'printers') === 0 ) { ?>
<div class="inner_label"><?php echo gtext("compatibility with free software");?>:</div>
- <div class="inner_value"><b><?php echo gtext(translate($item[$tableName]['compatibility']));?></b> <a class="open_help_window" target="blank" title="compatibility help page" href="<?php echo $this->baseUrl."/help/index/$lang#printer-compatibility";?>"><img class="top_left_images_help" src="<?php echo $this->baseUrl;?>/Public/Img/Acun/help_hint.png"></a></div>
+ <div class="inner_value"><b><?php echo gtext(translate($item[$tableName]['compatibility']));?></b> <a class="open_help_window" target="blank" title="compatibility help page" href="<?php echo $this->baseUrl."/wiki/page/$lang/Compatibility-classes#Printers";?>"><img class="top_left_images_help" src="<?php echo $this->baseUrl;?>/Public/Img/Acun/help_hint.png"></a></div>
<?php } else if (strcmp($this->controller,'scanners') === 0 ) { ?>
<div class="inner_label"><?php echo gtext("compatibility with free software");?>:</div>
- <div class="inner_value"><b><?php echo gtext(translate($item[$tableName]['compatibility']));?></b> <a class="open_help_window" target="blank" title="compatibility help page" href="<?php echo $this->baseUrl."/help/index/$lang#scanner-compatibility";?>"><img class="top_left_images_help" src="<?php echo $this->baseUrl;?>/Public/Img/Acun/help_hint.png"></a></div>
+ <div class="inner_value"><b><?php echo gtext(translate($item[$tableName]['compatibility']));?></b> <a class="open_help_window" target="blank" title="compatibility help page" href="<?php echo $this->baseUrl."/wiki/page/$lang/Compatibility-classes#Scanners";?>"><img class="top_left_images_help" src="<?php echo $this->baseUrl;?>/Public/Img/Acun/help_hint.png"></a></div>
<?php } else { ?>