theme_comment_submitted

Versions
6
theme_comment_submitted($comment)

Theme a "Submitted by ..." notice.

Parameters

$comment The comment.

Related topics

Code

modules/comment/comment.module, line 1831

<?php
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
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.