From 5eee338175a2f2bf78290ad4154639a2972077ee Mon Sep 17 00:00:00 2001 From: "terry%mozilla.org" <> Date: Sat, 15 Jan 2000 06:35:24 +0000 Subject: Patch by Ramon Felciano , 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. --- doeditvotes.cgi | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'doeditvotes.cgi') 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 $::COOKIE{'Bugzilla_login'}, then please\n"; print "click here.
\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 Back 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 Back and try again.
\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 "$prod product, but you are using $prodcount{$prod}.\n"; print "Please click Back and try again.
\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{

Review your votes


\n}; -navigation_header(); +PutFooter(); exit(); -- cgit v1.2.3-24-g4f1b