diff options
-rw-r--r-- | program/steps/mail/func.inc | 3 | ||||
-rw-r--r-- | skins/default/templates/message.html | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index 70cd2c45e..e10843bd3 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -836,8 +836,7 @@ function rcmail_message_body($attrib) $ctype_secondary = strtolower($MESSAGE->structure->ctype_secondary); // list images after mail body - if (get_boolean($attrib['showimages']) - && $CONFIG['inline_images'] + if ($CONFIG['inline_images'] && $ctype_primary == 'multipart' && !empty($MESSAGE->attachments) && !strstr($message_body, '<html')) diff --git a/skins/default/templates/message.html b/skins/default/templates/message.html index 1aa92ab9e..dc8dab7da 100644 --- a/skins/default/templates/message.html +++ b/skins/default/templates/message.html @@ -41,7 +41,7 @@ <roundcube:object name="messageAttachments" id="attachment-list" /> <roundcube:object name="blockedObjects" id="remote-objects-message" /> -<roundcube:object name="messageBody" id="messagebody" showImages="true" /> +<roundcube:object name="messageBody" id="messagebody" /> </div> |