summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2008-09-05 10:03:50 +0000
committerthomascube <thomas@roundcube.net>2008-09-05 10:03:50 +0000
commitbe5f03b24842a15aca5635bf17fc202d6cadd99d (patch)
treefaedcc80cef073cb0c58c4dafd75218ea8cfdf8d
parent2e6825b2e941e2031f9417676359380a77bba764 (diff)
showImages attribute is skin template is obsolte: now set in user prefs
-rw-r--r--program/steps/mail/func.inc3
-rw-r--r--skins/default/templates/message.html2
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>