Subversion Repositories Applications.referentiel

Compare Revisions

Ignore whitespace Rev 84 → Rev 85

/trunk/interfaces/squelettes/fiche_taxon.tpl.html
92,7 → 92,7
<? endif;
endif;
if (isset($retenu)) : ?>
<tr><td COLSPAN=7></td></tr>
<tr><td colspan="7"></td></tr>
<tr>
<td>Nom retenu</td>
<td><a href="<?=Recherche::getUrlFicheTaxon($retenu)?>"><?=$retenu['nom_complet'];?></a>
146,7 → 146,7
<? endif;
endif;
if ($selectionne['nom_francais'] != '' || (isset($retenu['nom_francais']) && $retenu['nom_francais'] != '')) : ?>
<tr><td COLSPAN=7></td></tr>
<tr><td colspan="7"></td></tr>
<tr>
<td>Nom français</td>
<td><?isset($retenu['nom_francais']) ? $nom_francais = $retenu['nom_francais'] :
163,7 → 163,7
</tr>
<? endif;
if (isset($parents)) : ?>
<tr><td COLSPAN=7></td></tr>
<tr><td colspan="7"></td></tr>
<tr>
<td>Parent 01</td>
<td><a href="<?=FicheTaxon::getUrlFicheTaxon($parents, 'p1')?>"><?=$parents['p1_nom'];?></a>
227,7 → 227,7
foreach ($fiche_synonymie as $type => $synonymes) {?>
<table>
<thead>
<tr><th colspan = 3>Synonymie <?=$type;?></th></tr>
<tr><th colspan="3">Synonymie <?=$type;?></th></tr>
<tr>
<th>Nom scientifique</th>
<th>Auteur</th>
255,7 → 255,7
<? if (isset($homonyme)) : ?>
<table>
<thead>
<tr><th colspan = 3>Homonyme (sensu)</th></tr>
<tr><th colspan="3">Homonyme (sensu)</th></tr>
<tr>
<th>Nom scientifique</th>
<th>Auteur</th>
271,38 → 271,56
</table>
<br/>
<? endif; ?>
<table><tbody>
<tr><th colspan = 6>Synonymie orthographique</th></tr>
<? if ($info['synonyme_douteux'] == 1) : ?>
<tr><td colspan = 6></td></tr>
<tr>
<th>Synonymie douteux</th>
<th>Nom scientifique</th>
<th>Auteur</th>
<th>Année</th>
<th>Référence bibliographique</th>
<th>Nom addendum</th>
<th>Identifiant numérique du nom scientifique</th>
</tr>
<tr>
<td> est un synonyme douteux : </td>
<td><?=$info['nom_complet'];?></td>
<td colspan = 5></td>
</tr>
<? endif; ?>
</tbody>
</table>
</div>
<div id="ref-ref-classification">
<h2>Classification</h2>
<h3>Taxons supérieurs</h3>
<?php if (count($publications) > 0) : ?>
<?php if (isset($classification)) : ?>
<? foreach ($classification as $type=>$class) {?>
<h3>Taxons <?=$type;?></h3>
<table>
<thead>
<tr>
<th <?=($type == 'inférieurs') ? 'colspan="'.$niveau.'"' : '' ?>>Rang</th>
<th>Nom scientifique</th>
<th>Auteur</th>
<th>Année</th>
<th>Référence bibliographique</th>
<th>Nom addendum</th>
<th>Identifiant numérique du nom scientifique</th>
</tr>
</thead>
<tbody>
<? if ($class != '') : ?>
<? foreach ($class as $rang=>$taxon) {?>
<tr>
<? if ($type == 'inférieurs') : ?>
<? for ($i=1; $i<=$niveau; $i++) { ?>
<? if ($i == $taxon['niveau']) : ?>
<td><?=$taxon['rang'];?></td>
<? else : ?>
<td></td>
<? endif; ?>
<? } ?>
<? else : ?>
<td><?=$taxon['rang'];?></td>
<? endif; ?>
<td><?=$taxon['nom_complet'];?></td>
<td><?=$taxon['auteur'];?></td>
<td><?=$taxon['annee'];?></td>
<td><?=$taxon['biblio_origine'];?></td>
<td><?=$taxon['nom_addendum'];?></td>
<td><?=$taxon['num_nom'];?></td>
</tr>
<? } ?>
<? endif; ?>
</tbody>
</table>
<? } ?>
<?php else : ?>
<p>Aucune</p>
<p>Aucune indication</p>
<?php endif; ?>
<h3>Taxons inférieurs</h3>
</div>
 
<div id="ref-ref-note">
310,8 → 328,6
<?= $info['notes'] ? '<h3>Notes générales</h3>'.$info['notes'] : '';?>
<?= $info['hybride_parent_01_notes'] ? '<h3>Notes parent 01 hybride</h3>'.$info['hybride_parent_01_notes'] : '';?>
<?= $info['hybride_parent_02_notes'] ? '<h3>Notes parent 02 hybride</h3>'.$info['hybride_parent_02_notes'] : '';?>
<?= $info['notes'] && $info['hybride_parent_01_notes'] && $info['hybride_parent_02_notes'] ? :
'Aucune note n\'a été ajoutée.';?>
</div>
 
<div id="ref-ref-chorologie">
324,7 → 340,7
<? } ?>
</tr>
<? foreach ($chorologie as $param=>$lieux) { ?>
<tr><td colspan = <?=count($chorologie['Présence'])+1?></td></tr>
<tr><td colspan="<?=count($chorologie['Présence'])+1?>"</td></tr>
<tr><th><?=$param?></th>
<? foreach ($lieux as $lieu) { ?>
<td title = "<?=$lieu['valeur']?>"><?=$lieu['code']?></td>
337,11 → 353,17
 
<div id="ref-ref-complement">
<h2>Compléments</h2>
<h3>Notes liées à la collection</h3>
<?php if (count($commentaires) > 0) : ?>
<?php if ($complement) : ?>
<table>
<? foreach ($complement as $champ=>$valeur) {?>
<tr>
<th><?=$champ;?></th>
<td><?=$valeur;?></td>
</tr>
<? } ?>
</table>
<?php else : ?>
<p>Aucune note n'a été ajoutée.</p>
<p>Pas de champ complémentaire</p>
<?php endif; ?>
</div>