19,7 → 19,7 |
// | License along with this library; if not, write to the Free Software | |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
// +------------------------------------------------------------------------------------------------------+ |
// CVS : $Id: inscription.fonct.php,v 1.31 2007-09-06 08:28:32 alexandre_tb Exp $ |
// CVS : $Id: inscription.fonct.php,v 1.31.2.1 2007-11-22 10:16:23 alexandre_tb Exp $ |
/** |
* Fonctions du module inscription |
* |
31,7 → 31,7 |
//Autres auteurs : |
*@author Florian Schmitt <florian@ecole-et-nature.org> |
*@copyright Tela-Botanica 2000-2004 |
*@version $Revision: 1.31 $ $Date: 2007-09-06 08:28:32 $ |
*@version $Revision: 1.31.2.1 $ $Date: 2007-11-22 10:16:23 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
443,8 → 443,12 |
} |
$body = html_entity_decode($body); |
$mail = & Mail::factory('mail') ; |
$header['Subject'] = inscription::getTemplate(INS_TEMPLATE_MAIL_APRES_INSCRIPTION_SUJET, $GLOBALS['ins_config']['ic_id_inscription']); |
$modele_corps = inscription::getTemplate(INS_TEMPLATE_MAIL_APRES_INSCRIPTION_CORPS, $GLOBALS['ins_config']['ic_id_inscription']); |
$body = str_replace ('{INFO}', $body, $modele_corps); |
$mail -> send ($ligne[INS_CHAMPS_MAIL], $headers, $body) ; |
|
$headers ['Subject'] = html_entity_decode(INS_MAIL_COORD_SUJET) ; |
// Envoi du mail aux administrateur du site |
$body = $body_entete.$body; |
$body = html_entity_decode($body); |
543,6 → 547,9 |
/* +--Fin du code ----------------------------------------------------------------------------------------+ |
* |
* $Log: not supported by cvs2svn $ |
* Revision 1.31 2007-09-06 08:28:32 alexandre_tb |
* utilisation du template pour produire les mails de confirmation |
* |
* Revision 1.30 2007-06-25 09:59:03 alexandre_tb |
* ajout de carte_google, mise en place des templates avec api/formulaire, configuration de multiples inscriptions, ajout de modele pour les mails |
* |