forked from extern/egroupware
Extend "owner" feature in all calendar
This commit is contained in:
parent
036267063a
commit
c8d1e84ede
@ -1302,9 +1302,21 @@
|
||||
// Construct Participants stack
|
||||
$_stack_participants = $GLOBALS['phpgw']->session->appsession("participants");
|
||||
if($matrix_mode == 1) // You come from matrix, ok
|
||||
$_stack_participants .= ";" . $GLOBALS['phpgw']->session->appsession("participants_matrix");
|
||||
{
|
||||
// protection
|
||||
if($_stack_participants)
|
||||
$_stack_participants .= ";";
|
||||
|
||||
$_stack_participants .= $GLOBALS['phpgw']->session->appsession("participants_matrix");
|
||||
}
|
||||
if( get_var('owner',array('GET'),FALSE) )
|
||||
$_stack_participants .= ";" . str_replace(",", ";", get_var('owner', array('GET'), FALSE));
|
||||
{
|
||||
// protection
|
||||
if($_stack_participants)
|
||||
$_stack_participants .= ";";
|
||||
|
||||
$_stack_participants .= str_replace(",", ";", get_var('owner', array('GET'), FALSE));
|
||||
}
|
||||
|
||||
// Read each participant
|
||||
foreach(explode(";", $_stack_participants) as $part)
|
||||
|
@ -336,7 +336,7 @@ class uiviews extends uical
|
||||
{
|
||||
// Get Owner/Participants
|
||||
$_session_data = $GLOBALS['phpgw']->session->appsession("session_data", "calendar");
|
||||
$participants = str_replace(",", ";", $_session_data["owner"]);
|
||||
$participants = $_session_data["owner"];
|
||||
unset($_session_data);
|
||||
|
||||
if ($this->debug > 1 || $this->debug==='timeGridWidget') $this->bo->debug_message('uiviews::timeGridWidget(events=%1,width=%2,granularity_m=%3,px_m=%4,)',True,$daysEvents,$width,$granularity_m,$px_m);
|
||||
|
Loading…
Reference in New Issue
Block a user