summaryrefslogtreecommitdiffstats
path: root/changepassword.cgi
diff options
context:
space:
mode:
authorterry%mozilla.org <>2000-01-24 14:41:36 +0100
committerterry%mozilla.org <>2000-01-24 14:41:36 +0100
commitca924726d8e692458088267aa5fb36848654fabd (patch)
tree956427344efa23fe3bd2cc4c50eae36f08509550 /changepassword.cgi
parenta240c91d3276266fb7a43dcbf3158f91494ff313 (diff)
downloadbugzilla-ca924726d8e692458088267aa5fb36848654fabd.tar.gz
bugzilla-ca924726d8e692458088267aa5fb36848654fabd.tar.xz
New email code wasn't sending to people who had voted for a bug.
Added "My votes" link to footer. Other minor voting-related fixes.
Diffstat (limited to 'changepassword.cgi')
-rwxr-xr-xchangepassword.cgi16
1 files changed, 12 insertions, 4 deletions
diff --git a/changepassword.cgi b/changepassword.cgi
index 5922a1e03..ca533b1ee 100755
--- a/changepassword.cgi
+++ b/changepassword.cgi
@@ -22,10 +22,18 @@
require "CGI.pl";
+
+sub sillyness {
+ my $zz;
+ $zz = $::anyvotesallowed;
+}
+
confirm_login();
print "Content-type: text/html\n\n";
+GetVersionTable();
+
if (! defined $::FORM{'pwd1'}) {
PutHeader("Preferences", "Change your password and<br>other preferences",
$::COOKIE{'Bugzilla_login'});
@@ -98,10 +106,10 @@ risk any bugs), check here.</td>
<hr>
<input type=submit value=Submit>
</form>
-<hr>
-<a href=\"showvotes.cgi\">Review your votes</a>
-<hr>
-";
+<hr>";
+ if ($::anyvotesallowed) {
+ print qq{<a href="showvotes.cgi">Review your votes</a><hr>\n};
+ }
PutFooter();
exit;
}