Subversion Repositories Applications.papyrus

Compare Revisions

Ignore whitespace Rev 1799 → Rev 1800

/branches/livraison_aha/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.7.2.1 2007-11-16 11:19:01 alexandre_tb Exp $
// CVS : $Id: carto_google.php,v 1.7.2.2 2008-02-08 08:30:07 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.7.2.1 $ $Date: 2007-11-16 11:19:01 $
*@version $Revision: 1.7.2.2 $ $Date: 2008-02-08 08:30:07 $
// +------------------------------------------------------------------------------------------------------+
*/
 
69,8 → 69,15
$template = inscription::getTemplate(INS_TEMPLATE_CARTO_GOOGLE_ACCUEIL, 1);
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);
$res = '';
ob_start();
if (file_exists(INS_CHEMIN_SQUELETTE.INS_FICHIER_LEGENDE)) include_once INS_CHEMIN_SQUELETTE.INS_FICHIER_LEGENDE;
$res .= ob_get_contents();
ob_end_clean();
$res .= str_replace ('{CARTE}', $carte, $template);
return $res;
}
 
77,6 → 84,9
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.7.2.1 2007-11-16 11:19:01 alexandre_tb
* utilisation constante INS_FICHIER_DONNEES_GOOGLE
*
* Revision 1.7 2007-10-12 10:04:52 alexandre_tb
* ajout des contantes INS_GOOGLE_IMAGE_LARGEUR et INS_GOOGLE_IMAGE_HAUTEUR
*