mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-14232 group import moved to group UI, fixed regressions and improved coding style - in future we should definitely improve the navigation structure of groups interface
This commit is contained in:
parent
19eb73cdf3
commit
81ed4632fc
4 changed files with 74 additions and 137 deletions
|
@ -100,6 +100,10 @@ switch ($action) {
|
|||
redirect(new moodle_url('/group/autogroup.php', array('courseid'=>$courseid)));
|
||||
break;
|
||||
|
||||
case 'showimportgroups':
|
||||
redirect(new moodle_url('/group/import.php', array('id'=>$courseid)));
|
||||
break;
|
||||
|
||||
case 'showgroupsettingsform':
|
||||
redirect(new moodle_url('/group/group.php', array('courseid'=>$courseid, 'id'=>$groupids[0])));
|
||||
break;
|
||||
|
@ -210,6 +214,9 @@ echo '<p><input type="submit" name="act_showcreateorphangroupform" id="showcreat
|
|||
echo '<p><input type="submit" name="act_showautocreategroupsform" id="showautocreategroupsform" value="'
|
||||
. get_string('autocreategroups', 'group') . '" /></p>'."\n";
|
||||
|
||||
echo '<p><input type="submit" name="act_showimportgroups" id="showimportgroups" value="'
|
||||
. get_string('importgroups') . '" /></p>'."\n";
|
||||
|
||||
echo '</td>'."\n";
|
||||
echo '<td>'."\n";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue