summaryrefslogtreecommitdiffstats
path: root/show_bug.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'show_bug.cgi')
-rwxr-xr-xshow_bug.cgi15
1 files changed, 6 insertions, 9 deletions
diff --git a/show_bug.cgi b/show_bug.cgi
index 06e02da2b..98829e356 100755
--- a/show_bug.cgi
+++ b/show_bug.cgi
@@ -22,19 +22,16 @@
use diagnostics;
use strict;
-use vars @::FORM;
+print "Content-type: text/html\n";
+print "\n";
require "CGI.pl";
-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";
+if (!defined $::FORM{'id'}) {
+ print "<H2>Search By Bug Number</H2>\n";
+ 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;