summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSteve Beaver <sbeaver@netgate.com>2017-08-16 08:22:53 -0400
committerSteve Beaver <sbeaver@netgate.com>2017-08-16 08:22:53 -0400
commit6c1f2a1ce66e201ddfdaf926275c021161b65ad2 (patch)
tree8c333954d8d23bff0a0050e5f3293f08c72d6cee /src
parent0022b1131d19315adfdb4575791bd38f468d4fc0 (diff)
downloadpfsense-6c1f2a1ce66e201ddfdaf926275c021161b65ad2.zip
pfsense-6c1f2a1ce66e201ddfdaf926275c021161b65ad2.tar.gz
Hide dashboard update period control. No longer needed with central refresh system
Diffstat (limited to 'src')
-rw-r--r--src/usr/local/www/system.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/usr/local/www/system.php b/src/usr/local/www/system.php
index 5c20548..386a2cc 100644
--- a/src/usr/local/www/system.php
+++ b/src/usr/local/www/system.php
@@ -77,7 +77,7 @@ $pconfig['systemlogsmanagelogpanel'] = isset($config['system']['webgui']['system
$pconfig['statusmonitoringsettingspanel'] = isset($config['system']['webgui']['statusmonitoringsettingspanel']);
$pconfig['webguihostnamemenu'] = $config['system']['webgui']['webguihostnamemenu'];
$pconfig['dnslocalhost'] = isset($config['system']['dnslocalhost']);
-$pconfig['dashboardperiod'] = isset($config['widgets']['period']) ? $config['widgets']['period']:"10";
+//$pconfig['dashboardperiod'] = isset($config['widgets']['period']) ? $config['widgets']['period']:"10";
$pconfig['loginshowhost'] = isset($config['system']['webgui']['loginshowhost']);
$pconfig['requirestatefilter'] = isset($config['system']['webgui']['requirestatefilter']);
@@ -159,9 +159,9 @@ if ($_POST) {
do_input_validation($_POST, $reqdfields, $reqdfieldsn, $input_errors);
- if ($_POST['dashboardperiod']) {
- $config['widgets']['period'] = $_POST['dashboardperiod'];
- }
+// if ($_POST['dashboardperiod']) {
+// $config['widgets']['period'] = $_POST['dashboardperiod'];
+// }
if ($_POST['webguicss']) {
$config['system']['webgui']['webguicss'] = $_POST['webguicss'];
@@ -621,7 +621,7 @@ $section->addInput(new Form_Checkbox(
'Show hostname on login banner',
$pconfig['loginshowhost']
));
-
+/*
$section->addInput(new Form_Input(
'dashboardperiod',
'Dashboard update period',
@@ -631,7 +631,7 @@ $section->addInput(new Form_Input(
))->setHelp('Time in seconds between dashboard widget updates. Small values cause ' .
'more frequent updates but increase the load on the web server. ' .
'Minimum is 5 seconds, maximum 600 seconds');
-
+*/
$form->add($section);
print $form;
OpenPOWER on IntegriCloud