Merge commit 'catalyst/MOODLE_19_STABLE' into mdl19-linuxchix
[moodle-linuxchix.git] / course / import / groups / mod.php
blob141a639a9b952d5146bc6f3f88f4f34622cf90ed
1 <?php // $Id$
3 if (!defined('MOODLE_INTERNAL')) {
4 die('Direct access to this script is forbidden.'); /// It must be included from a Moodle page
7 $streditmyprofile = get_string("editmyprofile");
8 $stradministration = get_string("administration");
9 $strchoose = get_string("choose");
10 $struser = get_string("user");
11 $strusers = get_string("users");
12 $strusersnew = get_string("usersnew");
13 $strimportgroups = get_string("importgroups");
14 print_heading_with_help($strimportgroups, 'uploadgroups');
15 $maxuploadsize = get_max_upload_file_size();
16 echo '<p align="center">';
17 print_simple_box_start('center','80%');
19 // use formslib
20 include_once('import_form.php');
21 $mform_post = new course_import_groups_form($CFG->wwwroot.'/course/import/groups/index.php?id='.$id, array('maxuploadsize'=>$maxuploadsize));
22 $mform_post ->display();
24 print_simple_box_end();
26 echo '</p>';