- Timestamp:
- 09/15/10 10:42:45 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/expressoMail1_2/inc/class.imap_functions.inc.php
r3249 r3250 469 469 470 470 $body = $return_get_body['body']; 471 //Correcao dos comentarios para os navegadores IE.x472 $body = mb_ereg_replace("<!--","<!-- ",$body);473 //Remoção de tags <span></span> para correção de erro no firefox474 $body = mb_eregi_replace("<span><span>","",$body);475 $body = mb_eregi_replace("</span></span>","",$body);476 471 477 472 if($return_get_body['body']=='isCripted'){ … … 1180 1175 foreach($rest[0] as $i => $val) 1181 1176 if (!(preg_match("/javascript:window\.open\(\"([^'\"]*)\/index\.php\?menuaction=calendar\.uicalendar\.set_action\&cal_id=([^;'\"]+);?['\"]/i",$rest[1][$i]) && strtoupper($rest[4][$i]) == "CLICK" )) //Calendar events 1182 $body = str_replace($rest[1][$i],"<".$rest[2][$i].$rest[3][$i].$rest[7][$i].">",$body); 1183 1184 return "<span>".$this-> replace_links($body); 1177 $body = str_replace($rest[1][$i],"<".$rest[2][$i].$rest[3][$i].$rest[7][$i].">",$body); 1178 1179 $body = $this-> replace_links($body); 1180 1181 //Remoção de tags <span></span> para correção de erro no firefox 1182 $body = mb_eregi_replace("<span><span>","",$body); 1183 $body = mb_eregi_replace("</span></span>","",$body); 1184 //Correção para compatibilização com Outlook, ao visualizar a mensagem 1185 $body = mb_ereg_replace('<!--\[','<!-- [',$body); 1186 $body = mb_ereg_replace('<!\[endif\]-->', '<![endif]-->', $body); 1187 1188 return "<span>".$body; 1185 1189 } 1186 1190 … … 1923 1927 { 1924 1928 $body = $params['body']; 1929 //Compatibilização com Outlook, ao encaminhar a mensagem 1930 $body = mb_ereg_replace('<!--\[','<!-- [',$body); 1925 1931 } 1926 1932 //echo "<script language=\"javascript\">javascript:alert('".$body."');</script>";
Note: See TracChangeset
for help on using the changeset viewer.