зеркало из https://github.com/mozilla/pjs.git
Bug 233895 HTML returned from editparams.cgi is malformed (take the pun however you like)
r=kiko
This commit is contained in:
Родитель
a3e317cd47
Коммит
ceb6b6b99c
|
@ -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";
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче