Index: invite_admin.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/invite/invite_admin.inc,v retrieving revision 1.3.2.2 diff -u -p -r1.3.2.2 invite_admin.inc --- invite_admin.inc 19 Apr 2009 21:26:01 -0000 1.3.2.2 +++ invite_admin.inc 10 Jun 2009 13:08:51 -0000 @@ -67,12 +67,12 @@ function invite_settings() { '#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, ); }