Changeset 2829 for trunk/expressoMail1_2/inc/class.imap_functions.inc.php
- Timestamp:
- 05/20/10 14:34:02 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/inc/class.imap_functions.inc.php
r2812 r2829 821 821 $content = $this -> replace_links( $content ); 822 822 $content = str_replace( array( ' #$<$# ', ' #$>$# ' ), array( '<', '>' ), $content ); 823 $content = '<pre style="font-family: monospace">' . $content . '</pre>';823 $content = '<pre class="preWrap">' . $content . '</pre>'; 824 824 825 825 $return[ 'body' ] = $content; … … 873 873 if(!($file_type == "text/plain" && $msg->fsize[$msg_number][$values] > 102400)) { 874 874 $content .= htmlentities($this->decodeBody(imap_fetchbody($this->mbox, $msg_number, $msg_part, FT_UID), $msg->encoding[$msg_number][$values], $msg->charset[$msg_number][$values])); 875 $content = '<pre style="font-family: monospace">' . $content . '</pre>';875 $content = '<pre class="preWrap">' . $content . '</pre>'; 876 876 } 877 877 } … … 887 887 $content .= "<hr align='left' width='95%' style='border:1px solid #DCDCDC'>"; 888 888 $content .= $this->decodeBody(imap_fetchbody($this->mbox, $msg_number, $msg_part, FT_UID), $msg->encoding[$msg_number][$values], $msg->charset[$msg_number][$values]); 889 $content = '<pre style="font-family: monospace">' . $content . '</pre>';889 $content = '<pre class="preWrap">' . $content . '</pre>'; 890 890 891 891 } … … 951 951 $body = $this -> replace_links( $body ); 952 952 $body = str_replace( array( ' #$<$# ', ' #$>$# ' ), array( '<', '>' ), $body ); 953 $body = '<pre style="font-family: monospace">' . $body . '</pre>';953 $body = '<pre class="preWrap">' . $body . '</pre>'; 954 954 } 955 955
Note: See TracChangeset
for help on using the changeset viewer.