diff options
author | NOYB <Al_Stu@Frontier.com> | 2016-01-18 01:35:33 -0800 |
---|---|---|
committer | NOYB <Al_Stu@Frontier.com> | 2016-01-18 01:35:33 -0800 |
commit | a591072b1203b918086ac1b208e5897c5b76017f (patch) | |
tree | 8a9c09d65c807943e73a6d980a7561951a92fce5 /src/usr/local/www/firewall_schedule_edit.php | |
parent | eca491c30678083bcd7f11098d127cfe244484ad (diff) | |
download | pfsense-a591072b1203b918086ac1b208e5897c5b76017f.zip pfsense-a591072b1203b918086ac1b208e5897c5b76017f.tar.gz |
Alias name consistency in Firewall alias edit and schedules edit.
Diffstat (limited to 'src/usr/local/www/firewall_schedule_edit.php')
-rw-r--r-- | src/usr/local/www/firewall_schedule_edit.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/firewall_schedule_edit.php b/src/usr/local/www/firewall_schedule_edit.php index 31238d0..019722e 100644 --- a/src/usr/local/www/firewall_schedule_edit.php +++ b/src/usr/local/www/firewall_schedule_edit.php @@ -130,7 +130,7 @@ if ($_POST) { $input_errors[] = gettext("Reserved word used for schedule name."); } else { if (is_validaliasname($_POST['name']) == false) { - $input_errors[] = gettext("The schedule name may only consist of the characters a-z, A-Z, 0-9"); + $input_errors[] = gettext("The schedule name must be less than 32 characters long, may not consist of only numbers, may not consist of only underscores, and may only contain the following characters:") . ' a-z, A-Z, 0-9, _'; } } @@ -395,7 +395,7 @@ $input = new Form_Input( $pconfig['name'] ); -$input->setHelp((is_schedule_inuse($pconfig['name']) != true) ? 'The name of the alias may only consist of the characters a-z, A-Z and 0-9': +$input->setHelp((is_schedule_inuse($pconfig['name']) != true) ? 'The name of the alias may only consist of the characters "a-z, A-Z, 0-9 and _".': 'This schedule is in use so the name may not be modified!'); if (is_schedule_inuse($pconfig['name']) == true) { |