summaryrefslogtreecommitdiff
path: root/modules/path
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-07-10 15:51:48 +0000
committerDries Buytaert <dries@buytaert.net>2004-07-10 15:51:48 +0000
commitac5b5616c0016ef781c122243a6b7fe8fbf98114 (patch)
treebc3db7f2a495240da80e02ba33fcd2ffbbf6013c /modules/path
parente21f238ad7fe3db36419443e4ecafd6a67974576 (diff)
downloadbrdo-ac5b5616c0016ef781c122243a6b7fe8fbf98114.tar.gz
brdo-ac5b5616c0016ef781c122243a6b7fe8fbf98114.tar.bz2
- More tab-improvements by JonBob: improved support for the default tabs!
Diffstat (limited to 'modules/path')
-rw-r--r--modules/path/path.module5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/path/path.module b/modules/path/path.module
index 82d600a31..61e7046be 100644
--- a/modules/path/path.module
+++ b/modules/path/path.module
@@ -66,8 +66,9 @@ function path_menu() {
'callback' => 'path_admin_delete',
'access' => user_access('administer url aliases'),
'type' => MENU_CALLBACK);
- // Tabs:
- $items[] = array('path' => 'admin/path/add', 'title' => t('add alias'),
+ $items[] = array('path' => 'admin/path/list', 'title' => t('list'),
+ 'type' => MENU_DEFAULT_LOCAL_TASK, 'weight' => -10);
+ $items[] = array('path' => 'admin/path/add', 'title' => t('add'),
'callback' => 'path_admin_edit',
'access' => user_access('administer url aliases'),
'type' => MENU_LOCAL_TASK);