mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Merge pull request #936 from nagyrobi/patch-10
Update status_rrd_graph_settings.php
This commit is contained in:
commit
cfce004f70
@ -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; }
|
||||
|
||||
Loading…
Reference in New Issue
Block a user