phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: calendar/inc hook_email.inc.php,1.3,1.3.2.1


From: Lars Kneschke <address@hidden>
Subject: [Phpgroupware-cvs] CVS: calendar/inc hook_email.inc.php,1.3,1.3.2.1
Date: Tue, 11 Jun 2002 14:57:09 -0400

Update of /cvsroot/phpgroupware/calendar/inc
In directory subversions:/tmp/cvs-serv12416/inc

Modified Files:
      Tag: Version-0_9_14-branch
        hook_email.inc.php 
Log Message:
made the view of calendar event from the emailclient working again


Index: hook_email.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/calendar/inc/hook_email.inc.php,v
retrieving revision 1.3
retrieving revision 1.3.2.1
diff -C2 -r1.3 -r1.3.2.1
*** hook_email.inc.php  1 Aug 2001 11:06:17 -0000       1.3
--- hook_email.inc.php  11 Jun 2002 18:57:07 -0000      1.3.2.1
***************
*** 26,35 ****
  
        $cal = CreateObject('calendar.uicalendar');
!       echo 'Event ID: '.$calendar_id."<br>\n";
  
        $event = $cal->bo->read_entry($calendar_id);
  
        reset($event['participants']);
!       while(list($particpants,$status) = each($event['participants']))
        {
                $parts[] = $participants;
--- 26,36 ----
  
        $cal = CreateObject('calendar.uicalendar');
!       #echo 'Event ID: '.$calendar_id."<br>\n";
!       echo "<br>";
  
        $event = $cal->bo->read_entry($calendar_id);
  
        reset($event['participants']);
!       while(list($participants,$status) = each($event['participants']))
        {
                $parts[] = $participants;
***************
*** 38,42 ****
  
        $freetime = 
$cal->bo->datetime->localdates(mktime(0,0,0,$event['start']['month'],$event['start']['mday'],$event['start']['year'])
 - $phpgw->calendar->tz_offset);
!       echo 
$cal->timematrix($freetime,$cal->bo->splittime('000000',False),0,$parts);
  
        echo '</td></tr><tr><td>';
--- 39,49 ----
  
        $freetime = 
$cal->bo->datetime->localdates(mktime(0,0,0,$event['start']['month'],$event['start']['mday'],$event['start']['year'])
 - $phpgw->calendar->tz_offset);
!       echo $cal->timematrix(
!               Array(
!                       'date'          => $freetime,
!                       'starttime'     => $cal->bo->splittime('000000',False),
!                       'endtime'       => 0,
!                       'participants'  => $event['participants'])
!                       );
  
        echo '</td></tr><tr><td>';




reply via email to

[Prev in Thread] Current Thread [Next in Thread]