forked from Studio-42/elFinder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathelfinder.php.html
89 lines (74 loc) · 2.4 KB
/
elfinder.php.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>elFinder</title>
<!--
<script type='text/javascript' src='http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js'></script>
-->
<link rel="stylesheet" href="js/ui-themes/smoothness/jquery-ui-1.8.5.custom.css" type="text/css" media="screen" title="no title" charset="utf-8">
<link rel="stylesheet" href="css/elfinder.css" type="text/css" media="screen" title="no title" charset="utf-8">
<!--
<script src="js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
<script src="js/jquery-ui-1.8b1.min.js" type="text/javascript" charset="utf-8"></script>
-->
<script src="js/jquery-1.4.2.min.js" type="text/javascript" charset="utf-8"></script>
<script src="js/jquery-ui-1.8.5.custom.min.js" type="text/javascript" charset="utf-8"></script>
<script src="js/elfinder.min.js" type="text/javascript" charset="utf-8"></script>
<!--
<script src="js/i18n/elfinder.ru.js" type="text/javascript" charset="utf-8"></script>
-->
<style type="text/css">
#close, #open, #dock, #undock {
width: 100px;
position:relative;
display: -moz-inline-stack;
display: inline-block;
vertical-align: top;
zoom: 1;
*display: inline;
margin:0 3px 3px 0;
padding:1px 0;
text-align:center;
border:1px solid #ccc;
background-color:#eee;
margin:1em .5em;
padding:.3em .7em;
border-radius:5px;
-moz-border-radius:5px;
-webkit-border-radius:5px;
cursor:pointer;
}
</style>
<script type="text/javascript" charset="utf-8">
$().ready(function() {
var f = $('#finder').elfinder({
url : 'connectors/php/connector.php',
lang : 'en',
editorCallback : function(url) {
if (window.console && window.console.log) {
window.console.log(url);
} else {
alert(url);
}
},
closeOnEditorCallback : true
// docked : true,
// dialog : {
// title : 'File manager',
// height : 500
// }
})
// window.console.log(f)
$('#close,#open,#dock,#undock').click(function() {
$('#finder').elfinder($(this).attr('id'));
})
})
</script>
</head>
<body>
<div id="open">open</div><div id="close">close</div><div id="dock">dock</div><div id="undock">undock</div>
<div id="finder">finder</div>
</body>
</html>