diff options
Diffstat (limited to 'themes/bartik/templates')
-rw-r--r-- | themes/bartik/templates/comment.tpl.php | 2 | ||||
-rw-r--r-- | themes/bartik/templates/node.tpl.php | 9 |
2 files changed, 6 insertions, 5 deletions
diff --git a/themes/bartik/templates/comment.tpl.php b/themes/bartik/templates/comment.tpl.php index 463b3ba87..d83f178ba 100644 --- a/themes/bartik/templates/comment.tpl.php +++ b/themes/bartik/templates/comment.tpl.php @@ -19,6 +19,8 @@ * desired parameters on the $comment->changed variable. * - $new: New comment marker. * - $permalink: Comment permalink. + * - $submitted: Submission information created from $author and $created during + * template_preprocess_comment(). * - $picture: Authors picture. * - $signature: Authors signature. * - $status: Comment status. Possible values are: diff --git a/themes/bartik/templates/node.tpl.php b/themes/bartik/templates/node.tpl.php index e3ada69db..7b8377d04 100644 --- a/themes/bartik/templates/node.tpl.php +++ b/themes/bartik/templates/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 @@ -90,10 +92,7 @@ <?php if ($display_submitted): ?> <div class="meta submitted"> <?php print $user_picture; ?> - <?php - print t('published by !username on !datetime', - array('!username' => $name, '!datetime' => $date)); - ?> + <?php print $submitted; ?> </div> <?php endif; ?> |