summaryrefslogtreecommitdiffstats
path: root/createattachment.cgi
diff options
context:
space:
mode:
authorbryce-mozilla%nextbus.com <>1999-05-12 14:22:34 +0200
committerbryce-mozilla%nextbus.com <>1999-05-12 14:22:34 +0200
commitf9e320695616f29fb1f11b7a5f3f9cee2040d7ee (patch)
treebd415b305dd19f0edfe87e5f58d26184bd54c980 /createattachment.cgi
parent41d9abb76b2c0234a12cdff8a22357a14a362cde (diff)
downloadbugzilla-f9e320695616f29fb1f11b7a5f3f9cee2040d7ee.tar.gz
bugzilla-f9e320695616f29fb1f11b7a5f3f9cee2040d7ee.tar.xz
"nospam" feature. BugZilla will no longer email the person submitting
the change (after all, they are right there viewing things interactively). To make this clear to everyone, print out the exact email list as each bug is processed.
Diffstat (limited to 'createattachment.cgi')
-rwxr-xr-xcreateattachment.cgi13
1 files changed, 4 insertions, 9 deletions
diff --git a/createattachment.cgi b/createattachment.cgi
index 80dff3520..225efc02f 100755
--- a/createattachment.cgi
+++ b/createattachment.cgi
@@ -97,16 +97,11 @@ 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>
-};