summaryrefslogtreecommitdiffstats
path: root/doeditvotes.cgi
diff options
context:
space:
mode:
authorterry%mozilla.org <>2000-01-15 07:35:24 +0100
committerterry%mozilla.org <>2000-01-15 07:35:24 +0100
commit5eee338175a2f2bf78290ad4154639a2972077ee (patch)
tree2b407e5c7fb1bdd8fe26820c9e5e81775b784b0f /doeditvotes.cgi
parent5c232e771356b52b3acb962e258ccf83c792f68c (diff)
downloadbugzilla-5eee338175a2f2bf78290ad4154639a2972077ee.tar.gz
bugzilla-5eee338175a2f2bf78290ad4154639a2972077ee.tar.xz
Patch by Ramon Felciano <felciano@ingenuity.com>, with many tweaks by
me. Added a footer to every page. Add some options to do things like display checkboxes instead of scrolling lists, and a new formatting for email diffs, and show list items capitalized instead of all upper case.
Diffstat (limited to 'doeditvotes.cgi')
-rwxr-xr-xdoeditvotes.cgi10
1 files changed, 5 insertions, 5 deletions
diff --git a/doeditvotes.cgi b/doeditvotes.cgi
index 514780729..eef6381d8 100755
--- a/doeditvotes.cgi
+++ b/doeditvotes.cgi
@@ -39,7 +39,7 @@ if ($who ne $::FORM{'who'}) {
print "The login info got confused. If you want to adjust the votes\n";
print "for <tt>$::COOKIE{'Bugzilla_login'}</tt>, then please\n";
print "<a href=showvotes.cgi?user=$who>click here</a>.<hr>\n";
- navigation_header();
+ PutFooter();
exit();
}
@@ -48,7 +48,7 @@ my @buglist = grep {/^\d+$/} keys(%::FORM);
if (0 == @buglist) {
PutHeader("Oops?");
print "Something got confused. Please click <b>Back</b> and try again.";
- navigation_header();
+ PutFooter();
exit();
}
@@ -58,7 +58,7 @@ foreach my $id (@buglist) {
PutHeader("Numbers only, please");
print "Only use numeric values for your bug votes.\n";
print "Please click <b>Back</b> and try again.<hr>\n";
- navigation_header();
+ PutFooter();
exit();
}
}
@@ -82,7 +82,7 @@ foreach my $prod (keys(%prodcount)) {
print "You may only use $::prodmaxvotes{$prod} votes for bugs in the\n";
print "<tt>$prod</tt> product, but you are using $prodcount{$prod}.\n";
print "Please click <b>Back</b> and try again.<hr>\n";
- navigation_header();
+ PutFooter();
exit();
}
}
@@ -114,7 +114,7 @@ SendSQL("unlock tables");
PutHeader("Voting tabulated", "Voting tabulated", $::COOKIE{'Bugzilla_login'});
print "Your votes have been recorded.\n";
print qq{<p><a href="showvotes.cgi?user=$who">Review your votes</a><hr>\n};
-navigation_header();
+PutFooter();
exit();