From 89e15605ad9292651b942739ec4704a55cf91a8d Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 18 Feb 2009 20:04:29 +0000 Subject: [PATCH] Can have 5 other fields in emailing --- htdocs/comm/mailing/fiche.php | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/htdocs/comm/mailing/fiche.php b/htdocs/comm/mailing/fiche.php index 71a5ee1d856..fed763d8611 100644 --- a/htdocs/comm/mailing/fiche.php +++ b/htdocs/comm/mailing/fiche.php @@ -44,6 +44,8 @@ $substitutionarray=array( '__OTHER1__' => 'Other1', '__OTHER2__' => 'Other2', '__OTHER3__' => 'Other3', +'__OTHER4__' => 'Other4', +'__OTHER5__' => 'Other5' ); $substitutionarrayfortest=array( '__ID__' => 'TESTIdRecord', @@ -52,7 +54,9 @@ $substitutionarrayfortest=array( '__FIRSTNAME__' => 'TESTFirstname', '__OTHER1__' => 'TESTOther1', '__OTHER2__' => 'TESTOther2', -'__OTHER3__' => 'TESTOther3' +'__OTHER3__' => 'TESTOther3', +'__OTHER4__' => 'TESTOther4', +'__OTHER5__' => 'TESTOther5' ); @@ -160,6 +164,8 @@ if ($_POST["action"] == 'sendallconfirmed') $other1=$other[0]; $other2=$other[1]; $other3=$other[3]; + $other4=$other[4]; + $other5=$other[5]; $substitutionarray=array( '__ID__' => $obj->rowid, '__EMAIL__' => $obj->email, @@ -167,7 +173,9 @@ if ($_POST["action"] == 'sendallconfirmed') '__FIRSTNAME__' => $obj->prenom, '__OTHER1__' => $other1, '__OTHER2__' => $other2, - '__OTHER3__' => $other3 + '__OTHER3__' => $other3, + '__OTHER4__' => $other4, + '__OTHER5__' => $other5 ); $substitutionisok=true;