Subversion Repositories Sites.tela-botanica.org

Rev

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

Rev 507 Rev 508
Line 264... Line 264...
264
				$formulaire->process('demande_inscription', false) ;
264
				$formulaire->process('demande_inscription', false) ;
265
				return message_inscription() ;
265
				return message_inscription() ;
266
			}
266
			}
267
		} else if ($_REQUEST['action'] == 'modifier_v') {
267
		} else if ($_REQUEST['action'] == 'modifier_v') {
Line -... Line 268...
-
 
268
			
-
 
269
			$ancien_mail = $GLOBALS['AUTH']->getUsername() ;
268
			
270
			
269
			if ($formulaire->validate()) {
271
			if ($formulaire->validate()) {
270
				$formulaire->process('mise_a_jour', false) ;
272
				$formulaire->process('mise_a_jour', false) ;
Line -... Line 273...
-
 
273
			}
-
 
274
			
-
 
275
			$nouveau_mail = $GLOBALS['AUTH']->getUsername() ;
-
 
276
			
-
 
277
			// on parcourt tout le dossier des applications clientes et on appelle la modification de chacune
-
 
278
			$d = dir(GEN_CHEMIN_CLIENT);
-
 
279
			while (false !== ($repertoire = $d->read())) {
-
 
280
				if ($repertoire != '.' || $repertoire != '..') {
-
 
281
					if (file_exists(GEN_CHEMIN_CLIENT.$repertoire.GEN_SEP.$repertoire.'.modification.inc.php'))
-
 
282
					include_once GEN_CHEMIN_CLIENT.$repertoire.GEN_SEP.$repertoire.'.modification.inc.php' ;   
-
 
283
				}
-
 
284
			}
271
			}
285
			$d->close();
272
			
286
			
Line 273... Line 287...
273
			return info($GLOBALS['AUTH']->getAuthData(INS_CHAMPS_ID)).bouton($url);
287
			return info($GLOBALS['AUTH']->getAuthData(INS_CHAMPS_ID)).bouton($url);
274
		}
288
		}