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) {
);
}
else {
$links['comment_forbidden'] = array(
$links['comment-forbidden'] = array(
'title' => theme('comment_post_forbidden', array('node' => $node)),
'html' => TRUE,
);
......@@ -685,7 +685,7 @@ function comment_node_view($node, $view_mode) {
}
}
else {
$links['comment_forbidden'] = array(
$links['comment-forbidden'] = array(
'title' => theme('comment_post_forbidden', array('node' => $node)),
'html' => TRUE,
);
......@@ -1066,8 +1066,8 @@ function comment_links($comment, $node) {
);
}
else {
$links['comment_forbidden']['title'] = theme('comment_post_forbidden', array('node' => $node));
$links['comment_forbidden']['html'] = TRUE;
$links['comment-forbidden']['title'] = theme('comment_post_forbidden', array('node' => $node));
$links['comment-forbidden']['html'] = TRUE;
}
}
return $links;
......
......@@ -41,6 +41,6 @@ body {
#comments .title,
#comments form,
.comment_forbidden {
.comment-forbidden {
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