--- apply_for_role.module 2008-10-16 16:44:36.000000000 -0700 +++ ../../apply_for_role/apply_for_role.module 2008-11-06 22:00:05.000000000 -0800 @@ -186,12 +186,25 @@ function apply_for_role_user($op, &$edit $filter_roles[$rid] = $role; } } + + if(variable_get('apply_for_role_fieldset', 0)) { $collapsed = 'TRUE'; } else { $collapsed = 'FALSE'; } if (count($filter_roles)) { $form['apply_for_role'] = array( '#type' => 'fieldset', '#title' => t('Apply for role'), '#collapsible' => FALSE, + //'#collapsed' => FALSE //would like to add the above but meessed with theme ie the intro came under and out of the field set ); + + //added the help field + if(variable_get('apply_for_role_help', 0)) { + $form['apply_for_role']['info'] = array( + '#title' => t('Apply for role intro'), + '#value' => t(''.variable_get('apply_for_role_help', 0).''), + '#weight' => -10 + ); + } + if (variable_get('apply_for_role_multiple', 0) == 0) { $filter_roles[0] = t('--'); ksort($filter_roles);