phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: calendar index.php,1.44.2.2,1.44.2.3


From: Mark A Peters <address@hidden>
Subject: [Phpgroupware-cvs] CVS: calendar index.php,1.44.2.2,1.44.2.3
Date: Sun, 23 Jun 2002 14:17:15 -0400

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

Modified Files:
      Tag: Version-0_9_14-branch
        index.php 
Log Message:
Using the newer datatime class.

Index: index.php
===================================================================
RCS file: /cvsroot/phpgroupware/calendar/index.php,v
retrieving revision 1.44.2.2
retrieving revision 1.44.2.3
diff -C2 -r1.44.2.2 -r1.44.2.3
*** index.php   6 Jun 2002 23:53:45 -0000       1.44.2.2
--- index.php   23 Jun 2002 18:17:12 -0000      1.44.2.3
***************
*** 31,36 ****
                $GLOBALS['phpgw']->datetime = CreateObject('phpgwapi.datetime');
        }
  
!       Header('Location: 
'.$GLOBALS['phpgw']->link('/index.php','menuaction=calendar.uicalendar.index&date='.date('Ymd',$GLOBALS['phpgw']->datetime->gmtnow
 + $GLOBALS['phpgw']->datetime->tz_offset)));
        $GLOBALS['phpgw']->common->phpgw_exit();
  ?>
--- 31,41 ----
                $GLOBALS['phpgw']->datetime = CreateObject('phpgwapi.datetime');
        }
+       
+       $parms = Array(
+               'menuaction'=> 'calendar.uicalendar.index',
+               'date'          => 
date('Ymd',$GLOBALS['phpgw']->datetime->users_localtime)
+       );
  
!       Header('Location: '.$GLOBALS['phpgw']->link('/index.php',$parms));
        $GLOBALS['phpgw']->common->phpgw_exit();
  ?>




reply via email to

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