mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix port URLs on minimaps page (#10619)
This commit is contained in:
@@ -105,7 +105,7 @@ if ($vars['view'] == 'minigraphs') {
|
||||
foreach (dbFetchRows('select * from ports WHERE device_id = ? AND `disabled` = 0 ORDER BY ifIndex', array($device['device_id'])) as $port) {
|
||||
$port = cleanPort($port, $device);
|
||||
echo "<div class='minigraph-div'><div style='font-weight: bold;'>".makeshortif($port['ifDescr'])."</div>
|
||||
<a href=\"'.generate_port_url($port).'\" onmouseover=\"return overlib('<div class=\'overlib-content\'>\
|
||||
<a href=\"" . generate_port_url($port) . "\" onmouseover=\"return overlib('<div class=\'overlib-content\'>\
|
||||
<div class=\'overlib-text\'>".$device['hostname']." - ".$port['ifDescr']."</div>\
|
||||
<span class=\'overlib-title\'>".$port['ifAlias']."</span>\
|
||||
<img src=\'graph.php?type=".$graph_type.'&id='.$port['port_id'].'&from='.$from.'&to='.\LibreNMS\Config::get('time.now')."&width=450&height=150\'>\
|
||||
|
||||
Reference in New Issue
Block a user