From 63136b81e2c73a8ea7011b7c1b9f9df3a9ba7ad6 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Mon, 30 Aug 2010 05:58:46 +0000 Subject: #878092 by joachim, Jacine, sun: Fixed Each module is outputting its own ul.links.inline in node links. --- modules/comment/comment.module | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'modules/comment') diff --git a/modules/comment/comment.module b/modules/comment/comment.module index 4a0893f5c..a8b8a662f 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -688,11 +688,7 @@ function comment_node_view($node, $view_mode) { $links['comment_forbidden']['html'] = TRUE; } - $node->content['links']['comment'] = array( - '#theme' => 'links__comment_node', - '#links' => $links, - '#attributes' => array('class' => array('links', 'inline')), - ); + $node->content['links']['#links'] = array_merge($node->content['links']['#links'], $links); // Only append comments when we are building a node on its own node detail // page. We compare $node and $page_node to ensure that comments are not -- cgit v1.2.3