summaryrefslogtreecommitdiffstats
path: root/changepassword.cgi
diff options
context:
space:
mode:
authorterry%netscape.com <>1998-11-17 04:43:49 +0100
committerterry%netscape.com <>1998-11-17 04:43:49 +0100
commit0ca30382be83fccfc4e352096c87c56bbf8a673c (patch)
tree36342c8de0050b5bed4b67b29a14eb97e78c5e28 /changepassword.cgi
parent1cf02cc7c177a691ae9980f928ae30efb84a8c99 (diff)
downloadbugzilla-0ca30382be83fccfc4e352096c87c56bbf8a673c.tar.gz
bugzilla-0ca30382be83fccfc4e352096c87c56bbf8a673c.tar.xz
Patch by Andrew Anderson <andrew@redhat.com>. Many minor bugfixes and cleanup.
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";