Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 788 → Rev 789

/trunk/modules/resultat/squelettes/determination.tpl.html
2,31 → 2,35
<?php if ($noms) :?>
<? foreach ($noms as $nnTaxon => $nom) : ?>
<li class="zone-resultat">
<a href="<?=$nom['urlFiche']?>">
<strong class="nom-sci-retenu"><?=$nom['nomSciRetenu']?></strong>
</a>
<?php if (isset($repartition['urls'][$nnTaxon])) : ?>
<img src="<?=htmlentities($repartition['urls'][$nnTaxon])?>" alt="Carte de répartition" />
<?php else : ?>
<div class="absent">Pas de carte</div>
<?php if (isset($repartition['urls'][$nnTaxon]) ) : ?>
<img src="<?=htmlentities($repartition['urls'][$nnTaxon])?>" alt="Carte de répartition" />
<?php else : ?>
<div class="absent">Pas de carte</div>
<?php endif; ?>
<?php if ($nom['rang'] != 'Famille' && $nom['rang'] != 'Genre' && $nom['rang'] != 'Ordre') : ?>
<?php if (isset($imagesUrls[$nnTaxon])) : ?>
<img src="<?=htmlentities($imagesUrls[$nnTaxon][0])?>" alt="Image provenant du CEL" style="width:100px;height:100px;display:block;float:right;"/>
<?php else : ?>
<p class="absent">
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"
onclick="window.open(this.href); return false;" class="contribuer">
Contribuer
</a>
</p>
<?php endif; ?>
<?php if (isset($imagesCoste[$taxons[$nnTaxon]][0])) : ?>
<img src="<?=htmlentities($imagesCoste[$taxons[$nnTaxon]][0])?>" alt="illustration de Coste" />
<?php endif; ?>
<?php endif; ?>
<?php if (isset($imagesUrls[$nnTaxon])) : ?>
<img src="<?=htmlentities($imagesUrls[$nnTaxon][0])?>" alt="Image provenant du CEL" style="width:100px;height:100px;display:block;float:right;"/>
<?php else : ?>
<p class="absent">
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"
onclick="window.open(this.href); return false;" class="contribuer">
Contribuer
</a>
</p>
<?php endif; ?>
<?php if (isset($imagesCoste[$taxons[$nnTaxon]][0])) : ?>
<img src="<?=htmlentities($imagesCoste[$taxons[$nnTaxon]][0])?>" alt="illustration de Coste" />
<?php endif; ?>
<?php if (isset($synonymes[$nnTaxon])) : ?>
<?php $nbrSynonymes = count($synonymes[$nnTaxon]) ?>
<ul class="synonymes" style="width:100%;">