167,10 → 167,16 |
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"; |
$baseflor['description']['climat_url'] = $informations['graphique_climat']['href']."?retour.format=420"; |
$baseflor['description']['climat_url_png'] = $informations['graphique_climat']['href']."?retour.format=420&retour=image/png"; |
|
} |
if ($informations['graphique_sol']) { |
$baseflor['sol_url'] = $informations['graphique_sol']['href']."?retour.format=500"; |
$baseflor['sol_url_png'] = $informations['graphique_sol']['href']."?retour=image/png"; |
$baseflor['description']['sol_url'] = $informations['graphique_sol']['href']."?retour.format=420"; |
$baseflor['description']['sol_url_png'] = $informations['graphique_sol']['href']."?retour.format=420&retour=image/png"; |
|
} |
if($inclure_legende) { |
$this->graphique ->setProjet('baseflor'); |
182,10 → 188,7 |
$citation = $meta[0]['citation']; |
$baseflor['meta']['citation'] = $citation; |
$baseflor['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees('baseflor'); |
$baseflor['description']['climat_url'] = $informations['graphique_climat']['href']."?retour.format=420"; |
$baseflor['description']['sol_url'] = $informations['graphique_sol']['href']."?retour.format=420"; |
$baseflor['description']['climat_url_png'] = $informations['graphique_climat']['href']."?retour.format=420&retour=image/png"; |
$baseflor['description']['sol_url_png'] = $informations['graphique_sol']['href']."?retour.format=420&retour=image/png"; |
|
$this->mettreEnCache('baseflor_graphique_'.$num_nom, $baseflor); |
} else { |
$baseflor['aucune'] = 'Aucunes données'; |