Edit File by line
/home/barbar84/www/wp-conte.../plugins/file-man.../applicat.../library/js
File: elFinder.options.netmount.js
/**
[0] Fix | Delete
* Default elFinder config of commandsOptions.netmount
[1] Fix | Delete
*
[2] Fix | Delete
* @type Object
[3] Fix | Delete
*/
[4] Fix | Delete
[5] Fix | Delete
elFinder.prototype._options.commandsOptions.netmount = {
[6] Fix | Delete
ftp: {
[7] Fix | Delete
name : 'FTP',
[8] Fix | Delete
inputs: {
[9] Fix | Delete
host : $('<input type="text"/>'),
[10] Fix | Delete
port : $('<input type="number" placeholder="21" class="elfinder-input-optional"/>'),
[11] Fix | Delete
path : $('<input type="text" value="/"/>'),
[12] Fix | Delete
user : $('<input type="text"/>'),
[13] Fix | Delete
pass : $('<input type="password" autocomplete="new-password"/>'),
[14] Fix | Delete
FTPS : $('<input type="checkbox" value="1" title="File Transfer Protocol over SSL/TLS"/>'),
[15] Fix | Delete
encoding : $('<input type="text" placeholder="Optional" class="elfinder-input-optional"/>'),
[16] Fix | Delete
locale : $('<input type="text" placeholder="Optional" class="elfinder-input-optional"/>')
[17] Fix | Delete
}
[18] Fix | Delete
},
[19] Fix | Delete
dropbox2: elFinder.prototype.makeNetmountOptionOauth('dropbox2', 'Dropbox', 'Dropbox', {noOffline : true,
[20] Fix | Delete
root : '/',
[21] Fix | Delete
pathI18n : 'path',
[22] Fix | Delete
integrate : {
[23] Fix | Delete
title: 'Dropbox.com',
[24] Fix | Delete
link: 'https://www.dropbox.com'
[25] Fix | Delete
}
[26] Fix | Delete
}),
[27] Fix | Delete
googledrive: elFinder.prototype.makeNetmountOptionOauth('googledrive', 'Google Drive', 'Google', {
[28] Fix | Delete
integrate : {
[29] Fix | Delete
title: 'Google Drive',
[30] Fix | Delete
link: 'https://www.google.com/drive/'
[31] Fix | Delete
}
[32] Fix | Delete
}),
[33] Fix | Delete
onedrive: elFinder.prototype.makeNetmountOptionOauth('onedrive', 'One Drive', 'OneDrive', {
[34] Fix | Delete
integrate : {
[35] Fix | Delete
title: 'Microsoft OneDrive',
[36] Fix | Delete
link: 'https://onedrive.live.com'
[37] Fix | Delete
}
[38] Fix | Delete
}),
[39] Fix | Delete
box: elFinder.prototype.makeNetmountOptionOauth('box', 'Box', 'Box', {
[40] Fix | Delete
noOffline : true,
[41] Fix | Delete
integrate : {
[42] Fix | Delete
title: 'Box.com',
[43] Fix | Delete
link: 'https://www.box.com'
[44] Fix | Delete
}
[45] Fix | Delete
})
[46] Fix | Delete
};
[47] Fix | Delete
[48] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function