2000-08-18 05:24:22 +02:00
|
|
|
<?php
|
|
|
|
/**************************************************************************\
|
|
|
|
* phpGroupWare - Calendar *
|
|
|
|
* http://www.phpgroupware.org *
|
|
|
|
* Based on Webcalendar by Craig Knudsen <cknudsen@radix.net> *
|
|
|
|
* http://www.radix.net/~cknudsen *
|
2001-01-17 13:35:43 +01:00
|
|
|
* Modified by Mark Peters <skeeter@phpgroupware.org> *
|
2000-08-18 05:24:22 +02:00
|
|
|
* -------------------------------------------- *
|
|
|
|
* This program is free software; you can redistribute it and/or modify it *
|
|
|
|
* under the terms of the GNU General Public License as published by the *
|
|
|
|
* Free Software Foundation; either version 2 of the License, or (at your *
|
|
|
|
* option) any later version. *
|
|
|
|
\**************************************************************************/
|
|
|
|
|
2001-03-10 05:48:19 +01:00
|
|
|
/* $Id$ */
|
2000-08-18 05:24:22 +02:00
|
|
|
|
2001-03-10 05:48:19 +01:00
|
|
|
$phpgw_flags = Array(
|
|
|
|
'currentapp' => 'calendar',
|
|
|
|
'noheader' => True,
|
|
|
|
'nonavbar' => True,
|
2001-03-10 19:19:13 +01:00
|
|
|
'noappheader' => True,
|
2001-03-10 05:48:19 +01:00
|
|
|
'noappfooter' => True,
|
|
|
|
'nofooter' => True
|
|
|
|
);
|
2000-11-10 23:49:48 +01:00
|
|
|
|
2001-09-17 04:33:19 +02:00
|
|
|
$GLOBALS['phpgw_info']['flags'] = $phpgw_flags;
|
2001-03-10 05:48:19 +01:00
|
|
|
|
|
|
|
include('../header.inc.php');
|
2002-06-23 20:17:08 +02:00
|
|
|
if(!is_object($GLOBALS['phpgw']->datetime))
|
|
|
|
{
|
|
|
|
$GLOBALS['phpgw']->datetime = CreateObject('phpgwapi.datetime');
|
|
|
|
}
|
|
|
|
|
|
|
|
$parms = Array(
|
2003-12-22 13:17:42 +01:00
|
|
|
# 'menuaction'=> 'calendar.uicalendar.index',
|
2002-06-23 20:17:08 +02:00
|
|
|
'date' => date('Ymd',$GLOBALS['phpgw']->datetime->users_localtime)
|
|
|
|
);
|
2003-08-28 16:31:11 +02:00
|
|
|
|
2003-09-08 01:42:22 +02:00
|
|
|
//echo 'Local DateTime: '.date('Ymd H:i:s',$GLOBALS['phpgw']->datetime->users_localtime).'<br>'."\n";
|
2001-01-21 14:15:21 +01:00
|
|
|
|
2003-12-22 13:17:42 +01:00
|
|
|
# $GLOBALS['phpgw']->redirect_link('/index.php',$parms);
|
|
|
|
ExecMethod('calendar.uicalendar.index',$parms);
|
2003-12-22 13:32:14 +01:00
|
|
|
$GLOBALS['phpgw']->common->phpgw_exit();
|
|
|
|
|
2000-09-28 02:17:13 +02:00
|
|
|
?>
|