Subversion Repositories Applications.gtt

Compare Revisions

Ignore whitespace Rev 72 → Rev 73

/trunk/presentation/calendrier_mini.tpl.html
New file
0,0 → 1,28
<div id="calendrier_mini" class="calendrier">
<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>
</div>