Minor adjustment to the checkbox.

This commit is contained in:
markjcrane
2016-03-26 19:51:44 -06:00
parent a836d7985b
commit f15645f2a1

View File

@@ -245,9 +245,9 @@
echo " Create Database Options\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <label class='radio'><input type='checkbox' name='db_create' value='1'";
if($db_create=='1') { echo " checked='checked'"; }
echo "/>Create the database</label>\n";
if($db_create=='1') { $checked = "checked='checked'"; } else { $checked = ''; }
echo " <input type='checkbox' name='db_create' value='1' $checked />&nbsp;";
echo "Create the database\n";
echo "</td>\n";
echo "</tr>\n";