avoid notice messages about undefined variables, resolves #179
[phpfspot.git] / themes / default / templates / calendar.tpl
1 <table class="calendar">
2  <tr>
3   <td><a href="{$prev_month}" class="prevMonth">&lt;&lt;</a></td>
4   <td colspan="5">
5    {$current_month}
6   </td>
7   <td><a href="{$next_month}" class="nextMonth">&gt;&gt;</a></td>
8  </tr>
9  <tr>
10   <td>M</td>
11   <td>T</td>
12   <td>W</td>
13   <td>T</td>
14   <td>F</td>
15   <td>S</td>
16   <td>S</td>
17  </tr>
18  <!-- matrix -->
19  {section name="row" loop=$rows step=1}
20   {section name="col" loop=8 step=1}
21    {if isset($matrix[row][col]) }
22     {$matrix[row][col]}
23    {/if}
24   {/section}
25  {/section}
26  <!-- /matrix -->
27 </table>
28