diff --git a/modules/comment/comment.module b/modules/comment/comment.module index 8e0c7d930394284aa34605f3adfc22f34789ba7b..37a208f6e97d76fb0560a9947be2d7ccfb6fdf21 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -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; diff --git a/themes/bartik/css/print.css b/themes/bartik/css/print.css index 61ca3fa7d33318587920e217f22c7fc07c9ee459..fbe386a43cc8b35d6582b1b93af85567acddf43c 100644 --- a/themes/bartik/css/print.css +++ b/themes/bartik/css/print.css @@ -41,6 +41,6 @@ body { #comments .title, #comments form, -.comment_forbidden { +.comment-forbidden { display: none; }