|
|
@ -752,10 +752,10 @@ function rcmail_message_body($attrib)
|
|
|
|
|
|
|
|
|
|
|
|
// list images after mail body
|
|
|
|
// list images after mail body
|
|
|
|
if (get_boolean($attrib['showimages'])
|
|
|
|
if (get_boolean($attrib['showimages'])
|
|
|
|
&& $CONFIG['inline_images']
|
|
|
|
&& $CONFIG['inline_images']
|
|
|
|
&& $ctype_primary == 'multipart'
|
|
|
|
&& $ctype_primary == 'multipart'
|
|
|
|
&& !empty($MESSAGE->attachments)
|
|
|
|
&& !empty($MESSAGE->attachments)
|
|
|
|
&& !strstr($message_body, '<html'))
|
|
|
|
&& !strstr($message_body, '<html'))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
foreach ($MESSAGE->attachments as $attach_prop) {
|
|
|
|
foreach ($MESSAGE->attachments as $attach_prop) {
|
|
|
|
if (strpos($attach_prop->mimetype, 'image/') === 0) {
|
|
|
|
if (strpos($attach_prop->mimetype, 'image/') === 0) {
|
|
|
|