Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 3005 Rev 3570
Line 140... Line 140...
140
		return $widget;
140
		return $widget;
141
	}
141
	}
Line 142... Line 142...
142
	
142
	
143
	private function traiterParametres() {
143
	private function traiterParametres() {
-
 
144
		$parametres_flux = '?';
144
		$parametres_flux = '?';
145
		$this->parametre['standard'] = (!isset($this->parametre['standard'])) ? '1' : $this->parametre['standard'];
145
		$criteres = array('utilisateur', 'commune', 'dept', 'taxon', 'commentaire', 'date', 'projet', 'motcle', 'num_taxon', 'groupe_zones_geo');
146
		$criteres = array('utilisateur', 'commune', 'standard', 'dept', 'taxon', 'commentaire', 'date', 'projet', 'motcle', 'num_taxon', 'groupe_zones_geo');
146
		foreach($this->parametres as $nom_critere => $valeur_critere) {
147
		foreach($this->parametres as $nom_critere => $valeur_critere) {
147
			if (in_array($nom_critere, $criteres)) {
148
			if (in_array($nom_critere, $criteres)) {
148
				$valeur_critere = str_replace(' ', '%20', $valeur_critere);
149
				$valeur_critere = str_replace(' ', '%20', $valeur_critere);
149
				$parametres_flux .= $nom_critere.'='.$valeur_critere.'&';
150
				$parametres_flux .= $nom_critere.'='.$valeur_critere.'&';