- Timestamp:
- 06/18/10 14:23:06 (14 years ago)
- Location:
- branches/2.0/expressoMail1_2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/expressoMail1_2/inc/class.imap_functions.inc.php
r2845 r2957 731 731 $content = $this -> replace_links( $content ); 732 732 $content = str_replace( array( ' #$<$# ', ' #$>$# ' ), array( '<', '>' ), $content ); 733 $content = '<pre class="preWrap">' . $content . '</pre>';733 $content = '<pre style="white-space:pre;word-wrap: break-word;white-space:pre-wrap;font-family: monospace;font-size:12px">' . $content . '</pre>'; 734 734 735 735 $return[ 'body' ] = $content; … … 783 783 if(!($file_type == "text/plain" && $msg->fsize[$msg_number][$values] > 102400)) { 784 784 $content .= htmlentities($this->decodeBody(imap_fetchbody($this->mbox, $msg_number, $msg_part, FT_UID), $msg->encoding[$msg_number][$values], $msg->charset[$msg_number][$values])); 785 $content = '<pre class="preWrap">' . $content . '</pre>';785 $content = '<pre style="white-space:pre;word-wrap: break-word;white-space:pre-wrap;font-family: monospace;font-size:12px">' . $content . '</pre>'; 786 786 } 787 787 } … … 797 797 $content .= "<hr align='left' width='95%' style='border:1px solid #DCDCDC'>"; 798 798 $content .= $this->decodeBody(imap_fetchbody($this->mbox, $msg_number, $msg_part, FT_UID), $msg->encoding[$msg_number][$values], $msg->charset[$msg_number][$values]); 799 $content = '<pre class="preWrap">' . $content . '</pre>';799 $content = '<pre style="white-space:pre;word-wrap: break-word;white-space:pre-wrap;font-family: monospace;font-size:12px">' . $content . '</pre>'; 800 800 801 801 } … … 861 861 $body = $this -> replace_links( $body ); 862 862 $body = str_replace( array( ' #$<$# ', ' #$>$# ' ), array( '<', '>' ), $body ); 863 $body = '<pre class="preWrap">' . $body . '</pre>';863 $body = '<pre style="white-space:pre;word-wrap: break-word;white-space:pre-wrap;font-family: monospace;font-size:12px">' . $body . '</pre>'; 864 864 } 865 865 -
branches/2.0/expressoMail1_2/templates/classic/main.css
r2830 r2957 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 -
branches/2.0/expressoMail1_2/templates/default/main.css
r2830 r2957 11 11 font-size: 13px; 12 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 } 13 22 14 .whiteSpace{ 23 15 width: 2px;
Note: See TracChangeset
for help on using the changeset viewer.