diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-04-11 22:53:40 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-04-11 22:53:40 +0000 |
commit | e729c9fbbb3678be9d3753d0bc3d41761167e77b (patch) | |
tree | 2b0d957349f21364e28687ef674cbc15c0454f5e /usr/local/www | |
parent | 819f6af1750230f529496816a6135df7d66ae1cc (diff) | |
download | pfsense-e729c9fbbb3678be9d3753d0bc3d41761167e77b.zip pfsense-e729c9fbbb3678be9d3753d0bc3d41761167e77b.tar.gz |
Hide interface selection when viewing SpamD graphs
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/status_rrd_graph.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/local/www/status_rrd_graph.php b/usr/local/www/status_rrd_graph.php index 30da2b6..16959e5 100755 --- a/usr/local/www/status_rrd_graph.php +++ b/usr/local/www/status_rrd_graph.php @@ -66,6 +66,7 @@ for ($j = 1; isset($config['interfaces']['opt' . $j]); $j++) { ?> <form name="form1" action="status_rrd_graph.php" method="get" style="padding-bottom: 10px; margin-bottom: 14px; border-bottom: 1px solid #999999"> +<?php if ($curgraph <> "spamd"): ?> Interface: <select name="if" class="formfld" style="z-index: -10;" onchange="document.form1.submit()"> <?php @@ -76,6 +77,7 @@ foreach ($ifdescrs as $ifn => $ifd) { } ?> </select> +<?php endif; ?> Graph: <select name="graph" class="formfld" style="z-index: -10;" onchange="document.form1.submit()"> <?php @@ -308,7 +310,7 @@ elseif(($curgraph == "spamd") && (file_exists("$rrddbpath$spamd"))) { /* graph a spamd statistics graph */ $graphcmd = "$rrdtool graph $rrddbpath$curif-$interval-$curgraph.png \\ --start -$seconds -e -$average \\ - --title=\"Spamd statistics for last $interval\" \\ + --title=\"SpamD statistics for last $interval\" \\ --vertical-label=\"Connections/Timespan\" --rigid \\ --height 100 --width 650 --no-gridfit \\ -x \"$scale\" --lower-limit 0 --upper-limit=30 \\ |