Subversion Repositories Applications.gtt

Compare Revisions

Ignore whitespace Rev 191 → Rev 192

/branches/v1.3-critias/presentation/calendrier_mini.tpl.html
New file
0,0 → 1,30
<div id="calendrier_mini" class="calendrier">
<h2>Calendrier</h2>
<table>
<caption><a href="<?=$url_mois_precedent;?>">&lt;&lt;</a> <?=$mois['mois'];?>
<?=$mois['annee'];?> <a href="<?=$url_mois_suivant;?>">&gt;&gt;</a></caption>
<thead>
<tr>
<th>Lun</th>
<th>Mar</th>
<th>Mer</th>
<th>Jeu</th>
<th>Ven</th>
<th>Sam</th>
<th>Dim</th>
</tr>
</thead>
<tbody>
<?php foreach ($elements as $semaine) : ?>
<tr>
<?php foreach ($semaine as $jour) : ?>
<td class="<?=$jour['class'];?>"> <? if ($jour['class'] == 'jour_vide') :?>
<?=$jour['jour'];?> <? else :?> <a href="<?=$jour['url'];?>"><?=$jour['jour'];?></a>
<? endif;?></td>
<?php endforeach; ?>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<hr/>
</div>