Subversion Repositories Applications.referentiel

Compare Revisions

Ignore whitespace Rev 295 → Rev 292

/trunk/interfaces/squelettes/arbre_taxon.tpl.html
File deleted
\ No newline at end of file
/trunk/interfaces/squelettes/css/referentiel/referentiel.css
541,57 → 541,8
padding-left:5px;
border-left:1px dotted black;}
.imagette-plus {
background: url("images/ouvrir.png") no-repeat scroll 0 0 transparent;
display: inline;
float: left;
height: 15px;
margin-right: 3px;
width: 15px;
}
 
.imagette-moins {
background: url("images/fermer.png") no-repeat scroll 0 0 transparent;
display: inline-block;
height: 15px;
margin-right: 3px;
width: 15px;
}
 
.icone-deplier-arbre {
cursor:pointer;
}
 
.branche-arbre-taxo, .aucun-synonyme {
list-style-type:none;
}
 
.lien-voir-synonymes-taxo, .aucun-sous-taxon, .aucun-synonyme {
font-size: 0.8em;
}
 
.lien-voir-synonymes-taxo , .arbre-liste-synonymes a {
color: #666666;
}
 
#texte li.feuille-arbre-synonyme-taxo {
margin-top: 3px;
}
 
.branche-arbre-taxo {
margin-top: 2px;
border-left: 1px solid;
margin-left: 7px;
margin-top: 2px;
padding-left: 20px;
}
 
#texte .feuille-arbre-taxo {
margin-top: 3px;
}
/* Nécessaire à IE 6 et 7 pour éviter un décalage vers le bas!*/
.ref-onglets {
.ref-onglets{
margin:0;/*Pour IE*/
padding:0;/*Pour IE*/
height:auto !important;height:100%;/*Pour IE*/}
598,4 → 549,4
.droite {
float:right;
}
}
/trunk/interfaces/controleurs/Arbre.php
File deleted
\ No newline at end of file
/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);
/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' :