$propbag->add('description', PLUGIN_SHOUTBOX_BLAHBLAH);
$propbag->add('stackable', false);
$propbag->add('author', 'Matthias Lange');
- $propbag->add('version', '1.0');
+ $propbag->add('version', '1.01');
$propbag->add('requirements', array(
'serendipity' => '0.8',
'smarty' => '2.6.7',
. '?serendipity[action]=shoutboxdelete&serendipity[comment_id]='
. $row['comment_id'] . '">' . PLUGIN_SHOUTBOX_DELETE . '</a>';
}
- $entry = array('comment' => wordwrap($comment, $wordwrap, "\n",1));
+ $entry = array('comment' => $comment);
serendipity_plugin_api::hook_event('frontend_display', $entry);
+ $entry['comment'] = wordwrap($entry['comment'], $wordwrap, "\n", 1);
echo "<b>" . htmlspecialchars(serendipity_strftime($dateformat, $row['stamp'])) . '</b> <br />' . "\n"
. $entry['comment']