From d0280b78ab699a78f1434dffe2d1b368b7baf769 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 18 Oct 2009 11:08:00 +0000 Subject: - Patch #550718 by sun, alexanderpas: admin/people needs to have default tab so it looks consistent on ?q=admin. --- modules/user/user.module | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/user/user.module b/modules/user/user.module index 48140a862..241e6ee84 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -1401,7 +1401,6 @@ function user_menu() { // User listing pages. $items['admin/people'] = array( 'title' => 'People', - 'description' => 'Find and manage people interacting with your site.', 'page callback' => 'user_admin', 'page arguments' => array('list'), 'access arguments' => array('administer users'), @@ -1409,6 +1408,14 @@ function user_menu() { 'weight' => -4, 'file' => 'user.admin.inc', ); + $items['admin/people/people'] = array( + 'title' => 'List', + 'description' => 'Find and manage people interacting with your site.', + 'access arguments' => array('administer users'), + 'type' => MENU_DEFAULT_LOCAL_TASK, + 'weight' => -10, + 'file' => 'user.admin.inc', + ); $items['admin/people/create'] = array( 'title' => 'Add user', 'page arguments' => array('create'), -- cgit v1.2.3