diff options
Diffstat (limited to 'h-source')
-rw-r--r-- | h-source/Application/Controllers/GenericController.php | 1 | ||||
-rw-r--r-- | h-source/Application/Views/Desktop/Notebooks/form.php | 2 | ||||
-rw-r--r-- | h-source/config.xml | 19 |
3 files changed, 18 insertions, 4 deletions
diff --git a/h-source/Application/Controllers/GenericController.php b/h-source/Application/Controllers/GenericController.php index 656060d..7de26e0 100644 --- a/h-source/Application/Controllers/GenericController.php +++ b/h-source/Application/Controllers/GenericController.php @@ -73,6 +73,7 @@ class GenericController extends BaseController $data['modelNameLabel'] = $this->getModule(array('devices','all','form','model_name_entry_help_label')); $data['vendoridProductidLabel'] = $this->getModule(array('devices','not_notebook','form','vendorid_productid_label')); $data['descriptionLabel'] = $this->getModule(array('devices','all','form','description_entry_help_label')); + $data['preventWifiLabel'] = $this->getModule(array('devices','notebook','form','prevent_wifi_label')); $this->append($data); } diff --git a/h-source/Application/Views/Desktop/Notebooks/form.php b/h-source/Application/Views/Desktop/Notebooks/form.php index aeeff26..6106d1d 100644 --- a/h-source/Application/Views/Desktop/Notebooks/form.php +++ b/h-source/Application/Views/Desktop/Notebooks/form.php @@ -71,7 +71,7 @@ </div> <div class="form_entry"> - <div class="entry_label"><?php echo gtext("does the device prevent the installation of wifi cards not-approved by the vendor?");?></div> + <div class="entry_label"><?php echo gtext("does the device prevent the installation of wifi cards not-approved by the vendor?");?><?php echo $preventWifiLabel;?></div> <?php echo Html_Form::select('prevent_wifi',$values['prevent_wifi'],Notebooks::$preventWifiSelect,"select_entry");?> </div> diff --git a/h-source/config.xml b/h-source/config.xml index 3af30da..0f42e31 100644 --- a/h-source/config.xml +++ b/h-source/config.xml @@ -710,10 +710,23 @@ </vendorid_productid_label> </form> </not_notebook> - <!--<notebook> + <notebook> <form> - + <prevent_wifi_label> + <en> + <mod> + <type>raw</type> + <text><![CDATA[ <a target="_blank" href="http://h-node.org/wiki/page/en/guidelines-on-how-to-compile-a-hardware-device-page#Does%20the%20device%20prevent%20the%20installation%20of%20wifi%20cards%20not-approved%20by%20the%20vendor?" target="_blank">learn how to fill this entry</a> ]]></text> + </mod> + </en> + <it> + <mod> + <type>raw</type> + <text><![CDATA[ <a target="_blank" href="http://h-node.org/wiki/page/en/guidelines-on-how-to-compile-a-hardware-device-page#Does%20the%20device%20prevent%20the%20installation%20of%20wifi%20cards%20not-approved%20by%20the%20vendor?" target="_blank">guida su come scegliere questo campo</a> ]]></text> + </mod> + </it> + </prevent_wifi_label> </form> - </notebook>--> + </notebook> </devices> </config>
\ No newline at end of file |