[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: calendar/inc class.bocalendar.inc.php,1.71.2.35
From: |
Dave Hall <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: calendar/inc class.bocalendar.inc.php,1.71.2.35,1.71.2.36 class.uicalendar.inc.php,1.66.2.56,1.66.2.57 |
Date: |
Fri, 04 Jul 2003 07:34:48 -0400 |
Update of /cvsroot/phpgroupware/calendar/inc
In directory subversions:/tmp/cvs-serv16799/inc
Modified Files:
Tag: Version-0_9_14-branch
class.bocalendar.inc.php class.uicalendar.inc.php
Log Message:
php3 compliance fix
Index: class.bocalendar.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/calendar/inc/class.bocalendar.inc.php,v
retrieving revision 1.71.2.35
retrieving revision 1.71.2.36
diff -C2 -r1.71.2.35 -r1.71.2.36
*** class.bocalendar.inc.php 30 May 2003 15:52:47 -0000 1.71.2.35
--- class.bocalendar.inc.php 4 Jul 2003 11:34:44 -0000 1.71.2.36
***************
*** 1035,1039 ****
{
//echo "participants_not_rejected()<br>participants
=<pre>"; print_r($participants); echo "</pre><br>event[participants]=<pre>";
print_r($event['participants']); echo "</pre>\n";
! foreach($participants as $uid => $status)
{
//echo "testing event[participants][uid=$uid] =
'".$event['participants'][$uid]."'<br>\n";
--- 1035,1039 ----
{
//echo "participants_not_rejected()<br>participants
=<pre>"; print_r($participants); echo "</pre><br>event[participants]=<pre>";
print_r($event['participants']); echo "</pre>\n";
! while(list($uid,$status) = each($participants))
{
//echo "testing event[participants][uid=$uid] =
'".$event['participants'][$uid]."'<br>\n";
***************
*** 1222,1226 ****
// Check if the $user is one of the
participants or has a read-grant from one of them
//
! foreach($event['participants'] as $uid =>
$accept)
{
if ($this->grants[$uid] &
PHPGW_ACL_READ || $uid == $user)
--- 1222,1226 ----
// Check if the $user is one of the
participants or has a read-grant from one of them
//
! while(list($uid,$status) =
each($event['participants']))
{
if ($this->grants[$uid] &
PHPGW_ACL_READ || $uid == $user)
Index: class.uicalendar.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/calendar/inc/class.uicalendar.inc.php,v
retrieving revision 1.66.2.56
retrieving revision 1.66.2.57
diff -C2 -r1.66.2.56 -r1.66.2.57
*** class.uicalendar.inc.php 12 Apr 2003 19:10:07 -0000 1.66.2.56
--- class.uicalendar.inc.php 4 Jul 2003 11:34:44 -0000 1.66.2.57
***************
*** 3414,3418 ****
print_debug('Count',count($events));
$last_ind = -1;
! foreach($events as $event)
{
if ($event['recur_type']) //
calculate start- + end-datetime for recuring events
--- 3414,3418 ----
print_debug('Count',count($events));
$last_ind = -1;
! while(list($event) = each($events))
{
if ($event['recur_type']) //
calculate start- + end-datetime for recuring events
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: calendar/inc class.bocalendar.inc.php,1.71.2.35,1.71.2.36 class.uicalendar.inc.php,1.66.2.56,1.66.2.57,
Dave Hall <address@hidden> <=