33166259337ce85ca7f773ba0c3d3199938fd927
[moodle.git] / theme / afterburner / settings.php
1 <?php
3 defined('MOODLE_INTERNAL') || die;
5 if ($ADMIN->fulltree) {
7         // Logo file setting
8         $name = 'theme_afterburner/logo';
9         $title = get_string('logo','theme_afterburner');
10         $description = get_string('logodesc', 'theme_afterburner');
11         $default = '';
12         $setting = new admin_setting_configtext($name, $title, $description, $default, PARAM_URL);
13         $settings->add($setting);
15         // Foot note setting
16         $name = 'theme_afterburner/footnote';
17         $title = get_string('footnote','theme_afterburner');
18         $description = get_string('footnotedesc', 'theme_afterburner');
19         $default = '';
20         $setting = new admin_setting_confightmleditor($name, $title, $description, $default);
21         $settings->add($setting);
23         // Custom CSS file
24         $name = 'theme_afterburner/customcss';
25         $title = get_string('customcss','theme_afterburner');
26         $description = get_string('customcssdesc', 'theme_afterburner');
27         $default = '';
28         $setting = new admin_setting_configtextarea($name, $title, $description, $default);
29         $settings->add($setting);
31 }