summaryrefslogtreecommitdiffstats
path: root/usr/local/www/interfaces_vlan_edit.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/interfaces_vlan_edit.php')
-rwxr-xr-xusr/local/www/interfaces_vlan_edit.php6
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">&nbsp;</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; ?>
OpenPOWER on IntegriCloud