diff options
Diffstat (limited to 'themes/xtemplate/xtemplate.theme')
-rw-r--r-- | themes/xtemplate/xtemplate.theme | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/themes/xtemplate/xtemplate.theme b/themes/xtemplate/xtemplate.theme index 62d67efa2..432ff4a15 100644 --- a/themes/xtemplate/xtemplate.theme +++ b/themes/xtemplate/xtemplate.theme @@ -35,6 +35,9 @@ function xtemplate_node($node, $main = 0, $page = 0) { global $xtemplate; $xtemplate->template->assign(array( + "submitted" => t("Submitted by %a on %b.", + array("%a" => format_name($node), + "%b" => format_date($node->created))), "link" => url("node/view/$node->nid"), "title" => $node->title, "author" => format_name($node), @@ -66,10 +69,14 @@ function xtemplate_comment($comment, $links = 0) { global $xtemplate; $xtemplate->template->assign(array ( - "title" => $comment->subject, - "author" => format_name($comment), - "date" => format_date($comment->timestamp), - "content" => $comment->comment + "new" => t("new"), + "submitted" => t("Submitted by %a on %b.", + array("%a" => format_name($comment), + "%b" => format_date($comment->timestamp))), + "title" => $comment->subject, + "author" => format_name($comment), + "date" => format_date($comment->timestamp), + "content" => $comment->comment )); if ($comment->new) { |