PluginProbe ʕ •ᴥ•ʔ
File Manager Pro – Filester / 1.8
File Manager Pro – Filester v1.8
2.1.1 trunk 1.6.1 1.7.6 1.8 1.8.1 1.8.2 1.8.3 1.8.4 1.8.5 1.8.6 1.8.7 1.8.8 1.8.9 1.9 2.0 2.0.1 2.0.2 2.1.0
filester / includes / File_manager / lib / elfinder.html
filester / includes / File_manager / lib Last commit date
css 2 years ago files 2 years ago img 2 years ago jquery 2 years ago js 2 years ago php 2 years ago sounds 2 years ago themes 2 years ago .gitignore 2 years ago Changelog 2 years ago LICENSE.md 2 years ago README.md 2 years ago bower.json 2 years ago composer.json 2 years ago elfinder.html 2 years ago elfinder.legacy.html 2 years ago index.php 2 years ago main.default.js 2 years ago package.json 2 years ago
elfinder.html
74 lines
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
6 <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
7 <title>elFinder 2.1.x source version with PHP connector</title>
8
9 <!-- Require JS (REQUIRED) -->
10 <!-- Rename "main.default.js" to "main.js" and edit it if you need configure elFInder options or any things -->
11 <script data-main="./main.default.js" src="//cdnjs.cloudflare.com/ajax/libs/require.js/2.3.6/require.min.js"></script>
12 <script>
13 define('elFinderConfig', {
14 // elFinder options (REQUIRED)
15 // Documentation for client options:
16 // https://github.com/Studio-42/elFinder/wiki/Client-configuration-options
17 defaultOpts : {
18 url : 'php/connector.minimal.php', // or connector.maximal.php : connector URL (REQUIRED)
19 commandsOptions : {
20 edit : {
21 extraOptions : {
22 // set API key to enable Creative Cloud image editor
23 // see https://console.adobe.io/
24 creativeCloudApiKey : '',
25 // browsing manager URL for CKEditor, TinyMCE
26 // uses self location with the empty value
27 managerUrl : ''
28 }
29 },
30 quicklook : {
31 // to enable CAD-Files and 3D-Models preview with sharecad.org
32 sharecadMimes : ['image/vnd.dwg', 'image/vnd.dxf', 'model/vnd.dwf', 'application/vnd.hp-hpgl', 'application/plt', 'application/step', 'model/iges', 'application/vnd.ms-pki.stl', 'application/sat', 'image/cgm', 'application/x-msmetafile'],
33 // to enable preview with Google Docs Viewer
34 googleDocsMimes : ['application/pdf', 'image/tiff', 'application/vnd.ms-office', 'application/msword', 'application/vnd.ms-word', 'application/vnd.ms-excel', 'application/vnd.ms-powerpoint', 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'application/vnd.openxmlformats-officedocument.presentationml.presentation', 'application/postscript', 'application/rtf'],
35 // to enable preview with Microsoft Office Online Viewer
36 // these MIME types override "googleDocsMimes"
37 officeOnlineMimes : ['application/vnd.ms-office', 'application/msword', 'application/vnd.ms-word', 'application/vnd.ms-excel', 'application/vnd.ms-powerpoint', 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'application/vnd.openxmlformats-officedocument.presentationml.presentation', 'application/vnd.oasis.opendocument.text', 'application/vnd.oasis.opendocument.spreadsheet', 'application/vnd.oasis.opendocument.presentation']
38 }
39 },
40 // bootCalback calls at before elFinder boot up
41 bootCallback : function(fm, extraObj) {
42 /* any bind functions etc. */
43 fm.bind('init', function() {
44 // any your code
45 });
46 // for example set document.title dynamically.
47 var title = document.title;
48 fm.bind('open', function() {
49 var path = '',
50 cwd = fm.cwd();
51 if (cwd) {
52 path = fm.path(cwd.hash) || null;
53 }
54 document.title = path? path + ':' + title : title;
55 }).bind('destroy', function() {
56 document.title = title;
57 });
58 }
59 },
60 managers : {
61 // 'DOM Element ID': { /* elFinder options of this DOM Element */ }
62 'elfinder': {}
63 }
64 });
65 </script>
66 </head>
67 <body>
68
69 <!-- Element where elFinder will be created (REQUIRED) -->
70 <div id="elfinder"></div>
71
72 </body>
73 </html>
74