4 * Settings for the sky_high theme
7 defined('MOODLE_INTERNAL') || die;
9 if ($ADMIN->fulltree) {
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);
19 $name = 'theme_sky_high/regionwidth';
20 $title = get_string('regionwidth','theme_sky_high');
21 $description = get_string('regionwidthdesc', 'theme_sky_high');
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);
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);
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);
41 // Add our page to the structure of the admin tree