]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
fix bug 72487 Create Attachment should allow user to create another attach
authortimeless%mac.com <>
Tue, 20 Mar 2001 04:02:55 +0000 (04:02 +0000)
committertimeless%mac.com <>
Tue, 20 Mar 2001 04:02:55 +0000 (04:02 +0000)
Also adds link+desc to created patch.
r=jake,terry

createattachment.cgi

index 038b63094fa02f64c0b6ef2e61ac6e5ec7e87dd4..4f2a465daf00ef59ed90a6aaaaba568c63fbadb8 100755 (executable)
@@ -105,9 +105,11 @@ What kind of file is this?
     AppendComment($id, $::COOKIE{"Bugzilla_login"},
                   "Created an attachment (id=$attachid)\n$desc\n");
 
-    print "<TABLE BORDER=1><TD><H2>Attachment to bug $id created</H2>\n";
+    print '<TABLE BORDER=1><TD><H2>Attachment <A TITLE="'.value_quote($desc).
+      "\" HREF=\"showattachment.cgi?attach_id=$attachid\">$attachid</A> 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";
+    print "<P><A HREF=\"createattachment.cgi?id=$id\">Create another attachment to bug $id</A></P>\n";
 }
 
 PutFooter();