summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/comment.module8
-rw-r--r--modules/comment/comment.module8
2 files changed, 8 insertions, 8 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";
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index 12a23143a..6d9d0a500 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";