Files
elfinder/elfinder.legacy.html
Naoki Sawada 48576af671 Prepare elFinder for jQuery 4 sup (#3781)
* Refactor touch event binding in elfinder.js (#3762)

for jquery 4.0

* Refactor name trimming in elFinder.resources.js (#3763)

for jquery 4.0

* Replace jQuery methods with native JavaScript equivalents (#3764)

for jquery 4.0

* Refactor command binding to use bind method (#3765)

for jquery 4.0

* Refactor search input value handling and buttonset (#3766)

for jquery 4.0

* Refactor function calls to use bind instead of proxy (#3767)

for jquery 4.0

* Refactor text trimming method in parseUploadData (#3768)

for jquery 4.0

* Fix mime trimming and whitespace handling (#3769)

for jquery 4.0

* Refactor value trimming to use native trim method (#3772)

for jquery 4.0

* Fix binding of 'make' method in mkfile.js (#3773)

for jquery 4.0

* Fix binding of make function in mkdir command (#3774)

for jquery 4.0

* Fix string trimming for translator names (#3775)

for jquery 4.0

* Fix binding of mixin make function in edit.js (#3776)

For jquery 4

* Refactor permission value trimming method (#3777)

For jquery 4.0

* fix: to support jQuery 4.0.0

* update: use jQuery 4.0.0/jQueyUI 1.14.2

---------

Co-authored-by: Brian Stone <brianstone@hotmail.com.au>
2026-04-20 13:45:00 +09:00

87 lines
3.0 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
<title>elFinder 2.1.x source version with PHP connector</title>
<!-- Section CSS -->
<!-- jQuery UI (REQUIRED) -->
<link rel="stylesheet" type="text/css" href="//code.jquery.com/ui/1.14.2/themes/smoothness/jquery-ui.css">
<!-- elFinder CSS (REQUIRED) -->
<link rel="stylesheet" type="text/css" href="css/elfinder.min.css">
<link rel="stylesheet" type="text/css" href="css/theme.css">
<!-- Section JavaScript -->
<!-- jQuery and jQuery UI (REQUIRED) -->
<script src="//code.jquery.com/jquery-4.0.0.min.js" integrity="sha256-OaVG6prZf4v69dPg6PhVattBXkcOWQB62pdZ3ORyrao=" crossorigin="anonymous"></script>
<script src="//code.jquery.com/ui/1.14.2/jquery-ui.min.js" integrity="sha256-mblSWfbYzaq/f+4akyMhE6XELCou4jbkgPv+JQPER2M=" crossorigin="anonymous"></script>
<!-- elFinder JS (REQUIRED) -->
<script src="js/elfinder.min.js"></script>
<!-- Extra contents editors (OPTIONAL) -->
<script src="js/extras/editors.default.min.js"></script>
<!-- GoogleDocs Quicklook plugin for GoogleDrive Volume (OPTIONAL) -->
<!--<script src="js/extras/quicklook.googledocs.js"></script>-->
<!-- elFinder initialization (REQUIRED) -->
<script type="text/javascript" charset="utf-8">
// Documentation for client options:
// https://github.com/Studio-42/elFinder/wiki/Client-configuration-options
$(document).ready(function() {
$('#elfinder').elfinder(
// 1st Arg - options
{
cssAutoLoad : false, // Disable CSS auto loading
baseUrl : './', // Base URL to css/*, js/*
url : 'php/connector.minimal.php' // connector URL (REQUIRED)
// , lang: 'ru' // language (OPTIONAL)
},
// 2nd Arg - before boot up function
function(fm, extraObj) {
// `init` event callback function
fm.bind('init', function() {
// Optional for Japanese decoder "encoding-japanese.js"
if (fm.lang === 'ja') {
fm.loadScript(
[ '//cdn.rawgit.com/polygonplanet/encoding.js/1.0.26/encoding.min.js' ],
function() {
if (window.Encoding && Encoding.convert) {
fm.registRawStringDecoder(function(s) {
return Encoding.convert(s, {to:'UNICODE',type:'string'});
});
}
},
{ loadType: 'tag' }
);
}
});
// Optional for set document.title dynamically.
var title = document.title;
fm.bind('open', function() {
var path = '',
cwd = fm.cwd();
if (cwd) {
path = fm.path(cwd.hash) || null;
}
document.title = path? path + ':' + title : title;
}).bind('destroy', function() {
document.title = title;
});
}
);
});
</script>
</head>
<body>
<!-- Element where elFinder will be created (REQUIRED) -->
<div id="elfinder"></div>
</body>
</html>