2011-11-14 01:29:21 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
defined('MOODLE_INTERNAL') || die;
|
|
|
|
|
|
|
|
if ($ADMIN->fulltree) {
|
|
|
|
|
2011-11-24 11:31:11 +08:00
|
|
|
// Logo file setting
|
|
|
|
$name = 'theme_afterburner/logo';
|
|
|
|
$title = get_string('logo','theme_afterburner');
|
|
|
|
$description = get_string('logodesc', 'theme_afterburner');
|
|
|
|
$default = '';
|
|
|
|
$setting = new admin_setting_configtext($name, $title, $description, $default, PARAM_URL);
|
|
|
|
$settings->add($setting);
|
2011-11-14 01:29:21 +00:00
|
|
|
|
2011-11-24 11:31:11 +08:00
|
|
|
// Foot note setting
|
|
|
|
$name = 'theme_afterburner/footnote';
|
|
|
|
$title = get_string('footnote','theme_afterburner');
|
|
|
|
$description = get_string('footnotedesc', 'theme_afterburner');
|
|
|
|
$default = '';
|
|
|
|
$setting = new admin_setting_confightmleditor($name, $title, $description, $default);
|
|
|
|
$settings->add($setting);
|
2011-11-14 01:29:21 +00:00
|
|
|
|
2011-11-24 11:31:11 +08:00
|
|
|
// Custom CSS file
|
|
|
|
$name = 'theme_afterburner/customcss';
|
|
|
|
$title = get_string('customcss','theme_afterburner');
|
|
|
|
$description = get_string('customcssdesc', 'theme_afterburner');
|
|
|
|
$default = '';
|
|
|
|
$setting = new admin_setting_configtextarea($name, $title, $description, $default);
|
|
|
|
$settings->add($setting);
|
2011-11-24 09:31:32 +00:00
|
|
|
|
|
|
|
}
|