mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
New: If field "signature" is filled into user table, text is added at
end of predefined email texts. If option MAIL_DO_NOT_USE_SIGN is on, this feautre is disabled.
This commit is contained in:
parent
9800b6e7a6
commit
5ddd982f6e
|
|
@ -5,6 +5,9 @@ English Dolibarr ChangeLog
|
|||
|
||||
***** ChangeLog for 3.3 compared to 3.2 *****
|
||||
For users:
|
||||
- New: If field "signature" is filled into user table, text is added
|
||||
at end of predefined email texts. If option MAIL_DO_NOT_USE_SIGN is on, this
|
||||
feautre is disabled.
|
||||
- New: Add link "Back to list" on all cards.
|
||||
- New: After first install, warning are visible onto mandatory setup not
|
||||
configured. Show also total number of activated modules.
|
||||
|
|
|
|||
|
|
@ -601,12 +601,13 @@ class FormMail
|
|||
{
|
||||
if (! isset($this->ckeditortoolbar)) $this->ckeditortoolbar = 'dolibarr_notes';
|
||||
|
||||
if(! empty($conf->global->MAIL_USE_SIGN) && $this->fromid > 0)
|
||||
if (empty($conf->global->MAIL_DO_NOT_USE_SIGN) && $this->fromid > 0)
|
||||
{
|
||||
$fuser=new User($this->db);
|
||||
$fuser->fetch($this->fromid);
|
||||
|
||||
if(!empty($fuser->signature)) {
|
||||
if(! empty($fuser->signature))
|
||||
{
|
||||
$defaultmessage.=dol_htmlentitiesbr_decode($fuser->signature);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user