MDL-32084 theme_fusion: removed default tagline in frontpage.php and changed configte...
[moodle.git] / theme / fusion / settings.php
blobd96a89fa28e31b63e37de5e37c397f772619eee9
1 <?php
3 defined('MOODLE_INTERNAL') || die;
5 if ($ADMIN->fulltree) {
7 // link color setting
8 $name = 'theme_fusion/linkcolor';
9 $title = get_string('linkcolor','theme_fusion');
10 $description = get_string('linkcolordesc', 'theme_fusion');
11 $default = '#2d83d5';
12 $previewconfig = NULL;
13 $setting = new admin_setting_configcolourpicker($name, $title, $description, $default, $previewconfig);
14 $settings->add($setting);
16 // Tag line setting
17 $name = 'theme_fusion/tagline';
18 $title = get_string('tagline','theme_fusion');
19 $description = get_string('taglinedesc', 'theme_fusion');
20 $setting = new admin_setting_configtext($name, $title, $description, '');
21 $settings->add($setting);
23 // Foot note setting
24 $name = 'theme_fusion/footertext';
25 $title = get_string('footertext','theme_fusion');
26 $description = get_string('footertextdesc', 'theme_fusion');
27 $setting = new admin_setting_confightmleditor($name, $title, $description, '');
28 $settings->add($setting);
30 // Custom CSS file
31 $name = 'theme_fusion/customcss';
32 $title = get_string('customcss','theme_fusion');
33 $description = get_string('customcssdesc', 'theme_fusion');
34 $setting = new admin_setting_configtextarea($name, $title, $description, '');
35 $settings->add($setting);