4.7.x
Steven Wittens 2005-07-30 20:54:02 +00:00
parent 36f6cdc74a
commit 563c00c92c
1 changed files with 2 additions and 2 deletions

View File

@ -235,14 +235,14 @@ function phptemplate_comment($comment, $links = 0) {
return _phptemplate_callback('comment', array(
'author' => format_name($comment),
'comment' => $comment,
array('%a' => format_name($comment),
'%b' => format_date($comment->timestamp))),
'content' => $comment->comment,
'date' => format_date($comment->timestamp),
'links' => $links,
'new' => $comment->new ? t('new') : '',
'picture' => theme_get_setting('toggle_comment_user_picture') ? theme('user_picture', $comment) : '',
'submitted' => t('Submitted by %a on %b.',
array('%a' => format_name($comment),
'%b' => format_date($comment->timestamp))),
'title' => l($comment->subject, $_GET['q'], NULL, NULL, "comment-$comment->cid")
));
}