phptemplate_node_submitted

  1. drupal
    1. drupal6
Versionen
drupal6 phptemplate_node_submitted($node)

Returns the themed submitted-by string for the node.

Code

themes/garland/template.php, line 85

<?php
function phptemplate_node_submitted($node) {
  return t('!datetime — !username', 
    array(
      '!username' => theme('username', $node),
      '!datetime' => format_date($node->created),
    ));
}
?>

Kommentare

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen