MDL-42453 theme_base: Fixed Error in base/style/admin.css that breaks CSS validator.
[moodle.git] / theme / afterburner / settings.php
blobf96867b60ee1e6e6fa868b0976fa23aac194dd63
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 $setting = new admin_setting_configstoredfile($name, $title, $description, 'logo');
12 $setting->set_updatedcallback('theme_reset_all_caches');
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 $setting->set_updatedcallback('theme_reset_all_caches');
22 $settings->add($setting);
24 // Custom CSS file
25 $name = 'theme_afterburner/customcss';
26 $title = get_string('customcss','theme_afterburner');
27 $description = get_string('customcssdesc', 'theme_afterburner');
28 $default = '';
29 $setting = new admin_setting_configtextarea($name, $title, $description, $default);
30 $setting->set_updatedcallback('theme_reset_all_caches');
31 $settings->add($setting);