fixed bug so it doesn't add slashes before apostrophies
authorlkehresman <lkehresman@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 7 Jan 2000 18:01:31 +0000 (18:01 +0000)
committerlkehresman <lkehresman@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 7 Jan 2000 18:01:31 +0000 (18:01 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@128 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/display_messages.php
functions/smtp.php

index 27afddf..4353fac 100644 (file)
@@ -22,7 +22,7 @@
 
     function general_info($motd, $org_logo, $version, $org_name, $color) {
       echo "<BR>";
-      echo "<TABLE COLS=1 WIDTH=80% CELLSPACING=0 CELLPADDING=2 NOBORDER ALIGN=CENTER><TR><TD BGCOLOR=\"$color[10]\">";
+      echo "<TABLE COLS=1 WIDTH=80% CELLSPACING=0 CELLPADDING=2 NOBORDER ALIGN=CENTER><TR><TD BGCOLOR=\"$color[9]\">";
       echo "<TABLE COLS=1 WIDTH=100% CELLSPACING=0 CELLPADDING=3 NOBORDER BGCOLOR=\"FFFFFF\" ALIGN=CENTER>";
       echo "   <TR>";
       echo "      <TD BGCOLOR=\"$color[0]\">";
index a15f4af..9265afe 100644 (file)
          fputs($smtpConnection, "Reply-To: $reply_to\n");
 
 
-      $body_ary = explode("\n", trim($body));
-      $body = "";
-      for ($i = 0; $i < count($body_ary); $i++) {
-         if ($body_ary[$i] == ".")
-            $body_ary[$i] = ".";
-         $body .= $body_ary[$i] . "\n";
-      }
       fputs($smtpConnection, "$body\n"); // send the body of the message
 
       fputs($smtpConnection, ".\n"); // end the DATA part