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. --- show_bug.cgi | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'show_bug.cgi') diff --git a/show_bug.cgi b/show_bug.cgi index 98829e356..06e02da2b 100755 --- a/show_bug.cgi +++ b/show_bug.cgi @@ -22,16 +22,19 @@ use diagnostics; use strict; -print "Content-type: text/html\n"; -print "\n"; +use vars @::FORM; require "CGI.pl"; -if (!defined $::FORM{'id'}) { - print "

Search By Bug Number

\n"; - print "
\n"; +confirm_login(); + +print "Content-type: text/html\n\n"; + +if (!defined $::FORM{'id'} || $::FORM{'id'} eq "") { + PutHeader("Search By Bug Number", "Search By Bug Number", ""); + print "\n"; print "You may find a single bug by entering its bug id here: \n"; - print "\n"; + print "\n"; print "\n"; print "
\n"; exit; -- cgit v1.2.3-24-g4f1b