3 defined('MOODLE_INTERNAL') ||
die;
5 if ($ADMIN->fulltree
) {
8 $name = 'theme_nimble/tagline';
9 $title = get_string('tagline','theme_nimble');
10 $description = get_string('taglinedesc', 'theme_nimble');
11 $setting = new admin_setting_configtext($name, $title, $description, '');
12 $setting->set_updatedcallback('theme_reset_all_caches');
13 $settings->add($setting);
16 $name = 'theme_nimble/footerline';
17 $title = get_string('footerline','theme_nimble');
18 $description = get_string('footerlinedesc', 'theme_nimble');
19 $setting = new admin_setting_configtext($name, $title, $description, '');
20 $setting->set_updatedcallback('theme_reset_all_caches');
21 $settings->add($setting);
23 // Background color setting
24 $name = 'theme_nimble/backgroundcolor';
25 $title = get_string('backgroundcolor','theme_nimble');
26 $description = get_string('backgroundcolordesc', 'theme_nimble');
28 $previewconfig = NULL;
29 $setting = new admin_setting_configcolourpicker($name, $title, $description, $default, $previewconfig);
30 $setting->set_updatedcallback('theme_reset_all_caches');
31 $settings->add($setting);
34 $name = 'theme_nimble/linkcolor';
35 $title = get_string('linkcolor','theme_nimble');
36 $description = get_string('linkcolordesc', 'theme_nimble');
38 $previewconfig = NULL;
39 $setting = new admin_setting_configcolourpicker($name, $title, $description, $default, $previewconfig);
40 $setting->set_updatedcallback('theme_reset_all_caches');
41 $settings->add($setting);
43 // link hover color setting
44 $name = 'theme_nimble/linkhover';
45 $title = get_string('linkhover','theme_nimble');
46 $description = get_string('linkhoverdesc', 'theme_nimble');
48 $previewconfig = NULL;
49 $setting = new admin_setting_configcolourpicker($name, $title, $description, $default, $previewconfig);
50 $setting->set_updatedcallback('theme_reset_all_caches');
51 $settings->add($setting);