diff options
author | Chad Little <clittle@users.sourceforge.net> | 2004-02-01 02:20:05 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2004-02-01 02:20:05 +0000 |
commit | acf7bbae2c2bf83f913c88f8a7a7659c7f6c2d15 (patch) | |
tree | b1809b5de92d46fb5385c2541a2fac23053ee078 /templates | |
parent | 9577dad4f3940246d3c1b89c5b5b41c7a34f874f (diff) | |
download | phpicalendar-acf7bbae2c2bf83f913c88f8a7a7659c7f6c2d15.tar.gz phpicalendar-acf7bbae2c2bf83f913c88f8a7a7659c7f6c2d15.tar.bz2 phpicalendar-acf7bbae2c2bf83f913c88f8a7a7659c7f6c2d15.zip |
Year templating is working.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/default/month_large.tpl | 12 | ||||
-rw-r--r-- | templates/default/month_medium.tpl | 27 | ||||
-rw-r--r-- | templates/default/year.tpl | 18 |
3 files changed, 31 insertions, 26 deletions
diff --git a/templates/default/month_large.tpl b/templates/default/month_large.tpl index 0d02c56..d2c507e 100644 --- a/templates/default/month_large.tpl +++ b/templates/default/month_large.tpl @@ -16,8 +16,8 @@ <div align="right"> <a class="psf" href="day.php?cal={CAL}&getdate={DAYLINK}"><font class="G10G">{DAY}</font></a> </div> - {ALLDAY} - {EVENT} + <div align="left" class="V10">{ALLDAY}</div> + <div align="left" class="V9">{EVENT}</div> </td> <!-- switch notthismonth off --> <!-- switch istoday on --> @@ -25,8 +25,8 @@ <div align="right"> <a class="psf" href="day.php?cal={CAL}&getdate={DAYLINK}">{DAY}</a> </div> - {ALLDAY} - {EVENT} + <div align="left" class="V10">{ALLDAY}</div> + <div align="left" class="V9">{EVENT}</div> </td> <!-- switch istoday off --> <!-- switch ismonth on --> @@ -34,8 +34,8 @@ <div align="right"> <a class="psf" href="day.php?cal={CAL}&getdate={DAYLINK}">{DAY}</a> </div> - {ALLDAY} - {EVENT} + <div align="left" class="V10">{ALLDAY}</div> + <div align="left" class="V9">{EVENT}</div> </td> <!-- switch ismonth off --> <!-- loop monthdays off --> diff --git a/templates/default/month_medium.tpl b/templates/default/month_medium.tpl index 9039f12..231252e 100644 --- a/templates/default/month_medium.tpl +++ b/templates/default/month_medium.tpl @@ -1,6 +1,6 @@ <table border="0" width="210" cellspacing="0" cellpadding="0" class="calborder"> <tr> - <td align="center" class="sideback"><div style="height: 20px; margin-top: 3px;" class="G10BOLD"><a class="ps3" href="month.php?cal={CAL}&getdate={MONTH_DATE}">{MONTH_TITLE}</a></div></td> + <td align="center" class="sideback"><div style="height: 16px; margin-top: 3px;" class="G10BOLD"><a class="ps3" href="month.php?cal={CAL}&getdate={MONTH_DATE}">{MONTH_TITLE}</a></div></td> </tr> <tr> <td> @@ -8,29 +8,34 @@ <tr> <!-- loop weekday on --> <td width="30" height="14" class="dateback" align="center"><font class="V9BOLD">{LOOP_WEEKDAY}</font></td> - <!-- loop weekday on --> + <!-- loop weekday off --> </tr> <!-- loop monthweeks on --> <tr height="30"> <!-- loop monthdays on --> <!-- switch notthismonth on --> <td width="30" height="30" align="right" valign="top" class="monthoff" onmouseover="this.style.backgroundColor="#DDDDDD"" onmouseout="this.style.backgroundColor="#F2F2F2"" onclick="window.location.href='day.php?cal=all_calendars_combined971&getdate=20031228'"> - <a class="psf" href="day.php?cal={CAL}&getdate={DAYLINK}"><font class="V9G">28</font></a> + <div align="right" valign="top" class="V9"><a class="psf" href="day.php?cal={CAL}&getdate={DAYLINK}">{DAY}</a></div> </td> <!-- switch notthismonth off --> - <!-- switch ismonth on --> + <!-- switch istoday on --> <td width="30" height="30" align="right" valign="top" class="monthreg" onmouseover="this.style.backgroundColor="#DDDDDD"" onmouseout="this.style.backgroundColor="#FFFFFF"" onclick="window.location.href='day.php?cal=all_calendars_combined971&getdate=20040101'"> - <div align="right" valign="top" class="V9"> + <div align="right" valign="top" class="V9"><a class="psf" href="day.php?cal={CAL}&getdate={DAYLINK}">{DAY}</a></div> <div align="center" valign="top"> - <!-- switch allday on --> - <img src="styles/silver/allday_dot.gif" alt=" " width="11" height="10" border="0"> - <!-- switch allday off --> - <!-- switch event on --> - <img src="styles/silver/event_dot.gif" alt=" " width="11" height="10" border="0"> - <!-- switch event off --> + {ALLDAY} + {EVENT} </div> </td> + <!-- switch istoday off --> <!-- switch ismonth on --> + <td width="30" height="30" align="right" valign="top" class="monthreg" onmouseover="this.style.backgroundColor="#DDDDDD"" onmouseout="this.style.backgroundColor="#FFFFFF"" onclick="window.location.href='day.php?cal=all_calendars_combined971&getdate=20040101'"> + <div align="right" valign="top" class="V9"><a class="psf" href="day.php?cal={CAL}&getdate={DAYLINK}">{DAY}</a></div> + <div align="center" valign="top"> + {ALLDAY} + {EVENT} + </div> + </td> + <!-- switch ismonth off --> <!-- loop monthdays off --> </tr> <!-- loop monthweeks off --> diff --git a/templates/default/year.tpl b/templates/default/year.tpl index b69e338..f297cde 100644 --- a/templates/default/year.tpl +++ b/templates/default/year.tpl @@ -42,19 +42,19 @@ <table border="0" width="670" cellspacing="0" cellpadding="0"> <tr> <td width="210" valign="top" align="left"> - {MONTH_MEDIUM|1} + {MONTH_MEDIUM|01} </td> <td width="20"> <img src="images/spacer.gif" width="20" height="1" alt=" "> </td> <td width="210" valign="top" align="left"> - {MONTH_MEDIUM|2} + {MONTH_MEDIUM|02} </td> <td width="20"> <img src="images/spacer.gif" width="20" height="1" alt=" "> </td> <td width="210" valign="top" align="left"> - {MONTH_MEDIUM|3} + {MONTH_MEDIUM|03} </td> </tr> <tr> @@ -64,19 +64,19 @@ </tr> <tr> <td width="210" valign="top" align="left"> - {MONTH_MEDIUM|4} + {MONTH_MEDIUM|04} </td> <td width="20"> <img src="images/spacer.gif" width="20" height="1" alt=" "> </td> <td width="210" valign="top" align="left"> - {MONTH_MEDIUM|5} + {MONTH_MEDIUM|05} </td> <td width="20"> <img src="images/spacer.gif" width="20" height="1" alt=" "> </td> <td width="210" valign="top" align="left"> - {MONTH_MEDIUM|6} + {MONTH_MEDIUM|06} </td> </tr> <tr> @@ -86,19 +86,19 @@ </tr> <tr> <td width="210" valign="top" align="left"> - {MONTH_MEDIUM|7} + {MONTH_MEDIUM|07} </td> <td width="20"> <img src="images/spacer.gif" width="20" height="1" alt=" "> </td> <td width="210" valign="top" align="left"> - {MONTH_MEDIUM|8} + {MONTH_MEDIUM|08} </td> <td width="20"> <img src="images/spacer.gif" width="20" height="1" alt=" "> </td> <td width="210" valign="top" align="left"> - {MONTH_MEDIUM|9} + {MONTH_MEDIUM|09} </td> </tr> <tr> |