diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-07-08 15:11:05 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-07-08 15:11:05 +0000 |
commit | 7059b649658cb0aecfc3a8299306c94652e30372 (patch) | |
tree | b928cf9c1788e110b98ded331504a025a53d94fa /modules | |
parent | 4dbc900d3b8eaa35fc3c9748d5483eee884425d2 (diff) | |
download | brdo-7059b649658cb0aecfc3a8299306c94652e30372.tar.gz brdo-7059b649658cb0aecfc3a8299306c94652e30372.tar.bz2 |
- Made the user module's administration form mark required form fields.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/user.module | 2 | ||||
-rw-r--r-- | modules/user/user.module | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/user.module b/modules/user.module index 8570b465f..4b5416910 100644 --- a/modules/user.module +++ b/modules/user.module @@ -1007,7 +1007,7 @@ function user_edit_form($uid, $edit) { if (user_access('administer users')) { $group .= form_radios(t('Status'), 'status', $edit['status'], array(t('Blocked'), t('Active'))); - $group .= form_checkboxes(t('Roles'), 'roles', array_keys($edit['roles']), user_roles(1), t('Select at least one role. The user receives the combined permissions of all of the selected roles.')); + $group .= form_checkboxes(t('Roles'), 'roles', array_keys($edit['roles']), user_roles(1), t('Select at least one role. The user receives the combined permissions of all of the selected roles.'), NULL, TRUE); } $data[] = array('title' => t('Account information'), 'data' => $group, 'weight' => 0); diff --git a/modules/user/user.module b/modules/user/user.module index 8570b465f..4b5416910 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -1007,7 +1007,7 @@ function user_edit_form($uid, $edit) { if (user_access('administer users')) { $group .= form_radios(t('Status'), 'status', $edit['status'], array(t('Blocked'), t('Active'))); - $group .= form_checkboxes(t('Roles'), 'roles', array_keys($edit['roles']), user_roles(1), t('Select at least one role. The user receives the combined permissions of all of the selected roles.')); + $group .= form_checkboxes(t('Roles'), 'roles', array_keys($edit['roles']), user_roles(1), t('Select at least one role. The user receives the combined permissions of all of the selected roles.'), NULL, TRUE); } $data[] = array('title' => t('Account information'), 'data' => $group, 'weight' => 0); |