Update of /cvsroot/php-blog/serendipity/plugins/serendipity_event_blogpdf
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10634/plugins/serendipity_event_blogpdf
Modified Files:
serendipity_event_blogpdf.php
Log Message:
unbreak gravatar plugins. instead the functions that display comments handle
a 'no_email' setting.
also don't hide things for logged in users.
Index: serendipity_event_blogpdf.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/plugins/serendipity_event_blogpdf/serendipity_event_blogpdf.php,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- serendipity_event_blogpdf.php 19 Nov 2004 11:24:52 -0000 1.10
+++ serendipity_event_blogpdf.php 24 Nov 2004 15:52:03 -0000 1.11
@@ -364,11 +364,6 @@
serendipity_plugin_api::hook_event('frontend_display', $comment);
- /* Protect submitted mails against spam, by replacing @ with [at]*/
- if (!empty($comment['email'])) {
- $comment['email'] = str_replace('@', '[at]', $comment['email']);
- }
-
$name = empty($comment['username']) ? ANONYMOUS : $comment['username'];
$body = $comment['comment'];
|