diff options
Diffstat (limited to 'modules/comment')
-rw-r--r-- | modules/comment/comment.tpl.php | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/modules/comment/comment.tpl.php b/modules/comment/comment.tpl.php index ffc0c3c99..bb6026041 100644 --- a/modules/comment/comment.tpl.php +++ b/modules/comment/comment.tpl.php @@ -11,8 +11,12 @@ * print a subset such as render($content['field_example']). Use * hide($content['field_example']) to temporarily suppress the printing of a * given element. - * - $created: Date and time this comment was created. - * - $changed: Date and time this comment was changed. + * - $created: Formatted date and time for when the comment was created. + * Preprocess functions can reformat it by calling format_date() with the + * desired parameters on the $comment->created variable. + * - $changed: Formatted date and time for when the comment was last changed. + * Preprocess functions can reformat it by calling format_date() with the + * desired parameters on the $comment->changed variable. * - $new: New comment marker. * - $picture: Authors picture. * - $signature: Authors signature. @@ -61,8 +65,8 @@ <div class="submitted"> <?php - print t('Submitted by !username on @datetime.', - array('!username' => $author, '@datetime' => $created)); + print t('Submitted by !username on !datetime.', + array('!username' => $author, '!datetime' => $created)); ?> </div> |