summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_aliases_import.php
diff options
context:
space:
mode:
authorRenato Botelho <renato.botelho@bluepex.com>2010-06-30 19:41:17 -0300
committerRenato Botelho <renato.botelho@bluepex.com>2010-06-30 19:41:17 -0300
commit7e3e8416ecd553e4b3516529131d609ba6ee54dd (patch)
tree7c93fbe2d4b486b239e9ed7994b7088dcd8fe18d /usr/local/www/firewall_aliases_import.php
parentbd413d7682da8d97f6d9616a3725eb96d9cb1eb4 (diff)
downloadpfsense-7e3e8416ecd553e4b3516529131d609ba6ee54dd.zip
pfsense-7e3e8416ecd553e4b3516529131d609ba6ee54dd.tar.gz
Review firewall_aliases_import.php
Diffstat (limited to 'usr/local/www/firewall_aliases_import.php')
-rwxr-xr-xusr/local/www/firewall_aliases_import.php6
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>
OpenPOWER on IntegriCloud