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