editor-css MDL-16319 Set default font for the core moodle themes
[moodle.git] / theme / sky_high / settings.php
1 <?php
2  
3 /**
4  * Settings for the sky_high theme
5  */
6  
7 defined('MOODLE_INTERNAL') || die;
9 if ($ADMIN->fulltree) {
10  
11 // Logo file setting
12 $name = 'theme_sky_high/logo';
13 $title = get_string('logo','theme_sky_high');
14 $description = get_string('logodesc', 'theme_sky_high');
15 $setting = new admin_setting_configtext($name, $title, $description, '', PARAM_URL);
16 $settings->add($setting);
17  
18 // Block region width
19 $name = 'theme_sky_high/regionwidth';
20 $title = get_string('regionwidth','theme_sky_high');
21 $description = get_string('regionwidthdesc', 'theme_sky_high');
22 $default = 240;
23 $choices = array(200=>'200px', 240=>'240px', 290=>'290px', 350=>'350px', 420=>'420px');
24 $setting = new admin_setting_configselect($name, $title, $description, $default, $choices);
25 $settings->add($setting);
26  
27 // Foot note setting
28 $name = 'theme_sky_high/footnote';
29 $title = get_string('footnote','theme_sky_high');
30 $description = get_string('footnotedesc', 'theme_sky_high');
31 $setting = new admin_setting_confightmleditor($name, $title, $description, '');
32 $settings->add($setting);
33  
34 // Custom CSS file
35 $name = 'theme_sky_high/customcss';
36 $title = get_string('customcss','theme_sky_high');
37 $description = get_string('customcssdesc', 'theme_sky_high');
38 $setting = new admin_setting_configtextarea($name, $title, $description, '');
39 $settings->add($setting);
40  
41 // Add our page to the structure of the admin tree
44 }
45 ?>