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/translation | |
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/translation')
-rw-r--r-- | modules/translation/translation.module | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/modules/translation/translation.module b/modules/translation/translation.module index 0a90d115b..5c9d1c440 100644 --- a/modules/translation/translation.module +++ b/modules/translation/translation.module @@ -188,11 +188,7 @@ function translation_node_view($node, $view_mode) { $links = $links->links; // Do not show link to the same node. unset($links[$node->language]); - $node->content['links']['translation'] = array( - '#theme' => 'links__translation_node', - '#links' => $links, - '#attributes' => array('class' => array('links', 'inline')), - ); + $node->content['links']['#links'] = array_merge($node->content['links']['#links'], $links); } } } |