mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix device links for the new url format
git-svn-id: http://www.observium.org/svn/observer/trunk@2511 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -32,7 +32,7 @@ $port_count = dbFetchCell("SELECT COUNT(*) FROM `ports` WHERE `device_id` = ?"
|
||||
$sensor_count = dbFetchCell("SELECT COUNT(*) FROM `sensors` WHERE `device_id` = ?", array($device['device_id']));
|
||||
|
||||
echo(' <tr class="'.$class.'" bgcolor="' . $bg . '" onmouseover="this.style.backgroundColor=\'#fdd\';" onmouseout="this.style.backgroundColor=\'' . $bg . '\';"
|
||||
onclick="location.href=\'device/'.$device['device_id'].'/\'" style="cursor: pointer;">
|
||||
onclick="location.href=\'device/device='.$device['device_id'].'/\'" style="cursor: pointer;">
|
||||
<td width="40" align="center" valign="middle">' . $image . '</td>
|
||||
<td width="300"><span style="font-size: 15px;">' . generate_device_link($device) . '</span>
|
||||
<br />' . $device['sysName'] . '</td>'
|
||||
|
Reference in New Issue
Block a user