mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-30 09:48:38 +01:00
change of the initialization of the calendar
This commit is contained in:
parent
584c8dd637
commit
d5bfd7d34f
@ -40,17 +40,17 @@
|
||||
$rights = $grants[$owner];
|
||||
if ($rights == 0)
|
||||
{
|
||||
$owner = $phpgw_info['user']['account_id'];
|
||||
$rights = PHPGW_ACL_READ + PHPGW_ACL_ADD + PHPGW_ACL_EDIT + PHPGW_ACL_DELETE + 16;
|
||||
$owner = $phpgw_info['user']['account_id'];
|
||||
$rights = PHPGW_ACL_READ + PHPGW_ACL_ADD + PHPGW_ACL_EDIT + PHPGW_ACL_DELETE + 16;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Load calendar class */
|
||||
$parameters = Array(
|
||||
'printer_friendly' => ((isset($friendly) && ($friendly==1))?True:False),
|
||||
'owner' => $owner,
|
||||
'rights' => $rights
|
||||
'printer_friendly' => ((isset($friendly) && ($friendly==1))?True:False),
|
||||
'owner' => $owner,
|
||||
'rights' => $rights
|
||||
);
|
||||
|
||||
$phpgw->calendar = CreateObject('calendar.calendar',$parameters);
|
||||
|
Loading…
Reference in New Issue
Block a user