diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-08-30 05:58:46 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-08-30 05:58:46 +0000 |
commit | 63136b81e2c73a8ea7011b7c1b9f9df3a9ba7ad6 (patch) | |
tree | bb94d61d711730f2de65018b370f3783babc1dcb /modules/rdf | |
parent | cc4ce5053b797a0d5d9895de4e812e8c027f4e60 (diff) | |
download | brdo-63136b81e2c73a8ea7011b7c1b9f9df3a9ba7ad6.tar.gz brdo-63136b81e2c73a8ea7011b7c1b9f9df3a9ba7ad6.tar.bz2 |
#878092 by joachim, Jacine, sun: Fixed Each module is outputting its own ul.links.inline in node links.
Diffstat (limited to 'modules/rdf')
-rw-r--r-- | modules/rdf/rdf.module | 4 |
1 files changed, 2 insertions, 2 deletions
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 <head> tag. |