stripslashes() removed from obsolete places
[mailer.git] / inc / functions.php
index 021edbe8793423f4caec6d95b793a1c39304244e..62c7b75a7fc5a4ca9018a20ffd1b15313f01e262 100644 (file)
@@ -101,7 +101,7 @@ function OUTPUT_HTML($HTML, $NEW_LINE = true) {
                        // That's why you don't need any \n at the end of your HTML code... :-)
                        if (_OB_CACHING == "on") {
                                // Output into PHP's internal buffer
-                               echo stripslashes($HTML);
+                               echo $HTML;
 
                                // That's why you don't need any \n at the end of your HTML code... :-)
                                if ($NEW_LINE) echo "\n";
@@ -119,7 +119,7 @@ function OUTPUT_HTML($HTML, $NEW_LINE = true) {
                        if ((!empty($OUTPUT)) && (_OB_CACHING != "on")) { echo $OUTPUT; $OUTPUT = ""; }
 
                        // The same as above... ^
-                       echo stripslashes($HTML);
+                       echo $HTML;
                        if ($NEW_LINE) echo "\n";
                        break;
 
@@ -146,7 +146,7 @@ function OUTPUT_HTML($HTML, $NEW_LINE = true) {
                }
 
                // Output code here, DO NOT REMOVE! ;-)
-               echo stripslashes($OUTPUT);
+               echo $OUTPUT;
                flush();
        } elseif ((OUTPUT_MODE == "render") && (!empty($OUTPUT))) {
                // Rewrite links when rewrite extension is active
@@ -161,7 +161,7 @@ function OUTPUT_HTML($HTML, $NEW_LINE = true) {
                }
 
                // Output code here, DO NOT REMOVE! ;-)
-               echo stripslashes($OUTPUT);
+               echo $OUTPUT;
                flush();
        }
 }
@@ -371,10 +371,10 @@ Message : ".$MSG."
                $TO = COMPILE_CODE($TO);
 
                // Send Mail away
-               SEND_RAW_EMAIL(stripslashes($TO), COMPILE_CODE($SUBJECT), stripslashes($MSG), $FROM);
+               SEND_RAW_EMAIL($TO, COMPILE_CODE($SUBJECT), COMPILE_CODE($MSG), $FROM);
        } elseif ($HTML == 'N') {
                // Problem found!
-               SEND_RAW_EMAIL(WEBMASTER, COMPILE_CODE($SUBJECT), stripslashes($MSG), $FROM);
+               SEND_RAW_EMAIL(WEBMASTER, COMPILE_CODE($SUBJECT), COMPILE_CODE($MSG), $FROM);
        }
 }