diff --git a/cohort/assign.php b/cohort/assign.php index adbc9121886..c9792471ea6 100644 --- a/cohort/assign.php +++ b/cohort/assign.php @@ -62,6 +62,8 @@ $PAGE->set_heading($COURSE->fullname); echo $OUTPUT->header(); echo $OUTPUT->heading(get_string('assignto', 'cohort', format_string($cohort->name))); +echo $OUTPUT->notification(get_string('removeuserwarning', 'core_cohort')); + // Get the user_selector we will need. $potentialuserselector = new cohort_candidate_selector('addselect', array('cohortid'=>$cohort->id)); $existinguserselector = new cohort_existing_selector('removeselect', array('cohortid'=>$cohort->id)); diff --git a/lang/en/cohort.php b/lang/en/cohort.php index a7786d05050..6d57e80f229 100644 --- a/lang/en/cohort.php +++ b/lang/en/cohort.php @@ -49,4 +49,5 @@ $string['name'] = 'Name'; $string['nocomponent'] = 'Created manually'; $string['potusers'] = 'Potential users'; $string['potusersmatching'] = 'Potential matching users'; +$string['removeuserwarning'] = 'Removing users from a cohort may result in unenrolling of users from multiple courses which includes deleting of user settings, grades, group membership and other user information from affected courses.'; $string['selectfromcohort'] = 'Select members from cohort';