Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
cesa.co.za /
sipdm.cesa.co.za /
theme /
boost /
Delete
Unzip
Name
Size
Permission
Date
Action
amd
[ DIR ]
drwxr-sr-x
2017-06-22 14:56
classes
[ DIR ]
drwxr-sr-x
2017-06-22 14:58
cli
[ DIR ]
drwxr-sr-x
2017-06-22 14:58
lang
[ DIR ]
drwxr-sr-x
2017-06-22 14:56
layout
[ DIR ]
drwxr-sr-x
2017-06-22 14:59
pix
[ DIR ]
drwxr-sr-x
2017-06-22 14:59
scss
[ DIR ]
drwxr-sr-x
2017-06-22 15:00
templates
[ DIR ]
drwxr-sr-x
2017-06-22 15:00
tests
[ DIR ]
drwxr-sr-x
2017-06-22 14:57
config.php
5.22
KB
-rw-r--r--
2017-06-22 14:58
lib.php
3.17
KB
-rw-r--r--
2017-06-22 14:59
readme_moodle.txt
1.13
KB
-rw-r--r--
2017-06-22 14:59
settings.php
3.54
KB
-rw-r--r--
2017-06-22 15:00
thirdpartylibs.xml
2.86
KB
-rw-r--r--
2017-06-22 15:00
version.php
990
B
-rw-r--r--
2017-06-22 15:00
Save
Rename
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with Moodle. If not, see <http://www.gnu.org/licenses/>. /** * @package theme_boost * @copyright 2016 Ryan Wyllie * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ defined('MOODLE_INTERNAL') || die(); if ($ADMIN->fulltree) { $settings = new theme_boost_admin_settingspage_tabs('themesettingboost', get_string('configtitle', 'theme_boost')); $page = new admin_settingpage('theme_boost_general', get_string('generalsettings', 'theme_boost')); // Preset. $name = 'theme_boost/preset'; $title = get_string('preset', 'theme_boost'); $description = get_string('preset_desc', 'theme_boost'); $default = 'default.scss'; $context = context_system::instance(); $fs = get_file_storage(); $files = $fs->get_area_files($context->id, 'theme_boost', 'preset', 0, 'itemid, filepath, filename', false); $choices = []; foreach ($files as $file) { $choices[$file->get_filename()] = $file->get_filename(); } // These are the built in presets. $choices['default.scss'] = 'default.scss'; $choices['plain.scss'] = 'plain.scss'; $setting = new admin_setting_configselect($name, $title, $description, $default, $choices); $setting->set_updatedcallback('theme_reset_all_caches'); $page->add($setting); // Preset files setting. $name = 'theme_boost/presetfiles'; $title = get_string('presetfiles','theme_boost'); $description = get_string('presetfiles_desc', 'theme_boost'); $setting = new admin_setting_configstoredfile($name, $title, $description, 'preset', 0, array('maxfiles' => 20, 'accepted_types' => array('.scss'))); $page->add($setting); // Variable $body-color. // We use an empty default value because the default colour should come from the preset. $name = 'theme_boost/brandcolor'; $title = get_string('brandcolor', 'theme_boost'); $description = get_string('brandcolor_desc', 'theme_boost'); $setting = new admin_setting_configcolourpicker($name, $title, $description, ''); $setting->set_updatedcallback('theme_reset_all_caches'); $page->add($setting); // Must add the page after definiting all the settings! $settings->add($page); // Advanced settings. $page = new admin_settingpage('theme_boost_advanced', get_string('advancedsettings', 'theme_boost')); // Raw SCSS to include before the content. $setting = new admin_setting_scsscode('theme_boost/scsspre', get_string('rawscsspre', 'theme_boost'), get_string('rawscsspre_desc', 'theme_boost'), '', PARAM_RAW); $setting->set_updatedcallback('theme_reset_all_caches'); $page->add($setting); // Raw SCSS to include after the content. $setting = new admin_setting_scsscode('theme_boost/scss', get_string('rawscss', 'theme_boost'), get_string('rawscss_desc', 'theme_boost'), '', PARAM_RAW); $setting->set_updatedcallback('theme_reset_all_caches'); $page->add($setting); $settings->add($page); }