$propbag->add('description', PLUGIN_COMMENTS_BLAHBLAH);
$propbag->add('stackable', true);
$propbag->add('author', 'Garvin Hicking');
- $propbag->add('version', '1.1');
+ $propbag->add('version', '1.2');
$propbag->add('requirements', array(
'serendipity' => '0.8',
'smarty' => '2.6.7',
c.id AS comment_id,
c.type AS comment_type,
c.url AS comment_url,
- c.title AS comment_title
+ c.title AS comment_title,
+ c.email AS comment_email
FROM '.$serendipity['dbPrefix'].'comments AS c,
'.$serendipity['dbPrefix'].'entries AS e
WHERE e.id = c.entry_id
$user = htmlspecialchars(strip_tags($row['user']));
}
- $entry = array('comment' => wordwrap($comment, $wordwrap, "\n", 1));
+ $entry = array('comment' => wordwrap($comment, $wordwrap, "\n", 1),
+ 'email' => $row['comment_email']);
serendipity_plugin_api::hook_event('frontend_display', $entry);
printf(
PLUGIN_COMMENTS_ABOUT,