Subversion Repositories Applications.gtt

Rev

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

Rev Author Line No. Line
73 jpm 1
<div id="calendrier_mini" class="calendrier">
2
	<table>
3
		<caption><a href="<?=$url_mois_precedent;?>">&lt;&lt;</a> <?=$mois['mois'];?>
4
		<?=$mois['annee'];?> <a href="<?=$url_mois_suivant;?>">&gt;&gt;</a></caption>
5
		<thead>
6
			<tr>
7
				<th>Lun</th>
8
				<th>Mar</th>
9
				<th>Mer</th>
10
				<th>Jeu</th>
11
				<th>Ven</th>
12
				<th>Sam</th>
13
				<th>Dim</th>
14
			</tr>
15
		</thead>
16
		<tbody>
17
			<?php foreach ($elements as $semaine) : ?>
18
			<tr>
19
				<?php foreach ($semaine as $jour) : ?>
20
				<td class="<?=$jour['class'];?>"> <? if ($jour['class'] == 'jour_vide') :?>
21
				<?=$jour['jour'];?> <? else :?> <a href="<?=$jour['url'];?>"><?=$jour['jour'];?></a>
22
				<? endif;?></td>
23
				<?php endforeach; ?>
24
			</tr>
25
			<?php endforeach; ?>
26
		</tbody>
27
	</table>
28
</div>