Subversion Repositories Applications.referentiel

Compare Revisions

Ignore whitespace Rev 295 → Rev 290

/trunk/interfaces/controleurs/Arbre.php
File deleted
\ No newline at end of file
/trunk/interfaces/controleurs/FicheTaxon.php
61,6 → 61,7
$this->chargerChorologie();
$this->chargerComplements();
}
$this->setSortie(self::RENDU_CORPS, $this->getVue('fiche_taxon', $this->donnees));
}
}
225,7 → 226,7
}
// retourne l'url de la fiche taxon pour les liens
public static function getUrlFicheTaxon($params, $type = '') {
public static function getUrlFicheTaxon($params, $type) {
$taxon = null;
switch ($type) {
case 'bas' :
/trunk/interfaces/controleurs/AppliControleur.php
192,11 → 192,6
$menu['activite'] = ((preg_match('/^(?:Consultation|Recherche|FicheTaxon)$/', $this->getModulePrincipalCourant())) ? 'actif' : 'inactif');
$menu['title'] = "Interroger la base en cours de travail.";
$donnees['menus'][] = $menu;
$menu['nom'] = 'Arbre';
$menu['url'] = $this->obtenirUrlMenuArbre($referentiel);
$menu['activite'] = (($this->getModulePrincipalCourant() == 'Arbre') ? 'actif' : 'inactif');
$menu['title'] = "Consulter l'aborescence du référentiel";
$donnees['menus'][] = $menu;
$menu['nom'] = 'Tests';
$menu['url'] = $this->obtenirUrlMenuTest($referentiel);
$menu['activite'] = (($this->getModulePrincipalCourant() == 'Test') ? 'actif' : 'inactif securise');
293,10 → 288,6
return $this->obtenirUrlMenu('Consultation', $referentiel);
}
protected function obtenirUrlMenuArbre($referentiel) {
return $this->obtenirUrlMenu('Arbre', $referentiel);
}
private function obtenirUrlMenu($menu, $referentiel = null) {
$this->url->setRequete(false);
$this->url->setVariableRequete('module', $menu);