Subversion Repositories Applications.papyrus

Rev

Rev 833 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 833 Rev 855
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.fonct.php,v 1.17 2006-04-28 12:44:05 florian Exp $
22
// CVS : $Id: inscription.fonct.php,v 1.18 2006-06-01 14:42:20 alexandre_tb Exp $
23
// CVS : $Id: inscription.fonct.php,v 1.17 2006-04-28 12:44:05 florian Exp $
23
// CVS : $Id: inscription.fonct.php,v 1.18 2006-06-01 14:42:20 alexandre_tb Exp $
24
/**
24
/**
25
* Fonctions du module inscription
25
* Fonctions du module inscription
26
*
26
*
27
* Fonctions du module inscription
27
* Fonctions du module inscription
28
*
28
*
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.17 $ $Date: 2006-04-28 12:44:05 $
35
*@version       $Revision: 1.18 $ $Date: 2006-06-01 14:42:20 $
36
*@version       $Revision: 1.17 $ $Date: 2006-04-28 12:44:05 $
36
*@version       $Revision: 1.18 $ $Date: 2006-06-01 14:42:20 $
37
// +------------------------------------------------------------------------------------------------------+
37
// +------------------------------------------------------------------------------------------------------+
38
*/
38
*/
Line 39... Line 39...
39
 
39
 
40
// +------------------------------------------------------------------------------------------------------+
40
// +------------------------------------------------------------------------------------------------------+
Line 226... Line 226...
226
    // Initialisation de variable pour éviter des notices
226
    // Initialisation de variable pour éviter des notices
227
    foreach (array ('adresse_1', 'adresse_2', 'ville', 'telephone', 'fax', 'site') as $val) {
227
    foreach (array ('adresse_1', 'adresse_2', 'ville', 'telephone', 'fax', 'site') as $val) {
228
    	if (!isset ($valeur[$val])) $valeur[$val] = '' ;   	
228
    	if (!isset ($valeur[$val])) $valeur[$val] = '' ;   	
229
    }
229
    }
Line 230... Line -...
230
 
-
 
231
    //$req .= INS_CHAMPS_NOM_WIKINI.'="'.$valeur['nom_wiki'].'", '  ;
230
 
232
    $req .= INS_CHAMPS_MAIL.'="'.addslashes($valeur['email']).'", ' ;
231
    $req .= INS_CHAMPS_MAIL.'="'.addslashes($valeur['email']).'", ' ;
233
    $req .= INS_CHAMPS_PASSE.'="'.md5($valeur['mot_de_passe']).'", '.
232
    $req .= INS_CHAMPS_PASSE.'="'.md5($valeur['mot_de_passe']).'", '.
234
            INS_CHAMPS_PAYS.'="'.addslashes($valeur['pays']).'", '.
233
            INS_CHAMPS_PAYS.'="'.addslashes($valeur['pays']).'", '.
235
            INS_CHAMPS_ADRESSE_1.'="'.addslashes($valeur['adresse_1']).'", '.
234
            INS_CHAMPS_ADRESSE_1.'="'.addslashes($valeur['adresse_1']).'", '.
Line 715... Line 714...
715
}
714
}
Line 716... Line 715...
716
 
715
 
717
/* +--Fin du code ----------------------------------------------------------------------------------------+
716
/* +--Fin du code ----------------------------------------------------------------------------------------+
718
*
717
*
-
 
718
* $Log: not supported by cvs2svn $
-
 
719
* Revision 1.17  2006/04/28 12:44:05  florian
-
 
720
* integration bazar
719
* $Log: not supported by cvs2svn $
721
*
720
* Revision 1.16  2006/04/11 08:41:41  alexandre_tb
722
* Revision 1.16  2006/04/11 08:41:41  alexandre_tb
721
* Ajout du champs nom wiki dans le formulaire si la constante INS_GENERE_NOM_WIKI n'est pas activé
723
* Ajout du champs nom wiki dans le formulaire si la constante INS_GENERE_NOM_WIKI n'est pas activé
722
*
724
*
723
* Revision 1.15  2006/04/10 14:01:36  florian
725
* Revision 1.15  2006/04/10 14:01:36  florian