aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Views/Mobile/catalogue.php
diff options
context:
space:
mode:
Diffstat (limited to 'h-source/Application/Views/Mobile/catalogue.php')
-rw-r--r--h-source/Application/Views/Mobile/catalogue.php9
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 } ?>