Bug 233895 HTML returned from editparams.cgi is malformed (take the pun however you like)

r=kiko
This commit is contained in:
timeless%mozdev.org 2004-02-19 06:53:14 +00:00
parent 2123f9317d
commit 3e7c330c37

View File

@ -38,11 +38,11 @@ print "Content-type: text/html\n\n";
#
unless ((defined($::FORM{password})) && (CheckPassword($::FORM{password}))) {
print "<form method=post action=editparams.cgi><table>\n";
print "<H2>Sorry, you must enter a password to see Bonsai parameters.</H2>\n";
print "<hr><B>Enter password to access parameters:</B> <INPUT NAME=password TYPE=password> <BR>";
print "</form>\n";
print "<form method=post action=editparams.cgi>\n";
print "<h2>Sorry, you must enter a password to see Bonsai parameters.</h2>\n";
print "<hr><b>Enter password to access parameters:</b> <input name=password type=password> <br>";
print "<input type=submit value=\"Enter Password\">\n";
print "</form>\n";
print "<hr>\n";
exit;
}
@ -112,8 +112,8 @@ such parameters</td></tr>
print "</table>\n";
print "<hr><B>Enter password to change parameters:</B>
<INPUT NAME=password TYPE=password> <BR>";
print "<hr><b>Enter password to change parameters:</b>
<input name=password type=password> <br>";
print "<input type=reset value=\"Reset form\"><br>\n";
print "<input type=submit value=\"Submit changes\">\n";