summaryrefslogtreecommitdiffstats
path: root/templates/calendar.tpl
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2007-07-14 12:06:42 +0000
committerAndreas Unterkircher <unki@netshadow.at>2007-07-14 12:06:42 +0000
commit4a0b6f6114f19cebd796b3b1c6e5253edc3267c3 (patch)
tree6a42f880704f41d632c473c8d48545680a77bd58 /templates/calendar.tpl
parent856af471b7a6025f1438f09ff0d701dd78fd99ea (diff)
issue24, first trial of date search is now included
git-svn-id: file:///var/lib/svn/phpfspot/trunk@198 fa6a889d-dae6-447d-9e79-4ba9a3039384
Diffstat (limited to 'templates/calendar.tpl')
-rw-r--r--templates/calendar.tpl28
1 files changed, 28 insertions, 0 deletions
diff --git a/templates/calendar.tpl b/templates/calendar.tpl
new file mode 100644
index 0000000..1f52732
--- /dev/null
+++ b/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>
+