themes lib MDL-24895 Multiple fixes to better handle overflow.
[moodle.git] / theme / sky_high / settings.php
CommitLineData
dc38e364
S
1<?php
2
3/**
4 * Settings for the sky_high theme
5 */
6
e3816644
S
7defined('MOODLE_INTERNAL') || die;
8
9if ($ADMIN->fulltree) {
dc38e364
S
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);
e3816644 16$settings->add($setting);
dc38e364
S
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);
e3816644 25$settings->add($setting);
dc38e364
S
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, '');
e3816644 32$settings->add($setting);
dc38e364
S
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, '');
e3816644 39$settings->add($setting);
dc38e364
S
40
41// Add our page to the structure of the admin tree
e3816644
S
42
43
44}
dc38e364 45?>