Subversion Repositories Applications.referentiel

Compare Revisions

Ignore whitespace Rev 109 → Rev 110

/trunk/interfaces/squelettes/fiche_taxon.tpl.html
36,7 → 36,7
<tbody>
<? if (isset($selectionne)) : ?>
<tr>
<th>Nom sélectionné</th>
<th>Nom sélectionné <?=($num_nom == $num_nom_retenu) ? '(retenu)' : ''?></th>
<td><?=$selectionne['nom_complet'];?>
<? if ($selectionne['nom_complet'] != '') : ?>
<a href="<?=Recherche::getUrlRecherche($selectionne['nom_complet'], $referentiel)?>">
271,10 → 271,12
<? foreach ($fiche_synonymie as $type => $synonymes) : ?>
<table>
<thead>
<tr><th colspan="3"><?=($type == 'Homonymie (sensu)') ? $type : "Synonymie ".$type;?></th></tr>
<tr>
<?=($type == 'Homonymie (sensu)') ? "<th>Homonyme</th>" : '';?>
<?=($type == 'mal appliquée') ? "<th></th>" : '';?>
<th><?=($type == 'Homonymie (sensu)') ? $type : "Synonymie ".$type;?></th>
<th class="vide" colspan="<?=($type == 'Homonymie (sensu)' || $type == 'mal appliquée') ? '6' : '5';?>">&nbsp;</th>
</tr>
<tr>
<?=($type == 'Homonymie (sensu)' || $type == 'mal appliquée') ? "<th>Statut</th>" : '';?>
<th>Nom scientifique</th>
<th>Auteur</th>
<th>Année</th>
285,9 → 287,8
</thead>
<tbody>
<? foreach ($synonymes as $synonyme) : ?>
<?=($synonyme['num_nom'] == $synonyme['num_nom_retenu'])? "<tr class='nom_retenu'>" : "<tr>";?>
<?=($type == 'Homonymie (sensu)') ? "<td>".$synonyme['homonyme']."</td>" : "";?>
<?=($type == 'mal appliquée') ? "<td>".$synonyme['statut']."</td>" : "";?>
<?=($synonyme['num_nom'] == $synonyme['num_nom_retenu'])? '<tr class="nom_retenu">' : "<tr>";?>
<?=($type == 'Homonymie (sensu)' || $type == 'mal appliquée') ? "<td>".$synonyme['statut']."</td>" : "";?>
<td>
<a href="<?=Recherche::getUrlFicheTaxon($synonyme)?>"><?=$synonyme['nom_complet'];?></a>
</td>
324,10 → 325,10
</thead>
<tbody>
<? if ($class != '') : ?>
<? foreach ($class as $rang=>$taxon) : ?>
<? foreach ($class as $rang => $taxon) : ?>
<tr>
<? if ($type == 'inférieurs') : ?>
<? for ($i=1; $i<=$niveau; $i++) : ?>
<? for ($i = 1; $i <= $niveau; $i++) : ?>
<? if ($i == $taxon['niveau']) : ?>
<td><?=$taxon['rang'];?></td>
<? else : ?>
337,7 → 338,9
<? else : ?>
<td><?=$taxon['rang'];?></td>
<? endif; ?>
<td><?=$taxon['nom_complet'];?></td>
<td>
<a href="<?=Recherche::getUrlFicheTaxon($taxon)?>"><?=$taxon['nom_complet'];?></a>
</td>
<td><?=$taxon['auteur'];?></td>
<td><?=$taxon['annee'];?></td>
<td><?=$taxon['biblio_origine'];?></td>
364,21 → 367,25
<div id="ref-ref-chorologie">
<h2>Chorologie</h2>
<? if (isset($chorologie)) : ?>
<table>
<tr>
<th>&nbsp;</th>
<? foreach ($chorologie['Présence'] as $lieu=>$valeur) : ?>
<th><?=$lieu?></th>
<? endforeach ?>
</tr>
<table class="largeur-09">
<thead>
<tr>
<th class="largeur-03 vide">&nbsp;</th>
<? foreach ($chorologie['Présence'] as $lieu=>$valeur) : ?>
<th class="largeur-02"><?=$lieu?></th>
<? endforeach ?>
</tr>
</thead>
<tbody>
<? foreach ($chorologie as $param=>$lieux) : ?>
<tr>
<th><?=$param?></th>
<? foreach ($lieux as $lieu) : ?>
<td title="<?=$lieu['valeur']?>"><?=$lieu['code']?></td>
<td><?=($lieu['code'] != '') ? $lieu['valeur'].' ('.$lieu['code'].')' : '&nbsp;'?></td>
<? endforeach ?>
</tr>
<? endforeach ?>
</tbody>
</table>
<? else : ?>
<p>Aucune information disponible</p>