summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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