function theme_comment_submitted in Drupal 6
Theme a "Submitted by ..." notice.
Parameters
$comment: The comment.
Related topics
1 theme call to theme_comment_submitted()
- template_preprocess_comment in modules/
comment/ comment.module - Process variables for comment.tpl.php.
File
- modules/
comment/ comment.module, line 1838 - Enables users to comment on published content.
Code
function theme_comment_submitted($comment) {
return t('Submitted by !username on @datetime.', array(
'!username' => theme('username', $comment),
'@datetime' => format_date($comment->timestamp),
));
}