From 0ca30382be83fccfc4e352096c87c56bbf8a673c Mon Sep 17 00:00:00 2001 From: "terry%netscape.com" <> Date: Tue, 17 Nov 1998 03:43:49 +0000 Subject: Patch by Andrew Anderson . Many minor bugfixes and cleanup. --- colchange.cgi | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'colchange.cgi') diff --git a/colchange.cgi b/colchange.cgi index bd3b23d6f..32fe1bb43 100755 --- a/colchange.cgi +++ b/colchange.cgi @@ -24,8 +24,6 @@ use strict; require "CGI.pl"; -print "Content-type: text/html\n"; - # The master list not only says what fields are possible, but what order # they get displayed in. @@ -49,8 +47,8 @@ if (defined $::FORM{'rememberedquery'}) { my $list = join(" ", @collist); print "Set-Cookie: COLUMNLIST=$list ; path=/ ; expires=Sun, 30-Jun-2029 00:00:00 GMT\n"; print "Refresh: 0; URL=buglist.cgi?$::FORM{'rememberedquery'}\n"; - print "\n"; - print "What a hack.\n"; + print "Content-type: text/html\n\n"; + PutHeader("What a hack"); print "Resubmitting your query with new columns...\n"; exit; } @@ -61,6 +59,9 @@ if (defined $::COOKIE{'COLUMNLIST'}) { @collist = @::default_column_list; } +print "Content-type: text/html\n\n"; + +PutHeader("Column Change"); my %desc; foreach my $i (@masterlist) { @@ -71,12 +72,11 @@ $desc{'summary'} = "Summary (first 60 characters)"; $desc{'summaryfull'} = "Full Summary"; -print "\n"; print "Check which columns you wish to appear on the list, and then click\n"; print "on submit.\n"; print "

\n"; -print "

\n"; -print "\n"; +print "\n"; +print "\n"; foreach my $i (@masterlist) { my $c; @@ -85,13 +85,13 @@ foreach my $i (@masterlist) { } else { $c = ''; } - print "$desc{$i}
\n"; + print "$desc{$i}
\n"; } print "

\n"; print "\n"; print "

\n"; -print "
\n"; -print "\n"; -print "\n"; +print "\n"; +print "\n"; +print "\n"; print "\n"; print "
\n"; -- cgit v1.2.3-24-g4f1b