aboutsummaryrefslogtreecommitdiffstats
path: root/comments.php
diff options
context:
space:
mode:
Diffstat (limited to 'comments.php')
-rw-r--r--comments.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/comments.php b/comments.php
index 115bf8572..6b949eb31 100644
--- a/comments.php
+++ b/comments.php
@@ -425,11 +425,13 @@ SELECT id, uppercats
}
$template->assign_block_vars(
- 'picture.comment',
+ 'comment',
array(
- 'COMMENT_AUTHOR' => $author,
- 'COMMENT_DATE'=>format_date($comment['date'],'mysql_datetime',true),
- 'COMMENT'=>parse_comment_content($comment['content']),
+ 'U_PICTURE' => add_session_id($url),
+ 'TN_SRC' => $thumbnail_src,
+ 'AUTHOR' => $author,
+ 'DATE'=>format_date($comment['date'],'mysql_datetime',true),
+ 'CONTENT'=>parse_comment_content($comment['content']),
));
}
}