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/rdf/rdf.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/rdf') diff --git a/modules/rdf/rdf.module b/modules/rdf/rdf.module index e1b41c1ad..27c2c8e90 100644 --- a/modules/rdf/rdf.module +++ b/modules/rdf/rdf.module @@ -503,7 +503,7 @@ function rdf_preprocess_node(&$variables) { // Adds RDFa markup annotating the number of comments a node has. if (isset($variables['node']->comment_count) && !empty($variables['node']->rdf_mapping['comment_count']['predicates'])) { // Annotates the 'x comments' link in teaser view. - if (isset($variables['content']['links']['comment']['#links']['comment-comments'])) { + if (isset($variables['content']['links']['#links']['comment-comments'])) { $comment_count_attributes['property'] = $variables['node']->rdf_mapping['comment_count']['predicates']; $comment_count_attributes['content'] = $variables['node']->comment_count; $comment_count_attributes['datatype'] = $variables['node']->rdf_mapping['comment_count']['datatype']; @@ -513,7 +513,7 @@ function rdf_preprocess_node(&$variables) { // we set an empty rel attribute which triggers rule number 5. See // http://www.w3.org/TR/rdfa-syntax/#sec_5.5. $comment_count_attributes['rel'] = ''; - $variables['content']['links']['comment']['#links']['comment-comments']['attributes'] += $comment_count_attributes; + $variables['content']['links']['#links']['comment-comments']['attributes'] += $comment_count_attributes; } // In full node view, the number of comments is not displayed by // node.tpl.php so it is expressed in RDFa in the tag. -- cgit v1.2.3