- Timestamp:
- 07/12/10 17:45:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/inc/class.imap_functions.inc.php
r2980 r3040 854 854 $content = $this -> replace_links( $content ); 855 855 $content = str_replace( array( ' #$<$# ', ' #$>$# ' ), array( '<', '>' ), $content ); 856 $content = '<pre style="white-space:pre;word-wrap: break-word;white-space:pre-wrap; font-family: monospace;font-size:12px">' . $content . '</pre>';856 $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>'; 857 857 858 858 $return[ 'body' ] = $content; … … 906 906 if(!($file_type == "text/plain" && $msg->fsize[$msg_number][$values] > 102400)) { 907 907 $content .= htmlentities($this->decodeBody(imap_fetchbody($this->mbox, $msg_number, $msg_part, FT_UID), $msg->encoding[$msg_number][$values], $msg->charset[$msg_number][$values])); 908 $content = '<pre style="white-space:pre;word-wrap: break-word;white-space:pre-wrap; font-family: monospace;font-size:12px">' . $content . '</pre>';908 $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>'; 909 909 } 910 910 } … … 920 920 $content .= "<hr align='left' width='95%' style='border:1px solid #DCDCDC'>"; 921 921 $content .= $this->decodeBody(imap_fetchbody($this->mbox, $msg_number, $msg_part, FT_UID), $msg->encoding[$msg_number][$values], $msg->charset[$msg_number][$values]); 922 $content = '<pre style="white-space:pre;word-wrap: break-word;white-space:pre-wrap; font-family: monospace;font-size:12px">' . $content . '</pre>';922 $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>'; 923 923 924 924 } … … 984 984 $body = $this -> replace_links( $body ); 985 985 $body = str_replace( array( ' #$<$# ', ' #$>$# ' ), array( '<', '>' ), $body ); 986 $body = '<pre style="white-space:pre;word-wrap: break-word;white-space:pre-wrap; font-family: monospace;font-size:12px">' . $body . '</pre>';986 $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>'; 987 987 } 988 988
Note: See TracChangeset
for help on using the changeset viewer.