summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_rrd_graph.php
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2007-03-03 00:35:59 +0000
committerSeth Mos <seth.mos@xs4all.nl>2007-03-03 00:35:59 +0000
commitc01d99da5277a39e6a26ee27b57627042628a6ff (patch)
treec48ed7ef235fcfb8067a6d04d29f3d98564186b3 /usr/local/www/status_rrd_graph.php
parent2e5126187c0b61ebb4f59797f7af49b1d86e174a (diff)
downloadpfsense-c01d99da5277a39e6a26ee27b57627042628a6ff.zip
pfsense-c01d99da5277a39e6a26ee27b57627042628a6ff.tar.gz
Re-add missing queues graphs
Diffstat (limited to 'usr/local/www/status_rrd_graph.php')
-rwxr-xr-xusr/local/www/status_rrd_graph.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/usr/local/www/status_rrd_graph.php b/usr/local/www/status_rrd_graph.php
index dcb6c2b..5bcaa9e 100755
--- a/usr/local/www/status_rrd_graph.php
+++ b/usr/local/www/status_rrd_graph.php
@@ -41,6 +41,8 @@ if ($_GET['option']) {
} else {
if($curcat == "system") {
$curoption = "states";
+ } else if($curcat == "queues") {
+ $curoption = "queues.";
} else {
$curoption = "wan";
}
@@ -85,6 +87,8 @@ include("head.inc");
$tab_array[] = array("Packets", $tabactive, "status_rrd_graph.php?cat=packets");
if($curcat == "quality") { $tabactive = True; } else { $tabactive = False; }
$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");
display_top_tabs($tab_array);
?>
</td>
@@ -117,6 +121,10 @@ include("head.inc");
$optionc = str_replace($search, $replace, $optionc[1]);
echo "<option value=\"$optionc\"";
$prettyprint = ucwords(str_replace($search, $replace, $optionc));
+ } else if($curcat == "queues") {
+ $optionc = str_replace($search, $replace, $optionc[1]);
+ echo "<option value=\"$optionc.\"";
+ $prettyprint = ucwords(str_replace($search, $replace, $optionc));
} else {
/* Deduce a interface if possible and use the description */
$optionc = "$optionc[0]";
OpenPOWER on IntegriCloud