summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www
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:55 -0400
commit388189cf5ec4f3e0d70a3edf89a984f78d252d55 (patch)
tree7bb451e73382931cf22c054f45ed5ae438d1ad2c /src/usr/local/www
parent4d2ed8bc1220eb8cf925c1ba6b5566de8e75046b (diff)
downloadpfsense-388189cf5ec4f3e0d70a3edf89a984f78d252d55.zip
pfsense-388189cf5ec4f3e0d70a3edf89a984f78d252d55.tar.gz
Hide dashboard update period control. No longer needed with central refresh system
(cherry picked from commit 5e024279579ec76486f7cff713eecdb83611ed37)
Diffstat (limited to 'src/usr/local/www')
-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 563f9ae..eb4a152 100644
--- a/src/usr/local/www/system.php
+++ b/src/usr/local/www/system.php
@@ -107,7 +107,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']);
@@ -189,9 +189,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'];
@@ -642,7 +642,7 @@ $section->addInput(new Form_Checkbox(
'Show hostname on login banner',
$pconfig['loginshowhost']
));
-
+/*
$section->addInput(new Form_Input(
'dashboardperiod',
'Dashboard update period',
@@ -652,7 +652,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