Subversion Repositories Applications.papyrus

Compare Revisions

Ignore whitespace Rev 1721 → Rev 1722

/branches/livraison_aha/client/bottin/bibliotheque/inscription.fonct.php
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
*
/branches/livraison_aha/client/bottin/bibliotheque/bottin.class.php
26,11 → 26,11
*@version 05 avril 2006
// +-----------------------------------------------------------------------------------------------+
//
// $Id: bottin.class.php,v 1.6 2007-08-27 13:12:15 alexandre_tb Exp $
// $Id: bottin.class.php,v 1.6.2.1 2007-11-22 10:13:54 alexandre_tb Exp $
// FICHIER : $RCSfile: bottin.class.php,v $
// AUTEUR : $Author: alexandre_tb $
// VERSION : $Revision: 1.6 $
// DATE : $Date: 2007-08-27 13:12:15 $
// VERSION : $Revision: 1.6.2.1 $
// DATE : $Date: 2007-11-22 10:13:54 $
*/
 
 
71,7 → 71,11
// Modele de la page de la cartogrphie google
define ('INS_TEMPLATE_CARTO_GOOGLE_ACCUEIL', 11);
 
// Modele du mail apres inscription non modere
define ('INS_TEMPLATE_MAIL_APRES_INSCRIPTION_SUJET', 12);
define ('INS_TEMPLATE_MAIL_APRES_INSCRIPTION_CORPS', 13);
 
 
class inscription extends PEAR {
/**
368,6 → 372,9
//-- Fin du code source ------------------------------------------------------------
/*
* $Log: not supported by cvs2svn $
* Revision 1.6 2007-08-27 13:12:15 alexandre_tb
* ajout de la constante INS_TEMPLATE_CARTO_GOOGLE_ACCUEIL
*
* Revision 1.5 2007-06-25 15:02:50 alexandre_tb
* correction bug
*