[Comoblog-commit] modules/mod_comment_notify mod_comment_notify_comment_filter.php,1.3,1.4
Status: Inactive
Brought to you by:
markwallis
|
From: iamdecal <iam...@us...> - 2005-12-13 09:23:30
|
Update of /cvsroot/comoblog/modules/mod_comment_notify In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2033/mod_comment_notify Modified Files: mod_comment_notify_comment_filter.php Log Message: added a couple of more parameters for niceness. Index: mod_comment_notify_comment_filter.php =================================================================== RCS file: /cvsroot/comoblog/modules/mod_comment_notify/mod_comment_notify_comment_filter.php,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- mod_comment_notify_comment_filter.php 11 Dec 2005 22:39:13 -0000 1.3 +++ mod_comment_notify_comment_filter.php 13 Dec 2005 09:23:21 -0000 1.4 @@ -3,6 +3,7 @@ require_once(dirname(__FILE__).'/include/mod_comment_notify.inc.php'); $subject ='Blog Comment Added To Post - ' . mod_comment_notify($comment['post_id']); $body = "Message details " . "\n\n"; +$body .='Blog Comment Added To Post - ' . mod_comment_notify($comment['post_id']) ."\n"; $body .= "Post ID:" . $comment['post_id'] ."\n"; $body .= "Link: " .CFG_SITE_URL. "post.php?/". $comment['post_id'] ."\n"; $body .= "From:" . $comment['comment_author'] . " - " . $comment['comment_author_email'] ."\n"; @@ -12,8 +13,8 @@ $headerstring = "MIME-Version: 1.0\r\n". "Content-type: text/plain; charset=iso-8859-1\r\n". - "From: \"My Blog\" <".CFG_COMMENT_NOTIFY_FROM.">\r\n". - "To: \"Blog Notifer\" <".$recipients.">\r\n". + "From: ".CFG_COMMENT_NOTIFY_FROM_NAME."<".CFG_COMMENT_NOTIFY_FROM.">\r\n". + "To: ".CFG_COMMENT_NOTIFY_TO_NAME." <".$recipients.">\r\n". "Date: ".date("r")."\r\n". "Subject: ".$subject."\r\n"; |