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/Mobile/catalogue.php | |
parent | 4ee5f0d9dd40b3baa2e27889a579dc7852cbfd6c (diff) |
dropped pcmcia controller, added generic host controller with subtype
Diffstat (limited to 'h-source/Application/Views/Mobile/catalogue.php')
-rw-r--r-- | h-source/Application/Views/Mobile/catalogue.php | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/h-source/Application/Views/Mobile/catalogue.php b/h-source/Application/Views/Mobile/catalogue.php index 6091c05..199d661 100644 --- a/h-source/Application/Views/Mobile/catalogue.php +++ b/h-source/Application/Views/Mobile/catalogue.php @@ -54,9 +54,14 @@ <p><?php echo gtext("possible other names of the device");?>: <b><?php echo nl2br($item['hardware']['other_names']);?></b></p> <?php } ?> - <?php if (strcmp($this->controller,'notebooks') === 0 ) { ?> + <?php if (strcmp($this->controller,'notebooks') === 0 or strcmp($this->controller,'hostcontrollers') === 0) { ?> <p> - <?php echo gtext("subtype");?> (<?php echo gtext("notebook");?>, <?php echo gtext("netbook");?>, <?php echo gtext("motherboard");?>, <?php echo gtext("tablet");?>): <b><?php echo gtext($item['hardware']['subtype']);?></b> + <?php if (strcmp($this->controller,'notebooks') === 0) { ?> + <?php echo gtext("subtype");?> (<?php echo gtext("notebook");?>, <?php echo gtext("netbook");?>, <?php echo gtext("motherboard");?>, <?php echo gtext("tablet");?>) + <?php } else { ?> + <?php echo gtext("subtype");?> (<?php echo $subtypeHelpLabel;?>) + <?php } ?> + : <b><?php echo translate_and_gtext($item['hardware']['subtype']);?></b> </p> <?php } ?> |