source: trunk/calendar/index.php @ 846

Revision 846, 1.7 KB checked in by amuller, 15 years ago (diff)

Ticket # -

  • Property svn:eol-style set to native
  • Property svn:executable set to *
Line 
1<?php
2  /**************************************************************************\
3  * eGroupWare - Calendar                                                    *
4  * http://www.egroupware.org                                                *
5  * Based on Webcalendar by Craig Knudsen <cknudsen@radix.net>               *
6  *          http://www.radix.net/~cknudsen                                  *
7  * Modified by Mark Peters <skeeter@phpgroupware.org>                       *
8  * --------------------------------------------                             *
9  *  This program is free software; you can redistribute it and/or modify it *
10  *  under the terms of the GNU General Public License as published by the   *
11  *  Free Software Foundation; either version 2 of the License, or (at your  *
12  *  option) any later version.                                              *
13  \**************************************************************************/
14
15
16        $phpgw_flags = Array(
17                'currentapp'    =>      'calendar',
18                'noheader'      =>      True,
19                'nonavbar'      =>      True,
20                'noappheader'   =>      True,
21                'noappfooter'   =>      True,
22                'nofooter'      =>      True
23        );
24
25        $GLOBALS['phpgw_info']['flags'] = $phpgw_flags;
26        include('../header.inc.php');
27        if(!is_object($GLOBALS['phpgw']->datetime))
28        {
29                $GLOBALS['phpgw']->datetime = CreateObject('phpgwapi.date_time');
30        }
31
32        $parms = Array(
33#               'menuaction'=> 'calendar.uicalendar.index',
34                'date'          => date('Ymd',$GLOBALS['phpgw']->datetime->users_localtime)
35        );
36
37        //echo 'Local DateTime: '.date('Ymd H:i:s',$GLOBALS['phpgw']->datetime->users_localtime).'<br>'."\n";
38
39#       $GLOBALS['phpgw']->redirect_link('/index.php',$parms);
40        ExecMethod('calendar.uicalendar.index',$parms);
41        $GLOBALS['phpgw']->common->phpgw_exit();
42
43?>
Note: See TracBrowser for help on using the repository browser.