summaryrefslogtreecommitdiff
path: root/modules/translation
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-11-14 21:04:45 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-11-14 21:04:45 +0000
commitab21e07bbd3ac303495a9cce99862d84bba0893e (patch)
tree7612531b2af662faeb33e6d46564a543c2cbbd78 /modules/translation
parentf65a7fae273eb909cdcb366e0c23c6b4dab7e608 (diff)
downloadbrdo-ab21e07bbd3ac303495a9cce99862d84bba0893e.tar.gz
brdo-ab21e07bbd3ac303495a9cce99862d84bba0893e.tar.bz2
#878092 follow-up by sun, David_Rothstein: Fixed Regression from D7 alpha: themes are unable to render one group of node links separately from another.
Diffstat (limited to 'modules/translation')
-rw-r--r--modules/translation/translation.module6
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/translation/translation.module b/modules/translation/translation.module
index 2dc318b70..af295bd20 100644
--- a/modules/translation/translation.module
+++ b/modules/translation/translation.module
@@ -251,7 +251,11 @@ function translation_node_view($node, $view_mode) {
}
}
- $node->content['links']['#links'] += $links;
+ $node->content['links']['translation'] = array(
+ '#theme' => 'links__node__translation',
+ '#links' => $links,
+ '#attributes' => array('class' => array('links', 'inline')),
+ );
}
}