aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2004-02-01 01:22:10 +0000
committerChad Little <clittle@users.sourceforge.net>2004-02-01 01:22:10 +0000
commit9577dad4f3940246d3c1b89c5b5b41c7a34f874f (patch)
tree8512d876808cd1d3a440b38ee022ff864d0e84e8 /templates
parent7cade3b04274ecc2d3583a0602cc5de3643e81a6 (diff)
downloadphpicalendar-9577dad4f3940246d3c1b89c5b5b41c7a34f874f.tar.gz
phpicalendar-9577dad4f3940246d3c1b89c5b5b41c7a34f874f.tar.bz2
phpicalendar-9577dad4f3940246d3c1b89c5b5b41c7a34f874f.zip
Month templates now down to under 2 seconds. Weeeee.
Diffstat (limited to 'templates')
-rw-r--r--templates/default/month_large.tpl25
-rw-r--r--templates/default/month_small.tpl15
2 files changed, 6 insertions, 34 deletions
diff --git a/templates/default/month_large.tpl b/templates/default/month_large.tpl
index 7e63d0a..0d02c56 100644
--- a/templates/default/month_large.tpl
+++ b/templates/default/month_large.tpl
@@ -16,13 +16,8 @@
<div align="right">
<a class="psf" href="day.php?cal={CAL}&amp;getdate={DAYLINK}"><font class="G10G">{DAY}</font></a>
</div>
- <!-- switch allday on -->
- {ALLDAY}
- <!-- switch allday off -->
- <!-- switch event on -->
- {EVENT}
- <!-- switch event off -->
-
+ {ALLDAY}
+ {EVENT}
</td>
<!-- switch notthismonth off -->
<!-- switch istoday on -->
@@ -30,12 +25,8 @@
<div align="right">
<a class="psf" href="day.php?cal={CAL}&amp;getdate={DAYLINK}">{DAY}</a>
</div>
- <!-- switch allday on -->
- {ALLDAY}
- <!-- switch allday off -->
- <!-- switch event on -->
- {EVENT}
- <!-- switch event off -->
+ {ALLDAY}
+ {EVENT}
</td>
<!-- switch istoday off -->
<!-- switch ismonth on -->
@@ -43,12 +34,8 @@
<div align="right">
<a class="psf" href="day.php?cal={CAL}&amp;getdate={DAYLINK}">{DAY}</a>
</div>
- <!-- switch allday on -->
- {ALLDAY}
- <!-- switch allday off -->
- <!-- switch event on -->
- {EVENT}
- <!-- switch event off -->
+ {ALLDAY}
+ {EVENT}
</td>
<!-- switch ismonth off -->
<!-- loop monthdays off -->
diff --git a/templates/default/month_small.tpl b/templates/default/month_small.tpl
index 5ecb02f..27606f7 100644
--- a/templates/default/month_small.tpl
+++ b/templates/default/month_small.tpl
@@ -15,32 +15,17 @@
<!-- loop monthdays on -->
<!-- switch notthismonth on -->
<td>
- <!-- switch anyevent on -->
<a class="psf" href="{MINICAL_VIEW}.php?cal={CAL}&amp;getdate={DAYLINK}"><span class="G10G">{DAY}</span></a>
- <!-- switch anyevent off -->
- <!-- switch noevent on -->
- <a class="psf" href="{MINICAL_VIEW}.php?cal={CAL}&amp;getdate={DAYLINK}"><span class="G10G">{DAY}</span></a>
- <!-- switch noevent off -->
</td>
<!-- switch notthismonth off -->
<!-- switch istoday on -->
<td>
- <!-- switch anyevent on -->
<a class="ps2" href="{MINICAL_VIEW}.php?cal={CAL}&amp;getdate={DAYLINK}">{DAY}</a>
- <!-- switch anyevent off -->
- <!-- switch noevent on -->
- <a class="psf" href="{MINICAL_VIEW}.php?cal={CAL}&amp;getdate={DAYLINK}">{DAY}</a>
- <!-- switch noevent off -->
</td>
<!-- switch istoday off -->
<!-- switch ismonth on -->
<td>
- <!-- switch anyevent on -->
- <a class="ps2" href="{MINICAL_VIEW}.php?cal={CAL}&amp;getdate={DAYLINK}">{DAY}</a>
- <!-- switch anyevent off -->
- <!-- switch noevent on -->
<a class="psf" href="{MINICAL_VIEW}.php?cal={CAL}&amp;getdate={DAYLINK}">{DAY}</a>
- <!-- switch noevent off -->
</td>
<!-- switch ismonth off -->
<!-- loop monthdays off -->

© 2014-2024 Faster IT GmbH | imprint | privacy policy