__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
/**
* @class elFinder toolbar button to switch current directory view.
*
* @author Dmitry (dio) Levashov
**/
jQuery.fn.elfinderviewbutton = function(cmd) {
"use strict";
return this.each(function() {
var button = jQuery(this).elfinderbutton(cmd),
icon = button.children('.elfinder-button-icon'),
text = button.children('.elfinder-button-text'),
tm;
cmd.change(function() {
tm && cancelAnimationFrame(tm);
tm = requestAnimationFrame(function() {
var icons = cmd.value == 'icons';
icon.toggleClass('elfinder-button-icon-view-list', icons);
cmd.className = icons? 'view-list' : '';
cmd.title = cmd.fm.i18n(icons ? 'viewlist' : 'viewicons');
button.attr('title', cmd.title);
text.html(cmd.title);
});
});
});
};
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| button.js | File | 4.12 KB | 0640 |
|
| contextmenu.js | File | 21.45 KB | 0640 |
|
| cwd.js | File | 87.65 KB | 0640 |
|
| dialog.js | File | 26.2 KB | 0640 |
|
| fullscreenbutton.js | File | 634 B | 0640 |
|
| navbar.js | File | 5.22 KB | 0640 |
|
| navdock.js | File | 4.37 KB | 0640 |
|
| overlay.js | File | 969 B | 0640 |
|
| panel.js | File | 559 B | 0640 |
|
| path.js | File | 5.22 KB | 0640 |
|
| places.js | File | 16.2 KB | 0640 |
|
| searchbutton.js | File | 10.05 KB | 0640 |
|
| sortbutton.js | File | 3.66 KB | 0640 |
|
| stat.js | File | 3.4 KB | 0640 |
|
| toast.js | File | 2.63 KB | 0640 |
|
| toolbar.js | File | 9.86 KB | 0640 |
|
| tree.js | File | 40.6 KB | 0640 |
|
| uploadButton.js | File | 1.05 KB | 0640 |
|
| viewbutton.js | File | 770 B | 0640 |
|
| workzone.js | File | 1.42 KB | 0640 |
|