summaryrefslogtreecommitdiff
path: root/modules/blog
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-08-30 05:58:46 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-08-30 05:58:46 +0000
commit63136b81e2c73a8ea7011b7c1b9f9df3a9ba7ad6 (patch)
treebb94d61d711730f2de65018b370f3783babc1dcb /modules/blog
parentcc4ce5053b797a0d5d9895de4e812e8c027f4e60 (diff)
downloadbrdo-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/blog')
-rw-r--r--modules/blog/blog.module7
1 files changed, 1 insertions, 6 deletions
diff --git a/modules/blog/blog.module b/modules/blog/blog.module
index cbde74c6d..c9360db3e 100644
--- a/modules/blog/blog.module
+++ b/modules/blog/blog.module
@@ -80,16 +80,11 @@ function blog_view($node, $view_mode) {
function blog_node_view($node, $view_mode) {
if ($view_mode != 'rss') {
if ($node->type == 'blog' && (arg(0) != 'blog' || arg(1) != $node->uid)) {
- $links['blog_usernames_blog'] = array(
+ $node->content['links']['#links']['blog_usernames_blog'] = array(
'title' => t("!username's blog", array('!username' => format_username($node))),
'href' => "blog/$node->uid",
'attributes' => array('title' => t("Read !username's latest blog entries.", array('!username' => format_username($node)))),
);
- $node->content['links']['blog'] = array(
- '#theme' => 'links__blog_node',
- '#links' => $links,
- '#attributes' => array('class' => array('links', 'inline')),
- );
}
}
}