[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] calendar index.php,1.50
From: |
skwashd |
Subject: |
[Phpgroupware-cvs] calendar index.php,1.50 |
Date: |
Sun, 23 Oct 2005 14:57:00 +0200 |
Update of calendar
Modified Files:
Branch: MAIN
index.php lines: +18 -22
Log Message:
now selection is based on contacts not account
====================================================
Index: calendar/index.php
diff -u calendar/index.php:1.49 calendar/index.php:1.50
--- calendar/index.php:1.49 Sun May 15 06:57:37 2005
+++ calendar/index.php Sun Oct 23 12:57:16 2005
@@ -14,30 +14,26 @@
/* $Id$ */
- $phpgw_flags = Array(
- 'currentapp' => 'calendar',
- 'noheader' => True,
- 'nonavbar' => True,
- 'noappheader' => True,
- 'noappfooter' => True,
- 'nofooter' => True
- );
-
- $GLOBALS['phpgw_info']['flags'] = $phpgw_flags;
-
+ $GLOBALS['phpgw_info']['flags'] = Array
+ (
+ 'currentapp' => 'calendar',
+ 'noheader' => True,
+ 'nonavbar' => True,
+ 'noappheader' => True,
+ 'noappfooter' => True,
+ 'nofooter' => True
+ );
include('../header.inc.php');
- if(!is_object($GLOBALS['phpgw']->datetime))
+
+ if ( !isset($GLOBALS['phpgw']->datetime) ||
!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)
- );
-
-// echo 'Local DateTime: '.date('Ymd
H:i:s',$GLOBALS['phpgw']->datetime->users_localtime).'<br />'."\n";
-
- Header('Location: '.$GLOBALS['phpgw']->link('/index.php',$parms));
- $GLOBALS['phpgw']->common->phpgw_exit();
+ $cal = createObject('calendar.uicalendar');
+ $cal->index(array
+ (
+ 'menuaction' => 'calendar.uicalendar.index',
+ 'date' =>
date('Ymd',$GLOBALS['phpgw']->datetime->users_localtime)
+ ));
?>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] calendar index.php,1.50,
skwashd <=
- Prev by Date:
[Phpgroupware-cvs] calendar/setup tables_update.inc.php, 1.25 setup.inc.php, 1.31 phpgw_en.lang, 1.32
- Next by Date:
[Phpgroupware-cvs] calendar/inc class.uicalendar.inc.php, 1.110 class.bocalendar.inc.php, 1.94 hook_deleteaccount.inc.php, 1.8 hook_sidebox_menu.inc.php, 1.3
- Previous by thread:
[Phpgroupware-cvs] calendar/setup tables_update.inc.php, 1.25 setup.inc.php, 1.31 phpgw_en.lang, 1.32
- Next by thread:
[Phpgroupware-cvs] calendar/inc class.uicalendar.inc.php, 1.110 class.bocalendar.inc.php, 1.94 hook_deleteaccount.inc.php, 1.8 hook_sidebox_menu.inc.php, 1.3
- Index(es):