Update of /cvsroot/php-blog/serendipity/plugins/serendipity_plugin_comments
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26843
Modified Files:
serendipity_plugin_comments.php
Log Message:
only show approved comments
Index: serendipity_plugin_comments.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/plugins/serendipity_plugin_comments/serendipity_plugin_comments.php,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- serendipity_plugin_comments.php 27 Jul 2004 13:21:44 -0000 1.21
+++ serendipity_plugin_comments.php 5 Aug 2004 13:41:21 -0000 1.22
@@ -118,6 +118,7 @@
'.$serendipity['dbPrefix'].'entries AS e
WHERE e.id = c.entry_id
AND NOT (c.type = \'TRACKBACK\' AND c.author = \'' . serendipity_db_escape_string($serendipity['blogTitle']) . '\' AND c.title != \'\')
+ AND c.status = \'approved\'
ORDER BY c.timestamp DESC
LIMIT ' . $max_entries;
?>
|