From 9cfbece1a4b33102fc6bcadb8918c36c7a4f325e Mon Sep 17 00:00:00 2001 From: NOYB Date: Thu, 17 Dec 2015 17:48:43 -0800 Subject: Add max value to qty field. --- src/usr/local/www/status_logs.php | 2 +- src/usr/local/www/status_logs_filter.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/usr/local/www') diff --git a/src/usr/local/www/status_logs.php b/src/usr/local/www/status_logs.php index 0e0e5f4..f0acd4b 100755 --- a/src/usr/local/www/status_logs.php +++ b/src/usr/local/www/status_logs.php @@ -571,7 +571,7 @@ $group->add(new Form_Input( 'GUI Log Entries', 'number', $pconfig['nentries'], - ['min' => 5, 'placeholder' => $config['syslog']['nentries']] + ['min' => 5, 'max' => 2000, 'placeholder' => $config['syslog']['nentries']] ))->setWidth(2); $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.'); diff --git a/src/usr/local/www/status_logs_filter.php b/src/usr/local/www/status_logs_filter.php index ca031de..d3101f7 100644 --- a/src/usr/local/www/status_logs_filter.php +++ b/src/usr/local/www/status_logs_filter.php @@ -818,7 +818,7 @@ $group->add(new Form_Input( 'GUI Log Entries', 'number', $pconfig['nentries'], - ['min' => 5, 'placeholder' => $config['syslog']['nentries']] + ['min' => 5, 'max' => 2000, 'placeholder' => $config['syslog']['nentries']] ))->setWidth(2); $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.'); -- cgit v1.1