Add features (Owner and participants)

This commit is contained in:
bgigon 2004-09-30 14:43:25 +00:00
parent 883338ee43
commit b0e3990adf

View File

@ -126,7 +126,7 @@
$this->bo->return_to = $_GET['menuaction']. $this->bo->return_to = $_GET['menuaction'].
sprintf('&date=%04d%02d%02d',$this->bo->year,$this->bo->month,$this->bo->day); sprintf('&date=%04d%02d%02d',$this->bo->year,$this->bo->month,$this->bo->day);
// reset the matrixview participants // reset the matrixview participants
$GLOBALS['phpgw']->session->appsession('participants', NULL,''); # $GLOBALS['phpgw']->session->appsession('participants', NULL,'');
} }
$this->bo->save_sessiondata(); $this->bo->save_sessiondata();
} }
@ -1302,7 +1302,9 @@
// Construct Participants stack // Construct Participants stack
$_stack_participants = $GLOBALS['phpgw']->session->appsession("participants"); $_stack_participants = $GLOBALS['phpgw']->session->appsession("participants");
if($matrix_mode == 1) // You come from matrix, ok if($matrix_mode == 1) // You come from matrix, ok
$_stack_participants = ";" . $GLOBALS['phpgw']->session->appsession("participants_matrix"); $_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));
// Read each participant // Read each participant
foreach(explode(";", $_stack_participants) as $part) foreach(explode(";", $_stack_participants) as $part)