diff options
author | Arun Persaud <arun@nubati.net> | 2010-02-23 00:04:14 -0800 |
---|---|---|
committer | Arun Persaud <arun@nubati.net> | 2010-02-28 20:01:17 -0800 |
commit | 21e5440db59e4ee3ba71c3a8935a123cc48aea46 (patch) | |
tree | 44fcfc6a9c82d24d321ec5e55ba89df746030b82 /themes/arun/templates/calendar.tpl | |
parent | 8d922ef0624485c509978a8184e2b1d1c51a1fd7 (diff) |
started my own theme
need to clean this up, some code should perhaps go into main, other should stay in my theme
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> + |