Commit 40939063 authored by Dries's avatar Dries

- Patch #1097958 by Devin Carlson, dixon_: change class comment_forbidden() to comment-forbidden.

parent 1cd3e54a
...@@ -655,7 +655,7 @@ function comment_node_view($node, $view_mode) { ...@@ -655,7 +655,7 @@ function comment_node_view($node, $view_mode) {
); );
} }
else { else {
$links['comment_forbidden'] = array( $links['comment-forbidden'] = array(
'title' => theme('comment_post_forbidden', array('node' => $node)), 'title' => theme('comment_post_forbidden', array('node' => $node)),
'html' => TRUE, 'html' => TRUE,
); );
...@@ -685,7 +685,7 @@ function comment_node_view($node, $view_mode) { ...@@ -685,7 +685,7 @@ function comment_node_view($node, $view_mode) {
} }
} }
else { else {
$links['comment_forbidden'] = array( $links['comment-forbidden'] = array(
'title' => theme('comment_post_forbidden', array('node' => $node)), 'title' => theme('comment_post_forbidden', array('node' => $node)),
'html' => TRUE, 'html' => TRUE,
); );
...@@ -1066,8 +1066,8 @@ function comment_links($comment, $node) { ...@@ -1066,8 +1066,8 @@ function comment_links($comment, $node) {
); );
} }
else { else {
$links['comment_forbidden']['title'] = theme('comment_post_forbidden', array('node' => $node)); $links['comment-forbidden']['title'] = theme('comment_post_forbidden', array('node' => $node));
$links['comment_forbidden']['html'] = TRUE; $links['comment-forbidden']['html'] = TRUE;
} }
} }
return $links; return $links;
......
...@@ -41,6 +41,6 @@ body { ...@@ -41,6 +41,6 @@ body {
#comments .title, #comments .title,
#comments form, #comments form,
.comment_forbidden { .comment-forbidden {
display: none; display: none;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment