--- invite_admin.inc-orig 2009-06-03 06:01:15.000000000 -0400 +++ invite_admin.inc 2009-06-03 06:04:30.000000000 -0400 @@ -67,12 +67,12 @@ '#required' => TRUE, ); $form['role'][$role_no_space]['invite_maxnum_'. $role_no_space] = array( - '#type' => 'select', + '#type' => 'textfield', '#title' => t('Invitation limit'), '#default_value' => variable_get('invite_maxnum_'. $role_no_space, INVITE_UNLIMITED), - '#options' => array(5 => 5, 10 => 10, 20 => 20, 50 => 50, 100 => 100, 500 => 500, 1000 => 1000, INVITE_UNLIMITED => t('unlimited')), - '#description' => t('Allows to limit the total number of invitations members of %role can send.', array('%role' => $role)), - '#multiple' => FALSE, + '#size' => 10, + '#maxlength' => 10, + '#description' => t('Allows to limit the total number of invitations members of %role can send. Enter %unlimited for unlimited number of invitations.', array('%role' => $role, '%unlimited' => INVITE_UNLIMITED)), '#required' => TRUE, ); }