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