diff --git a/modules/book.module b/modules/book.module index cbe8f1635bc..bdc781903a7 100644 --- a/modules/book.module +++ b/modules/book.module @@ -91,12 +91,17 @@ function book_menu($may_cache) { 'title' => t('books'), 'callback' => 'book_admin', 'access' => user_access('administer nodes'), - 'weight' => 4); + 'type' => MENU_LOCAL_TASK, + 'weight' => -1); + $items[] = array( + 'path' => 'admin/node/book/list', + 'title' => t('list'), + 'type' => MENU_DEFAULT_LOCAL_TASK); $items[] = array( 'path' => 'admin/node/book/orphan', 'title' => t('orphan pages'), 'callback' => 'book_admin_orphan', - 'access' => user_access('administer nodes'), + 'type' => MENU_LOCAL_TASK, 'weight' => 8); $items[] = array('path' => 'book', 'title' => t('books'), 'callback' => 'book_render', diff --git a/modules/book/book.module b/modules/book/book.module index cbe8f1635bc..bdc781903a7 100644 --- a/modules/book/book.module +++ b/modules/book/book.module @@ -91,12 +91,17 @@ function book_menu($may_cache) { 'title' => t('books'), 'callback' => 'book_admin', 'access' => user_access('administer nodes'), - 'weight' => 4); + 'type' => MENU_LOCAL_TASK, + 'weight' => -1); + $items[] = array( + 'path' => 'admin/node/book/list', + 'title' => t('list'), + 'type' => MENU_DEFAULT_LOCAL_TASK); $items[] = array( 'path' => 'admin/node/book/orphan', 'title' => t('orphan pages'), 'callback' => 'book_admin_orphan', - 'access' => user_access('administer nodes'), + 'type' => MENU_LOCAL_TASK, 'weight' => 8); $items[] = array('path' => 'book', 'title' => t('books'), 'callback' => 'book_render',