Update of /cvsroot/php-blog/serendipity/plugins/serendipity_plugin_comments
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5356
Modified Files:
serendipity_plugin_comments.php
Log Message:
Removed s9y markup references and use plugin markup
Index: serendipity_plugin_comments.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/plugins/serendipity_plugin_comments/serendipity_plugin_comments.php,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- serendipity_plugin_comments.php 9 Feb 2004 15:14:39 -0000 1.14
+++ serendipity_plugin_comments.php 26 Feb 2004 11:45:25 -0000 1.15
@@ -159,6 +159,9 @@
} else {
$user = htmlentities(strip_tags($row['user']));
}
+
+ $entry = array('comment' => wordwrap($comment, $wordwrap, "\n"));
+ serendipity_plugin_api::hook_event('frontend_display', $entry);
printf(
$out,
@@ -168,7 +171,7 @@
. htmlentities($row['subject'])
. '</a><br />' . "\n"
. htmlentities(strftime($dateformat, $row['stamp'])) . '<br />' . "\n"
- . serendipity_emoticate(serendipity_markup_text(wordwrap(htmlentities($comment), $wordwrap, "<br />\n", 1)))
+ . $entry['comment']
. '<br /><br /><br />' . "\n\n"
);
}
|