diff options
author | NOYB <Al_Stu@Frontier.com> | 2015-12-17 17:48:43 -0800 |
---|---|---|
committer | NOYB <Al_Stu@Frontier.com> | 2015-12-17 17:48:43 -0800 |
commit | 9cfbece1a4b33102fc6bcadb8918c36c7a4f325e (patch) | |
tree | 1f462dc76357ec73b07c23af7865dfc79de39fdf /src/usr/local | |
parent | 873dd96927bf8014817f6561cb8a5f636e8454e5 (diff) | |
download | pfsense-9cfbece1a4b33102fc6bcadb8918c36c7a4f325e.zip pfsense-9cfbece1a4b33102fc6bcadb8918c36c7a4f325e.tar.gz |
Add max value to qty field.
Diffstat (limited to 'src/usr/local')
-rwxr-xr-x | src/usr/local/www/status_logs.php | 2 | ||||
-rw-r--r-- | src/usr/local/www/status_logs_filter.php | 2 |
2 files changed, 2 insertions, 2 deletions
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.'); |