|
Moodle
2.2.1
http://www.collinsharper.com
|
00001 <?php 00002 00003 00004 // This file is part of Moodle - http://moodle.org/ 00005 // 00006 // Moodle is free software: you can redistribute it and/or modify 00007 // it under the terms of the GNU General Public License as published by 00008 // the Free Software Foundation, either version 3 of the License, or 00009 // (at your option) any later version. 00010 // 00011 // Moodle is distributed in the hope that it will be useful, 00012 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 // GNU General Public License for more details. 00015 // 00016 // You should have received a copy of the GNU General Public License 00017 // along with Moodle. If not, see <http://www.gnu.org/licenses/>. 00018 00027 defined('MOODLE_INTERNAL') || die; 00028 00029 if ($ADMIN->fulltree) { 00030 00031 // Logo file setting 00032 $name = 'theme_splash/logo'; 00033 $title = get_string('logo','theme_splash'); 00034 $description = get_string('logodesc', 'theme_splash'); 00035 $setting = new admin_setting_configtext($name, $title, $description, '', PARAM_URL); 00036 $settings->add($setting); 00037 00038 // Tagline setting 00039 $name = 'theme_splash/tagline'; 00040 $title = get_string('tagline','theme_splash'); 00041 $description = get_string('taglinedesc', 'theme_splash'); 00042 $setting = new admin_setting_configtextarea($name, $title, $description, get_string('defaulttagline', 'theme_splash')); 00043 $settings->add($setting); 00044 00045 $name = 'theme_splash/hide_tagline'; 00046 $title = get_string('hide_tagline','theme_splash'); 00047 $description = get_string('hide_taglinedesc', 'theme_splash'); 00048 $setting = new admin_setting_configcheckbox($name, $title, $description, 0); 00049 $settings->add($setting); 00050 00051 /* 00052 // Block region width 00053 $name = 'theme_splash/regionwidth'; 00054 $title = get_string('regionwidth','theme_splash'); 00055 $description = get_string('regionwidthdesc', 'theme_splash'); 00056 $default = 240; 00057 $choices = array(200=>'200px', 240=>'240px', 290=>'290px', 350=>'350px', 420=>'420px'); 00058 $setting = new admin_setting_configselect($name, $title, $description, $default, $choices); 00059 $temp->add($setting); */ 00060 00061 // Foot note setting 00062 $name = 'theme_splash/footnote'; 00063 $title = get_string('footnote','theme_splash'); 00064 $description = get_string('footnotedesc', 'theme_splash'); 00065 $setting = new admin_setting_confightmleditor($name, $title, $description, ''); 00066 $settings->add($setting); 00067 00068 // Custom CSS file 00069 $name = 'theme_splash/customcss'; 00070 $title = get_string('customcss','theme_splash'); 00071 $description = get_string('customcssdesc', 'theme_splash'); 00072 $setting = new admin_setting_configtextarea($name, $title, $description, ''); 00073 $settings->add($setting); 00074 00075 }