07ab0c80 |
1 | <?php |
2 | // This file is part of Moodle - http://moodle.org/ |
3 | // |
4 | // Moodle is free software: you can redistribute it and/or modify |
5 | // it under the terms of the GNU General Public License as published by |
6 | // the Free Software Foundation, either version 3 of the License, or |
7 | // (at your option) any later version. |
8 | // |
9 | // Moodle is distributed in the hope that it will be useful, |
10 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
11 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
12 | // GNU General Public License for more details. |
13 | // |
14 | // You should have received a copy of the GNU General Public License |
15 | // along with Moodle. If not, see <http://www.gnu.org/licenses/>. |
16 | |
17 | /* |
18 | * @package moodle |
19 | * @subpackage registration |
20 | * @author Jerome Mouneyrac <jerome@mouneyrac.com> |
21 | * @license http://www.gnu.org/copyleft/gpl.html GNU GPL |
22 | * @copyright (C) 1999 onwards Martin Dougiamas http://dougiamas.com |
23 | * |
24 | * On this page the administrator select if he wants to register on Moodle.org or |
25 | * a specific hub |
26 | */ |
27 | |
28 | require('../../config.php'); |
29 | |
30 | require_once($CFG->libdir.'/adminlib.php'); |
07ab0c80 |
31 | |
32 | admin_externalpage_setup('registrationindex'); |
33 | |
34 | $renderer = $PAGE->get_renderer('core', 'register'); |
35 | |
36 | echo $OUTPUT->header(); |
37 | echo $OUTPUT->heading(get_string('registeron', 'hub'), 3, 'main'); |
38 | echo $renderer->registrationselector(); |
03d9401e |
39 | echo $OUTPUT->footer(); |