Subversion Repositories eFlore/Applications.cel

Rev

Rev 1494 | Rev 2007 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1494 Rev 1586
Line 127... Line 127...
127
		$widget['donnees']['referentiel'] = $this->referentiel;
127
		$widget['donnees']['referentiel'] = $this->referentiel;
128
		$widget['donnees']['url_limites_communales'] = $this->obtenirUrlsLimitesCommunales();
128
		$widget['donnees']['url_limites_communales'] = $this->obtenirUrlsLimitesCommunales();
129
		$widget['donnees']['communeImageUrl'] = $this->config['carto']['communeImageUrl'];
129
		$widget['donnees']['communeImageUrl'] = $this->config['carto']['communeImageUrl'];
130
		$widget['donnees']['pointImageUrl'] = $this->config['carto']['pointImageUrl'];
130
		$widget['donnees']['pointImageUrl'] = $this->config['carto']['pointImageUrl'];
131
		$widget['donnees']['groupeImageUrlTpl'] = $this->config['carto']['groupeImageUrlTpl'];
131
		$widget['donnees']['groupeImageUrlTpl'] = $this->config['carto']['groupeImageUrlTpl'];
-
 
132
		$widget['donnees']['url_widget_saisie'] = $this->config['urls']['widgetSaisie'];
Line 132... Line 133...
132
		
133
 
Line 133... Line 134...
133
		$widget['squelette'] = 'carte_defaut';
134
		$widget['squelette'] = 'carte_defaut';
134
		
135
 
Line 177... Line 178...
177
		return $urls;
178
		return $urls;
178
	}
179
	}
Line 179... Line 180...
179
	
180
 
180
	private function chercherFichierKml(){
181
	private function chercherFichierKml(){
-
 
182
		$fichiers = array();
181
		$fichiers = array();
183
		if (isset($this->config['carto']['communesKmzChemin'])) {
182
		$chemins = explode(',', $this->config['carto']['communesKmzChemin']);
184
			$chemins = explode(',', $this->config['carto']['communesKmzChemin']);
183
		$departements = explode(',', $this->dept);// plrs code de départements peuvent être demandés séparés par des virgules
185
			$departements = explode(',', $this->dept);// plrs code de départements peuvent être demandés séparés par des virgules
184
		$departements_trouves = array();
186
			$departements_trouves = array();
185
		foreach ($chemins as $dossier_chemin) {
187
			foreach ($chemins as $dossier_chemin) {
Line 199... Line 201...
199
					}
201
						}
200
				}
202
					}
201
				closedir($dossier_ressource);
203
					closedir($dossier_ressource);
202
			}
204
				}
203
		}
205
			}
-
 
206
		} else {
-
 
207
			$this->messages[] = 'Veuillez configurer le paramètres carto.communesKmzChemin.';
204
		
208
		}
205
		return $fichiers;
209
		return $fichiers;
206
	}
210
	}
Line 207... Line 211...
207
	
211
 
208
	/**
212
	/**