diff options
author | Antonio Gallo <tonicucoz@gmail.com> | 2011-02-03 07:54:14 +0000 |
---|---|---|
committer | Antonio Gallo <tonicucoz@gmail.com> | 2011-02-03 07:54:14 +0000 |
commit | 75be1868c47b7b9455eef65a7b1e33e447e61ee5 (patch) | |
tree | ff9c536599ae40487aed75686b87e118368dc973 /h-source/Application/Views/Search/lspci_results.php | |
parent | 10bbe357616c36e86ae3c3c7a26840b0c1973756 (diff) |
improved search
Diffstat (limited to 'h-source/Application/Views/Search/lspci_results.php')
-rw-r--r-- | h-source/Application/Views/Search/lspci_results.php | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/h-source/Application/Views/Search/lspci_results.php b/h-source/Application/Views/Search/lspci_results.php index 57e728c..5d1dfa4 100644 --- a/h-source/Application/Views/Search/lspci_results.php +++ b/h-source/Application/Views/Search/lspci_results.php @@ -48,7 +48,7 @@ <?php foreach ($table as $row) { ?> <div class="lspci_item_found"> <div class="lspci_item_found_model"> - <img align="top" class="catalogue_item_icon" src="<?php echo MyStrings::getHardIcon($row['hardware']['type']);?>"> <span class="search_result_model_name"><?php echo "<b>".$row['hardware']['type']."</b> - <a href='".$this->baseUrl."/".MyStrings::$reverse[$row['hardware']['type']]."/view/$lang/".$row['hardware']['id_hard']."/".encodeUrl($row['hardware']['model'])."'>".$row['hardware']['model']."</a>";?></span> + <img align="top" class="catalogue_item_icon" src="<?php echo Hardware::getIconFromType($row['hardware']['type']);?>"> <span class="search_result_model_name"><?php echo "<b>".$row['hardware']['type']."</b> - <a href='".$this->baseUrl."/".Hardware::getControllerFromType($row['hardware']['type'])."/view/$lang/".$row['hardware']['id_hard']."/".encodeUrl($row['hardware']['model'])."'>".$row['hardware']['model']."</a>";?></span> </div> <div class="lspci_item_found_compat"> <?php @@ -76,7 +76,17 @@ <?php }?> <?php foreach ($notFoundDevices as $device) { ?> - + <div class="lspci_item_not_found"> + <div class="lspci_item_found_model"> + <img align="top" class="catalogue_item_icon" src="<?php echo Hardware::getIconFromClass($device['classId']);?>"> <span class="search_result_model_name"><?php echo "<b>".Hardware::getTypeFromClass($device['classId'])."</b> - ".$device['deviceName'];?></span> + <div class="lspci_item_found_compat"> + <ul> + <li><b>vendor name:</b><?php echo $device['vendorName'];?></li> + <li><b>vendorid:productid</b> code: <?php echo $device['vendorId'].":".$device['deviceId'];?></li> + </ul> + </div> + </div> + </div> <?php } ?> </div> |