[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: calendar index.php,1.44,1.45
From: |
Mark A Peters <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: calendar index.php,1.44,1.45 |
Date: |
Sun, 23 Jun 2002 14:17:13 -0400 |
Update of /cvsroot/phpgroupware/calendar
In directory subversions:/tmp/cvs-serv3992/calendar
Modified Files:
index.php
Log Message:
Using the newer datetime class.
Index: index.php
===================================================================
RCS file: /cvsroot/phpgroupware/calendar/index.php,v
retrieving revision 1.44
retrieving revision 1.45
diff -C2 -r1.44 -r1.45
*** index.php 17 Sep 2001 02:33:18 -0000 1.44
--- index.php 23 Jun 2002 18:17:08 -0000 1.45
***************
*** 27,32 ****
include('../header.inc.php');
! Header('Location:
'.$GLOBALS['phpgw']->link('/index.php','menuaction=calendar.uicalendar.index&date='.date('Ymd')));
$GLOBALS['phpgw']->common->phpgw_exit();
?>
--- 27,41 ----
include('../header.inc.php');
+ if(!is_object($GLOBALS['phpgw']->datetime))
+ {
+ $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();
?>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: calendar index.php,1.44,1.45,
Mark A Peters <address@hidden> <=