Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/theme/overlay/settings.php
Go to the documentation of this file.
00001 <?php
00002 
00003 defined('MOODLE_INTERNAL') || die;
00004 
00005 if ($ADMIN->fulltree) {
00006 
00007 
00008 // link color setting
00009 $name = 'theme_overlay/linkcolor';
00010 $title = get_string('linkcolor','theme_overlay');
00011 $description = get_string('linkcolordesc', 'theme_overlay');
00012 $default = '#428ab5';
00013 $previewconfig = NULL;
00014 $setting = new admin_setting_configcolourpicker($name, $title, $description, $default, $previewconfig);
00015 $settings->add($setting);
00016 
00017 
00018 // Tag line setting
00019 $name = 'theme_overlay/headercolor';
00020 $title = get_string('headercolor','theme_overlay');
00021 $description = get_string('headercolordesc', 'theme_overlay');
00022 $default = '#2a4c7b';
00023 $previewconfig = NULL;
00024 $setting = new admin_setting_configcolourpicker($name, $title, $description, $default, $previewconfig);
00025 $settings->add($setting);
00026 
00027 // Foot note setting
00028 $name = 'theme_overlay/footertext';
00029 $title = get_string('footertext','theme_overlay');
00030 $description = get_string('footertextdesc', 'theme_overlay');
00031 $setting = new admin_setting_confightmleditor($name, $title, $description, '');
00032 $settings->add($setting);
00033 
00034 // Custom CSS file
00035 $name = 'theme_overlay/customcss';
00036 $title = get_string('customcss','theme_overlay');
00037 $description = get_string('customcssdesc', 'theme_overlay');
00038 $setting = new admin_setting_configtextarea($name, $title, $description, '');
00039 $settings->add($setting);
00040 
00041 }
 All Data Structures Namespaces Files Functions Variables Enumerations