hub MDL-19309 new site registration form + course publication + community block
[moodle.git] / admin / registration / index.php
CommitLineData
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
28require('../../config.php');
29
30require_once($CFG->libdir.'/adminlib.php');
31require_once($CFG->libdir.'/hublib.php');
32
33admin_externalpage_setup('registrationindex');
34
35$renderer = $PAGE->get_renderer('core', 'register');
36
37echo $OUTPUT->header();
38echo $OUTPUT->heading(get_string('registeron', 'hub'), 3, 'main');
39echo $renderer->registrationselector();
40echo $OUTPUT->footer();