- Patch #1097958 by Devin Carlson, dixon_: change class comment_forbidden() to comment-forbidden.
parent
1cd3e54a2e
commit
409390637e
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue