Use dedicated method to determine an attachment's file size

pull/46/merge
Thomas Bruederli 12 years ago
parent e21c07038e
commit a9e136161a

@ -1220,7 +1220,7 @@ function rcmail_message_body($attrib)
))
) .
html::span('image-filename', Q($attach_prop->filename)) .
html::span('image-filesize', Q($RCMAIL->show_bytes($attach_prop->size))) .
html::span('image-filesize', Q($RCMAIL->message_part_size($attach_prop))) .
html::span('attachment-links',
(in_array($attach_prop->mimetype, $client_mimetypes) ? html::a($show_link, rcube_label('showattachment')) . ' ' : '') .
html::a($show_link['href'] . '&_download=1', rcube_label('download'))

Loading…
Cancel
Save