Subversion Repositories Applications.papyrus

Rev

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

Rev 1628 Rev 1653
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: carto_google.php,v 1.6 2007-10-01 12:18:29 alexandre_tb Exp $
22
// CVS : $Id: carto_google.php,v 1.7 2007-10-12 10:04:52 alexandre_tb Exp $
23
/**
23
/**
24
* Cartographie google du bottin
24
* Cartographie google du bottin
25
*
25
*
26
*@package bottin
26
*@package bottin
27
//Auteur original :
27
//Auteur original :
28
*@author        Alexandre Granier <alexandre@tela-botanica.org>
28
*@author        Alexandre Granier <alexandre@tela-botanica.org>
29
//Autres auteurs :
29
//Autres auteurs :
30
*@copyright     Tela-Botanica 2000-2007
30
*@copyright     Tela-Botanica 2000-2007
31
*@version       $Revision: 1.6 $ $Date: 2007-10-01 12:18:29 $
31
*@version       $Revision: 1.7 $ $Date: 2007-10-12 10:04:52 $
32
// +------------------------------------------------------------------------------------------------------+
32
// +------------------------------------------------------------------------------------------------------+
33
*/
33
*/
Line 34... Line 34...
34
 
34
 
35
// +------------------------------------------------------------------------------------------------------+
35
// +------------------------------------------------------------------------------------------------------+
Line 65... Line 65...
65
 
65
 
66
function afficherContenuCorps() {
66
function afficherContenuCorps() {
67
	// Appel du template
67
	// Appel du template
68
	include_once INS_CHEMIN_APPLI.'bibliotheque/bottin.class.php';
68
	include_once INS_CHEMIN_APPLI.'bibliotheque/bottin.class.php';
-
 
69
	$template = inscription::getTemplate(INS_TEMPLATE_CARTO_GOOGLE_ACCUEIL, 1);
69
	$template = inscription::getTemplate(INS_TEMPLATE_CARTO_GOOGLE_ACCUEIL, 1);
70
	GEN_AttributsBody('onload', 'load()');
70
	$carte = '<div id="map" style="width: 600px; height: 450px"></div>';
71
	$carte = '<div id="map" style="width: '.INS_GOOGLE_IMAGE_LARGEUR.'px; height: '.INS_GOOGLE_IMAGE_HAUTEUR.'px"></div>';
Line 71... Line 72...
71
	$res = str_replace ('{CARTE}', $carte, $template);
72
	$res = str_replace ('{CARTE}', $carte, $template);
72
	
73
	
Line 73... Line 74...
73
	return $res;
74
	return $res;
74
}
75
}
75
 
76
 
-
 
77
/* +--Fin du code ----------------------------------------------------------------------------------------+
-
 
78
*
-
 
79
* $Log: not supported by cvs2svn $
76
/* +--Fin du code ----------------------------------------------------------------------------------------+
80
* Revision 1.6  2007-10-01 12:18:29  alexandre_tb
77
*
81
* separation du script en 2 fichiers donnees_googlemap.php et script_googlemap.tpl.js
78
* $Log: not supported by cvs2svn $
82
*
79
* Revision 1.5  2007-09-18 08:38:54  alexandre_tb
83
* Revision 1.5  2007-09-18 08:38:54  alexandre_tb
80
* ajout de la globale $GLOBALS['type_inscription'] pour indiquer quelle inscription on cartographie
84
* ajout de la globale $GLOBALS['type_inscription'] pour indiquer quelle inscription on cartographie