diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-07-10 15:51:48 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-07-10 15:51:48 +0000 |
commit | ac5b5616c0016ef781c122243a6b7fe8fbf98114 (patch) | |
tree | bc3db7f2a495240da80e02ba33fcd2ffbbf6013c /modules/path | |
parent | e21f238ad7fe3db36419443e4ecafd6a67974576 (diff) | |
download | brdo-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.module | 5 |
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); |