Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 76 Rev 86
Line 22... Line 22...
22
		$donnees['i18n'] = I18n::get('Recherche-accueil');		
22
		$donnees['i18n'] = I18n::get('Recherche-accueil');		
23
		$this->setSortie(self::RENDU_CORPS, $this->getVue('recherche_accueil', $donnees));
23
		$this->setSortie(self::RENDU_CORPS, $this->getVue('recherche_accueil', $donnees));
24
	}
24
	}
Line 25... Line 25...
25
	
25
	
-
 
26
	public function executerFormulaireNom($donnees = array()) {
26
	public function executerFormulaireNom($donnees = array()) {
27
		if (Config::get(Registre::get('parametres.referentiel').'.referentielVerna')) {
27
		if (!isset($donnees['type_nom'])) {
28
			if (!isset($donnees['type_nom'])) {
-
 
29
				$donnees['type_nom'] = (Registre::get('parametres.niveau') == 1) ? 'nom_vernaculaire' : 'nom_scientifique';
-
 
30
			}
28
			$donnees['type_nom'] = (Registre::get('parametres.niveau') == 1) ? 'nom_vernaculaire' : 'nom_scientifique';
31
			$donnees['nom_verna'] = true;
-
 
32
		}
29
		}
33
		
Line 30... Line 34...
30
		$donnees['i18n'] = I18n::get('Recherche-form-nom');
34
		$donnees['i18n'] = I18n::get('Recherche-form-nom');
31
		
35