mirror of
https://github.com/stylersnico/librenms.git
synced 2026-08-03 00:11:49 +02:00
fix mac accounting link on iftype pages
git-svn-id: http://www.observium.org/svn/observer/trunk@3248 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -52,7 +52,7 @@ if ($if_list)
|
|||||||
|
|
||||||
if (dbFetchCell("SELECT count(*) FROM mac_accounting WHERE port_id = ?", array($port['port_id'])))
|
if (dbFetchCell("SELECT count(*) FROM mac_accounting WHERE port_id = ?", array($port['port_id'])))
|
||||||
{
|
{
|
||||||
echo("<span style='float: right;'><a href='device/".$port['device_id']."/port/".$port['port_id']."/macaccounting/'><img src='/images/16/chart_curve.png' align='absmiddle'> MAC Accounting</a></span>");
|
echo("<span style='float: right;'><a href='device/device=".$port['device_id']."/tab=port/port=".$port['port_id']."/view=macaccounting/'><img src='/images/16/chart_curve.png' align='absmiddle'> MAC Accounting</a></span>");
|
||||||
}
|
}
|
||||||
|
|
||||||
echo('<br />');
|
echo('<br />');
|
||||||
|
|||||||
Reference in New Issue
Block a user