Subversion Repositories Applications.gtt

Rev

Rev 73 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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