diff options
author | Antonio Gallo <tonicucoz@gmail.com> | 2012-08-02 00:44:36 +0000 |
---|---|---|
committer | Antonio Gallo <tonicucoz@gmail.com> | 2012-08-02 00:44:36 +0000 |
commit | ea0f13c140f6444d4b0da9e38e1c27c9004b6184 (patch) | |
tree | c95d58a3a74f5c287040042f030dba6dd34c4012 /h-source/Application/Views/Desktop/catalogue.php | |
parent | 4ee5f0d9dd40b3baa2e27889a579dc7852cbfd6c (diff) |
dropped pcmcia controller, added generic host controller with subtype
Diffstat (limited to 'h-source/Application/Views/Desktop/catalogue.php')
-rw-r--r-- | h-source/Application/Views/Desktop/catalogue.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/h-source/Application/Views/Desktop/catalogue.php b/h-source/Application/Views/Desktop/catalogue.php index 4ab18f0..b89eed6 100644 --- a/h-source/Application/Views/Desktop/catalogue.php +++ b/h-source/Application/Views/Desktop/catalogue.php @@ -71,10 +71,14 @@ </div> <?php } ?> - <?php if (strcmp($this->controller,'notebooks') === 0 ) { ?> + <?php if (strcmp($this->controller,'notebooks') === 0 or strcmp($this->controller,'hostcontrollers') === 0) { ?> <div class="notebook_vendor"> + <?php if (strcmp($this->controller,'notebooks') === 0) { ?> <div class="inner_label"><?php echo gtext("subtype");?> (<?php echo gtext("notebook");?>, <?php echo gtext("netbook");?>, <?php echo gtext("motherboard");?>, <?php echo gtext("tablet");?>):</div> - <div class="inner_value"><b><?php echo gtext($item['hardware']['subtype']);?></b></div> + <?php } else { ?> + <div class="inner_label"><?php echo gtext("subtype");?> (<?php echo $subtypeHelpLabel;?>):</div> + <?php } ?> + <div class="inner_value"><b><?php echo translate_and_gtext($item['hardware']['subtype']);?></b></div> </div> <?php } ?> |