diff options
author | Chad Little <clittle@users.sourceforge.net> | 2004-05-12 06:41:29 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2004-05-12 06:41:29 +0000 |
commit | 9991ebf41fcd7aa5d901da6417f73fa73e9a768e (patch) | |
tree | 6b9c3b7af9f204aec2adefa08606b6b338825483 /functions | |
parent | 0c5451e9ef18a328b73dd2f5fe4810f0b0c25568 (diff) | |
download | phpicalendar-9991ebf41fcd7aa5d901da6417f73fa73e9a768e.tar.gz phpicalendar-9991ebf41fcd7aa5d901da6417f73fa73e9a768e.tar.bz2 phpicalendar-9991ebf41fcd7aa5d901da6417f73fa73e9a768e.zip |
Updated background colors for day.
Diffstat (limited to 'functions')
-rw-r--r-- | functions/template.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/functions/template.php b/functions/template.php index bd3dc2f..d2daac9 100644 --- a/functions/template.php +++ b/functions/template.php @@ -287,9 +287,9 @@ class Page { $daydisplay .= '<td rowspan="' . $event_length[$i]['length'] . '" colspan="' . $drawWidth . '" align="left" valign="top" class="eventbg2_'.$event_calno.'">'."\n"; $daydisplay .= '<table width="100%" border="0" cellspacing="0" cellpadding="2">'."\n"; $daydisplay .= '<tr>'."\n"; - $daydisplay .= '<td class="eventborder"><font class="eventfont"><b>'.$event_start.'</b> - '.$event_end.'</font></td>'."\n"; + $daydisplay .= '<td class="eventbg_'.$event_calno.'"><font class="eventfont"><b>'.$event_start.'</b> - '.$event_end.'</font></td>'."\n"; if ($event_status != '') { - $daydisplay .= '<td class="eventborder" width="9" align="right" valign="center"><font class="eventfont">'; + $daydisplay .= '<td class="eventbg_'.$event_calno.'" width="9" align="right" valign="center"><font class="eventfont">'; $daydisplay .= '<img src="images/'.$event_status.'.gif" width="9" height="9" alt="" border="0" hspace="0" vspace="0">'; $daydisplay .= '</font></td>'."\n"; } @@ -298,7 +298,7 @@ class Page { $daydisplay .= '<td colspan="2">'."\n"; $daydisplay .= '<table width="100%" border="0" cellpadding="1" cellspacing="0">'."\n"; $daydisplay .= '<tr>'."\n"; - $daydisplay .= '<td class="eventbg_'.$event_calno.'">'; + $daydisplay .= '<td>'; $event_calna = $this_time_arr[($event_length[$i]['key'])]['calname']; $event_url = $this_time_arr[($event_length[$i]['key'])]['url']; $daydisplay .= openevent($event_calna, $event_start, $event_end, $this_time_arr[($event_length[$i]['key'])], '', 0, '<font class="eventfont">', '</font>', 'psf', $event_url); @@ -312,7 +312,7 @@ class Page { case 'started': break; case 'ended': - $daydisplay .= '<td bgcolor="#eeeeee" colspan="' . $drawWidth . '" ' . $class . '> </td>'."\n"; + $daydisplay .= '<td bgcolor="#ffffff" colspan="' . $drawWidth . '" ' . $class . '> </td>'."\n"; break; } $event_length[$i]['length']--; |