theme_node_submitted

Versions
6
theme_node_submitted($node)

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

Related topics

Code

modules/node/node.module, line 2478

<?php
function theme_node_submitted($node) {
  return t('Submitted by !username on @datetime',
    array(
      '!username' => theme('username', $node),
      '@datetime' => format_date($node->created),
    ));
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.