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

8.0.x
Dries Buytaert 2011-09-07 06:49:13 -04:00
parent 1cd3e54a2e
commit 409390637e
2 changed files with 5 additions and 5 deletions

View File

@ -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;

View File

@ -41,6 +41,6 @@ body {
#comments .title,
#comments form,
.comment_forbidden {
.comment-forbidden {
display: none;
}