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