24 include_once(
'./Services/Table/classes/class.ilTable2GUI.php');
52 $this->lng->loadLanguageModule(
'grp');
53 $this->lng->loadLanguageModule(
'crs');
59 $this->
setFormAction($this->ctrl->getFormAction($a_parent_obj,
'members'));
62 $this->
addColumn($this->lng->txt(
'lastname'),
'name',
'20%');
63 $this->
addColumn($this->lng->txt(
'login'),
'login',
'10%');
64 $this->
addColumn($this->lng->txt(
'application_date'),
'sub_time',
"60%");
67 $this->
addMultiCommand(
'assignFromWaitingList',$this->lng->txt(
'assign'));
69 $this->
addMultiCommand(
'sendMailToSelectedUsers',$this->lng->txt(
'crs_mem_send_mail'));
73 $this->
setRowTemplate(
"tpl.show_waiting_list_row.html",
"Services/Membership");
80 $this->
enable(
'select_all');
103 $this->wait = $a_sub;
118 include_once(
'./Services/Calendar/classes/class.ilDateTime.php');
119 include_once
'./Modules/Course/classes/class.ilObjCourseGrouping.php';
125 $this->tpl->setVariable(
'ALERT_MSG',
126 sprintf($this->lng->txt(
$prefix.
'_lim_assigned'),
132 $this->tpl->setVariable(
'VAL_ID',$a_set[
'id']);
133 $this->tpl->setVariable(
'VAL_NAME',$a_set[
'name']);
135 $this->tpl->setVariable(
'VAL_LOGIN',$a_set[
'login']);
137 $this->ctrl->setParameterByClass(get_class($this->
getParentObject()),
'member_id',$a_set[
'id']);
138 $link = $this->ctrl->getLinkTargetByClass(get_class($this->
getParentObject()),
'sendMailToSelectedUsers');
139 $this->tpl->setVariable(
'MAIL_LINK',$link);
140 $this->tpl->setVariable(
'MAIL_TITLE',$this->lng->txt(
'crs_mem_send_mail'));
152 foreach($this->wait as
$usr_id => $usr_data)
155 $tmp_arr[
'sub_time'] = $usr_data[
'time'];
158 $tmp_arr[
'name'] =
$name[
'lastname'].
', '.
$name[
'firstname'];
159 $tmp_arr[
'login'] =
''.ilObjUser::_lookupLogin(
$usr_id).
'';