Project

General

Profile

« Previous | Next » 

Revision e8813e51

Added by Steve Beaver over 8 years ago

Allow up to siz dashboard columns

View differences:

src/etc/inc/pfsense-utils.inc
242 242
 ******/
243 243
function gen_dashboardcolumns_field(&$section, $value) {
244 244

  
245
	if (($value < 1) || ($value > 4)) {
245
	if (($value < 1) || ($value > 6)) {
246 246
		$value = 2;
247 247
	}
248 248

  
......
251 251
		'Dashboard Columns',
252 252
		'number',
253 253
		$value,
254
		[min => 1, max => 4]
254
		[min => 1, max => 6]
255 255
	));
256 256
}
257 257

  

Also available in: Unified diff