diff --git a/calendar/index.php b/calendar/index.php index fa14663891..2b8c7f90b2 100755 --- a/calendar/index.php +++ b/calendar/index.php @@ -1,45 +1,25 @@ * - * http://www.radix.net/~cknudsen * - * Modified by Mark Peters * - * -------------------------------------------- * - * 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. * - \**************************************************************************/ +/**************************************************************************\ +* eGroupWare - Calendar * +* http://www.egroupware.org * +* Written and (c) 2005 by Ralf Becker * +* -------------------------------------------- * +* 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. * +\**************************************************************************/ - /* $Id$ */ +/* $Id$ */ - $phpgw_flags = Array( - 'currentapp' => 'calendar', - 'noheader' => True, - 'nonavbar' => True, - 'noappheader' => True, - 'noappfooter' => True, - 'nofooter' => True - ); +$GLOBALS['egw_info'] = array('flags' => array( + 'currentapp'=> 'calendar', + 'noheader' => True, + 'nonavbar' => True, +)); - $GLOBALS['phpgw_info']['flags'] = $phpgw_flags; +include('../header.inc.php'); - include('../header.inc.php'); - if(!is_object($GLOBALS['phpgw']->datetime)) - { - $GLOBALS['phpgw']->datetime = CreateObject('phpgwapi.datetime'); - } +ExecMethod('calendar.uiviews.index'); - $parms = Array( -# 'menuaction'=> 'calendar.uicalendar.index', - 'date' => date('Ymd',$GLOBALS['phpgw']->datetime->users_localtime) - ); - - //echo 'Local DateTime: '.date('Ymd H:i:s',$GLOBALS['phpgw']->datetime->users_localtime).'
'."\n"; - -# $GLOBALS['phpgw']->redirect_link('/index.php',$parms); - ExecMethod('calendar.uicalendar.index',$parms); - $GLOBALS['phpgw']->common->phpgw_exit(); - -?> +$GLOBALS['egw']->common->egw_footer();