Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 961 → Rev 962

/trunk/modules/fiche/formateurs/Ecologie.php
158,7 → 158,8
private function getBaseflor($inclure_legende = true) {
if (Config::get($this->referentiel.'.baseEcologie') != "") {
$num_nom = $this->nomCourant->getNns();
$cache = $this->obtenirCache('baseflor_graphique_'.$num_nom);
$referentiel = $this->conteneur->getParametre('referentiel');
$cache = $this->obtenirCache('baseflor/graphique/'.$referentiel.'_'.$num_nom);
if($cache != null) {
$baseflor = $cache;
$this->graphique ->setProjet('baseflor');
196,7 → 197,7
$baseflor['meta']['citation'] = $citation;
$baseflor['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees('baseflor');
$this->mettreEnCache('baseflor_graphique_'.$num_nom, $baseflor);
$this->mettreEnCache('baseflor/graphique/'.$referentiel.'_'.$num_nom, $baseflor);
} else {
$baseflor['aucune'] = 'Aucunes données';
}
/trunk/modules/fiche/Fiche.php
105,7 → 105,7
$description = new Description($this->conteneur);
$taxons = new Taxons($this->conteneur);
$referentiel = $this->conteneur->getParametre('referentiel');
$donnees = array('wikipedia' => $description->getWikipedia(),
$donnees = array('wikipedia' => $description->getUrlWikipedia(),
'export_pdf' => $this->ajouterLienModuleExport(),
'permalien_num_nom' => $taxons->getUrlPermalienNumNom($referentiel, 1, $this->conteneur->getNomCourant()->getNns()),
'permalien_taxon' => $taxons->getUrlPermalienTaxon($referentiel, 1, $this->conteneur->getNomCourant()->getNt()),