| Versions | |
|---|---|
| 4.7 – 5 | theme_comment_thread_expanded($comment) |
| 6 | theme_comment_thread_expanded($comment, $node) |
modules/
<?php
function theme_comment_thread_expanded($comment) {
$output = '';
if ($comment->depth) {
$output .= '<div style="margin-left:' . ($comment->depth * 25) . "px;\">\n";
}
$output .= theme('comment_view', $comment, module_invoke_all('link', 'comment', $comment, 0));
if ($comment->depth) {
$output .= "</div>\n";
}
return $output;
}
?>