diff options
author | Colin Fleming <cj_fleming@sky.com> | 2013-04-15 20:53:44 +0100 |
---|---|---|
committer | Colin Fleming <cj_fleming@sky.com> | 2013-04-15 20:53:44 +0100 |
commit | 32bb88e5aae9334a68512166e1d6bbdc91ff35ca (patch) | |
tree | baf9b14a23f384382b7b030befbdeca0cc042b4c /usr/local/www | |
parent | 808ba41785e78d1216148db004a2101db7ff6b8c (diff) | |
download | pfsense-32bb88e5aae9334a68512166e1d6bbdc91ff35ca.zip pfsense-32bb88e5aae9334a68512166e1d6bbdc91ff35ca.tar.gz |
Tidy up "interfaces_vlan_edit.php" XHTML
Update HTML boolean operators
Close INPUT and BR tags
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/interfaces_vlan_edit.php | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/usr/local/www/interfaces_vlan_edit.php b/usr/local/www/interfaces_vlan_edit.php index 25b7b56..21884fe 100755 --- a/usr/local/www/interfaces_vlan_edit.php +++ b/usr/local/www/interfaces_vlan_edit.php @@ -149,7 +149,7 @@ include("head.inc"); <?php include("fbegin.inc"); ?> <?php if ($input_errors) print_input_errors($input_errors); ?> <form action="interfaces_vlan_edit.php" method="post" name="iform" id="iform"> - <table width="100%" border="0" cellpadding="6" cellspacing="0"> + <table width="100%" border="0" cellpadding="6" cellspacing="0" summary="interfaces vlan edit"> <tr> <td colspan="2" valign="top" class="listtopic"><?=gettext("VLAN configuration");?></td> </tr> @@ -162,7 +162,7 @@ include("head.inc"); if (is_jumbo_capable($ifn)) { echo "<option value=\"{$ifn}\""; if ($ifn == $pconfig['if']) - echo "selected"; + echo " selected=\"selected\""; echo ">"; echo htmlspecialchars($ifn . " (" . $ifinfo['mac'] . ")"); echo "</option>"; @@ -175,24 +175,24 @@ include("head.inc"); <tr> <td valign="top" class="vncellreq"><?=gettext("VLAN tag ");?></td> <td class="vtable"> - <input name="tag" type="text" class="formfld unknown" id="tag" size="6" value="<?=htmlspecialchars($pconfig['tag']);?>"> - <br> + <input name="tag" type="text" class="formfld unknown" id="tag" size="6" value="<?=htmlspecialchars($pconfig['tag']);?>" /> + <br/> <span class="vexpl"><?=gettext("802.1Q VLAN tag (between 1 and 4094) ");?></span></td> </tr> <tr> <td width="22%" valign="top" class="vncell"><?=gettext("Description");?></td> <td width="78%" class="vtable"> - <input name="descr" type="text" class="formfld unknown" id="descr" size="40" value="<?=htmlspecialchars($pconfig['descr']);?>"> - <br> <span class="vexpl"><?=gettext("You may enter a description here ". + <input name="descr" type="text" class="formfld unknown" id="descr" size="40" value="<?=htmlspecialchars($pconfig['descr']);?>" /> + <br/> <span class="vexpl"><?=gettext("You may enter a description here ". "for your reference (not parsed).");?></span></td> </tr> <tr> <td width="22%" valign="top"> </td> <td width="78%"> - <input type="hidden" name="vlanif" value="<?=htmlspecialchars($pconfig['vlanif']); ?>"> - <input name="Submit" type="submit" class="formbtn" value="<?=gettext("Save");?>"> <input type="button" value="<?=gettext("Cancel");?>" onclick="history.back()"> + <input type="hidden" name="vlanif" value="<?=htmlspecialchars($pconfig['vlanif']); ?>" /> + <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="<?=htmlspecialchars($id);?>"> + <input name="id" type="hidden" value="<?=htmlspecialchars($id);?>" /> <?php endif; ?> </td> </tr> |