diff options
author | terry%netscape.com <> | 1998-11-17 03:43:49 +0000 |
---|---|---|
committer | terry%netscape.com <> | 1998-11-17 03:43:49 +0000 |
commit | 0ca30382be83fccfc4e352096c87c56bbf8a673c (patch) | |
tree | 36342c8de0050b5bed4b67b29a14eb97e78c5e28 /show_bug.cgi | |
parent | Patch by Sam Ziegler <ziegler@mediaguaranty.com> -- cope with product (diff) | |
download | bugzilla-0ca30382be83fccfc4e352096c87c56bbf8a673c.tar.gz bugzilla-0ca30382be83fccfc4e352096c87c56bbf8a673c.tar.bz2 bugzilla-0ca30382be83fccfc4e352096c87c56bbf8a673c.zip |
Patch by Andrew Anderson <andrew@redhat.com>. Many minor bugfixes and cleanup.
Diffstat (limited to 'show_bug.cgi')
-rwxr-xr-x | show_bug.cgi | 15 |
1 files changed, 9 insertions, 6 deletions
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 "<H2>Search By Bug Number</H2>\n"; - print "<FORM METHOD=GET ACTION=\"show_bug.cgi\">\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 "<FORM METHOD=\"GET\" ACTION=\"show_bug.cgi\">\n"; print "You may find a single bug by entering its bug id here: \n"; - print "<INPUT NAME=id>\n"; + print "<INPUT NAME=\"id\">\n"; print "<INPUT TYPE=\"submit\" VALUE=\"Show Me This Bug\">\n"; print "</FORM>\n"; exit; |