theme_comment_thread_expanded

  1. drupal
    1. 4.7
    2. 5 comment.module
    3. 6 comment.module
Versions
4.7 – 5 theme_comment_thread_expanded($comment)
6 theme_comment_thread_expanded($comment, $node)

Code

modules/comment.module, line 1587

<?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;
}
?>