Subversion Repositories Applications.referentiel

Rev

Rev 178 | Rev 185 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 178 Rev 183
Line -... Line 1...
-
 
1
<?php if (isset($erreur)) : ?>
-
 
2
<p class="attention"><?=$erreur?></p>
-
 
3
<?php endif; ?>
1
<table>
4
<table>
2
	<caption><?=count($message['lignes'])?> lignes en erreur</caption>
5
	<caption><?=count($message['lignes'])?> lignes en erreur</caption>
3
	<thead>
6
	<thead>
4
		<tr>
7
		<tr>
5
		<?php foreach ($message['entete'] as $entete) : ?>
8
		<?php foreach ($message['entete'] as $num => $entete) : ?>
6
			<th><?=$entete?></th>
9
			<th<?=(isset($message['title'][$num]) && !empty($message['title'][$num])) ? ' title="'.$message['title'][$num].'"' : ''?>><?=$entete?></th>
7
		<?php endforeach; ?>
10
		<?php endforeach; ?>
8
		</tr>
11
		</tr>
9
	</thead>
12
	</thead>
10
	<tbody>
13
	<tbody>
11
	<?php foreach ($message['lignes'] as $ligne) : ?>
14
	<?php foreach ($message['lignes'] as $num => $ligne) : ?>
12
		<tr>
15
		<tr>
13
		<?php foreach ($ligne as $num => $info) : ?>
16
		<?php foreach ($ligne as $num => $info) : ?>
14
			<td>
17
			<td>
15
			<?php if ($message['entete'][$num] == 'num_nom') : ?>
18
			<?php if ($message['entete'][$num] == 'num_nom') : ?>
16
				<a href="{numNom::<?=$info?>}" title="Voir la fiche du nom"><?=$info?></a>
19
				<a href="{numNom::<?=$info?>}" title="Voir la fiche du nom"><?=$info?></a>