Commit 8506c10a authored by timeless%mac.com's avatar timeless%mac.com

Bug 98080 ask for an attachment number when no params are given

r=dkl r=justdave
parent 75f667d0
......@@ -26,6 +26,19 @@ use strict;
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();
quietly_check_login();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment