Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 855 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 855 Rev 861
Line 132... Line 132...
132
	private function chargerOnglets() {
132
	private function chargerOnglets() {
133
		$donnees = array();
133
		$donnees = array();
134
		$donnees['typeResultat'] = $this->parametres->typeResultat;
134
		$donnees['typeResultat'] = $this->parametres->typeResultat;
135
		$donnees['typeNom'] = $this->parametres->typeNom;
135
		$donnees['typeNom'] = $this->parametres->typeNom;
136
		$donnees['ongletsNs'] = array('determination', 'retenu', 'decompo');
136
		$donnees['ongletsNs'] = array('determination', 'retenu', 'decompo');
-
 
137
		$donnees['ongletsNv'] = array('determination', 'alphab');
137
		if (($_GET['action']) == 'rechercheAvancee') {
138
		if (($_GET['action']) == 'rechercheAvancee') {
138
			$donnees['urls']['alphab'] = $this->urls->obtenirUrlResultatAvanceOnglets('alphab', $this->param);
139
			$donnees['urls']['alphab'] = $this->urls->obtenirUrlResultatAvanceOnglets('alphab', $this->param);
139
			$donnees['urls']['retenu'] = $this->urls->obtenirUrlResultatAvanceOnglets('retenu', $this->param);
140
			$donnees['urls']['retenu'] = $this->urls->obtenirUrlResultatAvanceOnglets('retenu', $this->param);
140
			$donnees['urls']['determination'] = $this->urls->obtenirUrlResultatAvanceOnglets('determination',$this->param);
141
			$donnees['urls']['determination'] = $this->urls->obtenirUrlResultatAvanceOnglets('determination',$this->param);
141
			$donnees['urls']['decompo'] = $this->urls->obtenirUrlResultatAvanceOnglets('decompo',$this->param);
142
			$donnees['urls']['decompo'] = $this->urls->obtenirUrlResultatAvanceOnglets('decompo',$this->param);
142
			
-
 
143
		} else {
143
		} else {
144
			$donnees['ongletsNv'] = array('determination', 'alphab');
-
 
-
 
144
			
145
			$donnees['urls']['alphab'] = $this->urls->obtenirUrlResultatAlphab();
145
			$donnees['urls']['alphab'] = $this->urls->obtenirUrlResultatAlphab();
146
			$donnees['urls']['retenu'] = $this->urls->obtenirUrlResultatRetenu();
146
			$donnees['urls']['retenu'] = $this->urls->obtenirUrlResultatRetenu();
147
			$donnees['urls']['determination'] = $this->urls->obtenirUrlResultatDetermination();
147
			$donnees['urls']['determination'] = $this->urls->obtenirUrlResultatDetermination();
148
			$donnees['urls']['decompo'] = $this->urls->obtenirUrlResultatDecompo();
148
			$donnees['urls']['decompo'] = $this->urls->obtenirUrlResultatDecompo();
149
			
-
 
150
		}
149
		}
151
		$donnees['i18n']['nv'] = I18n::get('Resultat-onglets-nv');
150
		$donnees['i18n']['nv'] = I18n::get('Resultat-onglets-nv');
152
		$donnees['i18n']['ns'] = I18n::get('Resultat-onglets-ns');
151
		$donnees['i18n']['ns'] = I18n::get('Resultat-onglets-ns');
153
		$this->donneesTpl['ongletsHtml'] = $this->getVue('onglets', $donnees);
152
		$this->donneesTpl['ongletsHtml'] = $this->getVue('onglets', $donnees);
154
	}
153
	}