preset alternate email with backup email address (RFE 111)
This commit is contained in:
parent
de8b444e39
commit
e5e219f35c
|
@ -1,5 +1,8 @@
|
||||||
September 2014 4.7
|
September 2014 4.7
|
||||||
|
- Personal: support pager attribute (hidden by default)
|
||||||
- renamed config/lam.conf_sample to lam.conf.sample and config.cfg_sample to config.cfg.sample
|
- renamed config/lam.conf_sample to lam.conf.sample and config.cfg_sample to config.cfg.sample
|
||||||
|
- LAM Pro:
|
||||||
|
-> Password dialog: preset alternate email address with backup email address (RFE 111)
|
||||||
|
|
||||||
|
|
||||||
12.06.2014 4.6
|
12.06.2014 4.6
|
||||||
|
|
|
@ -1068,7 +1068,15 @@ class accountContainer {
|
||||||
$container->addElement($pwdMailCheckbox);
|
$container->addElement($pwdMailCheckbox);
|
||||||
$container->addElement(new htmlHelpLink('407'), true);
|
$container->addElement(new htmlHelpLink('407'), true);
|
||||||
if (($_SESSION['config']->getLamProMailAllowAlternateAddress() != 'false')) {
|
if (($_SESSION['config']->getLamProMailAllowAlternateAddress() != 'false')) {
|
||||||
$container->addElement(new htmlTableExtendedInputField(_('Alternate recipient'), 'lamPasswordChangeSendMailAddress', '', '410'));
|
$alternateMail = '';
|
||||||
|
$pwdResetModule = $this->getAccountModule('passwordSelfReset');
|
||||||
|
if (!empty($pwdResetModule)) {
|
||||||
|
$backupMail = $pwdResetModule->getBackupEmail();
|
||||||
|
if (!empty($backupMail)) {
|
||||||
|
$alternateMail = $pwdResetModule->getBackupEmail();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
$container->addElement(new htmlTableExtendedInputField(_('Alternate recipient'), 'lamPasswordChangeSendMailAddress', $alternateMail, '410'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$container->addElement(new htmlSpacer(null, '10px'), true);
|
$container->addElement(new htmlSpacer(null, '10px'), true);
|
||||||
|
|
Loading…
Reference in New Issue