Changeset 451 in subversion
- Timestamp:
- Jan 7, 2007 9:26:47 PM (6 years ago)
- Location:
- trunk/roundcubemail
- Files:
-
- 4 edited
-
CHANGELOG (modified) (1 diff)
-
program/include/rcube_imap.inc (modified) (1 diff)
-
program/steps/mail/func.inc (modified) (2 diffs)
-
program/steps/mail/get.inc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/CHANGELOG
r450 r451 2 2 --------------------------- 3 3 4 2007/01/07 (estadtherr) 5 ---------- 6 - Fixed display of HTML message attachments (closes #1484178) 7 8 4 9 2007/01/07 (thomasb) 5 10 ---------- 6 11 - Applied patch for preview caching (closes #1484186) 7 12 - Added Thai and Vietnamese localization files 13 8 14 9 15 2006/12/29 (thomasb) -
trunk/roundcubemail/program/include/rcube_imap.inc
r422 r451 1122 1122 1123 1123 /** 1124 * Return a flat array with references to all parts, indexed by part numb mers1124 * Return a flat array with references to all parts, indexed by part numbers 1125 1125 * 1126 1126 * @param object Message body structure -
trunk/roundcubemail/program/steps/mail/func.inc
r446 r451 974 974 (empty($mail_part->disposition) && ($mail_part->d_parameters['filename'] || $mail_part->ctype_parameters['name']))) 975 975 { 976 // skip apple res source files976 // skip apple resource forks 977 977 if ($message_ctype_secondary=='appledouble' && $secondary_type=='applefile') 978 978 continue; … … 996 996 } 997 997 998 999 998 // if this was a related part try to resolve references 1000 999 if ($message_ctype_secondary=='related' && sizeof($sa_inline_objects)) -
trunk/roundcubemail/program/steps/mail/get.inc
r335 r451 89 89 { 90 90 // we have to analyze the whole structure again to find inline objects 91 list($MESSAGE['parts']) = rcmail_parse_message($MESSAGE['structure'], 92 array('safe' => (bool)$_GET['_safe'], 93 'prefer_html' => TRUE, 94 'get_url' => $GET_URL.'&_part=%s')); 95 $part = &$MESSAGE['parts'][0]; 91 list($new_parts, $new_attachments) = 92 rcmail_parse_message($MESSAGE['structure'], 93 array('safe' => (bool)$_GET['_safe'], 94 'prefer_html' => TRUE, 95 'get_url' => $GET_URL.'&_part=%s')); 96 97 $all_parts = array_merge($new_parts, $new_attachments); 98 for ($partix = 0; $partix < sizeof($all_parts); $partix++) 99 if ($all_parts[$partix]->mime_id == $pid) 100 $part = &$all_parts[$partix]; 96 101 97 102 // get part body if not available 98 103 if (!$part->body) 99 $part->body = $IMAP->get_message_part($MESSAGE['UID'], $part->mime_id, $part); 104 $part->body = $IMAP->get_message_part($MESSAGE['UID'], $part->mime_id, $part); 100 105 101 106 $OUTPUT = new rcube_html_page(); … … 105 110 { 106 111 // turn off output buffering and print part content 107 //@ob_end_clean();108 112 $IMAP->get_message_part($MESSAGE['UID'], $part->mime_id, $part->encoding, true); 109 113 }
Note: See TracChangeset
for help on using the changeset viewer.
