summaryrefslogtreecommitdiffstats
path: root/usr/local/www/diag_overload_tables.php
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-07-29 20:52:19 +0000
committerErmal <eri@pfsense.org>2010-07-29 20:52:36 +0000
commitca7b7f7eb0b63c33a3a43335f68a11271a857c78 (patch)
treed89a6ce4a66c959386bfe37dea6e8253ffa7bec6 /usr/local/www/diag_overload_tables.php
parent6d8e6b225782425a02daffc69cbd73197a89a654 (diff)
downloadpfsense-ca7b7f7eb0b63c33a3a43335f68a11271a857c78.zip
pfsense-ca7b7f7eb0b63c33a3a43335f68a11271a857c78.tar.gz
Fixes #768. Do not show twice the table that is selected.
Diffstat (limited to 'usr/local/www/diag_overload_tables.php')
-rw-r--r--usr/local/www/diag_overload_tables.php5
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/>
OpenPOWER on IntegriCloud