Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 838 | Rev 844 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 838 Rev 840
Line 165... Line 165...
165
			$informations = $this->informations->getInformationsEcologie();
165
			$informations = $this->informations->getInformationsEcologie();
166
			if($informations != ""){
166
			if($informations != ""){
167
				if ($informations['graphique_climat']) {
167
				if ($informations['graphique_climat']) {
168
					$baseflor['climat_url'] = $informations['graphique_climat']['href']."?retour.format=500";
168
					$baseflor['climat_url'] = $informations['graphique_climat']['href']."?retour.format=500";
169
					$baseflor['climat_url_png'] = $informations['graphique_climat']['href']."?retour=image/png";
169
					$baseflor['climat_url_png'] = $informations['graphique_climat']['href']."?retour=image/png";
-
 
170
					$baseflor['description']['climat_url'] = $informations['graphique_climat']['href']."?retour.format=420";
-
 
171
					$baseflor['description']['climat_url_png'] = $informations['graphique_climat']['href']."?retour.format=420&retour=image/png";
-
 
172
					
170
				}
173
				}
171
				if ($informations['graphique_sol']) {
174
				if ($informations['graphique_sol']) {
172
					$baseflor['sol_url'] = $informations['graphique_sol']['href']."?retour.format=500";
175
					$baseflor['sol_url'] = $informations['graphique_sol']['href']."?retour.format=500";
173
					$baseflor['sol_url_png'] = $informations['graphique_sol']['href']."?retour=image/png";
176
					$baseflor['sol_url_png'] = $informations['graphique_sol']['href']."?retour=image/png";
-
 
177
					$baseflor['description']['sol_url'] = $informations['graphique_sol']['href']."?retour.format=420";
-
 
178
					$baseflor['description']['sol_url_png'] = $informations['graphique_sol']['href']."?retour.format=420&retour=image/png";
-
 
179
					
174
				}
180
				}
175
				if($inclure_legende) {
181
				if($inclure_legende) {
176
					$this->graphique ->setProjet('baseflor');
182
					$this->graphique ->setProjet('baseflor');
177
					$graphique = $this->graphique->getLegendeGraphique();
183
					$graphique = $this->graphique->getLegendeGraphique();
178
					$baseflor['legende'] =  $graphique ;
184
					$baseflor['legende'] =  $graphique ;
Line 180... Line 186...
180
				$this->meta->setProjet('baseflor');
186
				$this->meta->setProjet('baseflor');
181
				$meta = $this->meta->getMetaDonnees();
187
				$meta = $this->meta->getMetaDonnees();
182
				$citation = $meta[0]['citation'];
188
				$citation = $meta[0]['citation'];
183
				$baseflor['meta']['citation'] = $citation;
189
				$baseflor['meta']['citation'] = $citation;
184
				$baseflor['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees('baseflor');
190
				$baseflor['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees('baseflor');
185
				$baseflor['description']['climat_url'] = $informations['graphique_climat']['href']."?retour.format=420";
-
 
186
				$baseflor['description']['sol_url'] = $informations['graphique_sol']['href']."?retour.format=420";
-
 
187
				$baseflor['description']['climat_url_png'] = $informations['graphique_climat']['href']."?retour.format=420&retour=image/png";
-
 
188
				$baseflor['description']['sol_url_png'] = $informations['graphique_sol']['href']."?retour.format=420&retour=image/png";
-
 
-
 
191
				
189
				$this->mettreEnCache('baseflor_graphique_'.$num_nom, $baseflor);
192
				$this->mettreEnCache('baseflor_graphique_'.$num_nom, $baseflor);
190
			} else {
193
			} else {
191
				$baseflor['aucune'] = 'Aucunes données';
194
				$baseflor['aucune'] = 'Aucunes données';
192
			}
195
			}
193
		}
196
		}