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.21 2006-09-20 13:10:01 alexandre_tb Exp $
|
22 |
// CVS : $Id: inscription.fonct.php,v 1.22 2006-10-05 13:53:53 florian Exp $
|
23 |
// CVS : $Id: inscription.fonct.php,v 1.21 2006-09-20 13:10:01 alexandre_tb Exp $
|
23 |
// CVS : $Id: inscription.fonct.php,v 1.22 2006-10-05 13:53:53 florian 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.21 $ $Date: 2006-09-20 13:10:01 $
|
35 |
*@version $Revision: 1.22 $ $Date: 2006-10-05 13:53:53 $
|
36 |
*@version $Revision: 1.21 $ $Date: 2006-09-20 13:10:01 $
|
36 |
*@version $Revision: 1.22 $ $Date: 2006-10-05 13:53:53 $
|
37 |
// +------------------------------------------------------------------------------------------------------+
|
37 |
// +------------------------------------------------------------------------------------------------------+
|
38 |
*/
|
38 |
*/
|
Line 39... |
Line 39... |
39 |
|
39 |
|
40 |
// +------------------------------------------------------------------------------------------------------+
|
40 |
// +------------------------------------------------------------------------------------------------------+
|
Line 302... |
Line 302... |
302 |
$valeurs_par_defaut['ville'] = $ligne[INS_CHAMPS_VILLE] ;
|
302 |
$valeurs_par_defaut['ville'] = $ligne[INS_CHAMPS_VILLE] ;
|
303 |
$valeurs_par_defaut['adresse_1'] = $ligne[INS_CHAMPS_ADRESSE_1] ;
|
303 |
$valeurs_par_defaut['adresse_1'] = $ligne[INS_CHAMPS_ADRESSE_1] ;
|
304 |
$valeurs_par_defaut['adresse_2'] = $ligne[INS_CHAMPS_ADRESSE_2] ;
|
304 |
$valeurs_par_defaut['adresse_2'] = $ligne[INS_CHAMPS_ADRESSE_2] ;
|
305 |
$valeurs_par_defaut['telephone'] = $ligne[INS_CHAMPS_TELEPHONE] ;
|
305 |
$valeurs_par_defaut['telephone'] = $ligne[INS_CHAMPS_TELEPHONE] ;
|
306 |
$valeurs_par_defaut['fax'] = $ligne[INS_CHAMPS_FAX] ;
|
306 |
$valeurs_par_defaut['fax'] = $ligne[INS_CHAMPS_FAX] ;
|
307 |
if (INS_CHAMPS_STRUCTURE != '') {
|
307 |
if (INS_CHAMPS_STRUCTURE != '' && isset($ligne[INS_CHAMPS_STRUCTURE])) {
|
308 |
$valeurs_par_defaut['structure'] = $ligne[INS_CHAMPS_STRUCTURE] ;
|
308 |
$valeurs_par_defaut['structure'] = $ligne[INS_CHAMPS_STRUCTURE] ;
|
309 |
//$valeurs_par_defaut['type_structure'] = $ligne['a_type_structure'];
|
309 |
//$valeurs_par_defaut['type_structure'] = $ligne['a_type_structure'];
|
310 |
}
|
310 |
}
|
311 |
$valeurs_par_defaut['site'] = $ligne[INS_CHAMPS_SITE_INTERNET] ;
|
311 |
$valeurs_par_defaut['site'] = $ligne[INS_CHAMPS_SITE_INTERNET] ;
|
312 |
$valeurs_par_defaut['lettre'] = $ligne[INS_CHAMPS_LETTRE] ;
|
312 |
$valeurs_par_defaut['lettre'] = $ligne[INS_CHAMPS_LETTRE] ;
|
Line 316... |
Line 316... |
316 |
return $valeurs_par_defaut ;
|
316 |
return $valeurs_par_defaut ;
|
317 |
}
|
317 |
}
|
Line 318... |
Line 318... |
318 |
|
318 |
|
- |
|
319 |
|
- |
|
320 |
/** info() - Renvoie une fiche d'information sur la personne ou la structure
|
- |
|
321 |
*
|
319 |
|
322 |
* @param integer identifiant de la fiche a afficher, mettre -1 pour voir sa propre fiche
|
320 |
/** info() - Renvoie une fiche d'information sur la personne ou la structure
|
323 |
* @param text nom de l'onglet de la fiche
|
321 |
*
|
324 |
*
|
322 |
* @return text Code HTML de la fiche
|
325 |
* @return text Code HTML de la fiche
|
323 |
*/
|
326 |
*/
|
Line 716... |
Line 719... |
716 |
}
|
719 |
}
|
Line 717... |
Line 720... |
717 |
|
720 |
|
718 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
721 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
719 |
*
|
722 |
*
|
- |
|
723 |
* $Log: not supported by cvs2svn $
|
- |
|
724 |
* Revision 1.21 2006/09/20 13:10:01 alexandre_tb
|
- |
|
725 |
* Ajout d'un test sur la lettre d'actualité
|
720 |
* $Log: not supported by cvs2svn $
|
726 |
*
|
721 |
* Revision 1.20 2006/07/06 10:33:58 alexandre_tb
|
727 |
* Revision 1.20 2006/07/06 10:33:58 alexandre_tb
|
722 |
* Suppression d'un warning
|
728 |
* Suppression d'un warning
|
723 |
*
|
729 |
*
|
724 |
* Revision 1.19 2006/07/04 09:39:27 alexandre_tb
|
730 |
* Revision 1.19 2006/07/04 09:39:27 alexandre_tb
|