|
From: Benjamin C. <bc...@us...> - 2003-02-19 14:07:44
|
Update of /cvsroot/phpbt/phpbt/inc
In directory sc8-pr-cvs1:/tmp/cvs-serv13364/inc
Modified Files:
functions.php
Log Message:
Started on submitted patches for HTML email
Index: functions.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/inc/functions.php,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- functions.php 19 Oct 2002 20:10:13 -0000 1.36
+++ functions.php 19 Feb 2003 14:07:40 -0000 1.37
@@ -537,7 +537,11 @@
$headers .= "\n";
// There have to be no newline at the end of $headers
}
- $headers .= "Content-Type: text/plain; charset=\"".$STRING['lang_charset']."\"\nContent-Transfer-Encoding: ";
+ if (false/*HTML_EMAIL*/) {
+ $headers .= "Content-Type: text/html; charset=\"".$STRING['lang_charset']."\"\nContent-Transfer-Encoding: ";
+ } else {
+ $headers .= "Content-Type: text/plain; charset=\"".$STRING['lang_charset']."\"\nContent-Transfer-Encoding: ";
+ }
// If configured to send MIME encoded emails
if (SEND_MIME_EMAIL) {
|