Subversion Repositories Applications.referentiel

Rev

Rev 183 | Rev 309 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<?php if (isset($erreur)) : ?>
<p class="attention"><?=$erreur?></p>
<?php endif; ?>
<table>
        <caption><?=count($message['lignes'])?> lignes en erreur</caption>
        <thead>
                <tr>
                <?php foreach ($message['entete'] as $num => $entete) : ?>
                        <th<?=(isset($message['title'][$num]) && !empty($message['title'][$num])) ? ' title="'.$message['title'][$num].'"' : ''?>><?=$entete?></th>
                <?php endforeach; ?>
                </tr>
        </thead>
        <tbody>
        <?php foreach ($message['lignes'] as $num => $ligne) : ?>
                <tr>
                <?php foreach ($ligne as $num => $info) : ?>
                        <td>
                        <?php if (preg_match('/^(num_nom|num_nom_retenu|num_tax_sup)$/', $message['entete'][$num])) : ?>
                                <a href="{numNom::<?=$info?>}" title="Voir la fiche du nom"><?=$info?></a>
                        <?php else : ?>
                                <?=$info?>
                        <?php endif; ?>
                        </td>
                <?php endforeach; ?>
                </tr>
        <?php endforeach; ?>
        </tbody>
</table>