Changeset 5596 in subversion for trunk/roundcubemail/program/steps/mail/func.inc
- Timestamp:
- Dec 12, 2011 4:30:04 PM (18 months ago)
- File:
-
- 1 edited
-
trunk/roundcubemail/program/steps/mail/func.inc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/steps/mail/func.inc
r5595 r5596 891 891 $standard_headers = array('subject', 'from', 'to', 'cc', 'bcc', 'replyto', 892 892 'mail-reply-to', 'mail-followup-to', 'date'); 893 $exclude_headers = $attrib['exclude'] ? explode(',', $attrib['exclude']) : array(); 893 894 $output_headers = array(); 894 895 … … 901 902 continue; 902 903 904 if (in_array($hkey, $exclude_headers)) 905 continue; 906 903 907 if ($hkey == 'date') { 904 908 if ($PRINT_MODE) … … 938 942 939 943 $plugin = $RCMAIL->plugins->exec_hook('message_headers_output', 940 array('output' => $output_headers, 'headers' => $MESSAGE->headers)); 944 array('output' => $output_headers, 'headers' => $MESSAGE->headers, 'exclude' => $exclude_headers)); 945 946 // single header value is requested 947 if (!empty($attrib['valueof'])) 948 return Q($plugin['output'][$attrib['valueof']]['value'], ($hkey == 'subject' ? 'strict' : 'show')); 941 949 942 950 // compose html table
Note: See TracChangeset
for help on using the changeset viewer.
