4 include_once
"./Modules/Course/classes/class.ilCourseParticipantsGroupsTableGUI.php";
19 $this->ref_id = $a_ref_id;
26 $cmd = $ilCtrl->getCmd();
39 $tpl->setContent($tbl_gui->getHTML());
45 $tbl_gui->resetOffset();
46 $tbl_gui->writeFilterToSession();
53 $tbl_gui->resetOffset();
54 $tbl_gui->resetFilter();
62 include_once(
'./Services/Utilities/classes/class.ilConfirmationGUI.php');
64 $confirm->setFormAction($ilCtrl->getFormAction($this,
'remove'));
65 $confirm->addHiddenItem(
"grp_id",
$_GET[
"grp_id"]);
66 $confirm->setHeaderText($lng->txt(
'grp_dismiss_member'));
67 $confirm->setConfirm($lng->txt(
'confirm'),
'remove');
68 $confirm->setCancel($lng->txt(
'cancel'),
'show');
70 include_once
'./Services/User/classes/class.ilUserUtil.php';
72 $confirm->addItem(
'usr_id',
77 $tpl->setContent($confirm->getHTML());
82 global $ilAccess, $ilObjDataCache,
$lng;
84 if (!$ilAccess->checkAccess(
"write",
"",
$_POST[
"grp_id"]))
91 include_once
'./Modules/Group/classes/class.ilGroupParticipants.php';
93 $members_obj->delete(
$_POST[
"usr_id"]);
96 include_once
'./Modules/Group/classes/class.ilGroupMembershipMailNotification.php';
97 $members_obj->sendNotification(
108 global
$ilErr, $ilObjDataCache,
$lng, $ilAccess;
111 if(
sizeof(
$_POST[
"usrs"]))
113 if (!$ilAccess->checkAccess(
"write",
"",
$_POST[
"grp_id"]))
120 include_once
'./Modules/Group/classes/class.ilGroupParticipants.php';
122 foreach (
$_POST[
"usrs"] as $new_member)
126 $ilErr->raiseError(
"An Error occured while assigning user to group !", $ilErr->MESSAGE);
129 include_once
'./Modules/Group/classes/class.ilGroupMembershipMailNotification.php';
130 $members_obj->sendNotification(