summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Beaver <sbeaver@netgate.com>2017-08-16 08:24:18 -0400
committerSteve Beaver <sbeaver@netgate.com>2017-08-16 08:24:18 -0400
commit5e024279579ec76486f7cff713eecdb83611ed37 (patch)
treefb1c3e51f0b338266d44ef1f60f32afa745b451f
parenta8c2e827cfeaf74bc99227e087584eefb2c466f2 (diff)
downloadpfsense-5e024279579ec76486f7cff713eecdb83611ed37.zip
pfsense-5e024279579ec76486f7cff713eecdb83611ed37.tar.gz
Hide dashboard update period control. No longer needed with central refresh system
-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 910cec2..b28f69b 100644
--- a/src/usr/local/www/system.php
+++ b/src/usr/local/www/system.php
@@ -108,7 +108,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']);
@@ -190,9 +190,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'];
@@ -649,7 +649,7 @@ $section->addInput(new Form_Checkbox(
'Show hostname on login banner',
$pconfig['loginshowhost']
));
-
+/*
$section->addInput(new Form_Input(
'dashboardperiod',
'Dashboard update period',
@@ -659,7 +659,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