diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-12-29 11:14:01 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-12-29 11:14:01 +0000 |
commit | d9ceafd4ca8876034d96b37c83a528b131c73157 (patch) | |
tree | d6d62c39112c93cd4d9bbbc6faccbb430362b3ce | |
parent | c2292d224b367f65f78bb58f0449c0a1edaf4059 (diff) | |
download | brdo-d9ceafd4ca8876034d96b37c83a528b131c73157.tar.gz brdo-d9ceafd4ca8876034d96b37c83a528b131c73157.tar.bz2 |
- Made the chameleon theme display comment authors. Patch by Kjartan.
-rw-r--r-- | themes/chameleon/chameleon.theme | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/chameleon/chameleon.theme b/themes/chameleon/chameleon.theme index 4ed275139..bbfb1c93e 100644 --- a/themes/chameleon/chameleon.theme +++ b/themes/chameleon/chameleon.theme @@ -109,13 +109,13 @@ function chameleon_node($node, $main = 0, $page = 0) { function chameleon_comment($comment, $link = "") { - $date = array(format_date($comment->timestamp, 'small')); + $submitted = array(t('By %author at %date', array('%author' => format_name($comment), '%date' => format_date($comment->timestamp. 'small')))); $links = array($link); $output = "<div class=\"comment\">\n"; $output .= " <h3 class=\"title\">". $comment->subject ."</h3>\n"; $output .= " <div class=\"content\">". $comment->comment ."</div>\n"; - $output .= " <div class=\"links\">". theme('links', array_merge($date, $links)) ."</div>\n"; + $output .= " <div class=\"links\">". theme('links', array_merge($submitted, $links)) ."</div>\n"; $output .= "</div>\n"; return $output; |