Subversion Repositories Applications.papyrus

Rev

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

Rev 911 Rev 939
Line 8... Line 8...
8
// | Les fonctions de annuaire_moteur.php                                           |
8
// | Les fonctions de annuaire_moteur.php                                           |
9
// +--------------------------------------------------------------------------------+
9
// +--------------------------------------------------------------------------------+
10
// | Auteur : Alexandre Granier <alexandre@tela-botanica.org> 		  		        |
10
// | Auteur : Alexandre Granier <alexandre@tela-botanica.org> 		  		        |
11
// +--------------------------------------------------------------------------------+
11
// +--------------------------------------------------------------------------------+
12
//
12
//
13
// $Id: annuaire_backoffice.fonct.php,v 1.4 2006-07-18 14:19:21 alexandre_tb Exp $
13
// $Id: annuaire_backoffice.fonct.php,v 1.5 2006-09-15 12:34:09 alexandre_tb Exp $
Line 14... Line 14...
14
 
14
 
15
 
15
 
16
/** function mkengine ()
16
/** function mkengine ()
Line 352... Line 352...
352
						str_replace ('&amp;', '&', $GLOBALS['ins_url']->getURL()), '', '') ;
352
						str_replace ('&amp;', '&', $GLOBALS['ins_url']->getURL()), '', '') ;
353
	$formulaire->construitFormulaire(str_replace ('&amp;', '&', $GLOBALS['ins_url']->getURL())) ;
353
	$formulaire->construitFormulaire(str_replace ('&amp;', '&', $GLOBALS['ins_url']->getURL())) ;
Line 354... Line 354...
354
	
354
	
355
	if (isset($_REQUEST['ajouter_v'])) {
355
	if (isset($_REQUEST['ajouter_v'])) {
356
		if ($formulaire->validate()) {
356
		if ($formulaire->validate()) {
-
 
357
			$id_utilisateur = insertion($formulaire->getSubmitValues()) ;
-
 
358
			
-
 
359
			// Appel des actions desinscriptions des applications clientes
-
 
360
		        $d = dir(GEN_CHEMIN_CLIENT);
-
 
361
				while (false !== ($repertoire = $d->read())) {
-
 
362
					if (file_exists(GEN_CHEMIN_CLIENT.$repertoire.GEN_SEP.$repertoire.'.inscription.inc.php'))
-
 
363
					include_once GEN_CHEMIN_CLIENT.$repertoire.GEN_SEP.$repertoire.'.inscription.inc.php' ;   
-
 
364
				}
357
			insertion($formulaire->getSubmitValues()) ;
365
					$d->close();
358
			if (INS_CHAMPS_LETTRE != '' && isset ($valeurs['lettre'])) {
366
			if (INS_CHAMPS_LETTRE != '' && isset ($valeurs['lettre'])) {
359
				inscription_lettre(INS_MAIL_INSCRIPTION_LISTE) ;
367
				inscription_lettre(INS_MAIL_INSCRIPTION_LISTE) ;
360
			}
368
			}
361
		    return mkengine();
369
		    return mkengine();