Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

476
 
733
 
733
 
email.php
_> 11 <?php
  22 /*
<> 3 -  $Id: email.php 476 2006-03-25 16:08:42Z hpdl $
   3+  $Id: email.php 733 2006-08-20 15:32:32Z hpdl $
44 
  55   osCommerce, Open Source E-Commerce Solutions
  66   http://www.oscommerce.com
     
 !
148148  */
  149149 
  150150     function add_text($text = '') {
<> 151 -      $this->text = tep_convert_linefeeds(array("\r\n", "\n", "\r"), $this->lf, $text);
   151+      $this->text = str_replace(array("\r\n", "\n", "\r"), $this->lf, $text);
152152     }
  153153 
  154154 /**
     
 !
158158  */
  159159 
  160160     function add_html($html, $text = NULL, $images_dir = NULL) {
<> 161 -      $this->html = tep_convert_linefeeds(array("\r\n", "\n", "\r"), '<br />', $html);
  162 -      $this->html_text = tep_convert_linefeeds(array("\r\n", "\n", "\r"), $this->lf, $text);
   161+      $this->html = str_replace(array("\r\n", "\n", "\r"), '<br />', $html);
   162+      $this->html_text = str_replace(array("\r\n", "\n", "\r"), $this->lf, $text);
<_ 163163 
  164164       if (isset($images_dir)) $this->find_html_images($images_dir);
  165165     }