aboutsummaryrefslogtreecommitdiffstats
path: root/day.php
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2003-11-19 07:54:09 +0000
committerChad Little <clittle@users.sourceforge.net>2003-11-19 07:54:09 +0000
commit19cac1259321933ee407ed6b077ef3d2aa9e9e58 (patch)
tree0be77a87ce554c71c61e8c61e7e4f27da9580a17 /day.php
parentc5dca58b0b5707155d732a9f43894513bfc23b5c (diff)
downloadphpicalendar-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 'day.php')
-rw-r--r--day.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/day.php b/day.php
index 8d4352d..4fcfeae 100644
--- a/day.php
+++ b/day.php
@@ -90,10 +90,11 @@ include (BASE.'includes/header.inc.php');
foreach($master_array[($getdate)]['-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,
@@ -252,9 +253,8 @@ include (BASE.'includes/header.inc.php');
echo '<table width="100%" border="0" cellpadding="1" cellspacing="0">'."\n";
echo '<tr>'."\n";
echo '<td class="eventbg_'.$event_calno.'">';
- // 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[$i]['key'])]['calname'];
+ openevent("$event_calna",
"$event_start",
"$event_end",
$this_time_arr[($event_length[$i]['key'])],

© 2014-2024 Faster IT GmbH | imprint | privacy policy