diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/blog.module | 3 | ||||
-rw-r--r-- | modules/blog/blog.module | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/modules/blog.module b/modules/blog.module index 8e63edd4f..791e9ec84 100644 --- a/modules/blog.module +++ b/modules/blog.module @@ -259,6 +259,9 @@ function blog_menu($may_cache) { 'callback' => 'blog_page', 'access' => user_access('access content'), 'type' => MENU_SUGGESTED_ITEM); + $items[] = array('path' => 'blog/'. $user->uid, 'title' => t('my blog'), + 'access' => user_access('edit own blog'), + 'type' => MENU_DYNAMIC_ITEM); } return $items; diff --git a/modules/blog/blog.module b/modules/blog/blog.module index 8e63edd4f..791e9ec84 100644 --- a/modules/blog/blog.module +++ b/modules/blog/blog.module @@ -259,6 +259,9 @@ function blog_menu($may_cache) { 'callback' => 'blog_page', 'access' => user_access('access content'), 'type' => MENU_SUGGESTED_ITEM); + $items[] = array('path' => 'blog/'. $user->uid, 'title' => t('my blog'), + 'access' => user_access('edit own blog'), + 'type' => MENU_DYNAMIC_ITEM); } return $items; |