From a83e39150c671d2fc6ea424cbb381f7bb07b988b Mon Sep 17 00:00:00 2001 From: Tom Laermans Date: Mon, 19 Sep 2011 13:22:14 +0000 Subject: [PATCH] fix device links for the new url format git-svn-id: http://www.observium.org/svn/observer/trunk@2511 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/includes/hostbox.inc.php | 2 +- html/pages/devices.inc.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/html/includes/hostbox.inc.php b/html/includes/hostbox.inc.php index f90e7b9ab..8e91369c7 100644 --- a/html/includes/hostbox.inc.php +++ b/html/includes/hostbox.inc.php @@ -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(' + onclick="location.href=\'device/device='.$device['device_id'].'/\'" style="cursor: pointer;"> ' . $image . ' ' . generate_device_link($device) . '
' . $device['sysName'] . '' diff --git a/html/pages/devices.inc.php b/html/pages/devices.inc.php index 6227b83fa..aaf03e58f 100644 --- a/html/pages/devices.inc.php +++ b/html/pages/devices.inc.php @@ -248,7 +248,7 @@ if($format == "graph") $graph_type = "device_".$subformat; echo("
- ".$device['hostname']." - ".$interface['ifDescr']."
\ \ ', CENTER, LEFT, FGCOLOR, '#e5e5e5', BGCOLOR, '#e5e5e5', WIDTH, 400, HEIGHT, 150);\" onmouseout=\"return nd();\" >".