164,10 → 164,14 |
$this->informations ->setNum_nom($this->conteneur->getParametre('num_nom')); |
$informations = $this->informations->getInformationsEcologie(); |
if($informations != ""){ |
if ($informations['graphique_climat']) { |
$baseflor['climat_url'] = $informations['graphique_climat']['href']."?retour.format=500"; |
$baseflor['climat_url_png'] = $informations['graphique_climat']['href']."?retour=image/png"; |
} |
if ($informations['graphique_sol']) { |
$baseflor['sol_url'] = $informations['graphique_sol']['href']."?retour.format=500"; |
$baseflor['climat_url_png'] = $informations['graphique_climat']['href']."?retour=image/png"; |
$baseflor['sol_url_png'] = $informations['graphique_sol']['href']."?retour=image/png"; |
} |
if($inclure_legende) { |
$this->graphique ->setProjet('baseflor'); |
$graphique = $this->graphique->getLegendeGraphique(); |