MDL-15449, enrol multiple users to multiple courses, including bugs fix, see tracker, sent by Jonathan.

This commit is contained in:
dongsheng
2008-07-10 09:16:43 +00:00
parent 554606c76b
commit 51471f2ad5
6 changed files with 159 additions and 4 deletions
+4 -2
View File
@@ -24,7 +24,9 @@ class user_bulk_action_form extends moodleform {
if (has_capability('moodle/user:update', $syscontext)) {
$actions[5] = get_string('download', 'admin');
}
if (has_capability('moodle/role:assign', $syscontext)){
$actions[6] = get_string('enrolmultipleusers', 'admin');
}
$objs = array();
$objs[] =& $mform->createElement('select', 'action', null, $actions);
$objs[] =& $mform->createElement('submit', 'doaction', get_string('go'));
@@ -106,4 +108,4 @@ class user_bulk_form extends moodleform {
$renderer->setGroupElementTemplate($template, 'usersgrp');
}
}
?>
?>