Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/wp-conte.../plugins/wp-file-.../lib/js/ui
File: viewbutton.js
/**
[0] Fix | Delete
* @class elFinder toolbar button to switch current directory view.
[1] Fix | Delete
*
[2] Fix | Delete
* @author Dmitry (dio) Levashov
[3] Fix | Delete
**/
[4] Fix | Delete
jQuery.fn.elfinderviewbutton = function(cmd) {
[5] Fix | Delete
"use strict";
[6] Fix | Delete
return this.each(function() {
[7] Fix | Delete
var button = jQuery(this).elfinderbutton(cmd),
[8] Fix | Delete
icon = button.children('.elfinder-button-icon'),
[9] Fix | Delete
text = button.children('.elfinder-button-text'),
[10] Fix | Delete
tm;
[11] Fix | Delete
[12] Fix | Delete
cmd.change(function() {
[13] Fix | Delete
tm && cancelAnimationFrame(tm);
[14] Fix | Delete
tm = requestAnimationFrame(function() {
[15] Fix | Delete
var icons = cmd.value == 'icons';
[16] Fix | Delete
[17] Fix | Delete
icon.toggleClass('elfinder-button-icon-view-list', icons);
[18] Fix | Delete
cmd.className = icons? 'view-list' : '';
[19] Fix | Delete
cmd.title = cmd.fm.i18n(icons ? 'viewlist' : 'viewicons');
[20] Fix | Delete
button.attr('title', cmd.title);
[21] Fix | Delete
text.html(cmd.title);
[22] Fix | Delete
});
[23] Fix | Delete
});
[24] Fix | Delete
});
[25] Fix | Delete
};
[26] Fix | Delete
[27] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function