@@ -15,11 +15,11 @@ discard block |
||
15 | 15 | * L'utilisation de ce formulaire d'adminitration suppose |
16 | 16 | * que la classe correspondante de la table a été générées avec classGenerator |
17 | 17 | **/ |
18 | -include_once __DIR__ . '/../../../class/uploader.php'; |
|
19 | -require __DIR__ . '/../../../class/mail/phpmailer/class.phpmailer.php'; // First we require the PHPMailer libary in our script |
|
20 | -include_once __DIR__ . '/../class/utilities.php'; |
|
21 | -include_once __DIR__ . '/constantes.php'; |
|
22 | -include_once __DIR__ . '/../../../class/template.php'; |
|
18 | +include_once __DIR__.'/../../../class/uploader.php'; |
|
19 | +require __DIR__.'/../../../class/mail/phpmailer/class.phpmailer.php'; // First we require the PHPMailer libary in our script |
|
20 | +include_once __DIR__.'/../class/utilities.php'; |
|
21 | +include_once __DIR__.'/constantes.php'; |
|
22 | +include_once __DIR__.'/../../../class/template.php'; |
|
23 | 23 | |
24 | 24 | /******************************************************************** |
25 | 25 | * |
@@ -133,7 +133,7 @@ discard block |
||
133 | 133 | $action = ''; //a voir JJD |
134 | 134 | $message = sprintf($tplMessage, $acteur['name']); |
135 | 135 | //$subject .= ' (' . rand(1, 100) . ')'; |
136 | - $subject .= ' - ' . $acteur['name']; |
|
136 | + $subject .= ' - '.$acteur['name']; |
|
137 | 137 | //-------------------------------------------------------------- |
138 | 138 | //Chargement du template dans le dossier de langue |
139 | 139 | //$f = _EXTCAL_PATH_LG . $xoopsConfig['language'] . '\mail_inscription.html'; |
@@ -174,7 +174,7 @@ discard block |
||
174 | 174 | if ($mode == _EXTCAL_HEADER_HTML) { |
175 | 175 | $template = 'extcal_mail_member_html.tpl'; |
176 | 176 | } |
177 | - $mail_body = $tpl->fetch('db:' . $template); |
|
177 | + $mail_body = $tpl->fetch('db:'.$template); |
|
178 | 178 | |
179 | 179 | extcal_SendMail($destinataires, $mail_fromName, $mail_fromemail, $mail_subject, $mail_body, $bEcho = false, $mode = 0, $sep = '|'); |
180 | 180 | |
@@ -306,7 +306,7 @@ discard block |
||
306 | 306 | $header = array(); |
307 | 307 | $header[] = "From: {$emailSender}"; |
308 | 308 | $header[] = "Reply-To: {$emailSender}"; |
309 | - $header[] = 'X-Mailer: PHP/' . phpversion(); |
|
309 | + $header[] = 'X-Mailer: PHP/'.phpversion(); |
|
310 | 310 | |
311 | 311 | if ($mode == _EXTCAL_HEADER_HTML) { |
312 | 312 | $header[] = 'MIME-Version: 1.0'; |