Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 1548 → Rev 1549

/trunk/modules/fiche/squelettes/fiche_statut.tpl.html
4,7 → 4,7
<?php if(isset($statuts[0])) { ?>
<table class="liste_statuts_protection">
<tr>
<th>Zone géographique</th><th>Règle appliquée</th><th>Texte</th>
<th>Zone géographique</th><th>Texte</th>
</tr>
<?php if ($statuts != array()) : ?>
<?php foreach ($statuts as $index => $statut) : ?>
11,11 → 11,12
<?php if(is_numeric($index)) { ?>
<tr>
<td><?= $statut['zone_application']; ?></td>
<td><?= $statut['regle']; ?></td>
<td><a class="lien_externe" title="Voir le texte de loi relatif" href="<?= $statut['hyperlien_legifrance']; ?>">
<?= $statut['texte']; ?>
</a>
(<?= $statut['statut']; ?>)
<td><?= $statut['citation']; ?>
<?php if(isset($statut['hyperlien'])) { ?>
<a class="lien_externe" title="Voir le texte de loi relatif" href="<?= $statut['hyperlien']; ?>">
Voir le texte de loi relatif
</a>
<?php } ?>
</td>
</tr>
<?php } ?>
24,7 → 25,7
<?php } else { ?>
<table class="liste_statuts_protection largeur-11">
<tr>
<th>Zone géographique</th><th>Règle appliquée</th><th>Texte</th><th class="largeur-01">Nom</th>
<th>Zone géographique</th><th>Texte</th><th class="largeur-01">Nom</th>
</tr>
<?php if ($statuts != array()) : ?>
<?php foreach ($statuts as $za => $lois) : ?>
32,8 → 33,13
<?php foreach ($lois as $loi) : ?>
<tr>
<td><?= $za; ?></td>
<td><?= $loi['regle']; ?></td>
<td><?= $loi['texte']; ?> (<?= $loi['statut']; ?>)</td>
<td><?= $loi['citation']; ?>
<?php if(isset($loi['hyperlien'])) { ?>
<a class="lien_externe" title="Voir le texte de loi relatif" href="<?= $loi['hyperlien']; ?>">
Voir le texte de loi relatif
</a>
<?php } ?>
</td>
<td><i><?php foreach ($loi['nom_sci'] as $nom_sci) { echo "- ".$nom_sci."<br /><br />"; } ?></i></td>
</tr>
<?php endforeach; ?>