From 5872ccac1bd369bb898c1536f72620fbe41dcba9 Mon Sep 17 00:00:00 2001 From: Tom Laermans Date: Thu, 22 Sep 2011 17:11:00 +0000 Subject: [PATCH] more url fixies, yay for generate_port_url git-svn-id: http://www.observium.org/svn/observer/trunk@2547 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/includes/print-interface.inc.php | 4 ++-- html/pages/device/ports.inc.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/html/includes/print-interface.inc.php b/html/includes/print-interface.inc.php index 99374eaaff..df1dfb173b 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 a406f5ebd3..9619a805de 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']." \ \