summaryrefslogtreecommitdiffstats
path: root/createattachment.cgi
diff options
context:
space:
mode:
authorterry%mozilla.org <>1999-05-11 08:15:08 +0200
committerterry%mozilla.org <>1999-05-11 08:15:08 +0200
commitc0ed55895db8642b64b58b6d902f7085d2ca757e (patch)
treea11a8d4d3f2bc751f5f1b2518752cc24f461eddc /createattachment.cgi
parenta1c55275b03a1c5fe5dcc27af02c65a0f99e1650 (diff)
downloadbugzilla-c0ed55895db8642b64b58b6d902f7085d2ca757e.tar.gz
bugzilla-c0ed55895db8642b64b58b6d902f7085d2ca757e.tar.xz
Oops; back out last change; was checked in by mistake (and with the wrong log comment, too).
Diffstat (limited to 'createattachment.cgi')
-rwxr-xr-xcreateattachment.cgi13
1 files changed, 9 insertions, 4 deletions
diff --git a/createattachment.cgi b/createattachment.cgi
index 225efc02f..80dff3520 100755
--- a/createattachment.cgi
+++ b/createattachment.cgi
@@ -97,11 +97,16 @@ What kind of file is this?
my $attachid = FetchOneColumn();
AppendComment($id, $::COOKIE{"Bugzilla_login"},
"Created an attachment (id=$attachid)\n$desc\n");
+ print "Your attachment has been created.";
+ system("./processmail $id < /dev/null > /dev/null 2> /dev/null &");
+
- print "<TABLE BORDER=1><TD><H2>Attachment to bug $id created</H2>\n";
- system("./processmail $id $::COOKIE{'Bugzilla_login'}");
- print "<TD><A HREF=\"show_bug.cgi?id=$id\">Go Back to BUG# $id</A></TABLE>\n";
}
-navigation_header();
+
+print qq{
+<P>
+<a href="show_bug.cgi?id=$id">Go back to bug $id</a><br>
+<a href="query.cgi">Go back to the query page</a><br>
+};