Changeset 3c3433e in github
- Timestamp:
- Aug 16, 2010 6:07:28 AM (3 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- 053e5a0
- Parents:
- 4612535
- File:
-
- 1 edited
-
program/steps/mail/func.inc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
program/steps/mail/func.inc
rfb995a8 r3c3433e 945 945 function rcmail_message_body($attrib) 946 946 { 947 global $CONFIG, $OUTPUT, $MESSAGE, $IMAP, $R EMOTE_OBJECTS;947 global $CONFIG, $OUTPUT, $MESSAGE, $IMAP, $RCMAIL, $REMOTE_OBJECTS; 948 948 949 949 if (!is_array($MESSAGE->parts) && empty($MESSAGE->body)) … … 981 981 } 982 982 983 $plugin = $RCMAIL->plugins->exec_hook('message_body_prefix', array( 984 'part' => $part, 'prefix' => '')); 985 983 986 // re-format format=flowed content 984 987 if ($part->ctype_secondary == "plain" && $part->ctype_parameters['format'] == "flowed") … … 999 1002 $div_attr['style'] = implode('; ', $style); 1000 1003 1001 $out .= html::div($div_attr, $ body);1004 $out .= html::div($div_attr, $plugin['prefix'] . $body); 1002 1005 } 1003 1006 else 1004 $out .= html::div('message-part', $ body);1007 $out .= html::div('message-part', $plugin['prefix'] . $body); 1005 1008 } 1006 1009 } 1007 1010 } 1008 else 1009 $out .= html::div('message-part', html::tag('pre', array(), 1011 else { 1012 $plugin = $RCMAIL->plugins->exec_hook('message_body_prefix', array( 1013 'part' => $MESSAGE, 'prefix' => '')); 1014 1015 $out .= html::div('message-part', $plugin['prefix'] . html::tag('pre', array(), 1010 1016 rcmail_plain_body(Q($MESSAGE->body, 'strict', false)))); 1017 } 1011 1018 1012 1019 $ctype_primary = strtolower($MESSAGE->structure->ctype_primary);
Note: See TracChangeset
for help on using the changeset viewer.
