diff options
Diffstat (limited to 'themes/arun/templates/calendar.tpl')
-rw-r--r-- | themes/arun/templates/calendar.tpl | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/themes/arun/templates/calendar.tpl b/themes/arun/templates/calendar.tpl new file mode 100644 index 0000000..8c1d27e --- /dev/null +++ b/themes/arun/templates/calendar.tpl @@ -0,0 +1,28 @@ +<table class="calendar"> + <tr> + <td><a href="{$prev_month}" class="prevMonth"><<</a></td> + <td colspan="5"> + {$current_month} + </td> + <td><a href="{$next_month}" class="nextMonth">>></a></td> + </tr> + <tr> + <td>M</td> + <td>T</td> + <td>W</td> + <td>T</td> + <td>F</td> + <td>S</td> + <td>S</td> + </tr> + <!-- matrix --> + {section name="row" loop=$rows step=1} + {section name="col" loop=8 step=1} + {if isset($matrix[row][col]) } + {$matrix[row][col]} + {/if} + {/section} + {/section} + <!-- /matrix --> +</table> + |