Changeset 2830
- Timestamp:
- 05/20/10 14:35:56 (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
r2789 r2830 725 725 $content = $this -> replace_links( $content ); 726 726 $content = str_replace( array( ' #$<$# ', ' #$>$# ' ), array( '<', '>' ), $content ); 727 $content = '<pre style="font-family: monospace">' . $content . '</pre>';727 $content = '<pre class="preWrap">' . $content . '</pre>'; 728 728 729 729 $return[ 'body' ] = $content; … … 777 777 if(!($file_type == "text/plain" && $msg->fsize[$msg_number][$values] > 102400)) { 778 778 $content .= htmlentities($this->decodeBody(imap_fetchbody($this->mbox, $msg_number, $msg_part, FT_UID), $msg->encoding[$msg_number][$values], $msg->charset[$msg_number][$values])); 779 $content = '<pre style="font-family: monospace">' . $content . '</pre>';779 $content = '<pre class="preWrap">' . $content . '</pre>'; 780 780 } 781 781 } … … 791 791 $content .= "<hr align='left' width='95%' style='border:1px solid #DCDCDC'>"; 792 792 $content .= $this->decodeBody(imap_fetchbody($this->mbox, $msg_number, $msg_part, FT_UID), $msg->encoding[$msg_number][$values], $msg->charset[$msg_number][$values]); 793 $content = '<pre style="font-family: monospace">' . $content . '</pre>';793 $content = '<pre class="preWrap">' . $content . '</pre>'; 794 794 795 795 } … … 855 855 $body = $this -> replace_links( $body ); 856 856 $body = str_replace( array( ' #$<$# ', ' #$>$# ' ), array( '<', '>' ), $body ); 857 $body = '<pre style="font-family: monospace">' . $body . '</pre>';857 $body = '<pre class="preWrap">' . $body . '</pre>'; 858 858 } 859 859 -
branches/2.0/expressoMail1_2/templates/classic/main.css
r2436 r2830 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; 12 21 } 13 22 -
branches/2.0/expressoMail1_2/templates/default/main.css
r2786 r2830 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 .whiteSpace{ 14 23 width: 2px; 15 24 } 25 16 26 17 27 .table_box{
Note: See TracChangeset
for help on using the changeset viewer.