Changeset 5371 in subversion


Ignore:
Timestamp:
Oct 27, 2011 9:33:10 AM (19 months ago)
Author:
thomasb
Message:

Fix inline display of image attachments

Location:
trunk/roundcubemail/program
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/include/rcube_message.php

    r5257 r5371  
    4949    public $uid = null; 
    5050    public $headers; 
    51     public $structure; 
    5251    public $parts = array(); 
    5352    public $mime_parts = array(); 
  • trunk/roundcubemail/program/steps/mail/func.inc

    r5368 r5371  
    10381038    } 
    10391039 
    1040   $ctype_primary = strtolower($MESSAGE->structure->ctype_primary); 
    1041   $ctype_secondary = strtolower($MESSAGE->structure->ctype_secondary); 
    1042  
    10431040  // list images after mail body 
    1044   if ($CONFIG['inline_images'] 
    1045       && $ctype_primary == 'multipart' 
    1046       && !empty($MESSAGE->attachments)) 
    1047     { 
     1041  if ($CONFIG['inline_images'] && !empty($MESSAGE->attachments)) { 
    10481042    foreach ($MESSAGE->attachments as $attach_prop) { 
    10491043      // Content-Type: image/*... 
Note: See TracChangeset for help on using the changeset viewer.