aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Views/Videocards
diff options
context:
space:
mode:
authorAntonio Gallo <tonicucoz@gmail.com>2011-02-03 23:44:48 +0000
committerAntonio Gallo <tonicucoz@gmail.com>2011-02-03 23:44:48 +0000
commit190ded0397f9434a1fadd0f06775edb6dcf60272 (patch)
treee3f4ec0f53d26d185e5c0b043e3b3fdbe1643db9 /h-source/Application/Views/Videocards
parent67f94bb059506bf617d69a8af67e96a7f62632e8 (diff)
added webcams - part 1
Diffstat (limited to 'h-source/Application/Views/Videocards')
-rw-r--r--h-source/Application/Views/Videocards/catalogue.php2
-rw-r--r--h-source/Application/Views/Videocards/page.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/h-source/Application/Views/Videocards/catalogue.php b/h-source/Application/Views/Videocards/catalogue.php
index 2398735..ff9b7fd 100644
--- a/h-source/Application/Views/Videocards/catalogue.php
+++ b/h-source/Application/Views/Videocards/catalogue.php
@@ -45,7 +45,7 @@
<div class="model_viewall">
<div class="notebook_model">
- <img align="top" class="catalogue_item_icon" src="<?php echo $this->baseUrl."/Public/Img/Crystal/1282042976_hardware.png";?>"> <span class="span_model_name"><?php echo gtext("model");?>: <b><?php echo $item['hardware']['model'];?></b></span>
+ <img align="top" class="catalogue_item_icon" src="<?php echo Hardware::getIconFromType($item['hardware']['type']);?>"> <span class="span_model_name"><?php echo gtext("model");?>: <b><?php echo $item['hardware']['model'];?></b></span>
</div>
<div class="notebook_vendor">
diff --git a/h-source/Application/Views/Videocards/page.php b/h-source/Application/Views/Videocards/page.php
index 4e09c28..68612ad 100644
--- a/h-source/Application/Views/Videocards/page.php
+++ b/h-source/Application/Views/Videocards/page.php
@@ -37,7 +37,7 @@
<?php } ?>
<div class="notebook_model">
- <img align="top" class="catalogue_item_icon" src="<?php echo $this->baseUrl."/Public/Img/Crystal/1282042976_hardware.png";?>"> <span class="span_model_name"><?php echo gtext("model");?>: <b><?php echo $item[$tableName]['model'];?></b><span class="model_id">(<?php echo gtext("model id");?>: <?php echo $id_hard;?>)</span></span>
+ <img align="top" class="catalogue_item_icon" src="<?php echo Hardware::getIconFromType($item[$tableName]['type']);?>"> <span class="span_model_name"><?php echo gtext("model");?>: <b><?php echo $item[$tableName]['model'];?></b><span class="model_id">(<?php echo gtext("model id");?>: <?php echo $id_hard;?>)</span></span>
<?php if (strcmp($islogged,'yes') === 0 and strcmp($this->action,'view') === 0) { ?>
<span class="ask_for_removal_class"><a class="ask_for_removal_class_link" href="<?php echo $this->baseUrl;?>">ask for removal</a></span>
<?php } ?>