Update of /cvsroot/php-blog/serendipity/plugins/serendipity_plugin_shoutbox
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1864
Modified Files:
serendipity_plugin_shoutbox.php
Log Message:
no need to use printf, makes problems with "%" shouts
Index: serendipity_plugin_shoutbox.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/plugins/serendipity_plugin_shoutbox/serendipity_plugin_shoutbox.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- serendipity_plugin_shoutbox.php 15 Apr 2004 21:20:24 -0000 1.8
+++ serendipity_plugin_shoutbox.php 3 May 2004 11:55:09 -0000 1.9
@@ -185,12 +185,10 @@
$entry = array('comment' => wordwrap($comment, $wordwrap, "\n",1));
serendipity_plugin_api::hook_event('frontend_display', $entry);
- printf(
- "<b>" . htmlspecialchars(strftime($dateformat, $row['stamp'])) . '</b> <br />' . "\n"
+ echo "<b>" . htmlspecialchars(strftime($dateformat, $row['stamp'])) . '</b> <br />' . "\n"
. $entry['comment']
. $deleteLink
- . '<br /><br /><br />' . "\n\n"
- );
+ . '<br /><br /><br />' . "\n\n";
}
}
?>
|