Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 230 Rev 231
Line 26... Line 26...
26
	public function executerFiche(){
26
	public function executerFiche(){
27
		$donnees_recherche = array('type_nom' => $this->type_nom, 'nom' => $this->nom);
27
		$donnees_recherche = array('type_nom' => $this->type_nom, 'nom' => $this->nom);
28
		$this->executerAction('Recherche', 'executerAccueil', $donnees_recherche);
28
		$this->executerAction('Recherche', 'executerAccueil', $donnees_recherche);
29
		$blocs_niveaux = $this->recupererTableauConfig('blocs_fiche_defaut');
29
		$blocs_niveaux = $this->recupererTableauConfig('blocs_fiche_defaut');
30
		$donnees['blocs'] = '"'.str_replace('|', '","', $blocs_niveaux[Registre::get('parametres.niveau')]).'"';
30
		$donnees['blocs'] = '"'.str_replace('|', '","', $blocs_niveaux[Registre::get('parametres.niveau')]).'"';
31
		if (isset($_GET['onglet'])) {
-
 
32
			echo $this->getVue('fiche_'.$this->onglet, $donnees);exit;
-
 
33
		} else {
-
 
34
			$donnees['onglet'] = $this->getVue('fiche_'.$this->onglet, $donnees);
31
		$donnees['onglet'] = $this->getVue('fiche_'.$this->onglet, $donnees);
35
			$this->setSortie(self::RENDU_CORPS, $this->getVue('fiche_accueil', $donnees), true);
32
		$this->setSortie(self::RENDU_CORPS, $this->getVue('fiche_accueil', $donnees), true);
36
		}
-
 
37
	}
33
	}
Line 38... Line 34...
38
	
34
	
-
 
35
	public function executerOnglet(){
-
 
36
		$donnees = array();
39
	public function executerOnglet(){
37
		header('Content-type: text/html'); 
-
 
38
		echo $this->getVue('fiche_'.$this->onglet, $donnees);
40
		echo $this->getVue('fiche_'.$this->onglet, $donnees);
39
		exit;
Line 41... Line 40...
41
	}
40
	}
42
	
41
	
43
	private function capturerParametres() {
42
	private function capturerParametres() {