| Versionen | |
|---|---|
| drupal6 – drupal7 | phptemplate_comment_submitted($comment) |
Returns the themed submitted-by string for the comment.
themes/
<?php
function phptemplate_comment_submitted($comment) {
return t('!datetime — !username',
array(
'!username' => theme('username', $comment),
'!datetime' => format_date($comment->timestamp)
));
}
?>
Kommentare
Kommentar hinzufügen