aboutsummaryrefslogtreecommitdiffstats
path: root/changepassword.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'changepassword.cgi')
-rwxr-xr-xchangepassword.cgi20
1 files changed, 10 insertions, 10 deletions
diff --git a/changepassword.cgi b/changepassword.cgi
index a3a17e39a..37543768b 100755
--- a/changepassword.cgi
+++ b/changepassword.cgi
@@ -24,20 +24,20 @@ require "CGI.pl";
confirm_login();
if (! defined $::FORM{'pwd1'}) {
- print "Content-type: text/html
-
-<H1>Change your password</H1>
-<form method=post>
+ print "Content-type: text/html\n\n";
+ PutHeader("Change your password");
+ print "
+<FORM METHOD=\"post\">
<table>
<tr>
-<td align=right>Please enter the new password for <b>$::COOKIE{'Bugzilla_login'}</b>:</td>
-<td><input type=password name=pwd1></td>
+<TD ALIGN=\"right\">Please enter the new password for <b>$::COOKIE{'Bugzilla_login'}</b>:</td>
+<TD><INPUT TYPE=\"password\" NAME=\"pwd1\"></td>
</tr>
<tr>
-<td align=right>Re-enter your new password:</td>
-<td><input type=password name=pwd2></td>
+<TD ALIGN=\"right\">Re-enter your new password:</td>
+<TD><INPUT TYPE=\"password\" name=\"pwd2\"></td>
</table>
-<input type=submit value=Submit>\n";
+<INPUT TYPE=\"submit\" VALUE=\"Submit\">\n";
exit;
}
@@ -85,4 +85,4 @@ SendSQL("update logincookies set cryptpassword = '$encrypted' where cookie = $::
print "<H1>OK, done.</H1>
Your new password has been set.
<p>
-<a href=query.cgi>Back to query page.</a>\n";
+<A HREF=\"query.cgi\">Back to query page.</A>\n";