Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 646 → Rev 647

/trunk/modules/pdf_export/squelettes/pdf_classification.tpl.html
New file
0,0 → 1,46
<!-- Classification -->
<div class="bloc no-break">
<div class="categorie">Classification</div>
<div class="no-break">
<?php if ($classification['taxons_sup'] != array()) : ?>
<h2> Place du taxon dans la classification </h2>
<span class="citation"><?= $classification['meta']['titre']?></span>
<table class="allow-break">
<tr>
<th>Rang</th><th>Nom Scientifique</th><th>Num Nom</th>
</tr>
<?php foreach ($classification['taxons_sup'] as $taxon) : ?>
<tr>
<td><?= $taxon['rang.libelle'] ?></td>
<td><?= $taxon['nom_sci'] ?></td>
<td><?= $taxon['num_nom'] ?></td>
</tr>
<?php endforeach; ?>
<tr class='surlignage'>
<td><?= $classification['taxon_courant']['rang.libelle'] ?></td>
<td><?= $classification['taxon_courant']['nom_sci'] ?></td>
<td><?= $classification['taxon_courant']['num_nom'] ?></td>
</tr>
<?php if ($classification['taxon_inf'] != array()) : ?>
<?php foreach($classification['taxon_inf'] as $taxon) : ?>
<tr>
<td><?= $taxon['rang.libelle'] ?></td>
<td><?= $taxon['nom_sci'] ?></td>
<td><?= $taxon['num_nom'] ?></td>
</tr>
<?php endforeach; ?>
<?php endif; ?>
</table>
<?php endif; ?>
</div>
<!-- VIDE DE DONNEES -->
<?php if ( empty($classification['taxons_sup']) && empty($classification['taxon_inf'] ) ) : ?>
Aucune donnée.
<?php endif; ?>
</div>
<br/>
<br/>