aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Views
diff options
context:
space:
mode:
authorAntonio Gallo <tonicucoz@gmail.com>2012-03-11 15:46:33 +0000
committerAntonio Gallo <tonicucoz@gmail.com>2012-03-11 15:46:33 +0000
commitec4b63b70cc02d44c53b3f108a3d2a6b9ab26dd3 (patch)
tree33c52e94cc8c432e774583b5c7e624736793710d /h-source/Application/Views
parent6740cd5eb795d11bb6128c1982fa67fd9211739d (diff)
improved the way entry labels can be added - first step to move all the documentation to the wiki
Diffstat (limited to 'h-source/Application/Views')
-rw-r--r--h-source/Application/Views/Desktop/Notebooks/form.php4
-rw-r--r--h-source/Application/Views/Desktop/form.php6
2 files changed, 5 insertions, 5 deletions
diff --git a/h-source/Application/Views/Desktop/Notebooks/form.php b/h-source/Application/Views/Desktop/Notebooks/form.php
index 5743281..1bfd64f 100644
--- a/h-source/Application/Views/Desktop/Notebooks/form.php
+++ b/h-source/Application/Views/Desktop/Notebooks/form.php
@@ -46,7 +46,7 @@
</div>
<div class="form_entry">
- <div class="entry_label"><?php echo gtext("model name");?>: <b>*</b></div>
+ <div class="entry_label"><?php echo gtext("model name");?>: <b>*</b><?php echo $modelNameLabel;?></div>
<?php echo Html_Form::input('model',$values['model'],'input_entry');?>
</div>
@@ -124,7 +124,7 @@
</div>
<div class="form_entry">
- <div class="entry_label"><?php echo gtext("Description: (write here all the useful information)");?><br /><a href="<?php echo $this->baseUrl."/help/index/$lang#wiki-syntax";?>"><?php echo gtext("discover all the wiki tags");?></a></div>
+ <div class="entry_label"><?php echo gtext("Description: (write here all the useful information)");?><?php echo $descriptionLabel;?></div>
<?php if (isset($descriptionPreview)) { ?>
<div class="description_preview_title"><?php echo gtext("Description entry preview");?>:</div>
diff --git a/h-source/Application/Views/Desktop/form.php b/h-source/Application/Views/Desktop/form.php
index c18c0f6..5bef769 100644
--- a/h-source/Application/Views/Desktop/form.php
+++ b/h-source/Application/Views/Desktop/form.php
@@ -40,7 +40,7 @@
<div class="edit_form">
<div class="form_entry">
- <div class="entry_label"><?php echo gtext("model name");?>: <b>*</b><br /><a target="blank" href="<?php echo $this->baseUrl."/help/index/$lang#model-name";?>"><?php echo gtext("learn how to find it");?></a><br /><span class="entry_label_small"><?php echo gtext("Write here the model name obtained by the lspci or lsusb command.");?></span></div>
+ <div class="entry_label"><?php echo gtext("model name");?>: <b>*</b><?php echo $modelNameLabel;?><div class="entry_label_small"><?php echo gtext("Write here the model name obtained by the lspci or lsusb command.");?></div></div>
<?php echo Html_Form::input('model',$values['model'],'input_entry');?>
</div>
@@ -57,7 +57,7 @@
<?php } ?>
<div class="form_entry">
- <div class="entry_label"><?php echo gtext("VendorID:ProductID code of the device");?>: <b>*</b><br /><a target="blank" href="<?php echo $this->baseUrl."/help/index/$lang#vendoridproductid";?>"><?php echo gtext("learn how to find it");?></a></div>
+ <div class="entry_label"><?php echo gtext("VendorID:ProductID code of the device");?>: <b>*</b><?php echo $vendoridProductidLabel;?></div>
<?php echo Html_Form::input('pci_id',$values['pci_id'],'input_entry');?>
</div>
@@ -126,7 +126,7 @@
</div>
<div class="form_entry">
- <div class="entry_label"><?php echo gtext("Description: (write here all the useful information)");?><br /><a href="<?php echo $this->baseUrl."/help/index/$lang#wiki-syntax";?>"><?php echo gtext("discover all the wiki tags");?></a></div>
+ <div class="entry_label"><?php echo gtext("Description: (write here all the useful information)");?><?php echo $descriptionLabel;?></div>
<?php if (strcmp($this->controller,'threegcards') === 0 ) { ?>
<!--if it is a 3G-card-->
<div class="isp_notice"><?php echo gtext("Please specify in the below description entry the Internet Service Provider (ISP) and the country where the service is provided");?></div>