summaryrefslogtreecommitdiffstats
path: root/themes/default/templates/calendar.tpl
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2007-07-22 05:49:09 +0000
committerAndreas Unterkircher <unki@netshadow.at>2007-07-22 05:49:09 +0000
commit75a329ec022ef21019afb17aecf776a10083e0cb (patch)
treebd9b22ce6004ac2f11ac189e39cc75bf1439b13a /themes/default/templates/calendar.tpl
parent5369d6897b8d04f8733b852a16639b949077b0b8 (diff)
issue61, theme support
git-svn-id: file:///var/lib/svn/phpfspot/trunk@237 fa6a889d-dae6-447d-9e79-4ba9a3039384
Diffstat (limited to 'themes/default/templates/calendar.tpl')
-rw-r--r--themes/default/templates/calendar.tpl28
1 files changed, 28 insertions, 0 deletions
diff --git a/themes/default/templates/calendar.tpl b/themes/default/templates/calendar.tpl
new file mode 100644
index 0000000..1f52732
--- /dev/null
+++ b/themes/default/templates/calendar.tpl
@@ -0,0 +1,28 @@
+<table class="calendar">
+ <tr>
+ <td><a href="{$prev_month}" class="prevMonth">&lt;&lt;</a></td>
+ <td colspan="5">
+ {$current_month}
+ </td>
+ <td><a href="{$next_month}" class="nextMonth">&gt;&gt;</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 $matrix[row][col] }
+ {$matrix[row][col]}
+ {/if}
+ {/section}
+ {/section}
+ <!-- /matrix -->
+</table>
+