Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 628 | Rev 858 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 628 Rev 789
Line 1... Line 1...
1
<ul id="ef-resultats-determination">
1
<ul id="ef-resultats-determination">
2
	<?php if ($noms) :?>
2
	<?php if ($noms) :?>
Line 3... Line 3...
3
	
3
	
-
 
4
		<? foreach ($noms as $nnTaxon => $nom) : ?>
4
		<? foreach ($noms as $nnTaxon => $nom) : ?>
5
		
5
		 	<li class="zone-resultat">
6
		 	<li class="zone-resultat">
6
				<a href="<?=$nom['urlFiche']?>">
7
				<a href="<?=$nom['urlFiche']?>">
7
					<strong class="nom-sci-retenu"><?=$nom['nomSciRetenu']?></strong>
8
					<strong class="nom-sci-retenu"><?=$nom['nomSciRetenu']?></strong>
Line -... Line 9...
-
 
9
				</a>
8
				</a>
10
				
9
				
11
				
10
				<?php if (isset($repartition['urls'][$nnTaxon])) : ?>
12
					<?php if (isset($repartition['urls'][$nnTaxon]) ) : ?>
11
					<img src="<?=htmlentities($repartition['urls'][$nnTaxon])?>" alt="Carte de répartition" />
13
						<img src="<?=htmlentities($repartition['urls'][$nnTaxon])?>" alt="Carte de répartition" />
12
				<?php else : ?>
14
					<?php else : ?>
-
 
15
						<div class="absent">Pas de carte</div>
13
					<div class="absent">Pas de carte</div>
16
					<?php endif; ?>
14
				<?php endif; ?>
17
					<?php if ($nom['rang'] != 'Famille' &&  $nom['rang'] != 'Genre' && $nom['rang'] != 'Ordre') : ?>
15
				<?php  if (isset($imagesUrls[$nnTaxon])) : ?>
18
					<?php  if (isset($imagesUrls[$nnTaxon])) : ?>
16
					<img src="<?=htmlentities($imagesUrls[$nnTaxon][0])?>" alt="Image provenant du CEL" style="width:100px;height:100px;display:block;float:right;"/>
19
						<img src="<?=htmlentities($imagesUrls[$nnTaxon][0])?>" alt="Image provenant du CEL" style="width:100px;height:100px;display:block;float:right;"/>
17
				<?php else : ?>
20
					<?php else : ?>
18
					<p class="absent">
21
						<p class="absent">
19
						Pas de photo<br />
22
							Pas de photo<br />
20
						<a href="http://www.tela-botanica.org/page:saisie_observations?langue=fr" 
23
							<a href="http://www.tela-botanica.org/page:saisie_observations?langue=fr" 
21
							title="Ajouter une photographie au moyen du Carnet en Ligne" 
24
								title="Ajouter une photographie au moyen du Carnet en Ligne" 
22
							onclick="window.open(this.href); return false;" class="contribuer">
25
								onclick="window.open(this.href); return false;" class="contribuer">
23
							Contribuer
26
								Contribuer
24
						</a>
27
							</a>
25
					</p>
28
						</p>
26
				<?php endif; ?>
29
					<?php endif; ?>
-
 
30
					<?php  if (isset($imagesCoste[$taxons[$nnTaxon]][0])) :  ?> 
27
					<?php  if (isset($imagesCoste[$taxons[$nnTaxon]][0])) : ?> 
31
						<img src="<?=htmlentities($imagesCoste[$taxons[$nnTaxon]][0])?>" alt="illustration de Coste" />
28
					<img src="<?=htmlentities($imagesCoste[$taxons[$nnTaxon]][0])?>" alt="illustration de Coste" />
32
					<?php endif; ?>
29
				<?php endif; ?>
33
				<?php endif; ?>
30
				<?php if (isset($synonymes[$nnTaxon])) : ?>
34
				<?php if (isset($synonymes[$nnTaxon])) : ?>
31
					<?php $nbrSynonymes = count($synonymes[$nnTaxon]) ?>
35
					<?php $nbrSynonymes = count($synonymes[$nnTaxon]) ?>