]> git.donarmstrong.com Git - debbugs.git/commitdiff
[project @ 2002-09-07 20:47:50 by doogie]
authordoogie <>
Sun, 8 Sep 2002 03:47:50 +0000 (19:47 -0800)
committerdoogie <>
Sun, 8 Sep 2002 03:47:50 +0000 (19:47 -0800)
Reword the download mime links, to use view.

cgi/bugreport.cgi

index 95c4a3a53cd70f219868a0dadce95f243b28a5b2..78050d1fac7c062311c53e76bcf038c648c37960 100755 (executable)
@@ -185,7 +185,7 @@ while(my $line = <L>) {
                                                        if ($disposition && ( $disposition eq "attachment" || $disposition eq "inline" ) && $_->head->recommended_filename ) {
                                                                push @attachments, $_;
                                                                my $file = $_->head->recommended_filename;
-                                                               $downloadHtml .= "Download Attachment: <a href=\"".dlurl($ref,"msg=$xmessage","att=$#attachments","filename=$file")."\">$file</a>\n";
+                                                               $downloadHtml .= "View Attachment: <a href=\"".dlurl($ref,"msg=$xmessage","att=$#attachments","filename=$file")."\">$file</a>\n";
                                                                if ($msg && $att eq $#attachments) {
                                                                        my $head = $_->head;
                                                                        my $type;
@@ -317,7 +317,7 @@ print "<H1>" .  "$debbugs::gProject $debbugs::gBug report logs - <A HREF=\"mailt
       "<BR>" . htmlsanit($status{subject}) . "</H1>\n";
 
 print "$descriptivehead\n";
-printf "<br><a href=\"%s\">Download as mbox</a>\n", mboxurl($ref);
+printf "<p><a href=\"%s\">View</a> this report as an mbox folder.</p>", mboxurl($ref);
 print "<HR>";
 print "$log";
 print $tail_html;