diff options
author | Colin Fleming <cj_fleming@sky.com> | 2013-04-15 20:45:49 +0100 |
---|---|---|
committer | Colin Fleming <cj_fleming@sky.com> | 2013-04-15 20:45:49 +0100 |
commit | f04d61819ae5c1f92bf513d477f7ea80ef340253 (patch) | |
tree | e3158876cbd515cae34d90018e58b3eb142bf90b /usr/local/www/interfaces_wireless_edit.php | |
parent | 808ba41785e78d1216148db004a2101db7ff6b8c (diff) | |
download | pfsense-f04d61819ae5c1f92bf513d477f7ea80ef340253.zip pfsense-f04d61819ae5c1f92bf513d477f7ea80ef340253.tar.gz |
Tidy up "interfaces_wireless_edit.php" XHTML
Close INPUT tags
Update HTML boolean operators
Diffstat (limited to 'usr/local/www/interfaces_wireless_edit.php')
-rw-r--r-- | usr/local/www/interfaces_wireless_edit.php | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/usr/local/www/interfaces_wireless_edit.php b/usr/local/www/interfaces_wireless_edit.php index 3b1367d..778ee2e 100644 --- a/usr/local/www/interfaces_wireless_edit.php +++ b/usr/local/www/interfaces_wireless_edit.php @@ -153,7 +153,7 @@ include("head.inc"); <?php include("fbegin.inc"); ?> <?php if ($input_errors) print_input_errors($input_errors); ?> <form action="interfaces_wireless_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 wireless edit"> <tr> <td colspan="2" valign="top" class="listtopic"><?=gettext("Wireless clone configuration");?></td> </tr> @@ -166,7 +166,7 @@ include("head.inc"); if (preg_match($g['wireless_regex'], $ifn)) { echo "<option value=\"{$ifn}\""; if ($ifn == $pconfig['if']) - echo "selected"; + echo " selected=\"selected\""; echo ">"; echo htmlspecialchars($ifn . " (" . $ifinfo['mac'] . ")"); echo "</option>"; @@ -178,25 +178,25 @@ include("head.inc"); <td valign="top" class="vncellreq"><?=gettext("Mode");?></td> <td class="vtable"> <select name="mode" class="formselect"> - <option <?php if ($pconfig['mode'] == 'bss') echo "selected";?> value="bss"><?=gettext("Infrastructure (BSS)");?></option> - <option <?php if ($pconfig['mode'] == 'adhoc') echo "selected";?> value="adhoc"><?=gettext("Ad-hoc (IBSS)");?></option> - <option <?php if ($pconfig['mode'] == 'hostap') echo "selected";?> value="hostap"><?=gettext("Access Point");?></option> + <option <?php if ($pconfig['mode'] == 'bss') echo "selected=\"selected\"";?> value="bss"><?=gettext("Infrastructure (BSS)");?></option> + <option <?php if ($pconfig['mode'] == 'adhoc') echo "selected=\"selected\"";?> value="adhoc"><?=gettext("Ad-hoc (IBSS)");?></option> + <option <?php if ($pconfig['mode'] == 'hostap') echo "selected=\"selected\"";?> value="hostap"><?=gettext("Access Point");?></option> </select></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="cloneif" value="<?=htmlspecialchars($pconfig['cloneif']); ?>"> - <input name="Submit" type="submit" class="formbtn" value="<?=gettext("Save");?>"> <input type="button" value="<?=gettext("Cancel");?>" onclick="history.back()"> + <input type="hidden" name="cloneif" value="<?=htmlspecialchars($pconfig['cloneif']); ?>" /> + <input name="Submit" type="submit" class="formbtn" value="<?=gettext("Save");?>" /> <input type="button" value="<?=gettext("Cancel");?>" onclick="history.back()" /> <?php if (isset($id) && $a_clones[$id]): ?> - <input name="id" type="hidden" value="<?=htmlspecialchars($id);?>"> + <input name="id" type="hidden" value="<?=htmlspecialchars($id);?>" /> <?php endif; ?> </td> </tr> |