/trunk/metier/api_0.1/Cartes.php |
---|
51,6 → 51,15 |
$url = $this->formaterUrl($tpl, $params); |
return $url; |
} |
public function getUrlEflorePng() { |
$tpl = Config::get('efloreCarteTpl'); |
$params = array('num_nom' => $this->nom->get('id'), 'num_tax' => $this->nom->get('num_taxonomique') , |
'nom_sci' => $this->nom->get('nom_sci'), 'auteur' => $this->nom->get('auteur') , |
'largeur' => $this->largeur, 'mime_type' => 'image/png'); |
$url = $this->formaterUrl($tpl, $params); |
return $url; |
} |
public function getLegendeId() { |
$tpl = Config::get('legendeIdCarteTpl'); |
/trunk/modules/fiche/formateurs/Repartition.php |
---|
63,7 → 63,7 |
public function getBloc() { |
$donnees['chorodep'] = $this->getChorodepMiniature(); |
//$donnees['eflore'] = $this->getEfloreMiniature(); |
$donnees['eflore'] = $this->getEfloreMiniature(); |
return $donnees; |
} |
79,7 → 79,7 |
$this->cartes->setProjet('eflore'); |
$this->cartes->setLargeur('min'); |
$this->cartes->setInfoNom($this->nomCourant->getNomRetenu()); |
return $this->cartes->getUrlMap(); |
return $this->cartes->getUrlEflorePng(); |
} |
} |
?> |
/trunk/modules/fiche/squelettes/fiche_synthese.tpl.html |
---|
17,7 → 17,7 |
<?php if ($illustration['imageUrl'] != '') : ?> |
<img src="<?=$illustration['imageUrl']?>" alt="Image issue du cel ou du site photoflora" style="margin-bottom: -15px; margin-left: -2px; width: 210px;"/> |
<?php else : ?> |
<span class="absent" style="float:none;"> |
<span class="absent" style="float:none; margin-left:55px"> |
Pas de photo<br /> |
<a href="http://www.tela-botanica.org/page:saisie_observations?langue=fr" |
title="Ajouter une photographie au moyen du Carnet en Ligne" |
91,6 → 91,7 |
</h3> |
<span id="contenu-3" class="contenu"> |
<img src="<?=htmlentities($repartition['chorodep'])?>" alt="Carte de répartition"/> |
<img src="<?=htmlentities($repartition['eflore'])?>" alt="Carte des observations" style="margin-left: 11px; width: 190px;" /> |
</span> |
</div> |
<div id="synthese_ethnobotanique" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"> |
/trunk/configurations/config.defaut.ini |
---|
137,7 → 137,7 |
imagesTpl = "{ref:baseUrlApiEflore}/images" |
imagesResultatsDeterminationTpl = "{ref:imagesTpl}?masque.nn={idsNoms}&retour.format=CS" |
imagesFicheBlocTpl = "{ref:imagesTpl}?masque.nn={idsNoms}&retour.format=CS&retour=image/jpeg&retour.tri=date" |
imagesFicheBlocTpl = "{ref:imagesTpl}?masque.nn={idsNoms}&retour.format=CS&retour.tri=date" |
textesTpl = "{ref:baseUrlApiEflore}/textes" |
texteTpl = "{ref:textesTpl}/{id}?txt.format={txtFormat}" |