REDROOM
PHP 8.0.30
Path:
Logout
Edit File
Size: 4.39 KB
Close
//home/certprox/template.certproxywizard.com/wp-content/plugins/wp-file-manager/js/file_manager_free_shortcode_admin.js
Text
Base64
jQuery(document).ready(function () { var security_key = fmfparams.nonce; var fmlang = fmfparams.lang; var ajaxurl = fmfparams.ajaxurl; var href = fm_get_network_url(); jQuery("#wp_file_manager") .elfinder({ url: ajaxurl, customData: { action: "mk_file_folder_manager", _wpnonce: security_key, networkhref:href, }, uploadMaxChunkSize: 1048576000000, defaultView: "list", height: 500, lang: fmlang, soundPath: fmfparams.plugin_url+'sounds/', baseUrl: fmfparams.plugin_url, /* Start */ handlers: { /* Upload */ upload: function (event, instance) { if (fmfparams.fm_enable_media_upload == "1") { var filepaths = []; var uploadedFiles = event.data.added; for (i in uploadedFiles) { var file = uploadedFiles[i]; filepaths.push(file.url); } if (filepaths != "") { var data = { action: "mk_file_folder_manager_media_upload", uploadefiles: filepaths, _wpnonce: security_key, networkhref:href, }; jQuery.post(ajaxurl, data, function (response) {}); } } }, }, commandsOptions: { edit: { mimes: [], editors: [ { mimes: [ "text/plain", "text/html", "text/javascript", "text/css", "text/x-php", "application/x-php", ], load: function (textarea) { var mimeType = this.file.mime; var filename = this.file.name; // CodeMirror configure editor = CodeMirror.fromTextArea(textarea, { //mode: 'css', indentUnit: 4, lineNumbers: true, theme: "3024-day", viewportMargin: Infinity, lineWrapping: true, //gutters: ["CodeMirror-lint-markers"], lint: true, }); return editor; }, close: function (textarea, instance) { this.myCodeMirror = null; }, save: function (textarea, editor) { jQuery(textarea).val(editor.getValue()); }, }, ], }, quicklook: { sharecadMimes: [ "image/vnd.dwg", "image/vnd.dxf", "model/vnd.dwf", "application/vnd.hp-hpgl", "application/plt", "application/step", "model/iges", "application/vnd.ms-pki.stl", "application/sat", "image/cgm", "application/x-msmetafile", ], googleDocsMimes: [ "application/pdf", "image/tiff", "application/vnd.ms-office", "application/msword", "application/vnd.ms-word", "application/vnd.ms-excel", "application/vnd.ms-powerpoint", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "application/vnd.openxmlformats-officedocument.presentationml.presentation", "application/postscript", "application/rtf", ], officeOnlineMimes: [ "application/vnd.ms-office", "application/msword", "application/vnd.ms-word", "application/vnd.ms-excel", "application/vnd.ms-powerpoint", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "application/vnd.openxmlformats-officedocument.presentationml.presentation", "application/vnd.oasis.opendocument.text", "application/vnd.oasis.opendocument.spreadsheet", "application/vnd.oasis.opendocument.presentation", ], }, }, uiOptions : { toolbarExtra : { autoHideUA: [], displayTextLabel: false, preferenceInContextmenu: false } } /* END */ }) .elfinder("instance"); });
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 4
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
file_manager_free_shortcode_admin.js
4.39 KB
lrw-r--r--
2026-07-27 05:52:55
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
fm-backup.js
11.37 KB
lrw-r--r--
2026-07-27 05:52:55
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
fm_script.js
2.80 KB
lrw-r--r--
2026-07-27 05:52:55
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
top.js
392 B
lrw-r--r--
2026-07-27 05:52:55
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).