aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2004-01-31 07:07:37 +0000
committerChad Little <clittle@users.sourceforge.net>2004-01-31 07:07:37 +0000
commitc143f2891418cb0f0ae0f80f7d2d58e69879a722 (patch)
tree334840b988d61e27d5ae3ab1b9ee29a2cf0bdd0a /templates
parent90f43e0c205d2e511bb0255fa20d422d15cffc64 (diff)
downloadphpicalendar-c143f2891418cb0f0ae0f80f7d2d58e69879a722.tar.gz
phpicalendar-c143f2891418cb0f0ae0f80f7d2d58e69879a722.tar.bz2
phpicalendar-c143f2891418cb0f0ae0f80f7d2d58e69879a722.zip
Many many changes. Faster templating.
Diffstat (limited to 'templates')
-rw-r--r--templates/default/header.tpl2
-rw-r--r--templates/default/month.tpl4
-rw-r--r--templates/default/month_large.tpl37
3 files changed, 9 insertions, 34 deletions
diff --git a/templates/default/header.tpl b/templates/default/header.tpl
index 7707874..9f680e1 100644
--- a/templates/default/header.tpl
+++ b/templates/default/header.tpl
@@ -9,7 +9,7 @@
<link rel="alternate" type="application/rss+xml" title="RSS" href="{DEFAULT_VIEW}/rss/rss.php?cal={CAL}&amp;rssview={CURRENT_VIEW}">
<!-- switch rss_available off -->
<!-- switch todo_available on -->
- {TODO_JS}
+ {TODO_JS}
<!-- switch todo_available off -->
</head>
<body> \ No newline at end of file
diff --git a/templates/default/month.tpl b/templates/default/month.tpl
index c33987d..dc24b50 100644
--- a/templates/default/month.tpl
+++ b/templates/default/month.tpl
@@ -55,7 +55,7 @@
<table width="100%" cellspacing="1" cellpadding="4" border="0">
<!-- loop showbottomevents_odd on -->
<tr align="left" valign="top">
- <td width="155" class="G10B" nowrap>
+ <td width="170" nowrap>
<a class="psf" href="{CAL}&amp;getdate={DAYLINK}">{START_DATE}</a> <font class="V9G">({START_TIME})</font>
</td>
<td>
@@ -65,7 +65,7 @@
<!-- loop showbottomevents_odd off -->
<!-- loop showbottomevents_even on -->
<tr align="left" valign="top">
- <td width="155" class="G10B" nowrap bgcolor="#EEEEEE">
+ <td width="170" nowrap bgcolor="#EEEEEE">
<a class="psf" href="{CAL}&amp;getdate={DAYLINK}">{START_DATE}</a> <font class="V9G">({START_TIME})</font>
</td>
<td bgcolor="#EEEEEE">
diff --git a/templates/default/month_large.tpl b/templates/default/month_large.tpl
index 0290a1d..7e63d0a 100644
--- a/templates/default/month_large.tpl
+++ b/templates/default/month_large.tpl
@@ -13,23 +13,14 @@
<!-- loop monthdays on -->
<!-- switch notthismonth on -->
<td valign="top" align="left" class="monthoff" width="105" height="105">
-
<div align="right">
<a class="psf" href="day.php?cal={CAL}&amp;getdate={DAYLINK}"><font class="G10G">{DAY}</font></a>
</div>
<!-- switch allday on -->
- <div align="left">
- <div align="center" class="V10">
- {JS_OPEN_EVENT} <a class="psf" href="#" onclick="openEventWindow({EVENT_NUMBER}); return false;">{EVENT_TITLE}</a>
- </div>
- </div>
+ {ALLDAY}
<!-- switch allday off -->
<!-- switch event on -->
- <div align="left">
- <div align="left" class="V9">
- &nbsp; {JS_OPEN_EVENT} <a class="ps3" href="#" onclick="openEventWindow({EVENT_NUMBER}); return false;">{EVENT_TIME} {EVENT_TITLE}</a>
- </div>
- </div>
+ {EVENT}
<!-- switch event off -->
</td>
@@ -40,18 +31,10 @@
<a class="psf" href="day.php?cal={CAL}&amp;getdate={DAYLINK}">{DAY}</a>
</div>
<!-- switch allday on -->
- <div align="left">
- <div align="center" class="V10">
- {JS_OPEN_EVENT} <a class="ps3" href="#" onclick="openEventWindow({EVENT_NUMBER}); return false;">{EVENT_TITLE}</a>
- </div>
- </div>
+ {ALLDAY}
<!-- switch allday off -->
<!-- switch event on -->
- <div align="left">
- <div align="left" class="V9">
- &nbsp; {JS_OPEN_EVENT} <a class="ps3" href="#" onclick="openEventWindow({EVENT_NUMBER}); return false;">{EVENT_TIME} {EVENT_TITLE}</a>
- </div>
- </div>
+ {EVENT}
<!-- switch event off -->
</td>
<!-- switch istoday off -->
@@ -61,18 +44,10 @@
<a class="psf" href="day.php?cal={CAL}&amp;getdate={DAYLINK}">{DAY}</a>
</div>
<!-- switch allday on -->
- <div align="left">
- <div align="left" class="V9">
- {JS_OPEN_EVENT} <a class="ps3" href="#" onclick="openEventWindow({EVENT_NUMBER}); return false;">{EVENT_TITLE}</a>
- </div>
- </div>
+ {ALLDAY}
<!-- switch allday off -->
<!-- switch event on -->
- <div align="left">
- <div align="left" class="V9">
- &nbsp; {JS_OPEN_EVENT} <a class="ps3" href="#" onclick="openEventWindow({EVENT_NUMBER}); return false;">{EVENT_TIME} {EVENT_TITLE}</a>
- </div>
- </div>
+ {EVENT}
<!-- switch event off -->
</td>
<!-- switch ismonth off -->

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