True,
'create_html' => True
);
function accounts_popup($_appName)
{
$GLOBALS['egw']->accounts->accounts_popup($_appName);
}
function create_html()
{
if(!isset($GLOBALS['egw_info']['server']['deny_user_grants_access']) || !$GLOBALS['egw_info']['server']['deny_user_grants_access'])
{
$accounts = $GLOBALS['egw']->acl->get_ids_for_location('run',1,'calendar');
$users = Array();
# $this->build_part_list($users,$accounts,$event['owner']);
$str = '';
@asort($users);
@reset($users);
switch($GLOBALS['egw_info']['user']['preferences']['common']['account_selection'])
{
case 'popup':
while (is_array($event['participants']) && list($id) = each($event['participants']))
{
if($id != intval($event['owner']))
{
$str .= '' . "\n";
}
}
$var[] = array
(
'field' => '' . "\n"
. '',
'data' => "\n".' '
);
break;
default:
foreach($users as $id => $user_array)
{
if($id != intval($event['owner']))
{
$str .= ' '."\n";
}
}
$var[] = array
(
'field' => lang('Participants'),
'data' => "\n".' '
);
break;
}
}
}
}
?>