theme_comment_submitted

Definition

theme_comment_submitted($comment)
drupal/modules/comment/comment.module, line 1844

Description

Theme a "Submitted by ..." notice.

Parameters

$comment The comment.

Related topics

Namesort iconDescription
Default theme implementationsFunctions and templates that present output to the user, and can be implemented by themes.

Code

function theme_comment_submitted($comment) {
  return t('Submitted by !username on @datetime.',
    array(
      '!username' => theme('username', $comment),
      '@datetime' => format_date($comment->timestamp)
    ));
}