summaryrefslogtreecommitdiff
path: root/modules/node.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-07-03 16:41:42 +0000
committerDries Buytaert <dries@buytaert.net>2005-07-03 16:41:42 +0000
commitd96e7e0bbb67b2bb694487e19f56b33f6e21aeb4 (patch)
treebcef9feb1a217d89ddb947bef0319c0c567686b8 /modules/node.module
parent338a135bfb4673020317ca7d2c43a223b8f45786 (diff)
downloadbrdo-d96e7e0bbb67b2bb694487e19f56b33f6e21aeb4.tar.gz
brdo-d96e7e0bbb67b2bb694487e19f56b33f6e21aeb4.tar.bz2
- Patches by Ber: move user settings and node settings to admin/settings.
Diffstat (limited to 'modules/node.module')
-rw-r--r--modules/node.module12
1 files changed, 4 insertions, 8 deletions
diff --git a/modules/node.module b/modules/node.module
index 63e1ca02a..f718246a0 100644
--- a/modules/node.module
+++ b/modules/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',