Index: modules/system/system.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/system/system.module,v
retrieving revision 1.884
diff -u -r1.884 system.module
--- modules/system/system.module 2 Feb 2010 08:10:03 -0000 1.884
+++ modules/system/system.module 5 Feb 2010 12:04:54 -0000
@@ -2674,7 +2674,7 @@
$admin_task_count = 0;
// Check for permissions.
if (in_array($module, module_implements('permission')) && $admin_access) {
- $admin_tasks[-1] = l(t('Configure permissions'), 'admin/config/people/permissions', array('fragment' => 'module-' . $module));
+ $admin_tasks[-1] = l(t('Configure permissions'), 'admin/people/permissions', array('fragment' => 'module-' . $module));
}
// Check for menu items that are admin links.
Index: modules/system/system.admin.inc
===================================================================
RCS file: /cvs/drupal/drupal/modules/system/system.admin.inc,v
retrieving revision 1.256
diff -u -r1.256 system.admin.inc
--- modules/system/system.admin.inc 30 Jan 2010 07:54:01 -0000 1.256
+++ modules/system/system.admin.inc 5 Feb 2010 12:04:51 -0000
@@ -896,7 +896,7 @@
$extra['links']['permissions'] = array(
'#type' => 'link',
'#title' => t('Permissions'),
- '#href' => 'admin/config/people/permissions',
+ '#href' => 'admin/people/permissions',
'#options' => array('fragment' => 'module-' . $filename, 'attributes' => array('class' => array('module-link', 'module-link-permissions'), 'title' => t('Configure permissions'))),
);
}
@@ -2147,7 +2147,7 @@
'#type' => 'checkbox',
'#title' => t('Put site into maintenance mode'),
'#default_value' => 0,
- '#description' => t('When enabled, only users with the "Access site in maintenance mode" permission are able to access your site to perform maintenance; all other visitors see the maintenance mode message configured below. Authorized users can log in directly via the user login page.', array('@permissions-url' => url('admin/config/people/permissions'), '@user-login' => url('user'))),
+ '#description' => t('When enabled, only users with the "Access site in maintenance mode" permission are able to access your site to perform maintenance; all other visitors see the maintenance mode message configured below. Authorized users can log in directly via the user login page.', array('@permissions-url' => url('admin/people/permissions'), '@user-login' => url('user'))),
);
$form['maintenance_mode_message'] = array(
'#type' => 'textarea',
Index: modules/user/user.admin.inc
===================================================================
RCS file: /cvs/drupal/drupal/modules/user/user.admin.inc,v
retrieving revision 1.98
diff -u -r1.98 user.admin.inc
--- modules/user/user.admin.inc 30 Jan 2010 07:59:26 -0000 1.98
+++ modules/user/user.admin.inc 5 Feb 2010 12:04:55 -0000
@@ -315,7 +315,7 @@
$form['registration_cancellation']['user_cancel_method'] = array(
'#type' => 'item',
'#title' => t('When cancelling a user account'),
- '#description' => t('Users with the %select-cancel-method or %administer-users permissions can override this default method.', array('%select-cancel-method' => t('Select method for cancelling account'), '%administer-users' => t('Administer users'), '@permissions-url' => url('admin/config/people/permissions'))),
+ '#description' => t('Users with the %select-cancel-method or %administer-users permissions can override this default method.', array('%select-cancel-method' => t('Select method for cancelling account'), '%administer-users' => t('Administer users'), '@permissions-url' => url('admin/people/permissions'))),
);
$form['registration_cancellation']['user_cancel_method'] += user_cancel_methods();
foreach (element_children($form['registration_cancellation']['user_cancel_method']) as $element) {
@@ -866,7 +866,7 @@
$header = array(t('Name'), array('data' => t('Operations'), 'colspan' => 2));
foreach (user_roles() as $rid => $name) {
- $edit_permissions = l(t('edit permissions'), 'admin/config/people/permissions/' . $rid);
+ $edit_permissions = l(t('edit permissions'), 'admin/people/permissions/' . $rid);
if (in_array($rid, array(DRUPAL_ANONYMOUS_RID, DRUPAL_AUTHENTICATED_RID))) {
$rows[] = array(t('!name %locked', array('!name' => $name, '%locked' => t('(locked)'))), '', $edit_permissions);
}
Index: modules/user/user.test
===================================================================
RCS file: /cvs/drupal/drupal/modules/user/user.test,v
retrieving revision 1.78
diff -u -r1.78 user.test
--- modules/user/user.test 29 Jan 2010 13:50:14 -0000 1.78
+++ modules/user/user.test 5 Feb 2010 12:04:59 -0000
@@ -971,7 +971,7 @@
$this->assertFalse(user_access('administer nodes', $account), t('User does not have "administer nodes" permission.'));
$edit = array();
$edit[$rid . '[administer nodes]'] = TRUE;
- $this->drupalPost('admin/config/people/permissions', $edit, t('Save permissions'));
+ $this->drupalPost('admin/people/permissions', $edit, t('Save permissions'));
$this->assertText(t('The changes have been saved.'), t('Successful save message displayed.'));
drupal_static_reset('user_access');
drupal_static_reset('user_role_permissions');
@@ -981,7 +981,7 @@
$this->assertTrue(user_access('access user profiles', $account), t('User has "access user profiles" permission.'));
$edit = array();
$edit[$rid . '[access user profiles]'] = FALSE;
- $this->drupalPost('admin/config/people/permissions', $edit, t('Save permissions'));
+ $this->drupalPost('admin/people/permissions', $edit, t('Save permissions'));
$this->assertText(t('The changes have been saved.'), t('Successful save message displayed.'));
drupal_static_reset('user_access');
drupal_static_reset('user_role_permissions');
@@ -1210,7 +1210,7 @@
$edit = array();
$edit['name'] = $user->name;
$edit['pass'] = $user->pass_raw;
- $this->drupalPost('admin/config/people/permissions', $edit, t('Log in'));
+ $this->drupalPost('admin/people/permissions', $edit, t('Log in'));
$this->assertNoText(t('User login'), t('Logged in.'));
// Check that we are still on the same page.
Index: modules/user/user.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/user/user.module,v
retrieving revision 1.1116
diff -u -r1.1116 user.module
--- modules/user/user.module 30 Jan 2010 07:59:26 -0000 1.1116
+++ modules/user/user.module 5 Feb 2010 12:04:58 -0000
@@ -30,19 +30,19 @@
$output .= '
' . t('Uses') . '
';
$output .= '';
$output .= '- ' . t('Creating and managing users') . '
';
- $output .= '- ' . t('The User module allows users with the appropriate permissions to create user accounts through the People administration page, where they can also assign users to one or more roles, and block or delete user accounts. If allowed, users without accounts (anonymous users) can create their own accounts on the Create new account page.', array('@permissions' => url('admin/config/people/permissions', array('fragment' => 'module-user')), '@people' => url('admin/people'), '@register' => url('user/register'))) . '
';
+ $output .= '- ' . t('The User module allows users with the appropriate permissions to create user accounts through the People administration page, where they can also assign users to one or more roles, and block or delete user accounts. If allowed, users without accounts (anonymous users) can create their own accounts on the Create new account page.', array('@permissions' => url('admin/people/permissions', array('fragment' => 'module-user')), '@people' => url('admin/people'), '@register' => url('user/register'))) . '
';
$output .= '- ' . t('User roles and permissions') . '
';
- $output .= '- ' . t('Roles are used to group and classify users; each user can be assigned one or more roles. By default there are two roles: anonymous user (users that are not logged in) and authenticated user (users that are registered and logged in). Depending on choices you made when you installed Drupal, the installation process may have defined more roles, and you can create additional custom roles on the Roles page. After creating roles, you can set permissions for each role on the Permissions page. Granting a permission allows users who have been assigned a particular role to perform an action on the site, such as viewing a particular type of content, editing or creating content, administering settings for a particular module, or using a particular function of the site (such as search).', array('@permissions_user' => url('admin/config/people/permissions'), '@roles' => url('admin/config/people/roles'))) . '
';
+ $output .= '- ' . t('Roles are used to group and classify users; each user can be assigned one or more roles. By default there are two roles: anonymous user (users that are not logged in) and authenticated user (users that are registered and logged in). Depending on choices you made when you installed Drupal, the installation process may have defined more roles, and you can create additional custom roles on the Roles page. After creating roles, you can set permissions for each role on the Permissions page. Granting a permission allows users who have been assigned a particular role to perform an action on the site, such as viewing a particular type of content, editing or creating content, administering settings for a particular module, or using a particular function of the site (such as search).', array('@permissions_user' => url('admin/config/people/permissions'), '@roles' => url('admin/people/roles'))) . '
';
$output .= '- ' . t('Account settings') . '
';
- $output .= '- ' . t('The Account settings page allows you to manage settings for the displayed name of the anonymous user role, personal contact forms, user registration, and account cancellation. On this page you can also manage settings for account personalization (including signatures and user pictures), and adapt the text for the e-mail messages that are sent automatically during the user registration process.', array('@accounts' => url('admin/config/people/accounts'))) . '
';
+ $output .= '- ' . t('The Account settings page allows you to manage settings for the displayed name of the anonymous user role, personal contact forms, user registration, and account cancellation. On this page you can also manage settings for account personalization (including signatures and user pictures), and adapt the text for the e-mail messages that are sent automatically during the user registration process.', array('@accounts' => url('admin/people/accounts'))) . '
';
$output .= '
';
return $output;
case 'admin/people/create':
return '' . t("This web page allows administrators to register new users. Users' e-mail addresses and usernames must be unique.") . '
';
- case 'admin/config/people/permissions':
+ case 'admin/people/permissions':
return '' . t('Permissions let you control what users can do and see on your site. You can define a specific set of permissions for each role. (See the Roles page to create a role). Two important roles to consider are Authenticated Users and Administrators. Any permissions granted to the Authenticated Users role will be given to any user who can log into your site. You can make any role the Administrator role for the site, meaning this will be granted all new permissions automatically. You can do this on the User Settings page. You should be careful to ensure that only trusted users are given this access and level of control of your site.', array('@role' => url('admin/config/people/roles'), '@settings' => url('admin/config/people/accounts'))) . '
';
case 'admin/config/people/roles':
- $output = '' . t('Roles allow you to fine tune the security and administration of Drupal. A role defines a group of users that have certain privileges as defined in user permissions. Examples of roles include: anonymous user, authenticated user, moderator, administrator and so on. In this area you will define the role names of the various roles. To delete a role choose "edit".', array('@permissions' => url('admin/config/people/permissions'))) . '
';
+ $output = '' . t('Roles allow you to fine tune the security and administration of Drupal. A role defines a group of users that have certain privileges as defined in user permissions. Examples of roles include: anonymous user, authenticated user, moderator, administrator and so on. In this area you will define the role names of the various roles. To delete a role choose "edit".', array('@permissions' => url('admin/people/permissions'))) . '
';
$output .= ''. t('By default, Drupal comes with two user roles:') . '
';
$output .= '';
$output .= '- ' . t("Anonymous user: this role is used for users that don't have a user account or that are not authenticated.") . '
';
@@ -1480,6 +1480,16 @@
'weight' => -10,
'file' => 'user.admin.inc',
);
+ $items['admin/people/permissions'] = array(
+ 'title' => 'Permissions',
+ 'description' => 'Determine access to features by selecting permissions for roles.',
+ 'page callback' => 'drupal_get_form',
+ 'page arguments' => array('user_admin_permissions'),
+ 'access arguments' => array('administer permissions'),
+ 'file' => 'user.admin.inc',
+ 'weight' => -8,
+ 'type' => MENU_LOCAL_TASK,
+ );
$items['admin/people/create'] = array(
'title' => 'Add user',
'page arguments' => array('create'),
@@ -1528,15 +1538,6 @@
'access arguments' => array('administer permissions'),
'type' => MENU_CALLBACK,
);
- $items['admin/config/people/permissions'] = array(
- 'title' => 'Permissions',
- 'description' => 'Determine access to features by selecting permissions for roles.',
- 'page callback' => 'drupal_get_form',
- 'page arguments' => array('user_admin_permissions'),
- 'access arguments' => array('administer permissions'),
- 'file' => 'user.admin.inc',
- 'weight' => -8,
- );
// Use %user_uid_only_optional here to avoid loading the full user for
// basic access checks.
Index: modules/taxonomy/taxonomy.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/taxonomy/taxonomy.module,v
retrieving revision 1.571
diff -u -r1.571 taxonomy.module
--- modules/taxonomy/taxonomy.module 30 Jan 2010 02:01:41 -0000 1.571
+++ modules/taxonomy/taxonomy.module 5 Feb 2010 12:04:55 -0000
@@ -18,7 +18,7 @@
$output .= '' . t('Uses') . '
';
$output .= '';
$output .= '- ' . t('Creating vocabularies') . '
';
- $output .= '- ' . t('Users with sufficient permissions can create vocabularies and terms through the Taxonomy page. The page listing the terms provides a drag-and-drop interface for controlling the order of the terms and sub-terms within a vocabulary, in a hierarchical fashion. A controlled vocabulary classifying music by genre with terms and sub-terms could look as follows:', array('@taxo' => url('admin/structure/taxonomy'), '@perm' => url('admin/config/people/permissions', array('fragment'=>'module-taxonomy'))));
+ $output .= '
- ' . t('Users with sufficient permissions can create vocabularies and terms through the Taxonomy page. The page listing the terms provides a drag-and-drop interface for controlling the order of the terms and sub-terms within a vocabulary, in a hierarchical fashion. A controlled vocabulary classifying music by genre with terms and sub-terms could look as follows:', array('@taxo' => url('admin/structure/taxonomy'), '@perm' => url('admin/people/permissions', array('fragment'=>'module-taxonomy'))));
$output .= '
- ' . t ('vocabulary: Music'); '
';
$output .= '- ' . t('term: Jazz') . '
';
$output .= '- ' . t('sub-term: Swing') . '
';
Index: modules/path/path.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/path/path.module,v
retrieving revision 1.181
diff -u -r1.181 path.module
--- modules/path/path.module 18 Jan 2010 03:33:43 -0000 1.181
+++ modules/path/path.module 5 Feb 2010 12:04:48 -0000
@@ -18,7 +18,7 @@
$output .= '' . t('Uses') . '
';
$output .= '';
$output .= '- ' . t('Creating aliases') . '
';
- $output .= '- ' . t('Users with sufficient permissions can create aliases under the URL path settings section when they create or edit content. Some examples of aliases are: ', array('@permissions' => url('admin/config/people/permissions', array('fragment' => 'module-path'))));
+ $output .= '
- ' . t('Users with sufficient permissions can create aliases under the URL path settings section when they create or edit content. Some examples of aliases are: ', array('@permissions' => url('admin/people/permissions', array('fragment' => 'module-path'))));
$output .= '
- ' . t('member/jane-smith aliased to internal path user/123') . '
';
$output .= '- ' . t('about-us/team aliased to internal path node/456') . '
';
$output .= '
';
Index: modules/dashboard/dashboard.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/dashboard/dashboard.module,v
retrieving revision 1.17
diff -u -r1.17 dashboard.module
--- modules/dashboard/dashboard.module 1 Feb 2010 07:03:28 -0000 1.17
+++ modules/dashboard/dashboard.module 5 Feb 2010 12:04:45 -0000
@@ -149,7 +149,7 @@
return array(
'access dashboard' => array(
'title' => t('View the administrative dashboard'),
- 'description' => t('Note: modifying the dashboard requires the !administer_blocks permission.', array('!administer_blocks' => l(t('Administer blocks'), 'admin/config/people/permissions', array('fragment' => 'module-block')))),
+ 'description' => t('Note: modifying the dashboard requires the !administer_blocks permission.', array('!administer_blocks' => l(t('Administer blocks'), 'admin/people/permissions', array('fragment' => 'module-block')))),
),
);
}
Index: modules/menu/menu.test
===================================================================
RCS file: /cvs/drupal/drupal/modules/menu/menu.test,v
retrieving revision 1.31
diff -u -r1.31 menu.test
--- modules/menu/menu.test 9 Jan 2010 21:54:00 -0000 1.31
+++ modules/menu/menu.test 5 Feb 2010 12:04:46 -0000
@@ -286,7 +286,7 @@
* @param string $menu_name Menu name.
*/
function addInvalidMenuLink($menu_name = 'navigation') {
- foreach (array('-&-', 'admin/config/people/permissions') as $link_path) {
+ foreach (array('-&-', 'admin/people/permissions') as $link_path) {
$edit = array(
'link_path' => $link_path,
'link_title' => 'title',
Index: modules/node/node.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/node/node.module,v
retrieving revision 1.1225
diff -u -r1.1225 node.module
--- modules/node/node.module 30 Jan 2010 02:52:08 -0000 1.1225
+++ modules/node/node.module 5 Feb 2010 12:04:48 -0000
@@ -94,7 +94,7 @@
$output .= ' - ' . t('Creating revisions') . '
';
$output .= '- ' . t('The Node module also enables you to create multiple versions of any content, and revert to older versions using the Revision information settings.') . '
';
$output .= '- ' . t('User permissions') . '
';
- $output .= '- ' . t('The Node module makes a number of permissions available for each content type, which can be set by role on the permissions page.', array('@permissions' => url('admin/config/people/permissions', array('fragment' => 'module-node')))) . '
';
+ $output .= '- ' . t('The Node module makes a number of permissions available for each content type, which can be set by role on the permissions page.', array('@permissions' => url('admin/people/permissions', array('fragment' => 'module-node')))) . '
';
$output .= '
';
return $output;
Index: modules/statistics/statistics.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/statistics/statistics.module,v
retrieving revision 1.330
diff -u -r1.330 statistics.module
--- modules/statistics/statistics.module 8 Jan 2010 07:36:53 -0000 1.330
+++ modules/statistics/statistics.module 5 Feb 2010 12:04:49 -0000
@@ -28,7 +28,7 @@
$output .= '- ' . t('Displaying popular content') . '
';
$output .= '- ' . t('The module includes a Popular content block that displays the most viewed pages today and for all time, and the last content viewed. To use the block, enable Count content views on the statistics settings page, and then you can enable and configure the block on the blocks administration page.', array('@statistics-settings' => url('admin/config/system/statistics'), '@blocks' => url('admin/structure/block'))) . '
';
$output .= '- ' . t('Page view counter') . '
';
- $output .= '- ' . t('The Statistics module includes a counter for each page that increases whenever the page is viewed. To use the counter, enable Count content views on the statistics settings page, and set the necessary permissions (View content hits) so that the counter is visible to the users.', array('@statistics-settings' => url('admin/config/system/statistics'), '@permissions' => url('admin/config/people/permissions', array('fragment' => 'module-statistics')))) . '
';
+ $output .= '- ' . t('The Statistics module includes a counter for each page that increases whenever the page is viewed. To use the counter, enable Count content views on the statistics settings page, and set the necessary permissions (View content hits) so that the counter is visible to the users.', array('@statistics-settings' => url('admin/config/system/statistics'), '@permissions' => url('admin/people/permissions', array('fragment' => 'module-statistics')))) . '
';
$output .= '
';
return $output;
case 'admin/config/system/statistics':
Index: modules/search/search.test
===================================================================
RCS file: /cvs/drupal/drupal/modules/search/search.test,v
retrieving revision 1.51
diff -u -r1.51 search.test
--- modules/search/search.test 30 Jan 2010 07:59:25 -0000 1.51
+++ modules/search/search.test 5 Feb 2010 12:04:49 -0000
@@ -517,7 +517,7 @@
// seems to be added via node links.
DRUPAL_ANONYMOUS_RID . '[post comments]' => 1,
);
- $this->drupalPost('admin/config/people/permissions', $edit, t('Save permissions'));
+ $this->drupalPost('admin/people/permissions', $edit, t('Save permissions'));
// Create a node.
$node = $this->drupalCreateNode(array('type' => 'article'));