24 include_once(
"Services/Table/classes/class.ilTable2GUI.php");
 
   45                 $this->grp_id = $a_grp_id;
 
   46                 $this->app_id = $a_app_id;
 
   49                 $this->
addColumn($lng->txt(
"user"), 
"", 
"100%");
 
   55                 $ilCtrl->setParameter($a_parent_obj, 
"app_id", $this->app_id);
 
   58                 $this->
setTitle($lng->txt(
"cal_ms_users_responsible"));
 
   60                         "saveMilestoneResponsibleUsers", $lng->txt(
"cal_save_responsible_users"));
 
   68                 $participants = array();
 
   69                 if ($this->app_id > 0)
 
   71                         include_once(
"./Services/Calendar/classes/class.ilCalendarEntry.php");
 
   73                         $resp_users = $app->readResponsibleUsers();
 
   74                         foreach($resp_users as $v)
 
   77                                 $participants[$v[
"user_id"]] = array_merge(
$n, array(
"type" => 
"non-member"));
 
   78                                 $this->resp_users[] = $v[
"user_id"];
 
   82                 include_once(
'./Modules/Group/classes/class.ilGroupParticipants.php');
 
   84                 $admins = $part->getAdmins();
 
   85                 $members = $part->getMembers();
 
   86                 foreach($members as $v)
 
   89                         $participants[$v] = array_merge(
$n, array(
"type" => 
"member"));
 
   91                 foreach($admins as $v)
 
   94                         $participants[$v] = array_merge(
$n, array(
"type" => 
"admin"));
 
  107                 if (is_array($this->resp_users) && in_array($a_set[
"user_id"], $this->resp_users))
 
  109                         $this->tpl->setVariable(
"CHECKED", 
' checked="checked" ');
 
  111                 $this->tpl->setVariable(
"USER_ID", $a_set[
"user_id"]);
 
  112                 $this->tpl->setVariable(
"TXT_FIRSTNAME", $a_set[
"firstname"]);
 
  113                 $this->tpl->setVariable(
"TXT_LASTNAME", $a_set[
"lastname"]);