|
Moodle
2.2.1
http://www.collinsharper.com
|
00001 <?php 00002 00007 defined('MOODLE_INTERNAL') || die; 00008 00009 if ($ADMIN->fulltree) { 00010 00011 // Logo file setting 00012 $name = 'theme_sky_high/logo'; 00013 $title = get_string('logo','theme_sky_high'); 00014 $description = get_string('logodesc', 'theme_sky_high'); 00015 $setting = new admin_setting_configtext($name, $title, $description, '', PARAM_URL); 00016 $settings->add($setting); 00017 00018 // Block region width 00019 $name = 'theme_sky_high/regionwidth'; 00020 $title = get_string('regionwidth','theme_sky_high'); 00021 $description = get_string('regionwidthdesc', 'theme_sky_high'); 00022 $default = 240; 00023 $choices = array(200=>'200px', 240=>'240px', 290=>'290px', 350=>'350px', 420=>'420px'); 00024 $setting = new admin_setting_configselect($name, $title, $description, $default, $choices); 00025 $settings->add($setting); 00026 00027 // Foot note setting 00028 $name = 'theme_sky_high/footnote'; 00029 $title = get_string('footnote','theme_sky_high'); 00030 $description = get_string('footnotedesc', 'theme_sky_high'); 00031 $setting = new admin_setting_confightmleditor($name, $title, $description, ''); 00032 $settings->add($setting); 00033 00034 // Custom CSS file 00035 $name = 'theme_sky_high/customcss'; 00036 $title = get_string('customcss','theme_sky_high'); 00037 $description = get_string('customcssdesc', 'theme_sky_high'); 00038 $setting = new admin_setting_configtextarea($name, $title, $description, ''); 00039 $settings->add($setting); 00040 00041 // Add our page to the structure of the admin tree 00042 00043 00044 } 00045 ?>