/trunk/modules/fiche/formateurs/Repartition.php |
---|
33,6 → 33,7 |
public function obtenirDonnees() { |
$donnees['chorodep'] = $this->getChorodep(); |
$donnees['eflore'] = $this->getEflore(); |
$donnees['widget']['nt'] = $this->nomCourant->getNt(); |
return $donnees; |
} |
/trunk/modules/fiche/squelettes/fiche_repartition.tpl.html |
---|
30,7 → 30,7 |
</object> |
<div id="legende" style="padding:15px;margin-top:-25px;"> |
<? foreach ($eflore['legende'] as $id => $details) :?> |
<div style="clear:left; "> |
<div style="clear:left;"> |
<div class="bloc_legende_repartition" style="background:<?=$details['couleur']?>"></div> |
<div ><b><?=$details['nom']?> : </b><?=$details['description']?></div> |
</div> |
43,5 → 43,6 |
<div class="conteneur_lien_metadonnees"> |
</div> |
<a href="http://www.tela-botanica.org/widget:cel:carto?num_taxon=<?=$widget['nt']?>">Consultez les données du carnet en ligne sur le widget carto</a> |
</div> |
</div> |
/trunk/bibliotheque/NomCourant.php |
---|
6,6 → 6,7 |
private $retenu = null; |
public function __construct($num_nom_selectionne, Noms $noms, Taxons $taxons) { |
$this->nns = $num_nom_selectionne; |
$this->selectionne = new Nom($noms->getNom($this->nns)); |
$this->retenu = new Nom($taxons->getTaxon($this->nns)); |
36,6 → 37,10 |
public function getNomRetenu() { |
return $this->retenu; |
} |
public function getNt() { |
return $this->retenu->get('num_taxonomique'); |
} |
} |
?> |