aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Views/Acquisitioncards
diff options
context:
space:
mode:
Diffstat (limited to 'h-source/Application/Views/Acquisitioncards')
-rw-r--r--h-source/Application/Views/Acquisitioncards/catalogue.php14
1 files changed, 5 insertions, 9 deletions
diff --git a/h-source/Application/Views/Acquisitioncards/catalogue.php b/h-source/Application/Views/Acquisitioncards/catalogue.php
index f9d86d7..23ce477 100644
--- a/h-source/Application/Views/Acquisitioncards/catalogue.php
+++ b/h-source/Application/Views/Acquisitioncards/catalogue.php
@@ -25,18 +25,14 @@
<?php echo $popup;?>
</div>
<div class="viewall_popup_menu_status">
- <div class="viewall_popup_menu_status_item"><?php echo betterVendor($this->viewArgs['vendor'])?></div>
- <div class="viewall_popup_menu_status_item"><?php echo $this->viewArgs['comm_year']?></div>
- <div class="viewall_popup_menu_status_item"><?php echo $this->viewArgs['compatibility']?></div>
- <div class="viewall_popup_menu_status_item"><?php echo $this->viewArgs['interface']?></div>
- <div class="viewall_popup_menu_status_item"><?php echo $this->viewArgs['sort-by']?></div>
+ <?php echo $popupLabel;?>
</div>
</div>
<!--if no notebooks found-->
<?php if (strcmp($recordNumber,0) === 0) { ?>
<div class="viewall_no_items_found">
- <?php echo gtext("No acquisition card found");?>..
+ <?php echo gtext($notFoundString);?>..
</div>
<?php } ?>
@@ -62,17 +58,17 @@
<div class="notebook_vendor">
<div class="inner_label"><?php echo gtext("year of commercialization");?>:</div>
- <div class="inner_value"><b><?php echo $item['hardware']['comm_year'];?></b></div>
+ <div class="inner_value"><b><?php echo gtext($item['hardware']['comm_year']);?></b></div>
</div>
<div class="notebook_vendor">
<div class="inner_label"><?php echo gtext("interface");?>:</div>
- <div class="inner_value"><b><?php echo $item['hardware']['interface'];?></b></div>
+ <div class="inner_value"><b><?php echo gtext(translate($item['hardware']['interface']));?></b></div>
</div>
<div class="notebook_kernel">
<div class="inner_label"><?php echo gtext("does it work with free software?");?></div>
- <div class="inner_value"><b><?php echo $item['hardware']['compatibility'];?></b></div>
+ <div class="inner_value"><b><?php echo gtext($item['hardware'][$worksField]);?></b></div>
</div>
<div class="notebook_view_link">