diff options
Diffstat (limited to 'modules/node/node.tpl.php')
-rw-r--r-- | modules/node/node.tpl.php | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/modules/node/node.tpl.php b/modules/node/node.tpl.php index 952f20a9d..26128960d 100644 --- a/modules/node/node.tpl.php +++ b/modules/node/node.tpl.php @@ -16,7 +16,9 @@ * calling format_date() with the desired parameters on the $created variable. * - $name: Themed username of node author output from theme_username(). * - $node_url: Direct url of the current node. - * - $display_submitted: whether submission information should be displayed. + * - $display_submitted: Whether submission information should be displayed. + * - $submitted: Submission information created from $name and $date during + * template_preprocess_node(). * - $classes: String of classes that can be used to style contextually through * CSS. It can be manipulated through the variable $classes_array from * preprocess functions. The default values can be one or more of the @@ -89,10 +91,7 @@ <?php if ($display_submitted): ?> <div class="submitted"> - <?php - print t('Submitted by !username on !datetime', - array('!username' => $name, '!datetime' => $date)); - ?> + <?php print $submitted; ?> </div> <?php endif; ?> |