Commit a2a5c4c1 authored by drumm's avatar drumm
Browse files

#18260 by m3avrck, cleaning up broken chameleon theme.

parent 5edfedf8
...@@ -131,7 +131,7 @@ function chameleon_node($node, $teaser = 0, $page = 0) { ...@@ -131,7 +131,7 @@ function chameleon_node($node, $teaser = 0, $page = 0) {
$output .= " </div>\n"; $output .= " </div>\n";
$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(); $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();
$terms = array(); $terms = array();
if (module_exist('taxonomy')) { if (module_exist('taxonomy')) {
...@@ -152,7 +152,7 @@ function chameleon_node($node, $teaser = 0, $page = 0) { ...@@ -152,7 +152,7 @@ function chameleon_node($node, $teaser = 0, $page = 0) {
} }
function chameleon_comment($comment, $links = "") { function chameleon_comment($comment, $links = "") {
$submitted = array(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'))));
$output = "<div class=\"comment". ($comment->status == COMMENT_NOT_PUBLISHED ? ' comment-unpublished' : '') ."\">\n"; $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"; $output .= " <h3 class=\"title\">". l($comment->subject, $_GET['q'], NULL, NULL, "comment-$comment->cid") ."</h3>\n";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment