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 37543768b..a3a17e39a 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\n\n";
- PutHeader("Change your password");
- print "
-<FORM METHOD=\"post\">
+ print "Content-type: text/html
+
+<H1>Change your password</H1>
+<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";