Changeset 335b042 in github


Ignore:
Timestamp:
Oct 27, 2011 9:33:10 AM (19 months ago)
Author:
thomascube <thomas@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.8
Children:
fc91c1d
Parents:
b5a29fe
Message:

Fix inline display of image attachments

Location:
program
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • program/include/rcube_message.php

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

    rea66cef r335b042  
    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.