function theme_node_submitted

Format the "Submitted by username on date/time" for each node

Related topics

1 theme call to theme_node_submitted()
template_preprocess_node in drupal-6.x/includes/theme.inc
Process variables for node.tpl.php

Archivo

drupal-6.x/modules/node/node.module, line 2504
The core that allows content to be submitted to the site. Modules and scripts may programmatically submit nodes using the usual form API pattern.

Código

function theme_node_submitted($node) {
  return t('Submitted by !username on @datetime', array(
    '!username' => theme('username', $node),
    '@datetime' => format_date($node->created),
  ));
}