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.php,v 1.33.2.1 2007-11-16 11:20:21 alexandre_tb Exp $ |
// CVS : $Id: inscription.php,v 1.33.2.2 2008-02-08 08:28:13 alexandre_tb Exp $ |
/** |
* Inscription |
* |
32,7 → 32,7 |
//Autres auteurs : |
*@author Florian SCHMITT <florian@ecole-et-nature.org> |
*@copyright Tela-Botanica 2000-2007 |
*@version $Revision: 1.33.2.1 $ $Date: 2007-11-16 11:20:21 $ |
*@version $Revision: 1.33.2.2 $ $Date: 2008-02-08 08:28:13 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
283,16 → 283,18 |
} else { |
|
$id_utilisateur = inscription_insertion($donnees) ; |
if (DB::isError($id_utilisateur)) return $id_utilisateur->getMessage(); |
$GLOBALS['AUTH']->username = $donnees['a_mail'] ; |
$GLOBALS['AUTH']->password = $donnees['mot_de_passe'] ; |
|
// On loggue l'utilisateur |
$GLOBALS['AUTH']->login() ; |
$GLOBALS['AUTH']->start() ; |
|
// inscription a la lettre d'information |
// inscription a la lettre d'information ancien version garde pour compatibilite |
if (isset ($donnees['lettre'])) { |
inscription_lettre($GLOBALS['ins_config']['ic_mail_inscription_news']) ; |
} |
|
// Appel des actions des inscriptions des applications clientes |
$d = dir(GEN_CHEMIN_CLIENT); |
while (false !== ($repertoire = $d->read())) { |
336,6 → 338,10 |
/* +--Fin du code ----------------------------------------------------------------------------------------+ |
* |
* $Log: not supported by cvs2svn $ |
* Revision 1.33.2.1 2007-11-16 11:20:21 alexandre_tb |
* meilleure gestion des newsletter, |
* correction bug : envoi d email aux moderateurs |
* |
* Revision 1.33 2007-10-10 12:24:54 alexandre_tb |
* gestion du retour arrière par un header location |
* si le template ACCUEIL est vide, on envoie directement le formulaire |