Línea 2... |
Línea 2... |
2 |
|
2 |
|
Línea 3... |
Línea 3... |
3 |
// Every file should have GPL and copyright in the header - we skip it in tutorials but you should not skip it for real.
|
3 |
// Every file should have GPL and copyright in the header - we skip it in tutorials but you should not skip it for real.
|
4 |
|
4 |
|
5 |
// This line protects the file from being accessed by a URL directly.
|
- |
|
6 |
defined('MOODLE_INTERNAL') || die();
|
- |
|
Línea 7... |
Línea 5... |
7 |
require_once($CFG->dirroot . '/theme/universe/lib.php');
|
5 |
// This line protects the file from being accessed by a URL directly.
|
8 |
require_once($CFG->dirroot . '/theme/universe_child/classes/admin_settingspage_tabs.php');
|
6 |
defined('MOODLE_INTERNAL') || die();
|
9 |
|
7 |
|
Línea 10... |
Línea 8... |
10 |
// This is used for performance, we don't need to know about these settings on every page in Moodle, only when
|
8 |
// This is used for performance, we don't need to know about these settings on every page in Moodle, only when
|
11 |
// we are looking at the admin settings pages.
|
9 |
// we are looking at the admin settings pages.
|
12 |
if ($ADMIN->fulltree) {
|
- |
|
- |
|
10 |
if ($ADMIN->fulltree) {
|
Línea 13... |
Línea 11... |
13 |
|
11 |
|
14 |
// Boost provides a nice setting page which splits settings onto separate tabs. We want to use it here.
|
12 |
// Boost provides a nice setting page which splits settings onto separate tabs. We want to use it here.
|
Línea 15... |
Línea 13... |
15 |
$settings = new theme_universe_child_admin_settingspage_tabs('themesettinguniverse_child', get_string('configtitle', 'theme_universe_child'));
|
13 |
$settings = new theme_universe_admin_settingspage_tabs('themesettinguniverse_child', get_string('configtitle', 'theme_universe_child'));
|