fix for emailer and doctype
--- a/includes/emailer.php
+++ b/includes/emailer.php
@@ -50,7 +50,7 @@
$subject = descript(strip_tags($subject));
$message = descript($message);
// End paranoia
-
+
// Try to determine the right $type setting
if(strpos($message, "<br>") || strpos($message, "</p>") || strpos($message, "<br />") || strpos($message, "<br>") || strpos($message, "<a href")) $type = "html";
@@ -100,7 +100,7 @@
$mail->ErrorInfo;
$mail->ClearAllRecipients();
$mail->ClearReplyTos();
- return false;
+ return $mail->ErrorInfo;
} else {
$mail->ClearAllRecipients();
$mail->ClearReplyTos();
--- a/languages/en.php
+++ b/languages/en.php
@@ -4,7 +4,7 @@
// Defines the doc type. Most people will not need to change this.
-define ("_DOCTYPE", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">");
+define ("_DOCTYPE", "<!doctype html>");
// Your alphabet list. If you need other than single characters be sure to enclose the character entity in quotes. For example: "Œ"
define ("_OTHER", "Other");