diff options
Diffstat (limited to 'usr/local/www/status_rrd_graph.php')
-rwxr-xr-x | usr/local/www/status_rrd_graph.php | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/usr/local/www/status_rrd_graph.php b/usr/local/www/status_rrd_graph.php index c318421..aeb03d6 100755 --- a/usr/local/www/status_rrd_graph.php +++ b/usr/local/www/status_rrd_graph.php @@ -47,6 +47,8 @@ if ($_GET['option']) { $curoption = "processor"; } else if($curcat == "queues") { $curoption = "queues"; + } else if($curcat == "queuedrops") { + $curoption = "queuedrops"; } else { $curoption = "wan"; } @@ -111,6 +113,8 @@ include("head.inc"); $tab_array[] = array("Quality", $tabactive, "status_rrd_graph.php?cat=quality"); if($curcat == "queues") { $tabactive = True; } else { $tabactive = False; } $tab_array[] = array("Queues", $tabactive, "status_rrd_graph.php?cat=queues"); + if($curcat == "queuesdrop") { $tabactive = True; } else { $tabactive = False; } + $tab_array[] = array("QueueDrops", $tabactive, "status_rrd_graph.php?cat=queuedrops"); if($curcat == "wireless") { $tabactive = True; } else { $tabactive = False; } $tab_array[] = array("Wireless", $tabactive, "status_rrd_graph.php?cat=wireless"); if($curcat == "settings") { $tabactive = True; } else { $tabactive = False; } @@ -145,11 +149,6 @@ include("head.inc"); echo "<option value=\"$optionc\""; $prettyprint = ucwords(str_replace($search, $replace, $optionc)); break; - case "queues": - $optionc = str_replace($search, $replace, $optionc[1]); - echo "<option value=\"$optionc\""; - $prettyprint = ucwords(str_replace($search, $replace, $optionc)); - break; default: /* Deduce a interface if possible and use the description */ $optionc = "$optionc[0]"; |