Project

General

Profile

« Previous | Next » 

Revision 6c1f2a1c

Added by Steve Beaver almost 8 years ago

Hide dashboard update period control. No longer needed with central refresh system

View differences:

src/usr/local/www/system.php
77 77
$pconfig['statusmonitoringsettingspanel'] = isset($config['system']['webgui']['statusmonitoringsettingspanel']);
78 78
$pconfig['webguihostnamemenu'] = $config['system']['webgui']['webguihostnamemenu'];
79 79
$pconfig['dnslocalhost'] = isset($config['system']['dnslocalhost']);
80
$pconfig['dashboardperiod'] = isset($config['widgets']['period']) ? $config['widgets']['period']:"10";
80
//$pconfig['dashboardperiod'] = isset($config['widgets']['period']) ? $config['widgets']['period']:"10";
81 81
$pconfig['loginshowhost'] = isset($config['system']['webgui']['loginshowhost']);
82 82
$pconfig['requirestatefilter'] = isset($config['system']['webgui']['requirestatefilter']);
83 83

  
......
159 159

  
160 160
	do_input_validation($_POST, $reqdfields, $reqdfieldsn, $input_errors);
161 161

  
162
	if ($_POST['dashboardperiod']) {
163
		$config['widgets']['period'] = $_POST['dashboardperiod'];
164
	}
162
//	if ($_POST['dashboardperiod']) {
163
//		$config['widgets']['period'] = $_POST['dashboardperiod'];
164
//	}
165 165

  
166 166
	if ($_POST['webguicss']) {
167 167
		$config['system']['webgui']['webguicss'] = $_POST['webguicss'];
......
621 621
	'Show hostname on login banner',
622 622
	$pconfig['loginshowhost']
623 623
));
624

  
624
/*
625 625
$section->addInput(new Form_Input(
626 626
	'dashboardperiod',
627 627
	'Dashboard update period',
......
631 631
))->setHelp('Time in seconds between dashboard widget updates. Small values cause ' .
632 632
			'more frequent updates but increase the load on the web server. ' .
633 633
			'Minimum is 5 seconds, maximum 600 seconds');
634

  
634
*/
635 635
$form->add($section);
636 636

  
637 637
print $form;

Also available in: Unified diff