theme_comment_submitted

6 comment.module theme_comment_submitted($comment)

Theme a "Submitted by ..." notice.

Parameters

$comment: The comment.

Related topics

1 theme call to theme_comment_submitted()

File

modules/comment/comment.module, line 1839
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),
  ));
}
Login or register to post comments