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 | |
parent | 4ee5f0d9dd40b3baa2e27889a579dc7852cbfd6c (diff) |
dropped pcmcia controller, added generic host controller with subtype
Diffstat (limited to 'h-source/Application/Views/Mobile')
4 files changed, 13 insertions, 7 deletions
diff --git a/h-source/Application/Views/Mobile/Hardware/left.php b/h-source/Application/Views/Mobile/Hardware/left.php index 4fbb0e4..d93f72d 100644 --- a/h-source/Application/Views/Mobile/Hardware/left.php +++ b/h-source/Application/Views/Mobile/Hardware/left.php @@ -118,8 +118,8 @@ </a> </li> <li> - <a href="<?php echo $this->baseUrl?>/pcmcia/catalogue/<?php echo $lang;?>"> - <?php echo gtext("PCMCIA Controllers");?> + <a href="<?php echo $this->baseUrl?>/hostcontrollers/catalogue/<?php echo $lang;?>"> + <?php echo gtext("Host Controllers");?> <img class="image_thumb_list" src="<?php echo $this->baseUrl;?>/Public/Img/Crystal/1282042718_hardware.png" /> </a> </li> 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 } ?> diff --git a/h-source/Application/Views/Mobile/if_page_deleted.php b/h-source/Application/Views/Mobile/if_page_deleted.php index 3610716..932d0dd 100644 --- a/h-source/Application/Views/Mobile/if_page_deleted.php +++ b/h-source/Application/Views/Mobile/if_page_deleted.php @@ -52,6 +52,7 @@ <div class="notebooks_viewall"> <div class="revision_alert"> + <?php echo gtext('Thanks for your contribution!'); ?><br /> <?php echo gtext('The device page has to be approved by an administrator of the website'); ?> </div> </div> diff --git a/h-source/Application/Views/Mobile/page.php b/h-source/Application/Views/Mobile/page.php index c692477..9d994b4 100644 --- a/h-source/Application/Views/Mobile/page.php +++ b/h-source/Application/Views/Mobile/page.php @@ -59,10 +59,10 @@ <div class="ui-block-b"><b><?php echo singular($this->controller);?></b></div> </div> - <?php if (strcmp($this->controller,'printers') === 0 ) { ?> + <?php if (strcmp($this->controller,'printers') === 0 or strcmp($this->controller,'hostcontrollers') === 0) { ?> <div class="ui-grid-a main_content_element"> - <div class="ui-block-a"><?php echo gtext("subtype");?> (laser, inkjet, ..):</div> - <div class="ui-block-b"><b><?php echo gtext($item[$tableName]['subtype']);?></b></div> + <div class="ui-block-a"><?php echo gtext("subtype");?> (<?php echo $subtypeHelpLabel;?>):</div> + <div class="ui-block-b"><b><?php echo translate_and_gtext($item[$tableName]['subtype']);?></b></div> </div> <?php } ?> |