? .svn
? logintoboggan.254732_1.patch
? po/.svn
Index: logintoboggan.install
===================================================================
RCS file: /cvs/drupal/contributions/modules/logintoboggan/logintoboggan.install,v
retrieving revision 1.10
diff -r1.10 logintoboggan.install
120a121,123
>   variable_del('toboggan_preauth_welcome_msg');
>   variable_del('toboggan_welcome_msg');
>   variable_del('toboggan_validate_success_msg');
Index: logintoboggan.module
===================================================================
RCS file: /cvs/drupal/contributions/modules/logintoboggan/logintoboggan.module,v
retrieving revision 1.83.2.39
diff -r1.83.2.39 logintoboggan.module
291c291
<       $message = t('A validation e-mail has been sent to your e-mail address. In order to gain full access to the site, you will need to follow the instructions in that message.');
---
>       $message = variable_get('toboggan_preauth_welcome_msg', _logintoboggan_messages('preauth_welcome_msg'));
297c297
<     $message = t('Your password and further instructions have been sent to your e-mail address.');
---
>     $message = variable_get('toboggan_welcome_msg', _logintoboggan_messages('welcome_msg'));
623a624,649
>   $form['messages'] = array(
>     '#type' => 'fieldset',
>     '#title' => t('Messages'),
>   );
> 
>   $form['messages']['toboggan_preauth_welcome_msg'] = array(
>     '#type' => 'textarea',
>     '#title' => t('Preauthentication welcome message'),
>     '#default_value' => variable_get('toboggan_preauth_welcome_msg', _logintoboggan_messages('toboggan_preauth_welcome_msg')),
>     '#description' => t('After registering, if "Set password & Immediate login" is selected, a message will be displayed to the user telling them to validate their email address.  You can customize that message here.'),  
>   );
>   
>   $form['messages']['toboggan_welcome_msg'] = array(
>     '#type' => 'textarea',
>     '#title' => ('Welcome message'),
>     '#default_value' => variable_get('toboggan_welcome_msg', _logintoboggan_messages('toboggan_welcome_msg')),
>     '#description' => t('If you are not using "Set password & Immediate login", you can customize that welcome message here.'),
>   );
>   
>   $form['messages']['toboggan_validate_success_msg'] = array(
>     '#type' => 'textarea',
>     '#title' => t('Validate success message'),
>     '#default_value' => variable_get('toboggan_validate_success_msg', _logintoboggan_messages('toboggan_validate_success_msg')),
>     '#description' => t('When a user validates their email address, a message is display to the user. You can customize that message here.'),
>   );
>   
799c825
<             drupal_set_message(t('You have successfully validated your e-mail address.'));
---
>             drupal_set_message(variable_get('toboggan_validate_success_msg', _logintoboggan_messages('validate_success_msg')));
995a1022,1032
> function _logintoboggan_messages($messsage_id) {
>   switch ($messsage_id) {
>     case 'toboggan_preauth_welcome_msg':
>       return t('A validation e-mail has been sent to your e-mail address. In order to gain full access to the site, you will need to follow the instructions in that message.');
>     case 'toboggan_welcome_msg':
>       return t('Your password and further instructions have been sent to your e-mail address.');
>     case 'toboggan_validate_success_msg':
>       return t('You have successfully validated your e-mail address.');
>   }
> }
> 
