Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 281 → Rev 282

/trunk/modules/resultat/squelettes/determination_verna.tpl.html
31,7 → 31,9
<?php endif; ?>
</td><td class="nom">
<a href="<?=$nom['urlFiche']?>" ><?=$nom['nomSci']?></a>
</td><td >
</td>
<td><img src="<?=$nom['repartition_vignette']?>" alt="carte de répartition" class="repartition_vignette"/></td>
<td >
<?php if (isset($imagesUrls[$nnTaxon])) : ?>
<img src="<?=$imagesUrls[$nnTaxon][0]?>" style="width:100px;height:100px;display:block;float:right;"/>
<?php else : ?>
/trunk/modules/resultat/formateurs/nom_vernaculaire/DeterminationVernaFormateur.php
26,7 → 26,14
$this->urls = (is_null($urls)) ? new AppUrls() : $urls;
$this->manipulateurDeChaine = is_null($manipulateurDeChaine) ? new ChaineManipulateur() : $manipulateurDeChaine;
$this->imagesService = is_null($imagesService) ? new Images($this->parametres->projetImg) : $imagesService;
$this->chargerRepartition();
}
private function chargerRepartition($nn) {
$serviceRepartition = new Cartes('chorodep', $nn, 'nn', "108x101");
$urlPng = $serviceRepartition->getUrlPng();
return $urlPng;
}
 
public function getTplInfos() {
return $this->infosPourTpl;
83,6 → 90,7
$taxon = array();
$taxon['nomSci'] = $nom['taxon'];
$taxon['urlFiche'] = $this->urls->obtenirUrlFiche($nn, $this->parametres->typeNom, $this->parametres->masqueRecherche, $nom['taxon']);
$taxon['repartition_vignette'] = $this->chargerRepartition($nn);
$taxons[$nn] = $taxon;
}
$nom_verna = array();