From d96e7e0bbb67b2bb694487e19f56b33f6e21aeb4 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 3 Jul 2005 16:41:42 +0000 Subject: - Patches by Ber: move user settings and node settings to admin/settings. --- modules/node/node.module | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'modules/node') diff --git a/modules/node/node.module b/modules/node/node.module index 63e1ca02a..f718246a0 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -639,16 +639,12 @@ function node_menu($may_cache) { 'type' => MENU_CALLBACK); $items[] = array('path' => 'admin/node/overview', 'title' => t('list'), 'type' => MENU_DEFAULT_LOCAL_TASK, 'weight' => -10); - $items[] = array('path' => 'admin/node/configure', 'title' => t('configure'), + $items[] = array('path' => 'admin/settings/node', 'title' => t('posts'), 'callback' => 'node_configure', - 'access' => user_access('administer nodes'), - 'type' => MENU_LOCAL_TASK); - $items[] = array('path' => 'admin/node/configure/settings', 'title' => t('settings'), - 'type' => MENU_DEFAULT_LOCAL_TASK, 'weight' => -10); - $items[] = array('path' => 'admin/node/configure/types', 'title' => t('content types'), + 'access' => user_access('administer nodes')); + $items[] = array('path' => 'admin/settings/content-types', 'title' => t('content types'), 'callback' => 'node_types_configure', - 'access' => user_access('administer nodes'), - 'type' => MENU_LOCAL_TASK); + 'access' => user_access('administer nodes')); if (module_exist('search')) { $items[] = array('path' => 'admin/node/search', 'title' => t('search'), 'callback' => 'node_admin', -- cgit v1.2.3