diff options
author | Chad Little <clittle@users.sourceforge.net> | 2004-05-16 07:05:39 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2004-05-16 07:05:39 +0000 |
commit | 2368ba6f20b44a15e7e9f9d29a1b17bcff940bd6 (patch) | |
tree | ffe6a69b976c8779511c60175cc5ef903d465bf3 /templates | |
parent | 2689498f9dfc027d360b7fdb023fe6c5a4038ec1 (diff) | |
download | phpicalendar-2368ba6f20b44a15e7e9f9d29a1b17bcff940bd6.tar.gz phpicalendar-2368ba6f20b44a15e7e9f9d29a1b17bcff940bd6.tar.bz2 phpicalendar-2368ba6f20b44a15e7e9f9d29a1b17bcff940bd6.zip |
Year XHTML validation.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/default/default.css | 3 | ||||
-rw-r--r-- | templates/default/month_medium.tpl | 18 | ||||
-rw-r--r-- | templates/default/year.tpl | 2 |
3 files changed, 13 insertions, 10 deletions
diff --git a/templates/default/default.css b/templates/default/default.css index ca922c2..660d2e9 100644 --- a/templates/default/default.css +++ b/templates/default/default.css @@ -61,6 +61,9 @@ table, td {font: 11px Verdana, Arial, sans-serif; color: #000;} .monthreg { background-color: #fff; height: 105px; width: 105px; text-align: left; vertical-align: top; }
.monthoff { background-color: #F2F2F2; height: 105px; width: 105px; text-align: left; vertical-align: top; }
.monthon { background-color: #F2F9FF; height: 105px; width: 105px; text-align: left; vertical-align: top; }
+.yearreg { background-color: #fff; height: 30px; width: 30px; text-align: left; vertical-align: top; }
+.yearoff { background-color: #F2F2F2; height: 30px; width: 30px; text-align: left; vertical-align: top; }
+.yearon { background-color: #F2F9FF; height: 30px; width: 30px; text-align: left; vertical-align: top; }
.montheventtop { background-image: url(images/side_bg.gif); border-top: 1px solid #A1A5A9; }
.montheventline { border-right: 1px dotted #A1A5A9; }
.yearmonth { background: #CCCCCC; }
diff --git a/templates/default/month_medium.tpl b/templates/default/month_medium.tpl index 1fb74ed..a6f33ae 100644 --- a/templates/default/month_medium.tpl +++ b/templates/default/month_medium.tpl @@ -11,26 +11,26 @@ <!-- loop weekday off --> </tr> <!-- loop monthweeks on --> - <tr height="30"> + <tr> <!-- 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'"> - <div align="right" valign="top" class="V9"><a class="psf" href="day.php?cal={CAL}&getdate={DAYLINK}">{DAY}</a></div> + <td class="yearoff" onmouseover="this.style.backgroundColor='#DDDDDD'" onmouseout="this.style.backgroundColor='#F2F2F2'" onclick="window.location.href='day.php?cal=all_calendars_combined971&getdate={DAYLINK}'"> + <div align="right" class="V9"><a class="psf" href="day.php?cal={CAL}&getdate={DAYLINK}">{DAY}</a></div> </td> <!-- switch notthismonth off --> <!-- 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"><a class="psf" href="day.php?cal={CAL}&getdate={DAYLINK}">{DAY}</a></div> - <div align="center" valign="top"> + <td class="yearreg" onmouseover="this.style.backgroundColor='#DDDDDD'" onmouseout="this.style.backgroundColor='#FFFFFF'" onclick="window.location.href='day.php?cal=all_calendars_combined971&getdate={DAYLINK}'"> + <div align="right" class="V9"><a class="psf" href="day.php?cal={CAL}&getdate={DAYLINK}">{DAY}</a></div> + <div align="center"> {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"> + <td class="yearreg" onmouseover="this.style.backgroundColor='#DDDDDD'" onmouseout="this.style.backgroundColor='#FFFFFF'" onclick="window.location.href='day.php?cal=all_calendars_combined971&getdate={DAYLINK}'"> + <div align="right" class="V9"><a class="psf" href="day.php?cal={CAL}&getdate={DAYLINK}">{DAY}</a></div> + <div align="center"> {ALLDAY} {EVENT} </div> diff --git a/templates/default/year.tpl b/templates/default/year.tpl index 2534826..d90bb47 100644 --- a/templates/default/year.tpl +++ b/templates/default/year.tpl @@ -14,7 +14,7 @@ <td align="right" width="45%" class="navback"> <a class="psf" href="year.php?cal={CAL}&getdate={PREV_YEAR}"><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"> + <td align="center" width="10%" class="navback" nowrap="nowrap" valign="middle"> <font class="H20">{THIS_YEAR}</font> </td> <td align="left" width="45%" class="navback"> |