diff --git a/modules/comment.module b/modules/comment.module index 12a23143a4de0b564cef7e3822caff041cc504ea..6d9d0a5006cd02cf19c8d5b74046e5a6d4dc35db 100644 --- a/modules/comment.module +++ b/modules/comment.module @@ -918,10 +918,10 @@ function comment_render($node, $cid = 0) { $output .= theme('comment_flat_expanded', $comment); } else if ($mode == COMMENT_MODE_THREADED_COLLAPSED) { - $output .= theme('comment_thread_min', $comment); + $output .= theme('comment_thread_collapsed', $comment); } else if ($mode == COMMENT_MODE_THREADED_EXPANDED) { - $output .= theme('comment_thread_max', $comment); + $output .= theme('comment_thread_expanded', $comment); } } @@ -1372,14 +1372,14 @@ function theme_comment_flat_expanded($comment) { return theme('comment_view', $comment, module_invoke_all('link', 'comment', $comment, 0)); } -function theme_comment_thread_min($comment, $pid = 0) { +function theme_comment_thread_collapsed($comment) { $output = '<div style="margin-left:'. ($comment->depth * 25) ."px;\">\n"; $output .= theme('comment_view', $comment, '', 0); $output .= "</div>\n"; return $output; } -function theme_comment_thread_max($comment, $level = 0) { +function theme_comment_thread_expanded($comment) { $output = ''; if ($comment->depth) { $output .= '<div style="margin-left:'. ($comment->depth * 25) ."px;\">\n"; diff --git a/modules/comment/comment.module b/modules/comment/comment.module index 12a23143a4de0b564cef7e3822caff041cc504ea..6d9d0a5006cd02cf19c8d5b74046e5a6d4dc35db 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -918,10 +918,10 @@ function comment_render($node, $cid = 0) { $output .= theme('comment_flat_expanded', $comment); } else if ($mode == COMMENT_MODE_THREADED_COLLAPSED) { - $output .= theme('comment_thread_min', $comment); + $output .= theme('comment_thread_collapsed', $comment); } else if ($mode == COMMENT_MODE_THREADED_EXPANDED) { - $output .= theme('comment_thread_max', $comment); + $output .= theme('comment_thread_expanded', $comment); } } @@ -1372,14 +1372,14 @@ function theme_comment_flat_expanded($comment) { return theme('comment_view', $comment, module_invoke_all('link', 'comment', $comment, 0)); } -function theme_comment_thread_min($comment, $pid = 0) { +function theme_comment_thread_collapsed($comment) { $output = '<div style="margin-left:'. ($comment->depth * 25) ."px;\">\n"; $output .= theme('comment_view', $comment, '', 0); $output .= "</div>\n"; return $output; } -function theme_comment_thread_max($comment, $level = 0) { +function theme_comment_thread_expanded($comment) { $output = ''; if ($comment->depth) { $output .= '<div style="margin-left:'. ($comment->depth * 25) ."px;\">\n";