diff options
author | Eudyptula <eitan@mosenkis.net> | 2009-08-12 15:10:28 -0400 |
---|---|---|
committer | Eudyptula <eitan@mosenkis.net> | 2009-08-12 15:10:28 -0400 |
commit | dd75a78dd8e2872a6255d9c8013d4408affa0c81 (patch) | |
tree | 2f22a66889b012a1a0290ea3498d71ca34e5a3b0 /shared/functions/xhtmlemail.php | |
parent | Make 'wizard_step' class a subclass of new generic 'form' class; Use ACCEPT_P... (diff) | |
download | ingenue-dd75a78dd8e2872a6255d9c8013d4408affa0c81.tar.gz ingenue-dd75a78dd8e2872a6255d9c8013d4408affa0c81.tar.bz2 ingenue-dd75a78dd8e2872a6255d9c8013d4408affa0c81.zip |
Various improvements to HTML forms classes; Updated login to use form object; Added forgotten password reset mechanism
Diffstat (limited to 'shared/functions/xhtmlemail.php')
-rw-r--r-- | shared/functions/xhtmlemail.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/functions/xhtmlemail.php b/shared/functions/xhtmlemail.php index d4924f7..796a97c 100644 --- a/shared/functions/xhtmlemail.php +++ b/shared/functions/xhtmlemail.php @@ -12,7 +12,7 @@ function xhtmlemail($to,$from,$subj,$cont,$inheads=null) { if ($inheads!==null) { $heads.=$inheads."\r\n"; } - $cont='<?xml version="1.0" encoding="utf-8"?>'."\n".'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">'."\n".'<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">'.$cont.'</html>'."\n"; + $cont='<?xml version="1.0" encoding="utf-8"?>'."\n".'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">'."\n".'<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><body>'.$cont.'</body></html>'."\n"; $heads.='Content-length: '.strlen($cont)."\r\n"; debug('mail', $heads.$cont); return mail($to,$subj,$cont,$heads); |