Default select value adjustments

This commit is contained in:
Nate Jones
2014-04-15 01:10:21 +00:00
parent 78d5d83dd4
commit 0831f00318
5 changed files with 9 additions and 16 deletions

View File

@@ -487,7 +487,6 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='register'>\n";
echo " <option value=''></option>\n";
if ($register == "true") {
echo " <option value='true' selected='selected'>".$text['label-true']."</option>\n";
}
@@ -791,7 +790,6 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='enabled'>\n";
echo " <option value=''></option>\n";
if ($enabled == "true") {
echo " <option value='true' selected='selected'>".$text['label-true']."</option>\n";
}