From fed7e664de5ea6965a024f9e9b9c4cb45d2efddf Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 15 May 2004 15:42:47 +0000 Subject: - Patch #6682 by jhriggs: added form_checkboxes(), much like form_radios() and updated some modules to take advantage of it. --- modules/user/user.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/user') diff --git a/modules/user/user.module b/modules/user/user.module index 1d8a41f64..e6b6cd42c 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -1665,7 +1665,7 @@ function user_admin_edit($edit = array()) { $group .= form_textfield(t("E-mail address"), "mail", $account->mail, 30, 55, t("Insert a valid e-mail address. All e-mails from the system will be sent to this address. The e-mail address is not made public and will only be used if you wish to receive a new password or wish to receive certain news or notifications by e-mail.")); $group .= form_item(t("Password"), " ", t("Enter a new password twice if you want to change the current password for this user or leave it blank if you are happy with the current password.")); $group .= form_radios(t("Status"), "status", $account->status, array(t("Blocked"), t("Active"))); - $group .= form_select(t('Roles'), 'rid', array_keys($account->roles), user_roles(1), t("Select at least one role. The user receives the combined permissions of all of the selected roles."), 0, 1); + $group .= form_checkboxes(t('Roles'), 'rid', array_keys($account->roles), user_roles(1), t("Select at least one role. The user receives the combined permissions of all of the selected roles.")); $output = form_group(t('Account information'), $group); -- cgit v1.2.3