$propbag->add('name', COMMENTS);
$propbag->add('description', PLUGIN_COMMENTS_BLAHBLAH);
$propbag->add('stackable', true);
- $propbag->add('author', 'Garvin Hicking/Tadashi Jokagi');
- $propbag->add('version', '1.5');
+ $propbag->add('author', 'Garvin Hicking/Tadashi Jokagi/Judebert');
+ $propbag->add('version', '1.6');
$propbag->add('requirements', array(
'serendipity' => '0.8',
'smarty' => '2.6.7',
$user = htmlspecialchars(strip_tags($row['user']));
}
+ $user = trim($user);
+ if (empty($user))
+ {
+ $user = PLUGIN_COMMENTS_ANONYMOUS;
+ }
if ( $serendipity['lang'] == "ja" && function_exists( 'mb_strimwidth')) {
$pos = 0;
printf(
PLUGIN_COMMENTS_ABOUT,
- '<span class="plugin_comment_author">' . trim($user) . '</span>',
+ '<span class="plugin_comment_author">' . $user . '</span>',
' <a class="highlight" href="' . serendipity_archiveURL($row['entry_id'], $row['subject'], 'baseURL', true, array('timestamp' => $row['entrystamp'])) .'#c' . $row['comment_id'] . '" title="' . htmlspecialchars($row['subject']) . '">'
. htmlspecialchars($row['subject'])
. '</a><br />' . "\n"
}
/* vim: set sts=4 ts=4 expandtab : */
+?>