aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Views
diff options
context:
space:
mode:
authorAntonio Gallo <tonicucoz@gmail.com>2010-11-02 21:40:43 +0000
committerAntonio Gallo <tonicucoz@gmail.com>2010-11-02 21:40:43 +0000
commit4477a95a94fad105139927ecb7890dc508ef2f05 (patch)
tree7b5e3afb592eaef8eb7533f7c3b6920a76272fa0 /h-source/Application/Views
parent4daafefd0c29440c6fbad2239be2803ad04b92cd (diff)
added bios and webcam entries in the notebook category
Diffstat (limited to 'h-source/Application/Views')
-rw-r--r--h-source/Application/Views/Hardware/left.php2
-rw-r--r--h-source/Application/Views/Notebooks/form.php15
-rw-r--r--h-source/Application/Views/Notebooks/page.php12
3 files changed, 27 insertions, 2 deletions
diff --git a/h-source/Application/Views/Hardware/left.php b/h-source/Application/Views/Hardware/left.php
index ac808a4..020719c 100644
--- a/h-source/Application/Views/Hardware/left.php
+++ b/h-source/Application/Views/Hardware/left.php
@@ -39,7 +39,7 @@
</div>
<div class="hardware_element">
- <img align="middle" class="hardware_element_image" src="<?php echo $this->baseUrl;?>/Public/Img/H2O/printer.png"><a class="hardware_element_link" href="<?php echo $this->baseUrl?>/printers/catalogue/<?php echo $lang;?>">Printers</a>
+ <img align="middle" class="hardware_element_image" src="<?php echo $this->baseUrl;?>/Public/Img/H2O/printer.png"><a class="hardware_element_link" href="<?php echo $this->baseUrl?>/printers/catalogue/<?php echo $lang;?>">Printers and multifunction</a>
</div>
<div class="hardware_element">
diff --git a/h-source/Application/Views/Notebooks/form.php b/h-source/Application/Views/Notebooks/form.php
index f93eda3..698620e 100644
--- a/h-source/Application/Views/Notebooks/form.php
+++ b/h-source/Application/Views/Notebooks/form.php
@@ -56,6 +56,11 @@
</div>
<div class="form_entry">
+ <div class="entry_label"><?php echo gtext("does it have a free bios?");?></div>
+ <?php echo Html_Form::select('bios',$values['bios'],Notebooks::$biosSelect,"select_entry");?>
+ </div>
+
+ <div class="form_entry">
<div class="entry_label"><?php echo gtext("year of commercialization");?>:</div>
<?php echo Html_Form::select('comm_year',$values['comm_year'],Notebooks::$commYear,"select_entry");?>
</div>
@@ -99,6 +104,16 @@
</div>
<div class="form_entry">
+ <div class="entry_label"><?php echo gtext("webcam model");?>:</div>
+ <?php echo Html_Form::input('webcam_type',$values['webcam_type'],'input_entry');?>
+ </div>
+
+ <div class="form_entry">
+ <div class="entry_label"><?php echo gtext("does the webcam work?");?></div>
+ <?php echo Html_Form::select('webcam_works',$values['webcam_works'],Notebooks::$webcamSelect,"select_entry");?>
+ </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>
<?php echo Html_Form::textarea('description',$values['description'],'textarea_entry','bb_code');?>
</div>
diff --git a/h-source/Application/Views/Notebooks/page.php b/h-source/Application/Views/Notebooks/page.php
index 1c00992..3094e78 100644
--- a/h-source/Application/Views/Notebooks/page.php
+++ b/h-source/Application/Views/Notebooks/page.php
@@ -49,11 +49,16 @@
</div>
<div class="notebook_vendor">
- <div class="inner_label"><?php echo gtext("subtype (notebook or netbook)");?></div>
+ <div class="inner_label"><?php echo gtext("subtype (notebook or netbook)");?>:</div>
<div class="inner_value"><b><?php echo $item[$tableName]['subtype'];?></b></div>
</div>
<div class="notebook_vendor">
+ <div class="inner_label"><?php echo gtext("does it have a free bios?");?></div>
+ <div class="inner_value"><b><?php echo $item[$tableName]['bios'];?></b></div>
+ </div>
+
+ <div class="notebook_vendor">
<div class="inner_label"><?php echo gtext("year of commercialization");?>:</div>
<div class="inner_value"><b><?php echo $item[$tableName]['comm_year'];?></b></div>
</div>
@@ -83,6 +88,11 @@
<div class="inner_value"><b><?php echo $item[$tableName]['wifi_type'];?></b> (<?php echo Notebooks::$wifiReverse[$item[$tableName]['wifi_works']];?>)</div>
</div>
+ <div class="notebook_kernel">
+ <div class="inner_label"><?php echo gtext("webcam model");?>:</div>
+ <div class="inner_value"><b><?php echo $item[$tableName]['webcam_type'];?></b> (<?php echo Notebooks::$webcamReverse[$item[$tableName]['webcam_works']];?>)</div>
+ </div>
+
<div class="notebook_description">
<div class="notebook_description_label"><?php echo gtext("Description");?>:</div>
<div class="notebook_description_value"><?php echo decodeWikiText($item[$tableName]['description']);?></div>