-
WIBUHAX0R1337
-
/
home
/
coludnqa
/
xtrasolutionsco.com
/
wp-content
/
plugins
/
wp-file-manager
/
lib
/
js
/
commands
/
[ Home ]
Create Folder
Create File
Nama File / Folder
Size
Action
archive.js
2.471KB
Edit File
Delete File
Rename
back.js
0.5KB
Edit File
Delete File
Rename
chmod.js
9.366KB
Edit File
Delete File
Rename
colwidth.js
0.469KB
Edit File
Delete File
Rename
copy.js
0.963KB
Edit File
Delete File
Rename
cut.js
1.119KB
Edit File
Delete File
Rename
download.js
16.606KB
Edit File
Delete File
Rename
duplicate.js
1.359KB
Edit File
Delete File
Rename
edit.js
34.482KB
Edit File
Delete File
Rename
empty.js
3.315KB
Edit File
Delete File
Rename
extract.js
5.177KB
Edit File
Delete File
Rename
forward.js
0.497KB
Edit File
Delete File
Rename
fullscreen.js
1.049KB
Edit File
Delete File
Rename
getfile.js
4.065KB
Edit File
Delete File
Rename
help.js
14.206KB
Edit File
Delete File
Rename
hidden.js
0.27KB
Edit File
Delete File
Rename
hide.js
4.263KB
Edit File
Delete File
Rename
home.js
0.516KB
Edit File
Delete File
Rename
info.js
13.132KB
Edit File
Delete File
Rename
mkdir.js
2.514KB
Edit File
Delete File
Rename
mkfile.js
1.636KB
Edit File
Delete File
Rename
netmount.js
10.431KB
Edit File
Delete File
Rename
open.js
6.784KB
Edit File
Delete File
Rename
opendir.js
0.865KB
Edit File
Delete File
Rename
opennew.js
1.213KB
Edit File
Delete File
Rename
paste.js
10.167KB
Edit File
Delete File
Rename
places.js
0.755KB
Edit File
Delete File
Rename
preference.js
21.367KB
Edit File
Delete File
Rename
quicklook.js
23.872KB
Edit File
Delete File
Rename
quicklook.plugins.js
58.508KB
Edit File
Delete File
Rename
reload.js
1.859KB
Edit File
Delete File
Rename
rename.js
15.917KB
Edit File
Delete File
Rename
resize.js
52.169KB
Edit File
Delete File
Rename
restore.js
7.446KB
Edit File
Delete File
Rename
rm.js
14.416KB
Edit File
Delete File
Rename
search.js
4.014KB
Edit File
Delete File
Rename
selectall.js
0.592KB
Edit File
Delete File
Rename
selectinvert.js
0.46KB
Edit File
Delete File
Rename
selectnone.js
0.518KB
Edit File
Delete File
Rename
sort.js
4.317KB
Edit File
Delete File
Rename
undo.js
3.616KB
Edit File
Delete File
Rename
up.js
0.693KB
Edit File
Delete File
Rename
upload.js
12.398KB
Edit File
Delete File
Rename
view.js
2.801KB
Edit File
Delete File
Rename
/** * @class elFinder command "mkdir" * Create new folder * * @author Dmitry (dio) Levashov **/ elFinder.prototype.commands.mkdir = function() { "use strict"; var fm = this.fm, self = this, curOrg; this.value = ''; this.disableOnSearch = true; this.updateOnSelect = false; this.syncTitleOnChange = true; this.mime = 'directory'; this.prefix = 'untitled folder'; this.exec = function(select, cOpts) { var onCwd; if (select && select.length && cOpts && cOpts._currentType && cOpts._currentType === 'navbar') { this.origin = cOpts._currentType; this.data = { target: select[0] }; } else { onCwd = fm.cwd().hash === select[0]; this.origin = curOrg && !onCwd? curOrg : 'cwd'; delete this.data; } if (! select && ! this.options.intoNewFolderToolbtn) { fm.getUI('cwd').trigger('unselectall'); } //this.move = (!onCwd && curOrg !== 'navbar' && fm.selected().length)? true : false; this.move = this.value === fm.i18n('cmdmkdirin'); return jQuery.proxy(fm.res('mixin', 'make'), self)(); }; this.shortcuts = [{ pattern : 'ctrl+shift+n' }]; this.init = function() { if (this.options.intoNewFolderToolbtn) { this.syncTitleOnChange = true; } }; fm.bind('select contextmenucreate closecontextmenu', function(e) { var sel = (e.data? (e.data.selected || e.data.targets) : null) || fm.selected(); self.className = 'mkdir'; curOrg = e.data && sel.length? (e.data.origin || e.data.type || '') : ''; if (!self.options.intoNewFolderToolbtn && curOrg === '') { curOrg = 'cwd'; } if (sel.length && curOrg !== 'navbar' && curOrg !== 'cwd' && fm.cwd().hash !== sel[0]) { self.title = fm.i18n('cmdmkdirin'); self.className += ' elfinder-button-icon-mkdirin'; } else { self.title = fm.i18n('cmdmkdir'); } if (e.type !== 'closecontextmenu') { self.update(void(0), self.title); } else { requestAnimationFrame(function() { self.update(void(0), self.title); }); } }); this.getstate = function(select) { var cwd = fm.cwd(), sel = (curOrg === 'navbar' || (select && select[0] !== cwd.hash))? this.files(select || fm.selected()) : [], cnt = sel.length, filter = function(files) { var fres = true; return jQuery.grep(files, function(f) { fres = fres && f.read && ! f.locked? true : false; return fres; }); }; if (curOrg === 'navbar') { return cnt && sel[0].write && sel[0].read? 0 : -1; } else { return cwd.write && (!cnt || filter(sel).length == cnt)? 0 : -1; } }; };
Save!!!
© 2022 - 2023 WIBUHAXOR V1 By Lutfifakee || Padang Blackhat