diff options
author | Chad Little <clittle@users.sourceforge.net> | 2004-01-29 19:13:36 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2004-01-29 19:13:36 +0000 |
commit | 5670ca7e64615b3082e20db1be2a1b092a06846a (patch) | |
tree | b9b0b9a035b3a3519b8abe41822b552a42d64937 /templates | |
parent | 5e6203cff60485d07f152f1ec337159cb6065cd8 (diff) | |
download | phpicalendar-5670ca7e64615b3082e20db1be2a1b092a06846a.tar.gz phpicalendar-5670ca7e64615b3082e20db1be2a1b092a06846a.tar.bz2 phpicalendar-5670ca7e64615b3082e20db1be2a1b092a06846a.zip |
Initial checkin of 2 new templates.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/default/month_medium.tpl | 51 | ||||
-rw-r--r-- | templates/default/year.tpl | 128 |
2 files changed, 179 insertions, 0 deletions
diff --git a/templates/default/month_medium.tpl b/templates/default/month_medium.tpl new file mode 100644 index 0000000..43217f8 --- /dev/null +++ b/templates/default/month_medium.tpl @@ -0,0 +1,51 @@ +<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> + </tr> + <tr> + <td> + <table border="0" width="210" cellspacing="1" cellpadding="0" class="yearmonth"> + <tr> + <!-- loop weekday on --> + <td width="30" height="14" class="dateback" align="center"><font class="V9BOLD">{LOOP_WEEKDAY}</font></td> + <!-- loop weekday on --> + </tr> + <!-- loop monthweeks on --> + <tr height="30"> + <!-- 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> + </td> + <!-- switch notthismonth off --> + <!-- switch isevent 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'"> + <table width="100%" border="0" cellspacing="0" cellpadding="1"> + <tr> + <td align="right" valign="top" class="V9"> + <a class="psf" href="day.php?cal={CAL}&getdate={DAYLINK}">{DAY}</a> + </td> + </tr> + <tr> + <td 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 normal on --> + <img src="styles/silver/event_dot.gif" alt=" " width="11" height="10" border="0"> + <!-- switch normal off --> + </td> + </tr> + </table> + </td> + <!-- switch isevent on --> + <!-- switch notevent 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=20041120'"> + <font class="V9"><a class="psf" href="day.php?cal={CAL}&getdate={DAYLINK}">{DAY}</a></font> + </td> + <!-- switch notevent off --> + </tr> + <!-- loop monthweeks off --> + </table> + </td> + </tr> +</table>
\ No newline at end of file diff --git a/templates/default/year.tpl b/templates/default/year.tpl new file mode 100644 index 0000000..b69e338 --- /dev/null +++ b/templates/default/year.tpl @@ -0,0 +1,128 @@ +{HEADER} +<center> + <table width="676" border="0" cellspacing="0" cellpadding="0" class="calborder"> + <tr> + <td align="center" valign="middle" bgcolor="white"> + <table width="100%" border="0" cellspacing="0" cellpadding="0"> + <tr> + <td align="left" width="120" class="navback"> + + </td> + <td class="navback"> + <table width="100%" border="0" cellspacing="0" cellpadding="0"> + <tr> + <td align="right" width="45%" class="navback"> + <a class="psf" href="year.php?cal=all_calendars_combined971&getdate=20030129"><img src="styles/silver/left_day.gif" alt="[Previous Year]" border="0" align="right"></a> + </td> + <td align="center" width="10%" class="navback" nowrap valign="middle"> + <font class="H20">2004</font> + </td> + <td align="left" width="45%" class="navback"> + <a class="psf" href="year.php?cal=all_calendars_combined971&getdate=20050129"><img src="styles/silver/right_day.gif" alt="[Next Year]" border="0" align="left"></a> + </td> + </tr> + </table> + </td> + <td align="right" width="120" class="navback"> + <table width="120" border="0" cellpadding="0" cellspacing="0"> + <tr> + <td><a class="psf" href="day.php?cal={CAL}&getdate={GETDATE}"><img src="templates/{TEMPLATE}/images/day_on.gif" alt="{L_DAY}" border="0"></a></td> + <td><a class="psf" href="week.php?cal={CAL}&getdate={GETDATE}"><img src="templates/{TEMPLATE}/images/week_on.gif" alt="{L_WEEK}" border="0"></a></td> + <td><a class="psf" href="month.php?cal={CAL}&getdate={GETDATE}"><img src="templates/{TEMPLATE}/images/month_on.gif" alt="{L_MONTH}" border="0"></a></td> + <td><a class="psf" href="year.php?cal={CAL}&getdate={GETDATE}"><img src="templates/{TEMPLATE}/images/year_on.gif" alt="{L_YEAR}" border="0"></a></td> + </tr> + </table> + </td> + </tr> + </table> + </td> + </tr> + </table> + <br> + <table border="0" width="670" cellspacing="0" cellpadding="0"> + <tr> + <td width="210" valign="top" align="left"> + {MONTH_MEDIUM|1} + </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} + </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} + </td> + </tr> + <tr> + <td colspan="5"> + <img src="images/spacer.gif" width="1" height="20" alt=" "> + </td> + </tr> + <tr> + <td width="210" valign="top" align="left"> + {MONTH_MEDIUM|4} + </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} + </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} + </td> + </tr> + <tr> + <td colspan="5"> + <img src="images/spacer.gif" width="1" height="20" alt=" "> + </td> + </tr> + <tr> + <td width="210" valign="top" align="left"> + {MONTH_MEDIUM|7} + </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} + </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} + </td> + </tr> + <tr> + <td colspan="5"> + <img src="images/spacer.gif" width="1" height="20" alt=" "> + </td> + </tr> + <tr> + <td width="210" valign="top" align="left"> + {MONTH_MEDIUM|10} + </td> + <td width="20"> + <img src="images/spacer.gif" width="20" height="1" alt=" "> + </td> + <td width="210" valign="top" align="left"> + {MONTH_MEDIUM|11} + </td> + <td width="20"> + <img src="images/spacer.gif" width="20" height="1" alt=" "> + </td> + <td width="210" valign="top" align="left"> + {MONTH_MEDIUM|12} + </td> + </tr> + </table> +</center> +{FOOTER} |