diff options
author | Rafael Lucas <rafalucas.unicamp@gmail.com> | 2010-06-30 16:11:37 -0300 |
---|---|---|
committer | Rafael Lucas <rafalucas.unicamp@gmail.com> | 2010-06-30 16:11:37 -0300 |
commit | cbdc84eaf81245fc1691893cf8f33876a8e81831 (patch) | |
tree | 7065214bd6c074cdefe1acdba3aff0d870bc5a86 /usr/local | |
parent | eb8dacf393f3d3d57a86b36cf9930c259ed5d2f5 (diff) | |
download | pfsense-cbdc84eaf81245fc1691893cf8f33876a8e81831.zip pfsense-cbdc84eaf81245fc1691893cf8f33876a8e81831.tar.gz |
Implement gettext() calls
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/interfaces_vlan_edit.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/interfaces_vlan_edit.php b/usr/local/www/interfaces_vlan_edit.php index 8233092..8c37b75 100755 --- a/usr/local/www/interfaces_vlan_edit.php +++ b/usr/local/www/interfaces_vlan_edit.php @@ -71,8 +71,8 @@ if ($_POST) { $pconfig = $_POST; /* input validation */ - $reqdfields = explode(" ", gettext("if tag")); - $reqdfieldsn = explode(",", gettext("Parent interface,VLAN tag")); + $reqdfields = explode(" ", "if tag"); + $reqdfieldsn = array(gettext("Parent interface"),gettext("VLAN tag")); do_input_validation($_POST, $reqdfields, $reqdfieldsn, &$input_errors); @@ -173,7 +173,7 @@ include("head.inc"); <td width="22%" valign="top"> </td> <td width="78%"> <input type="hidden" name="vlanif" value="<?=$pconfig['vlanif']; ?>"> - <input name="Submit" type="submit" class="formbtn" value="<?=gettext("Save");?>"> <input type="button" value="Cancel" onclick="history.back()"> + <input name="Submit" type="submit" class="formbtn" value="<?=gettext("Save");?>"> <input type="button" value="<?=gettext("Cancel");?>" onclick="history.back()"> <?php if (isset($id) && $a_vlans[$id]): ?> <input name="id" type="hidden" value="<?=$id;?>"> <?php endif; ?> |