Subversion Repositories Applications.papyrus

Compare Revisions

Ignore whitespace Rev 1652 → Rev 1653

/trunk/client/bottin/carto_google.php
19,7 → 19,7
// | License along with this library; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
// +------------------------------------------------------------------------------------------------------+
// CVS : $Id: carto_google.php,v 1.6 2007-10-01 12:18:29 alexandre_tb Exp $
// CVS : $Id: carto_google.php,v 1.7 2007-10-12 10:04:52 alexandre_tb Exp $
/**
* Cartographie google du bottin
*
28,7 → 28,7
*@author Alexandre Granier <alexandre@tela-botanica.org>
//Autres auteurs :
*@copyright Tela-Botanica 2000-2007
*@version $Revision: 1.6 $ $Date: 2007-10-01 12:18:29 $
*@version $Revision: 1.7 $ $Date: 2007-10-12 10:04:52 $
// +------------------------------------------------------------------------------------------------------+
*/
 
67,7 → 67,8
// Appel du template
include_once INS_CHEMIN_APPLI.'bibliotheque/bottin.class.php';
$template = inscription::getTemplate(INS_TEMPLATE_CARTO_GOOGLE_ACCUEIL, 1);
$carte = '<div id="map" style="width: 600px; height: 450px"></div>';
GEN_AttributsBody('onload', 'load()');
$carte = '<div id="map" style="width: '.INS_GOOGLE_IMAGE_LARGEUR.'px; height: '.INS_GOOGLE_IMAGE_HAUTEUR.'px"></div>';
$res = str_replace ('{CARTE}', $carte, $template);
return $res;
76,6 → 77,9
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.6 2007-10-01 12:18:29 alexandre_tb
* separation du script en 2 fichiers donnees_googlemap.php et script_googlemap.tpl.js
*
* Revision 1.5 2007-09-18 08:38:54 alexandre_tb
* ajout de la globale $GLOBALS['type_inscription'] pour indiquer quelle inscription on cartographie
*
/trunk/client/bottin/configuration/bottin.config.inc.php
19,7 → 19,7
// | License along with this library; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
// +------------------------------------------------------------------------------------------------------+
// CVS : $Id: bottin.config.inc.php,v 1.20 2007-10-01 12:17:02 alexandre_tb Exp $
// CVS : $Id: bottin.config.inc.php,v 1.21 2007-10-12 10:03:59 alexandre_tb Exp $
/**
* Fichier de configuration de l'application d'inscription/annuaire
*
32,7 → 32,7
//Autres auteurs :
*@author Aucun
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.20 $ $Date: 2007-10-01 12:17:02 $
*@version $Revision: 1.21 $ $Date: 2007-10-12 10:03:59 $
// +------------------------------------------------------------------------------------------------------+
*/
//================================= CONSTANTES DB ==================================
235,15 → 235,20
define ('INS_GOOGLE_KEY', '');
 
if (defined ('INS_GOOGLE_KEY')) {
define ('INS_GOOGLE_CENTRE_LAT', '');
define ('INS_GOOGLE_CENTRE_LON', '');
define ('INS_GOOGLE_ALTITUDE', ''); // de 1 a 15
define ('INS_GOOGLE_TYPE_DE_VUE', 'G_HYBRID_MAP');
define ('INS_GOOGLE_CENTRE_LAT', '43.59033826146747');
define ('INS_GOOGLE_CENTRE_LON', '3.44970703125');
define ('INS_GOOGLE_ALTITUDE', '8'); // de 1 a 15
define ('INS_GOOGLE_TYPE_DE_VUE', 'G_HYBRID_MAP');
define ('INS_GOOGLE_IMAGE_LARGEUR', 600); // en pixel
define ('INS_GOOGLE_IMAGE_HAUTEUR', 450);
}
 
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.20 2007-10-01 12:17:02 alexandre_tb
* ajout de la constante INS_GOOGLE_TYPE_DE_VUE
*
* Revision 1.19 2007-09-06 08:26:05 alexandre_tb
* suppression de constantes qui ont migres dans la table inscription_config
* ajout de constantes pour la carte GOOGLE