Same name and namespace in other branches
  1. 5.x modules/comment/comment.module \theme_comment_thread_expanded()
  2. 6.x modules/comment/comment.module \theme_comment_thread_expanded()

File

modules/comment.module, line 1586
Enables users to comment on published content.

Code

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