mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
Bug 98080 ask for an attachment number when no params are given
r=dkl r=justdave
This commit is contained in:
parent
e6621be8b1
commit
0aa6b67ecf
@ -26,6 +26,19 @@ use strict;
|
|||||||
|
|
||||||
require "CGI.pl";
|
require "CGI.pl";
|
||||||
|
|
||||||
|
if (!defined $::FORM{'attach_id'}) {
|
||||||
|
print "Content-type: text/html\n";
|
||||||
|
print "\n";
|
||||||
|
PutHeader("Search by attachment number");
|
||||||
|
print "<FORM METHOD=GET ACTION=\"showattachment.cgi\">\n";
|
||||||
|
print "You may view a single attachment by entering its id here: \n";
|
||||||
|
print "<INPUT NAME=attach_id>\n";
|
||||||
|
print "<INPUT TYPE=\"submit\" VALUE=\"Show Me This Attachment\">\n";
|
||||||
|
print "</FORM>\n";
|
||||||
|
PutFooter();
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
ConnectToDatabase();
|
ConnectToDatabase();
|
||||||
|
|
||||||
quietly_check_login();
|
quietly_check_login();
|
||||||
|
Loading…
Reference in New Issue
Block a user