Subversion Repositories Applications.papyrus

Rev

Rev 805 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 805 Rev 806
Line 17... Line 17...
17
// |                                                                                                      |
17
// |                                                                                                      |
18
// | You should have received a copy of the GNU Lesser General Public                                     |
18
// | You should have received a copy of the GNU Lesser General Public                                     |
19
// | License along with this library; if not, write to the Free Software                                  |
19
// | License along with this library; if not, write to the Free Software                                  |
20
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
20
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
21
// +------------------------------------------------------------------------------------------------------+
21
// +------------------------------------------------------------------------------------------------------+
22
// CVS : $Id: inscription.php,v 1.13 2006-04-04 12:23:05 florian Exp $
22
// CVS : $Id: inscription.php,v 1.14 2006-04-10 09:48:16 alexandre_tb Exp $
23
/**
23
/**
24
* Inscription
24
* Inscription
25
*
25
*
26
* Un module d'inscription, en général ce code est spécifique à
26
* Un module d'inscription, en général ce code est spécifique à
27
* un site web
27
* un site web
Line 30... Line 30...
30
//Auteur original :
30
//Auteur original :
31
*@author        Alexandre GRANIER <alexandre@tela-botanica.org>
31
*@author        Alexandre GRANIER <alexandre@tela-botanica.org>
32
//Autres auteurs :
32
//Autres auteurs :
33
*@author        Florian SCHMITT <florian@ecole-et-nature.org>
33
*@author        Florian SCHMITT <florian@ecole-et-nature.org>
34
*@copyright     Tela-Botanica 2000-2004
34
*@copyright     Tela-Botanica 2000-2004
35
*@version       $Revision: 1.13 $ $Date: 2006-04-04 12:23:05 $
35
*@version       $Revision: 1.14 $ $Date: 2006-04-10 09:48:16 $
36
// +------------------------------------------------------------------------------------------------------+
36
// +------------------------------------------------------------------------------------------------------+
37
*/
37
*/
Line 38... Line 38...
38
 
38
 
39
// +------------------------------------------------------------------------------------------------------+
39
// +------------------------------------------------------------------------------------------------------+
Line 132... Line 132...
132
			    if (INS_MAIL_VALIDATION_INSCRIPTION) {
132
			    if (INS_MAIL_VALIDATION_INSCRIPTION) {
133
				    $formulaire->process('demande_inscription', false) ;
133
				    $formulaire->process('demande_inscription', false) ;
134
				    return $res.INS_MESSAGE_INSCRIPTION;
134
				    return $res.INS_MESSAGE_INSCRIPTION;
135
			    } else {
135
			    } else {
136
				    $formulaire->process('inscription_validee', false) ;
136
				    $formulaire->process('inscription_validee', false) ;
-
 
137
				    $id_utilisateur = $GLOBALS['ins_db']->getOne('select '.INS_CHAMPS_ID.' from '.INS_ANNUAIRE.' where '.
-
 
138
				    												INS_CHAMPS_MAIL.'="'.$GLOBALS['AUTH']->getAuthData(INS_CHAMSP_MAIL).'"') ;
137
				    // Appel des actions desinscriptions des applications clientes
139
				    // Appel des actions desinscriptions des applications clientes
138
			        $d = dir(GEN_CHEMIN_CLIENT);
140
			        $d = dir(GEN_CHEMIN_CLIENT);
139
					while (false !== ($repertoire = $d->read())) {
141
					while (false !== ($repertoire = $d->read())) {
140
						if (file_exists(GEN_CHEMIN_CLIENT.$repertoire.GEN_SEP.$repertoire.'.inscription.inc.php'))
142
						if (file_exists(GEN_CHEMIN_CLIENT.$repertoire.GEN_SEP.$repertoire.'.inscription.inc.php'))
141
						include_once GEN_CHEMIN_CLIENT.$repertoire.GEN_SEP.$repertoire.'.inscription.inc.php' ;   
143
						include_once GEN_CHEMIN_CLIENT.$repertoire.GEN_SEP.$repertoire.'.inscription.inc.php' ;   
Line 214... Line 216...
214
}
216
}
Line 215... Line 217...
215
 
217
 
216
/* +--Fin du code ----------------------------------------------------------------------------------------+
218
/* +--Fin du code ----------------------------------------------------------------------------------------+
217
*
219
*
-
 
220
* $Log: not supported by cvs2svn $
-
 
221
* Revision 1.13  2006/04/04 12:23:05  florian
-
 
222
* modifs affichage fiches, généricité de la carto, modification totale de l'appli annuaire
218
* $Log: not supported by cvs2svn $
223
*
219
* Revision 1.12  2006/03/15 11:05:45  alexandre_tb
224
* Revision 1.12  2006/03/15 11:05:45  alexandre_tb
220
* ajout de l'action caché inscription_v lors du réaffichage du formulaire après erreur de saisie.
225
* ajout de l'action caché inscription_v lors du réaffichage du formulaire après erreur de saisie.
221
*
226
*
222
* Revision 1.11  2006/03/02 14:10:35  alexandre_tb
227
* Revision 1.11  2006/03/02 14:10:35  alexandre_tb