diff options
Diffstat (limited to 'modules/blog.module')
-rw-r--r-- | modules/blog.module | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/blog.module b/modules/blog.module index b8a2c9204..d561c6a9a 100644 --- a/modules/blog.module +++ b/modules/blog.module @@ -42,11 +42,11 @@ function blog_access($op, $node) { */ function blog_user($type, &$edit, &$user) { if ($type == 'view' && user_access('edit own blog', $user)) { - $form['blog'] = array( - '#type' => 'item', '#title' => t('Blog'), - '#value' => l(t('view recent blog entries'), "blog/$user->uid", array('title' => t("Read %username's latest blog entries.", array('%username' => $user->name)))) + $items[] = array('title' => t('Blog'), + 'value' => l(t('view recent blog entries'), "blog/$user->uid", array('title' => t("Read %username's latest blog entries.", array('%username' => $user->name)))), + 'class' => 'blog', ); - return array(t('History') => $form); + return array(t('History') => $items); } } |