* -------------------------------------------------------------------- *
* Kurzbeschreibung : Funktionen fuer die HTML-Erweiterung *
* -------------------------------------------------------------------- *
- * *
+ * $Revision:: $ *
+ * $Date:: $ *
+ * $Tag:: 0.2.1-FINAL $ *
+ * $Author:: $ *
+ * Needs to be in all Files and every File needs "svn propset *
+ * svn:keywords Date Revision" (autoprobset!) at least!!!!!! *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2008 by Roland Haeder *
* For more information visit: http://www.mxchange.org *
return $OUT;
}
//
-function HTML_CHECK_TAGS($html {
+function HTML_CHECK_TAGS ($html) {
$test = stripslashes($html);
while (ereg("<", $test) && ereg(">", $test)) {
$check = strtolower(substr($test, strpos($test, "<") + 1, strpos($test, ">") - strpos($test, "<") - 1));
return COMPILE_CODE(str_replace("\n", "<br />\n", $text));
}
//
-function SEND_HTML_EMAIL($TO, $SUBJECT, $MSG, $FROM)
+function SEND_HTML_EMAIL($TO, $SUBJECT, $message, $FROM)
{
if (EXT_IS_ACTIVE("html_mail"))
{
// Send mail away as HTML
$FROM = "Content-Type: text/html\n".$FROM;
- SEND_EMAIL($TO, $SUBJECT, $MSG, 'N', $FROM);
+ SEND_EMAIL($TO, $SUBJECT, $message, 'N', $FROM);
}
}
//