[geeklog-cvs] geeklog-1.3/public_html calendar.php,1.42,1.43

dhaun at iowaoutdoors.org dhaun at iowaoutdoors.org
Sat Aug 7 05:14:30 EDT 2004


Update of /var/cvs/geeklog-1.3/public_html
In directory www:/tmp/cvs-serv17579

Modified Files:
	calendar.php 
Log Message:
Fixed repeating events in the personal calendar's day view (bug #232)


Index: calendar.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/public_html/calendar.php,v
retrieving revision 1.42
retrieving revision 1.43
diff -C2 -d -r1.42 -r1.43
*** calendar.php	6 Aug 2004 08:55:35 -0000	1.42
--- calendar.php	7 Aug 2004 09:14:28 -0000	1.43
***************
*** 482,487 ****
  
      // Get all day events
!     if (count($alldaydata) > 0) {
!         for ($i = 1; $i <= count($alldaydata); $i++) {
              $A = current($alldaydata);
              if (SEC_hasAccess($A['owner_id'],$A['group_id'],$A['perm_owner'],$A['perm_group'],$A['perm_members'],$A['perm_anon']) > 0 AND $mode == 'personal') {
--- 482,487 ----
  
      // Get all day events
!     if (count ($alldaydata) > 0) {
!         for ($i = 1; $i <= count ($alldaydata); $i++) {
              $A = current($alldaydata);
              if (SEC_hasAccess($A['owner_id'],$A['group_id'],$A['perm_owner'],$A['perm_group'],$A['perm_members'],$A['perm_anon']) > 0 AND $mode == 'personal') {
***************
*** 533,537 ****
                      $cal_templates->set_var('br', '');
                  }
!                 $cal_templates->parse('event_entry','event',true);
                  // $colsleft = $colsleft - 1;
                  next($thedata);
--- 533,538 ----
                      $cal_templates->set_var('br', '');
                  }
!                 $cal_templates->parse ('event_entry', 'event',
!                                        ($j == 1) ? false : true);
                  // $colsleft = $colsleft - 1;
                  next($thedata);




More information about the geeklog-cvs mailing list