Subversion Repositories Applications.bazar

Rev

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

Rev 416 Rev 417
Line 235... Line 235...
235
	
235
	
236
	include_once BAZ_CHEMIN_APPLI.'bibliotheque/bazarTemplate.class.php';
236
	include_once BAZ_CHEMIN_APPLI.'bibliotheque/bazarTemplate.class.php';
237
    $modele = new bazarTemplate($GLOBALS['_BAZAR_']['db']);
237
    $modele = new bazarTemplate($GLOBALS['_BAZAR_']['db']);
238
    $html = $modele->getTemplate(BAZ_TEMPLATE_ACCUEIL_CARTE_GOOGLE, $GLOBALS['_BAZAR_']['langue'], $GLOBALS['_BAZAR_']['categorie_nature']);
238
    $html = $modele->getTemplate(BAZ_TEMPLATE_ACCUEIL_CARTE_GOOGLE, $GLOBALS['_BAZAR_']['langue'], $GLOBALS['_BAZAR_']['categorie_nature']);
-
 
239
    if (PEAR::isError($html)) return $html->getMessage();
-
 
240
    
-
 
241
    // nettoyage url 
-
 
242
    $GLOBALS['_BAZAR_']['url']->removeQueryString(BAZ_VARIABLE_ID_FICHE) ;
-
 
243
    $GLOBALS['_BAZAR_']['url']->removeQueryString(BAZ_VARIABLE_ACTION) ;
-
 
244
    $html = bazar::getFormulaireFiltre($html) ;
239
    if (PEAR::isError($html)) return $html->getMessage();
245
   
240
	$res = str_replace ('{CARTE}', '<div id="map" style="width: '.BAZ_GOOGLE_IMAGE_LARGEUR.
246
	$res = str_replace ('{CARTE}', '<div id="map" style="width: '.BAZ_GOOGLE_IMAGE_LARGEUR.
Line 241... Line 247...
241
							'px; height: '.BAZ_GOOGLE_IMAGE_HAUTEUR.'px"></div>', $html);
247
							'px; height: '.BAZ_GOOGLE_IMAGE_HAUTEUR.'px"></div>', $html);
242
 
248