Subversion Repositories Applications.referentiel

Rev

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

Rev 103 Rev 118
Line 194... Line 194...
194
		$menu['url'] = $this->obtenirUrlMenuVersionnage($referentiel);
194
		$menu['url'] = $this->obtenirUrlMenuVersionnage($referentiel);
195
		$menu['activite'] = (($this->getModulePrincipalCourant() == 'Versionnage') ? 'actif' : 'inactif');
195
		$menu['activite'] = (($this->getModulePrincipalCourant() == 'Versionnage') ? 'actif' : 'inactif');
196
		$donnees['menus'][] = $menu;
196
		$donnees['menus'][] = $menu;
197
		$menu['nom'] = 'Consultation';
197
		$menu['nom'] = 'Consultation';
198
		$menu['url'] = $this->obtenirUrlMenuConsultation($referentiel);
198
		$menu['url'] = $this->obtenirUrlMenuConsultation($referentiel);
199
		$menu['activite'] = (($this->getModulePrincipalCourant() == 'Consultation') ? 'actif' : 'inactif');
199
		$menu['activite'] = ((preg_match('/^(?:Consultation|Recherche|FicheTaxon)$/', $this->getModulePrincipalCourant())) ? 'actif' : 'inactif');
200
		$donnees['menus'][] = $menu;
200
		$donnees['menus'][] = $menu;
201
		$this->setSortie(self::RENDU_MENU, $this->getVue('menu', $donnees), false);
201
		$this->setSortie(self::RENDU_MENU, $this->getVue('menu', $donnees), false);
202
	}
202
	}
203
	/**
203
	/**
204
	 * Construction du fil d'ariane et stockage dans le conteneur de sortie RENDU_NAVIGATION.
204
	 * Construction du fil d'ariane et stockage dans le conteneur de sortie RENDU_NAVIGATION.