diff options
Diffstat (limited to 'changepassword.cgi')
-rwxr-xr-x | changepassword.cgi | 16 |
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; } |