diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-06-11 15:21:14 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-06-11 15:21:14 +0000 |
commit | 53420729ea164c0cc6244316a3001f64e919dc2c (patch) | |
tree | f3d13483601738a2563ba5e72ebd20960e2e0062 /themes | |
parent | bc1c4defa2962db7c32a92dfa759a27eb3645caf (diff) | |
download | brdo-53420729ea164c0cc6244316a3001f64e919dc2c.tar.gz brdo-53420729ea164c0cc6244316a3001f64e919dc2c.tar.bz2 |
- Patch #101927 by cooferat: fixed problem with post information.
Diffstat (limited to 'themes')
-rw-r--r-- | themes/chameleon/chameleon.theme | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/themes/chameleon/chameleon.theme b/themes/chameleon/chameleon.theme index 9d8c24f98..aa7405540 100644 --- a/themes/chameleon/chameleon.theme +++ b/themes/chameleon/chameleon.theme @@ -141,7 +141,9 @@ function chameleon_node($node, $teaser = 0, $page = 0) { $output .= " </div>\n"; - $submitted['node_submitted'] = theme_get_setting("toggle_node_info_$node->type") ? array('#title' => t("By !author at @date", array('!author' => theme('username', $node), '@date' => format_date($node->created, 'small')))) : array(); + $submitted['node_submitted'] = theme_get_setting("toggle_node_info_$node->type") ? array( + 'title' => t("By !author at @date", array('!author' => theme('username', $node), '@date' => format_date($node->created, 'small'))), + 'html' => TRUE) : array(); $terms = array(); if (module_exists('taxonomy')) { @@ -162,7 +164,9 @@ function chameleon_node($node, $teaser = 0, $page = 0) { } function chameleon_comment($comment, $links = "") { - $submitted['comment_submitted'] = array('#title' => t('By !author at @date', array('!author' => theme('username', $comment), '@date' => format_date($comment->timestamp, 'small')))); + $submitted['comment_submitted'] = array( + 'title' => t('By !author at @date', array('!author' => theme('username', $comment), '@date' => format_date($comment->timestamp, 'small'))), + 'html' => TRUE); $output = "<div class=\"comment". ($comment->status == COMMENT_NOT_PUBLISHED ? ' comment-unpublished' : '') ."\">\n"; $output .= " <h3 class=\"title\">". l($comment->subject, $_GET['q'], NULL, NULL, "comment-$comment->cid") ."</h3>\n"; |