Changeset cfe4a6b in github
- Timestamp:
- Jun 5, 2008 1:35:12 PM (5 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- cd67494
- Parents:
- 0770703
- Files:
-
- 4 edited
-
program/include/rcube_imap.php (modified) (2 diffs)
-
program/lib/imap.inc (modified) (1 diff)
-
program/steps/mail/func.inc (modified) (4 diffs)
-
skins/default/mail.css (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
program/include/rcube_imap.php
r0770703 rcfe4a6b 1075 1075 1076 1076 // find first non-array entry 1077 for ($i=1; count($part); $i++)1077 for ($i=1; $i<count($part); $i++) 1078 1078 if (!is_array($part[$i])) 1079 1079 { … … 1086 1086 $struct->parts = array(); 1087 1087 for ($i=0, $count=0; $i<count($part); $i++) 1088 if (is_array($part[$i]) && count($part[$i]) > 5)1088 if (is_array($part[$i]) && count($part[$i]) > 3) 1089 1089 $struct->parts[] = $this->_structure_part($part[$i], ++$count, $struct->mime_id); 1090 1090 -
program/lib/imap.inc
r49e5f72 rcfe4a6b 2571 2571 } while (!preg_match("/^$key/", $line)); 2572 2572 2573 $result = trim(substr($result, strpos($result, 'BODYSTRUCTURE')+13, 2574 -(strlen($result)-strrpos($result, $key)-2))); 2573 $result = trim(substr($result, strpos($result, 'BODYSTRUCTURE')+13, -(strlen($result)-strrpos($result, $key)+1))); 2575 2574 } 2576 2575 } -
program/steps/mail/func.inc
r0a99895 rcfe4a6b 550 550 // text/enriched 551 551 else if ($part->ctype_secondary=='enriched') { 552 $part->ctype_secondary = 'html'; 552 553 return Q(enriched_to_html($body), 'show'); 553 554 } … … 646 647 if (!$headers) 647 648 $headers = is_object($MESSAGE->headers) ? get_object_vars($MESSAGE->headers) : $MESSAGE->headers; 649 650 // add empty subject if none exsists 651 if (empty($headers['subject'])) 652 $headers['subject'] = rcube_label('nosubject'); 648 653 649 654 $header_count = 0; … … 721 726 $body = rcmail_print_body($part, $safe_mode, !$CONFIG['prefer_html']); 722 727 723 if ($part->ctype_secondary != 'plain')728 if ($part->ctype_secondary == 'html') 724 729 $out .= html::div('message-htmlpart', rcmail_html4inline($body, $attrib['id'])); 725 730 else … … 729 734 } 730 735 else 731 $out .= html::div('message-part', html::div('pre', $MESSAGE->body));736 $out .= html::div('message-part', html::div('pre', Q($MESSAGE->body))); 732 737 733 738 -
skins/default/mail.css
r8586bff rcfe4a6b 678 678 } 679 679 680 div.message-part a 680 div.message-part a, 681 div.message-htmlpart a 681 682 { 682 683 color: #0000CC;
Note: See TracChangeset
for help on using the changeset viewer.
