Subversion Repositories Applications.papyrus

Rev

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

Rev 1604 Rev 1625
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.class.php,v 1.26 2007-09-18 08:37:40 alexandre_tb Exp $
22
// CVS : $Id: inscription.class.php,v 1.27 2007-10-01 12:14:50 alexandre_tb Exp $
23
/**
23
/**
24
* Inscription
24
* Inscription
25
*
25
*
26
* Un module d'inscription, en general ce code est specifique a
26
* Un module d'inscription, en general ce code est specifique a
27
* un site web
27
* un site web
Line 29... Line 29...
29
*@package inscription
29
*@package inscription
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
*@copyright     Tela-Botanica 2000-2004
33
*@copyright     Tela-Botanica 2000-2004
34
*@version       $Revision: 1.26 $ $Date: 2007-09-18 08:37:40 $
34
*@version       $Revision: 1.27 $ $Date: 2007-10-01 12:14:50 $
35
// +------------------------------------------------------------------------------------------------------+
35
// +------------------------------------------------------------------------------------------------------+
36
*/
36
*/
Line 37... Line 37...
37
 
37
 
38
// +------------------------------------------------------------------------------------------------------+
38
// +------------------------------------------------------------------------------------------------------+
Line 283... Line 283...
283
					if (is_int ($tableau[$i]['nom_bdd'])) $def=$tableau[$i]['type'].$tableau[$i]['nom_bdd'];
283
					if (is_int ($tableau[$i]['nom_bdd'])) $def=$tableau[$i]['type'].$tableau[$i]['nom_bdd'];
284
							else $def = $tableau[$i]['nom_bdd'];
284
							else $def = $tableau[$i]['nom_bdd'];
285
				}
285
				}
286
				elseif ( $tableau[$i]['type']=='texte' || $tableau[$i]['type']=='textelong' || 
286
				elseif ( $tableau[$i]['type']=='texte' || $tableau[$i]['type']=='textelong' || 
287
							$tableau[$i]['type']=='listedatedeb' || $tableau[$i]['type']=='listedatefin' ||
287
							$tableau[$i]['type']=='listedatedeb' || $tableau[$i]['type']=='listedatefin' ||
288
							 $tableau[$i]['type']=='champs_mail' || $tableau[$i]['type']=='champs_cache') {
288
							 $tableau[$i]['type']=='champs_mail' || $tableau[$i]['type']=='champs_cache' 
-
 
289
							 || $tableau[$i]['type']=='lien_internet') {
289
					$def=$tableau[$i]['nom_bdd'];					
290
					$def=$tableau[$i]['nom_bdd'];					
290
				} elseif ($tableau[$i]['type']=='carte_google') {
291
				} elseif ($tableau[$i]['type']=='carte_google') {
291
					$def = 'carte_google';
292
					$def = 'carte_google';
292
					$valeurs_par_defaut[$def] = array ('latitude' => $valeurs_par_defaut[$tableau[$i]['limite1']], 
293
					$valeurs_par_defaut[$def] = array ('latitude' => $valeurs_par_defaut[$tableau[$i]['limite1']], 
293
												'longitude' => $valeurs_par_defaut[$tableau[$i]['limite2']]);
294
												'longitude' => $valeurs_par_defaut[$tableau[$i]['limite2']]);