diff options
author | N0YB <Al_Stu@Frontier.com> | 2014-02-23 02:01:21 -0800 |
---|---|---|
committer | N0YB <Al_Stu@Frontier.com> | 2014-02-23 02:01:21 -0800 |
commit | 813288dc0e62455395dbcf38b69e2448cb745bee (patch) | |
tree | 7f985138b69620614ef6bcf7a2a0d8178f3eb013 /usr/local/www | |
parent | 6c15643371f747dc278c28a2cbef671f625a8e0a (diff) | |
download | pfsense-813288dc0e62455395dbcf38b69e2448cb745bee.zip pfsense-813288dc0e62455395dbcf38b69e2448cb745bee.tar.gz |
XHTML Compliance
Interfaces - Wireless Edit
Diffstat (limited to 'usr/local/www')
-rw-r--r-- | usr/local/www/interfaces_wireless_edit.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/local/www/interfaces_wireless_edit.php b/usr/local/www/interfaces_wireless_edit.php index 778ee2e..71c4e85 100644 --- a/usr/local/www/interfaces_wireless_edit.php +++ b/usr/local/www/interfaces_wireless_edit.php @@ -162,8 +162,10 @@ include("head.inc"); <td width="78%" class="vtable"> <select name="if" class="formselect"> <?php + $rowIndex = 0; foreach ($portlist as $ifn => $ifinfo) if (preg_match($g['wireless_regex'], $ifn)) { + $rowIndex++; echo "<option value=\"{$ifn}\""; if ($ifn == $pconfig['if']) echo " selected=\"selected\""; @@ -171,6 +173,8 @@ include("head.inc"); echo htmlspecialchars($ifn . " (" . $ifinfo['mac'] . ")"); echo "</option>"; } + if ($rowIndex == 0) + echo "<option></option>"; ?> </select></td> </tr> |