@@ -233,6 +233,7 @@ public function getFormOptions($database) {
$form['advanced_options']=array(
'#type'=>'details',
'#title'=>st('Advanced options'),
'#collapsed'=>TRUE,
'#description'=>st("These options are only necessary for some sites. If you're not sure what you should enter here, leave the default settings or check with your hosting provider."),
'#description'=>t('Edit the welcome e-mail messages sent to new members upon registering, when administrative approval is required.').' '.$email_token_help,
'#group'=>'email',
);
...
...
@@ -222,7 +222,7 @@ public function buildForm(array $form, array &$form_state) {
'#description'=>t('Edit the e-mail notifying the site administrator that there are new members awaiting administrative approval.').' '.$email_token_help,
'#group'=>'email',
);
...
...
@@ -242,7 +242,7 @@ public function buildForm(array $form, array &$form_state) {
'#description'=>t('Edit the welcome e-mail messages sent to new members upon registering, when no administrator approval is required.').' '.$email_token_help,
'#group'=>'email',
);
...
...
@@ -262,6 +262,7 @@ public function buildForm(array $form, array &$form_state) {
$form['email_password_reset']=array(
'#type'=>'details',
'#title'=>t('Password recovery'),
'#collapsed'=>TRUE,
'#description'=>t('Edit the e-mail messages sent to users who request a new password.').' '.$email_token_help,
'#group'=>'email',
'#weight'=>10,
...
...
@@ -282,6 +283,7 @@ public function buildForm(array $form, array &$form_state) {
$form['email_activated']=array(
'#type'=>'details',
'#title'=>t('Account activation'),
'#collapsed'=>TRUE,
'#description'=>t('Enable and edit e-mail messages sent to users upon account activation (when an administrator activates an account of a user who has already registered, on a site where administrative approval is required).').' '.$email_token_help,
'#group'=>'email',
);
...
...
@@ -315,6 +317,7 @@ public function buildForm(array $form, array &$form_state) {
$form['email_blocked']=array(
'#type'=>'details',
'#title'=>t('Account blocked'),
'#collapsed'=>TRUE,
'#description'=>t('Enable and edit e-mail messages sent to users when their accounts are blocked.').' '.$email_token_help,
'#group'=>'email',
);
...
...
@@ -348,6 +351,7 @@ public function buildForm(array $form, array &$form_state) {
$form['email_cancel_confirm']=array(
'#type'=>'details',
'#title'=>t('Account cancellation confirmation'),
'#collapsed'=>TRUE,
'#description'=>t('Edit the e-mail messages sent to users when they attempt to cancel their accounts.').' '.$email_token_help,
'#group'=>'email',
);
...
...
@@ -367,6 +371,7 @@ public function buildForm(array $form, array &$form_state) {