diff options
Diffstat (limited to 'themes/chameleon/chameleon.theme')
-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 869618fe0..26b380ca4 100644 --- a/themes/chameleon/chameleon.theme +++ b/themes/chameleon/chameleon.theme @@ -126,7 +126,7 @@ function chameleon_node($node, $main = 0, $page = 0) { $output .= " </div>\n"; - $submitted = theme_get_setting("toggle_node_info_$node->type") ? array(t("By %author at %date", array('%author' => format_name($node), '%date' => format_date($node->created, 'small')))) : array(); + $submitted = theme_get_setting("toggle_node_info_$node->type") ? array(t("By %author at %date", array('%author' => theme('username', $node), '%date' => format_date($node->created, 'small')))) : array(); $terms = array(); if (module_exist('taxonomy')) { @@ -147,7 +147,7 @@ function chameleon_node($node, $main = 0, $page = 0) { } function chameleon_comment($comment, $link = "") { - $submitted = array(t('By %author at %date', array('%author' => format_name($comment), '%date' => format_date($comment->timestamp. 'small')))); + $submitted = array(t('By %author at %date', array('%author' => theme('username', $comment), '%date' => format_date($comment->timestamp. 'small')))); $links = array($link); $output = "<div class=\"comment\">\n"; |