diff --git a/html/includes/print-interface.inc.php b/html/includes/print-interface.inc.php index 99374eaaf..df1dfb173 100644 --- a/html/includes/print-interface.inc.php +++ b/html/includes/print-interface.inc.php @@ -25,10 +25,10 @@ if ($port['ifInErrors_delta'] > 0 || $port['ifOutErrors_delta'] > 0) if (dbFetchCell("SELECT COUNT(*) FROM `mac_accounting` WHERE `interface_id` = ?", array($port['interface_id']))) { - $mac = ""; + $mac = " 'macaccounting')) . "'>"; } else { $mac = ""; } -echo(" +echo(" "); echo(" " . generate_port_link($port, $port['ifIndex'] . ". ".$port['label']) . " $error_img $mac diff --git a/html/pages/device/ports.inc.php b/html/pages/device/ports.inc.php index a406f5ebd..9619a805d 100644 --- a/html/pages/device/ports.inc.php +++ b/html/pages/device/ports.inc.php @@ -64,7 +64,7 @@ foreach ($graph_types as $type => $descr) print_optionbar_end(); -if ($vars['view'] == minigraphs) +if ($vars['view'] == 'minigraphs') { $timeperiods = array('-1day','-1week','-1month','-1year'); $from = '-1day'; @@ -77,7 +77,7 @@ if ($vars['view'] == minigraphs) { echo("
".makeshortif($port['ifDescr'])."
- ".$device['hostname']." - ".$port['ifDescr']."
\ ".$port['ifAlias']." \ \