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:
@@ -248,7 +248,7 @@ if($format == "graph")
|
||||
$graph_type = "device_".$subformat;
|
||||
|
||||
echo("<div style='display: block; padding: 1px; margin: 2px; min-width: 393px; max-width:393px; min-height:170px; max-height:170px; text-align: center; float: left; background-color: #f5f5f5;'>
|
||||
<a href='device/".$device['device_id']."/' onmouseover=\"return overlib('\
|
||||
<a href='device/device=".$device['device_id']."/' onmouseover=\"return overlib('\
|
||||
<div style=\'font-size: 16px; padding:5px; font-weight: bold; color: #e5e5e5;\'>".$device['hostname']." - ".$interface['ifDescr']."</div>\
|
||||
<img src=\'graph.php?type=$graph_type&id=".$device['device_id']."&from=".$config['time']['day']."&to=".$config['time']['now']."&width=450&height=150&title=yes\'>\
|
||||
', CENTER, LEFT, FGCOLOR, '#e5e5e5', BGCOLOR, '#e5e5e5', WIDTH, 400, HEIGHT, 150);\" onmouseout=\"return nd();\" >".
|
||||
|
Reference in New Issue
Block a user