diff options
author | Ermal <eri@pfsense.org> | 2010-07-29 20:52:19 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-07-29 20:52:36 +0000 |
commit | ca7b7f7eb0b63c33a3a43335f68a11271a857c78 (patch) | |
tree | d89a6ce4a66c959386bfe37dea6e8253ffa7bec6 /usr/local/www | |
parent | 6d8e6b225782425a02daffc69cbd73197a89a654 (diff) | |
download | pfsense-ca7b7f7eb0b63c33a3a43335f68a11271a857c78.zip pfsense-ca7b7f7eb0b63c33a3a43335f68a11271a857c78.tar.gz |
Fixes #768. Do not show twice the table that is selected.
Diffstat (limited to 'usr/local/www')
-rw-r--r-- | usr/local/www/diag_overload_tables.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr/local/www/diag_overload_tables.php b/usr/local/www/diag_overload_tables.php index 4bb470d..03205a1 100644 --- a/usr/local/www/diag_overload_tables.php +++ b/usr/local/www/diag_overload_tables.php @@ -98,9 +98,8 @@ include("fbegin.inc"); <?=gettext("Table");?>: <select id='type' onChange='method_change($F("type"));' name='type'> - <option name='<?=$tablename?>' value='<?=$tablename?>'><?=$tablename?></option> - <option name='virusprot' value='virusprot'>virusprot</option> - <option name='sshlockout' value='sshlockout'>sshlockout</option> + <option name='sshlockout' value='sshlockout' <?php if ($tablename == "sshlockout") echo " selected ";?>>sshlockout</option> + <option name='virusprot' value='virusprot' <?php if ($tablename == "virusprot") echo " selected ";?>>virusprot</option> </select> <p/> |