diff options
author | Chad Little <clittle@users.sourceforge.net> | 2004-01-30 07:31:59 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2004-01-30 07:31:59 +0000 |
commit | 1ba7a7ab5f732de3efe95f36bb1c906080a23e72 (patch) | |
tree | 62fca029ba2ce817dfd7f1b51916fe3cb3f38f60 /templates | |
parent | e97ade7b2fc669793200aaa63eccf642fc5302a2 (diff) | |
download | phpicalendar-1ba7a7ab5f732de3efe95f36bb1c906080a23e72.tar.gz phpicalendar-1ba7a7ab5f732de3efe95f36bb1c906080a23e72.tar.bz2 phpicalendar-1ba7a7ab5f732de3efe95f36bb1c906080a23e72.zip |
Minor tweaks.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/default/default.css | 5 | ||||
-rw-r--r-- | templates/default/month.tpl | 49 | ||||
-rw-r--r-- | templates/default/month_small.tpl | 6 |
3 files changed, 47 insertions, 13 deletions
diff --git a/templates/default/default.css b/templates/default/default.css index 9a1c328..7064c25 100644 --- a/templates/default/default.css +++ b/templates/default/default.css @@ -99,3 +99,8 @@ body { background-color: #E5E5E5; } .query_style { font-size: 11px; font-family: verdana, geneva, arial, sans-serif; width: 156px; margin-bottom: 0; }
.search_style { font-size: 12px; font-family: verdana, geneva, arial, sans-serif; width: 134px; margin-bottom: 0; }
.login_style { font-size: 11px; font-family: verdana, geneva, arial, sans-serif; width: 80px; margin-bottom: 0; }
+
+/* Background images for tables */
+.tbll {background: url(images/shadow_l.gif) no-repeat; width:8px}
+.tblbot {background: url(images/shadow_m.gif) repeat-x; width:100%}
+.tblr {background: url(images/shadow_r.gif) no-repeat; width:8px}
\ No newline at end of file diff --git a/templates/default/month.tpl b/templates/default/month.tpl index be0135c..072c7ce 100644 --- a/templates/default/month.tpl +++ b/templates/default/month.tpl @@ -31,29 +31,58 @@ </tr> </table> {MONTH_LARGE|+0} + <table width="735" border="0" cellpadding="0" cellspacing="0"> + <tr> + <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4"></td> + <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4"></td> + <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4"></td> + </tr> + </table> <br> {CALENDAR_NAV} <!-- switch showbottom on --> <br> - <table width="737" border="0" cellspacing="0" cellpadding="3" class="calborder"> - <!-- loop showbottomevents on --> + <table width="737" border="0" cellspacing="0" cellpadding="0" class="calborder"> <tr> <td colspan="3" align="center" class="sideback" nowrap> - <div style="height: 16px;" class="G10BOLD"> + <div style="height: 20px;" class="G10BOLD"> {L_THIS_MONTHS_EVENTS} </div> </td> </tr> - <tr align="left" valign="top"> - <td width="155" class="G10B" nowrap> - <a class="psf" href="{CAL}&getdate={DAYLINK}">{START_DATE}</a> <font class="V9G">({START_TIME})</font> - </td> - <td width="5" class="montheventline" {ROWSPAN}></td> + <tr> <td> - {JS_OPENEVENT}<a class="psf" href="#" onclick="openEventWindow({EVENT_NUMBER}); return false;"><font class="G10B">{EVENT_TEXT}</font></a> + <table width="100%" cellspacing="1" cellpadding="4" border="0"> + <!-- loop showbottomevents_odd on --> + <tr align="left" valign="top"> + <td width="155" class="G10B" nowrap> + <a class="psf" href="{CAL}&getdate={DAYLINK}">{START_DATE}</a> <font class="V9G">({START_TIME})</font> + </td> + <td> + {JS_OPENEVENT}<a class="psf" href="#" onclick="openEventWindow({EVENT_NUMBER}); return false;"><font class="G10B">{EVENT_TEXT}</font></a> + </td> + </tr> + <!-- loop showbottomevents_odd off --> + <!-- loop showbottomevents_even on --> + <tr align="left" valign="top"> + <td width="155" class="G10B" nowrap bgcolor="#EEEEEE"> + <a class="psf" href="{CAL}&getdate={DAYLINK}">{START_DATE}</a> <font class="V9G">({START_TIME})</font> + </td> + <td bgcolor="#EEEEEE"> + {JS_OPENEVENT}<a class="psf" href="#" onclick="openEventWindow({EVENT_NUMBER}); return false;"><font class="G10B">{EVENT_TEXT}</font></a> + </td> + </tr> + <!-- loop showbottomevents_even off --> + </table> </td> </tr> - <!-- loop showbottomevents off --> + </table> + <table width="737" border="0" cellpadding="0" cellspacing="0"> + <tr> + <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4"></td> + <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4"></td> + <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4"></td> + </tr> </table> <!-- switch showbottom off --> </center> diff --git a/templates/default/month_small.tpl b/templates/default/month_small.tpl index 362102a..93552b4 100644 --- a/templates/default/month_small.tpl +++ b/templates/default/month_small.tpl @@ -14,17 +14,17 @@ <tr align="center"> <!-- switch notthismonth on --> <td> - <a class="{CLASS}" href="{MINICAL_VIEW}.php?cal={CAL}&getdate={DAYLINK}">{DAY}</a> + <a class="psf" href="{MINICAL_VIEW}.php?cal={CAL}&getdate={DAYLINK}"><span class="G10G">{DAY}</span></a> </td> <!-- switch notthismonth off --> <!-- switch isevent on --> <td> - <a class="{CLASS}" href="{MINICAL_VIEW}.php?cal={CAL}&getdate={DAYLINK}">{DAY}</a> + <a class="ps2" href="{MINICAL_VIEW}.php?cal={CAL}&getdate={DAYLINK}">{DAY}</a> </td> <!-- switch isevent off --> <!-- switch notevent on --> <td> - <a class="{CLASS}" href="{MINICAL_VIEW}.php?cal={CAL}&getdate={DAYLINK}">{DAY}</a> + <a class="psf" href="{MINICAL_VIEW}.php?cal={CAL}&getdate={DAYLINK}">{DAY}</a> </td> <!-- switch notevent off --> </tr> |