diff options
author | Chad Little <clittle@users.sourceforge.net> | 2003-11-19 07:54:09 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2003-11-19 07:54:09 +0000 |
commit | 19cac1259321933ee407ed6b077ef3d2aa9e9e58 (patch) | |
tree | 0be77a87ce554c71c61e8c61e7e4f27da9580a17 /week.php | |
parent | c5dca58b0b5707155d732a9f43894513bfc23b5c (diff) | |
download | phpicalendar-19cac1259321933ee407ed6b077ef3d2aa9e9e58.tar.gz phpicalendar-19cac1259321933ee407ed6b077ef3d2aa9e9e58.tar.bz2 phpicalendar-19cac1259321933ee407ed6b077ef3d2aa9e9e58.zip |
Checked in a new popup system. Also added calname to calendar for popup reference.
Diffstat (limited to 'week.php')
-rw-r--r-- | week.php | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -163,10 +163,11 @@ include (BASE.'includes/header.inc.php'); foreach($master_array[($thisday)]["-1"] as $allday) { echo "<tr>\n"; $event_calno = $allday['calnumber']; + $event_calna = $allday['calname']; if ($event_calno < 1) $event_calno=1; if ($event_calno > 7) $event_calno=7; echo '<td valign="top" align="center" class="eventbg_'.$event_calno.'">'; - openevent("$calendar_name", + openevent("$event_calna", "", "", $allday, @@ -306,9 +307,9 @@ include (BASE.'includes/header.inc.php'); $event_end = $this_time_arr[($event_length[$thisday][$i]["key"])]["end_unixtime"]; if (isset($this_time_arr[($event_length[$thisday][$i]["key"])]['display_end'])) $event_end = strtotime ($this_time_arr[($event_length[$thisday][$i]["key"])]['display_end']); $event_end = date ($timeFormat, $event_end); - // Todo: keep track of where the event comes from, and indicate that to openevent instead of $ALL_CALENDARS_COMBINED - if ($cal == $ALL_CALENDARS_COMBINED) $calendar_name2=$cal; else $calendar_name2=$calendar_name; - openevent("$calendar_name2", + + $event_calna = $this_time_arr[($event_length[$thisday][$i]["key"])]['calname']; + openevent("$event_calna", "$event_start", "$event_end", $this_time_arr[($event_length[$thisday][$i]["key"])], |