2
0
forked from Wavyzz/dolibarr

NEW Add substitution key __SENDEREMAIL_SIGNATURE__

This commit is contained in:
Laurent Destailleur
2022-09-10 15:55:36 +02:00
parent 740d2b418d
commit 439bef8e0e
10 changed files with 75 additions and 26 deletions

View File

@@ -295,6 +295,7 @@ if ($mode != 'focus' && $mode != 'mandatory') {
if ($mode != 'sortorder') {
$substitutionarray = getCommonSubstitutionArray($langs, 2, array('object', 'objectamount')); // Must match list into GETPOST
unset($substitutionarray['__USER_SIGNATURE__']);
unset($substitutionarray['__SENDEREMAIL_SIGNATURE__']);
$texthelp = $langs->trans("FollowingConstantsWillBeSubstituted").'<br>';
foreach ($substitutionarray as $key => $val) {
$texthelp .= $key.' -> '.$val.'<br>';