Changeset 3038
- Timestamp:
- 07/12/10 17:40:39 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/expressoMail1_2/inc/class.imap_functions.inc.php
r3002 r3038 732 732 $content = $this -> replace_links( $content ); 733 733 $content = str_replace( array( ' #$<$# ', ' #$>$# ' ), array( '<', '>' ), $content ); 734 $content = '<pre style="white-space:pre;word-wrap: break-word;white-space:pre-wrap; font-family: monospace;font-size:12px">' . $content . '</pre>';734 $content = '<pre style="white-space:pre;word-wrap: break-word;white-space:pre-wrap;white-space:-moz-pre-wrap;font-family: monospace;font-size:12px">' . $content . '</pre>'; 735 735 736 736 $return[ 'body' ] = $content; … … 784 784 if(!($file_type == "text/plain" && $msg->fsize[$msg_number][$values] > 102400)) { 785 785 $content .= htmlentities($this->decodeBody(imap_fetchbody($this->mbox, $msg_number, $msg_part, FT_UID), $msg->encoding[$msg_number][$values], $msg->charset[$msg_number][$values])); 786 $content = '<pre style="white-space:pre;word-wrap: break-word;white-space:pre-wrap; font-family: monospace;font-size:12px">' . $content . '</pre>';786 $content = '<pre style="white-space:pre;word-wrap: break-word;white-space:pre-wrap;white-space:-moz-pre-wrap;font-family: monospace;font-size:12px">' . $content . '</pre>'; 787 787 } 788 788 } … … 798 798 $content .= "<hr align='left' width='95%' style='border:1px solid #DCDCDC'>"; 799 799 $content .= $this->decodeBody(imap_fetchbody($this->mbox, $msg_number, $msg_part, FT_UID), $msg->encoding[$msg_number][$values], $msg->charset[$msg_number][$values]); 800 $content = '<pre style="white-space:pre;word-wrap: break-word;white-space:pre-wrap; font-family: monospace;font-size:12px">' . $content . '</pre>';800 $content = '<pre style="white-space:pre;word-wrap: break-word;white-space:pre-wrap;white-space:-moz-pre-wrap;font-family: monospace;font-size:12px">' . $content . '</pre>'; 801 801 802 802 } … … 862 862 $body = $this -> replace_links( $body ); 863 863 $body = str_replace( array( ' #$<$# ', ' #$>$# ' ), array( '<', '>' ), $body ); 864 $body = '<pre style="white-space:pre;word-wrap: break-word;white-space:pre-wrap; font-family: monospace;font-size:12px">' . $body . '</pre>';864 $body = '<pre style="white-space:pre;word-wrap: break-word;white-space:pre-wrap;white-space:-moz-pre-wrap;font-family: monospace;font-size:12px">' . $body . '</pre>'; 865 865 } 866 866
Note: See TracChangeset
for help on using the changeset viewer.