summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_rrd_graph_settings.php
diff options
context:
space:
mode:
authornagyrobi <robreg@zsurob.hu>2014-02-18 15:29:08 +0100
committernagyrobi <robreg@zsurob.hu>2014-02-18 15:29:08 +0100
commitc53834f93152c1d7e3548683067fd18279a6cb73 (patch)
tree73acdb6f38d32550d160b5d29d3553e0074f310f /usr/local/www/status_rrd_graph_settings.php
parentb8ab37b8296c11a6e2f85c2b121c8d5c23a6b6db (diff)
downloadpfsense-c53834f93152c1d7e3548683067fd18279a6cb73.zip
pfsense-c53834f93152c1d7e3548683067fd18279a6cb73.tar.gz
Update status_rrd_graph_settings.php
Add NTP graph to settings
Diffstat (limited to 'usr/local/www/status_rrd_graph_settings.php')
-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