diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-11-27 11:07:02 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-11-27 11:07:02 +0000 |
commit | 247e012c358a1acbbaa28bb850292ea8935886fb (patch) | |
tree | b56721d01c4871471ffefb0dcb8c6f7a7e0334c5 /modules/comment.module | |
parent | debb7da318f3158c283a54428dc3f015b0577d69 (diff) | |
download | brdo-247e012c358a1acbbaa28bb850292ea8935886fb.tar.gz brdo-247e012c358a1acbbaa28bb850292ea8935886fb.tar.bz2 |
- Patch #39013 by drumm: more logical naming of themeable functions
Diffstat (limited to 'modules/comment.module')
-rw-r--r-- | modules/comment.module | 8 |
1 files changed, 4 insertions, 4 deletions
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 = '<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"; |