Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 2291 Rev 2561
Line 79... Line 79...
79
		$this->projet = (isset($projet) ? $projet : '*');
79
		$this->projet = (isset($projet) ? $projet : '*');
80
		$this->tag = (isset($tag) ? $tag : '*');
80
		$this->tag = (isset($tag) ? $tag : '*');
81
		$this->tag = (isset($motcle) ? $motcle : $this->tag);
81
		$this->tag = (isset($motcle) ? $motcle : $this->tag);
82
		$this->dept = (isset($dept) ? $dept : '*');
82
		$this->dept = (isset($dept) ? $dept : '*');
83
		$this->commune = (isset($commune) ? $commune : '*');
83
		$this->commune = (isset($commune) ? $commune : '*');
-
 
84
		$this->pays = (isset($pays) ? $pays : '*');
84
		$this->num_taxon = (isset($num_taxon) ? $num_taxon : '*');
85
		$this->num_taxon = (isset($num_taxon) ? $num_taxon : '*');
85
		$this->date = (isset($date) ? $date : '*');
86
		$this->date = (isset($date) ? $date : '*');
86
		$this->taxon = (isset($taxon) ? $taxon : '*');
87
		$this->taxon = (isset($taxon) ? $taxon : '*');
87
		$this->commentaire = (isset($commentaire) ? $commentaire : null);
88
		$this->commentaire = (isset($commentaire) ? $commentaire : null);
88
		$this->station = (isset($station) ? $station : null);
89
		$this->station = (isset($station) ? $station : null);
Line 114... Line 115...
114
		$widget['donnees']['utilisateur'] = $this->utilisateur;
115
		$widget['donnees']['utilisateur'] = $this->utilisateur;
115
		$widget['donnees']['projet'] = $this->projet;
116
		$widget['donnees']['projet'] = $this->projet;
116
		$widget['donnees']['tag'] = $this->tag;
117
		$widget['donnees']['tag'] = $this->tag;
117
		$widget['donnees']['dept'] = $this->dept;
118
		$widget['donnees']['dept'] = $this->dept;
118
		$widget['donnees']['commune'] = $this->commune;
119
		$widget['donnees']['commune'] = $this->commune;
-
 
120
		$widget['donnees']['pays'] = $this->pays;
119
		$widget['donnees']['num_taxon'] = $this->num_taxon;
121
		$widget['donnees']['num_taxon'] = $this->num_taxon;
120
		$widget['donnees']['date'] = $this->date;
122
		$widget['donnees']['date'] = $this->date;
121
		$widget['donnees']['taxon'] = $this->taxon;
123
		$widget['donnees']['taxon'] = $this->taxon;
122
		$widget['donnees']['commentaire'] = $this->commentaire;
124
		$widget['donnees']['commentaire'] = $this->commentaire;
123
		$widget['donnees']['photos'] = $this->photos;
125
		$widget['donnees']['photos'] = $this->photos;
Line 145... Line 147...
145
		if ($action) {
147
		if ($action) {
146
			$url .= "/$action";
148
			$url .= "/$action";
Line 147... Line 149...
147
 
149
 
148
			$parametres_retenus = array();
150
			$parametres_retenus = array();
149
			$parametres_a_tester = array('station', 'utilisateur', 'projet', 'tag', 'dept', 'commune',
151
			$parametres_a_tester = array('station', 'utilisateur', 'projet', 'tag', 'dept', 'commune',
150
				'num_taxon', 'taxon', 'date', 'commentaire', 'nbjours', 'referentiel',
152
				'num_taxon', 'taxon', 'date', 'commentaire', 'nbjours', 'referentiel','pays',
151
				'start', 'limit');
153
				'start', 'limit');
152
			foreach ($parametres_a_tester as $param) {
154
			foreach ($parametres_a_tester as $param) {
153
				if (isset($this->$param) && $this->$param != '*') {
155
				if (isset($this->$param) && $this->$param != '*') {
154
					$parametres_retenus[$param] = $this->$param;
156
					$parametres_retenus[$param] = $this->$param;