updated changelog
[squirrelmail.git] / src / compose.php
index 2f4e7723f53ea278c2d03ff81edfc2a9c34b32c3..379f8b1f9932a0f0b30df0a4421a7201388dd7fd 100644 (file)
          $passed_body, $color, $use_signature, $signature, $prefix_sig, 
          $editor_size, $attachments, $subject, $newmail, 
          $use_javascript_addr_book, $send_to_bcc, $reply_id, $mailbox, 
-         $from_htmladdr_search, $location_of_buttons;
+         $from_htmladdr_search, $location_of_buttons, $attachment_dir;
 
       $subject = decodeHeader($subject);
       $reply_subj = decodeHeader($reply_subj);
          echo "</td><td align=left bgcolor=\"$color[0]\">";
         foreach ($attachments as $key => $info) {
             echo "<input type=\"checkbox\" name=\"delete[]\" value=\"$key\">\n";
-           echo $info['remotefilename'] . "<br>\n";
+           echo $info['remotefilename'] . " - " . $info['type'] . " (";
+           echo show_readable_size(filesize($attachment_dir . 
+               $info['localfilename'])) . ")<br>\n";
          }
          
          echo "<input type=\"submit\" name=\"do_delete\" value=\""._("Delete selected attachments")."\">\n";