Project

General

Profile

« Previous | Next » 

Revision 9cfbece1

Added by NOYB NOYB over 9 years ago

Add max value to qty field.

View differences:

src/usr/local/www/status_logs.php
571 571
	'GUI Log Entries',
572 572
	'number',
573 573
	$pconfig['nentries'],
574
	['min' => 5, 'placeholder' => $config['syslog']['nentries']]
574
	['min' => 5, 'max' => 2000, 'placeholder' => $config['syslog']['nentries']]
575 575
))->setWidth(2);
576 576

  
577 577
$group->setHelp('This is the number of log entries displayed in the GUI. It does not affect how many entries are contained in the log.');
src/usr/local/www/status_logs_filter.php
818 818
	'GUI Log Entries',
819 819
	'number',
820 820
	$pconfig['nentries'],
821
	['min' => 5, 'placeholder' => $config['syslog']['nentries']]
821
	['min' => 5, 'max' => 2000, 'placeholder' => $config['syslog']['nentries']]
822 822
))->setWidth(2);
823 823

  
824 824
$group->setHelp('This is the number of log entries displayed in the GUI. It does not affect how many entries are contained in the log.');

Also available in: Unified diff