Subversion Repositories Applications.referentiel

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
183 jpm 1
<?php if (isset($erreur)) : ?>
2
<p class="attention"><?=$erreur?></p>
3
<?php endif; ?>
30 jpm 4
<table>
33 jpm 5
	<caption><?=count($message['lignes'])?> lignes en erreur</caption>
30 jpm 6
	<thead>
7
		<tr>
183 jpm 8
		<?php foreach ($message['entete'] as $num => $entete) : ?>
9
			<th<?=(isset($message['title'][$num]) && !empty($message['title'][$num])) ? ' title="'.$message['title'][$num].'"' : ''?>><?=$entete?></th>
30 jpm 10
		<?php endforeach; ?>
11
		</tr>
12
	</thead>
13
	<tbody>
183 jpm 14
	<?php foreach ($message['lignes'] as $num => $ligne) : ?>
30 jpm 15
		<tr>
178 jpm 16
		<?php foreach ($ligne as $num => $info) : ?>
17
			<td>
185 jpm 18
			<?php if (preg_match('/^(num_nom|num_nom_retenu|num_tax_sup)$/', $message['entete'][$num])) : ?>
178 jpm 19
				<a href="{numNom::<?=$info?>}" title="Voir la fiche du nom"><?=$info?></a>
20
			<?php else : ?>
21
				<?=$info?>
22
			<?php endif; ?>
23
			</td>
30 jpm 24
		<?php endforeach; ?>
25
		</tr>
26
	<?php endforeach; ?>
27
	</tbody>
28
</table>