| Versionen | |
|---|---|
| drupal6 – drupal7 | theme_comment_submitted($comment) |
Theme a "Submitted by ..." notice.
$comment The comment.
modules/
<?php
function theme_comment_submitted($comment) {
return t('Submitted by !username on @datetime.',
array(
'!username' => theme('username', $comment),
'@datetime' => format_date($comment->timestamp)
));
}
?>
Kommentare
Kommentar hinzufügen