From 247e012c358a1acbbaa28bb850292ea8935886fb Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 27 Nov 2005 11:07:02 +0000 Subject: - Patch #39013 by drumm: more logical naming of themeable functions --- modules/comment.module | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/comment.module') diff --git a/modules/comment.module b/modules/comment.module index 12a23143a..6d9d0a500 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 = '
\n"; $output .= theme('comment_view', $comment, '', 0); $output .= "
\n"; return $output; } -function theme_comment_thread_max($comment, $level = 0) { +function theme_comment_thread_expanded($comment) { $output = ''; if ($comment->depth) { $output .= '
\n"; -- cgit v1.2.3