function theme_comment_submitted

6.x comment.module theme_comment_submitted($comment)

Theme a "Submitted by ..." notice.

Parameters

$comment: The comment.

Related topics

1 theme call to theme_comment_submitted()
template_preprocess_comment in drupal-6.x/modules/comment/comment.module
Process variables for comment.tpl.php.

File

drupal-6.x/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)
  ));
}