Update of /cvsroot/php-blog/serendipity/include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14050/include
Modified Files:
functions_comments.inc.php
Log Message:
flag comments/trackback notification mail with "[requires review]" if they are pending.
Index: functions_comments.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/include/functions_comments.inc.php,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- functions_comments.inc.php 3 Feb 2005 18:06:49 -0000 1.16
+++ functions_comments.inc.php 10 Feb 2005 15:37:36 -0000 1.17
@@ -442,7 +442,7 @@
if ($type == 'TRACKBACK') {
/******************* TRACKBACKS *******************/
- $subject = NEW_TRACKBACK_TO . ' ' . $title;
+ $subject = ($moderate_comment ? '[' . REQUIRES_REVIEW . '] ' : '') . NEW_TRACKBACK_TO . ' ' . $title;
$text = sprintf(A_NEW_TRACKBACK_BLAHBLAH, $title)
. "\n"
. "\n" . REQUIRES_REVIEW . ': ' . (($moderate_comment) ? YES : NO) . (isset($serendipity['moderate_reason']) ? ' (' . $serendipity['moderate_reason'] . ')' : '')
@@ -463,7 +463,7 @@
} else {
/******************* COMMENTS *********************/
- $subject = NEW_COMMENT_TO . ' ' . $title;
+ $subject = ($moderate_comment ? '[' . REQUIRES_REVIEW . '] ' : '') . NEW_COMMENT_TO . ' ' . $title;
$text = sprintf(A_NEW_COMMENT_BLAHBLAH, $serendipity['blogTitle'], $title)
. "\n" . LINK_TO_ENTRY . ': ' . $entryURI
. "\n"
|