Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 1629 Rev 1691
Line 160... Line 160...
160
		$widget['squelette'] = $this->projet.'_taxons';
160
		$widget['squelette'] = $this->projet.'_taxons';
161
		$widget['squelette_ext'] = '.tpl.js';
161
		$widget['squelette_ext'] = '.tpl.js';
162
		$widget['donnees'] = array();
162
		$widget['donnees'] = array();
163
		$nomsAAfficher = $this->recupererListeNomsSci();
163
		$nomsAAfficher = $this->recupererListeNomsSci();
164
		$taxons_tries = array();
164
		$taxons_tries = array();
165
		foreach ($taxons as $taxon) {
165
		foreach ($nomsAAfficher as $taxon) {
166
			$taxons_tries[$taxon['num_nom_sel']] = $taxon;
166
			$taxons_tries[$taxon['num_nom_sel']] = $taxon;
167
		}
167
		}
168
		$widget['donnees']['taxons'] = json_encode($taxons_tries);
168
		$widget['donnees']['taxons'] = json_encode($taxons_tries);
169
		return $widget;
169
		return $widget;
170
	}
170
	}