theme_comment_submitted
Definition
theme_comment_submitted($comment)
modules/comment/comment.module, line 1827
Description
Theme a "Submitted by ..." notice.
Parameters
$comment The comment.
Related topics
| Name | Description |
|---|---|
| Default theme implementations | Functions and templates that present output to the user, and can be implemented by themes. |
Code
<?php
function theme_comment_submitted($comment) {
return t('Submitted by !username on @datetime.',
array(
'!username' => theme('username', $comment),
'@datetime' => format_date($comment->timestamp)
));
}
?> 