diff options
author | Renato Botelho <renato.botelho@bluepex.com> | 2010-06-30 19:41:17 -0300 |
---|---|---|
committer | Renato Botelho <renato.botelho@bluepex.com> | 2010-06-30 19:41:17 -0300 |
commit | 7e3e8416ecd553e4b3516529131d609ba6ee54dd (patch) | |
tree | 7c93fbe2d4b486b239e9ed7994b7088dcd8fe18d /usr/local | |
parent | bd413d7682da8d97f6d9616a3725eb96d9cb1eb4 (diff) | |
download | pfsense-7e3e8416ecd553e4b3516529131d609ba6ee54dd.zip pfsense-7e3e8416ecd553e4b3516529131d609ba6ee54dd.tar.gz |
Review firewall_aliases_import.php
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/firewall_aliases_import.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/firewall_aliases_import.php b/usr/local/www/firewall_aliases_import.php index 47a22d0..e23c78c 100755 --- a/usr/local/www/firewall_aliases_import.php +++ b/usr/local/www/firewall_aliases_import.php @@ -55,12 +55,12 @@ $a_aliases = &$config['aliases']['alias']; if($_POST['aliasimport'] <> "") { $reqdfields = explode(" ", "name aliasimport"); - $reqdfieldsn = array(",", gettext("Name,Aliases")); + $reqdfieldsn = array(gettext("Name"),gettext("Aliases")); do_input_validation($_POST, $reqdfields, $reqdfieldsn, &$input_errors); if (is_validaliasname($_POST['name']) == false) - $input_errors[] = gettext("The alias name may only consist of the characters a-z, A-Z, 0-9, _."); + $input_errors[] = gettext("The alias name may only consist of the characters") . " a-z, A-Z, 0-9, _."; /* check for name duplicates */ if (is_alias($_POST['name'])) @@ -133,7 +133,7 @@ include("head.inc"); <td valign="top" class="vncellreq"><?=gettext("Alias Name"); ?></td> <td class="vtable"> <input name="name" type="text" class="formfld unknown" id="name" size="40" value="<?=htmlspecialchars($_POST['name']);?>" /> <br /> <span class="vexpl"> - <?=gettext("The name of the alias may only consist of the characters a-z, A-Z and 0-9."); ?></span></td> + <?=gettext("The name of the alias may only consist of the characters") . " a-z, A-Z and 0-9."; ?></span></td> </tr> <tr> <td width="22%" valign="top" class="vncell"><?=gettext("Description"); ?></td> |