Changeset 2958
- Timestamp:
- 06/18/10 14:29:26 (14 years ago)
- Location:
- trunk/expressoMail1_2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/inc/class.imap_functions.inc.php
r2928 r2958 853 853 $content = $this -> replace_links( $content ); 854 854 $content = str_replace( array( ' #$<$# ', ' #$>$# ' ), array( '<', '>' ), $content ); 855 $content = '<pre class="preWrap">' . $content . '</pre>';855 $content = '<pre style="white-space:pre;word-wrap: break-word;white-space:pre-wrap;font-family: monospace;font-size:12px">' . $content . '</pre>'; 856 856 857 857 $return[ 'body' ] = $content; … … 905 905 if(!($file_type == "text/plain" && $msg->fsize[$msg_number][$values] > 102400)) { 906 906 $content .= htmlentities($this->decodeBody(imap_fetchbody($this->mbox, $msg_number, $msg_part, FT_UID), $msg->encoding[$msg_number][$values], $msg->charset[$msg_number][$values])); 907 $content = '<pre class="preWrap">' . $content . '</pre>';907 $content = '<pre style="white-space:pre;word-wrap: break-word;white-space:pre-wrap;font-family: monospace;font-size:12px">' . $content . '</pre>'; 908 908 } 909 909 } … … 919 919 $content .= "<hr align='left' width='95%' style='border:1px solid #DCDCDC'>"; 920 920 $content .= $this->decodeBody(imap_fetchbody($this->mbox, $msg_number, $msg_part, FT_UID), $msg->encoding[$msg_number][$values], $msg->charset[$msg_number][$values]); 921 $content = '<pre class="preWrap">' . $content . '</pre>';921 $content = '<pre style="white-space:pre;word-wrap: break-word;white-space:pre-wrap;font-family: monospace;font-size:12px">' . $content . '</pre>'; 922 922 923 923 } … … 983 983 $body = $this -> replace_links( $body ); 984 984 $body = str_replace( array( ' #$<$# ', ' #$>$# ' ), array( '<', '>' ), $body ); 985 $body = '<pre class="preWrap">' . $body . '</pre>';985 $body = '<pre style="white-space:pre;word-wrap: break-word;white-space:pre-wrap;font-family: monospace;font-size:12px">' . $body . '</pre>'; 986 986 } 987 987 -
trunk/expressoMail1_2/templates/classic/main.css
r2829 r2958 10 10 font-family: Verdana, Arial, Helvetica, sans-serif; 11 11 font-size: 13px; 12 }13 .preWrap{14 /* CSS2 */15 white-space:pre;16 /* IE */17 word-wrap: break-word;18 /* IE6 */19 white-space:pre-wrap;20 font-family: monospace;21 12 } 22 13 -
trunk/expressoMail1_2/templates/default/main.css
r2829 r2958 10 10 font-family: Verdana, Arial, Helvetica, sans-serif; 11 11 font-size: 13px; 12 }13 .preWrap{14 /* CSS2 */15 white-space:pre;16 /* IE */17 word-wrap: break-word;18 /* IE6 */19 white-space:pre-wrap;20 font-family: monospace;21 12 } 22 13
Note: See TracChangeset
for help on using the changeset viewer.