summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2014-02-19 16:59:56 +0100
committerErmal Luçi <eri@pfsense.org>2014-02-19 16:59:56 +0100
commitcfce004f701587ac7fe4971c23118fb2c6574dc5 (patch)
treed0efe01b1b13689a149206c549119d0f74354ad7 /usr/local
parent0a3adf06d08cc5900d3deb10d8b7a314c493d768 (diff)
parentc53834f93152c1d7e3548683067fd18279a6cb73 (diff)
downloadpfsense-cfce004f701587ac7fe4971c23118fb2c6574dc5.zip
pfsense-cfce004f701587ac7fe4971c23118fb2c6574dc5.tar.gz
Merge pull request #936 from nagyrobi/patch-10
Update status_rrd_graph_settings.php
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/status_rrd_graph_settings.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/usr/local/www/status_rrd_graph_settings.php b/usr/local/www/status_rrd_graph_settings.php
index 032c41a..f0fcccc 100755
--- a/usr/local/www/status_rrd_graph_settings.php
+++ b/usr/local/www/status_rrd_graph_settings.php
@@ -56,6 +56,11 @@ $categories = array('system' => gettext("System"),
'quality' => gettext("Quality"),
'queues' => gettext("Queues"),
'captiveportal' => gettext("Captive Portal"));
+
+if(isset($config['ntpd']['statsgraph'])) {
+ $categories['ntpd'] = gettext("NTP");
+}
+
$styles = array('inverse' => gettext("Inverse"),
'absolute' => gettext("Absolute"));
$periods = array("absolute" => gettext("Absolute Timespans"),
@@ -155,6 +160,10 @@ include("head.inc");
if($curcat == "captiveportal") { $tabactive = True; } else { $tabactive = False; }
$tab_array[] = array(gettext("Captive Portal"), $tabactive, "status_rrd_graph.php?cat=captiveportal");
}
+ if(isset($config['ntpd']['statsgraph'])) {
+ if($curcat == "ntpd") { $tabactive = True; } else { $tabactive = False; }
+ $tab_array[] = array("NTP", $tabactive, "status_rrd_graph.php?cat=ntpd");
+ }
if($curcat == "custom") { $tabactive = True; } else { $tabactive = False; }
$tab_array[] = array(gettext("Custom"), $tabactive, "status_rrd_graph.php?cat=custom");
if($curcat == "settings") { $tabactive = True; } else { $tabactive = False; }
OpenPOWER on IntegriCloud