Submit
Path:
~
/
home
/
b
/
f
/
x
/
bfxleof
/
www
/
wp-content
/
plugins
/
wp-file-manager
/
lib
/
img
/
File Content:
elFinderPlugin.php
<?php /** * elFinder Plugin Abstract * * @package elfinder * @author Naoki Sawada * @license New BSD */ class elFinderPlugin { /** * This plugin's options * * @var array */ protected $opts = array(); /** * Get current volume's options * * @param object $volume * * @return array options */ protected function getCurrentOpts($volume) { $name = substr(get_class($this), 14); // remove "elFinderPlugin" $opts = $this->opts; if (is_object($volume)) { $volOpts = $volume->getOptionsPlugin($name); if (is_array($volOpts)) { $opts = array_merge($opts, $volOpts); } } return $opts; } /** * Is enabled with options * * @param array $opts * @param elFinder $elfinder * * @return boolean */ protected function iaEnabled($opts, $elfinder = null) { if (!$opts['enable']) { return false; } // check post var 'contentSaveId' to disable this plugin if ($elfinder && !empty($opts['disableWithContentSaveId'])) { $session = $elfinder->getSession(); $urlContentSaveIds = $session->get('urlContentSaveIds', array()); if (!empty(elFinder::$currentArgs['contentSaveId']) && ($contentSaveId = elFinder::$currentArgs['contentSaveId'])) { if (!empty($urlContentSaveIds[$contentSaveId])) { $elfinder->removeUrlContentSaveId($contentSaveId); return false; } } } if (isset($opts['onDropWith']) && !is_null($opts['onDropWith'])) { // plugin disabled by default, enabled only if given key is pressed if (isset($_REQUEST['dropWith']) && $_REQUEST['dropWith']) { $onDropWith = $opts['onDropWith']; $action = (int)$_REQUEST['dropWith']; if (!is_array($onDropWith)) { $onDropWith = array($onDropWith); } foreach ($onDropWith as $key) { $key = (int)$key; if (($action & $key) === $key) { return true; } } } return false; } if (isset($opts['offDropWith']) && !is_null($opts['offDropWith']) && isset($_REQUEST['dropWith'])) { // plugin enabled by default, disabled only if given key is pressed $offDropWith = $opts['offDropWith']; $action = (int)$_REQUEST['dropWith']; if (!is_array($offDropWith)) { $offDropWith = array($offDropWith); } $res = true; foreach ($offDropWith as $key) { $key = (int)$key; if ($key === 0) { if ($action === 0) { $res = false; break; } } else { if (($action & $key) === $key) { $res = false; break; } } } if (!$res) { return false; } } return true; } }
Submit
FILE
FOLDER
Name
Size
Permission
Action
src
---
0755
arrows-active.png
152 bytes
0644
arrows-normal.png
169 bytes
0644
black-close.png
1082 bytes
0644
black-search.png
1079 bytes
0644
crop.gif
323 bytes
0644
dialogs.png
5818 bytes
0644
edit_aceeditor.png
514 bytes
0644
edit_ckeditor.png
729 bytes
0644
edit_ckeditor5.png
141 bytes
0644
edit_codemirror.png
528 bytes
0644
edit_creativecloud.png
659 bytes
0644
edit_onlineconvert.png
934 bytes
0644
edit_pixlreditor.png
882 bytes
0644
edit_pixlrexpress.png
927 bytes
0644
edit_simplemde.png
144 bytes
0644
edit_tinymce.png
242 bytes
0644
edit_tuiimgedit.png
189 bytes
0644
edit_zohooffice.png
460 bytes
0644
editor-icons.png
2719 bytes
0644
elFinderPlugin.php
3331 bytes
0644
elFinderVolumeLocalFileSystem.class-20260623050500.php
48544 bytes
0644
elFinderVolumeLocalFileSystem.class.php
48544 bytes
0644
fm_close_icon.png
1576 bytes
0644
icons-big.png
6880 bytes
0644
icons-big.svg
26458 bytes
0644
icons-small.png
3674 bytes
0644
logo.png
4893 bytes
0644
progress.gif
667 bytes
0644
quicklook-bg.png
71 bytes
0644
quicklook-icons.png
1604 bytes
0644
resize.png
83 bytes
0644
spinner-mini-bk.gif
1849 bytes
0644
spinner-mini.gif
1434 bytes
0644
toolbar.png
7506 bytes
0644
trashmesh.png
164 bytes
0644
tui-icon-a.svg
20133 bytes
0644
tui-icon-b.svg
19744 bytes
0644
tui-icon-c.svg
19744 bytes
0644
tui-icon-d.svg
19744 bytes
0644
ui-icons_ffffff_256x240.png
3759 bytes
0644
volume_icon_box.png
621 bytes
0644
volume_icon_box.svg
686 bytes
0644
volume_icon_dropbox.png
413 bytes
0644
volume_icon_dropbox.svg
312 bytes
0644
volume_icon_ftp.png
371 bytes
0644
volume_icon_ftp.svg
11329 bytes
0644
volume_icon_googledrive.png
663 bytes
0644
volume_icon_googledrive.svg
223 bytes
0644
volume_icon_local.png
357 bytes
0644
volume_icon_local.svg
16208 bytes
0644
volume_icon_network.png
872 bytes
0644
volume_icon_network.svg
13092 bytes
0644
volume_icon_onedrive.png
204 bytes
0644
volume_icon_onedrive.svg
505 bytes
0644
volume_icon_sql.png
572 bytes
0644
volume_icon_sql.svg
9275 bytes
0644
volume_icon_trash.png
706 bytes
0644
volume_icon_trash.svg
7318 bytes
0644
volume_icon_zip.png
475 bytes
0644
volume_icon_zip.svg
8954 bytes
0644
win_10_sprite_icon.png
1409 bytes
0644
N4ST4R_ID | Naxtarrr