aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Views/Desktop
diff options
context:
space:
mode:
authorAntonio Gallo <tonicucoz@gmail.com>2013-01-10 07:46:18 +0000
committerAntonio Gallo <tonicucoz@gmail.com>2013-01-10 07:46:18 +0000
commit79a99ab125e22b5918790711c470e2199a7bff6d (patch)
tree88f130eae580d01e3fccd84b8b9bd02d4067e570 /h-source/Application/Views/Desktop
parent9938c667ccfeec0ed0558765da5d9dc7e48e0def (diff)
when a device has not been found by lspci search page, the insert link now sends to the page where to insert that device
Diffstat (limited to 'h-source/Application/Views/Desktop')
-rw-r--r--h-source/Application/Views/Desktop/Search/lspci_results.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/h-source/Application/Views/Desktop/Search/lspci_results.php b/h-source/Application/Views/Desktop/Search/lspci_results.php
index 970789b..c8da509 100644
--- a/h-source/Application/Views/Desktop/Search/lspci_results.php
+++ b/h-source/Application/Views/Desktop/Search/lspci_results.php
@@ -78,7 +78,7 @@
<li><b><?php echo gtext("vendor");?>:</b><?php echo $device['vendorName'];?></li>
<li><b><?php echo gtext("VendorID:ProductID code of the device");?></b>: <?php echo $device['vendorId'].":".$device['deviceId'];?></li>
</ul>
- <a href="<?php echo Go::toHardwareType(Hardware::getTypeFromClass($device['classId']));?>"><img align="top" src="<?php echo $this->baseUrl;?>/Public/Img/Crystal/agt_forward.png"> insert</a>
+ <a href="<?php echo $this->baseUrl."/".Hardware::getControllerFromType(Hardware::getTypeFromClass($device['classId']))."/insert/$lang";?>"><img align="top" src="<?php echo $this->baseUrl;?>/Public/Img/Crystal/agt_forward.png"> <?php echo gtext("insert");?></a>
</div>
</div>
</div>