el_vfs_client 0.0.4 → 0.0.4.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,34 @@
1
+ <!DOCTYPE HTML>
2
+ <html lang="ru">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <title>ElFinder</title>
6
+ <%= javascript_include_tag 'jquery', 'jquery-ui', 'el_vfs/elfinder', 'el_vfs/i18n/elfinder.ru' %>
7
+ <%= stylesheet_link_tag 'el_vfs/el_vfs' %>
8
+ <script type="text/javascript" charset="utf-8" >
9
+ //<![CDATA[
10
+ $(function(){
11
+ function getUrlParam(paramName) {
12
+ var reParam = new RegExp('(?:[\?&]|&)' + paramName + '=([^&]+)', 'i') ;
13
+ var match = window.location.search.match(reParam) ;
14
+ return (match && match.length > 1) ? match[1] : '' ;
15
+ };
16
+
17
+ var funcNum = getUrlParam('CKEditorFuncNum');
18
+
19
+ $('#elfinder').elfinder({
20
+ url: '/api/el_finder/v2',
21
+ lang: 'ru',
22
+ getFileCallback : function(file) {
23
+ window.opener.CKEDITOR.tools.callFunction(funcNum, file);
24
+ window.close();
25
+ },
26
+ resizable: false
27
+ }).elfinder('instance');
28
+ });
29
+ //]]>
30
+ </script>
31
+ </head>
32
+ <body id='elfinder'>
33
+ </body>
34
+ </html>
@@ -1,3 +1,3 @@
1
1
  module ElVfsClient
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.4.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: el_vfs_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.4.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -15,7 +15,7 @@ date: 2011-11-29 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: configliere
18
- requirement: &9617880 !ruby/object:Gem::Requirement
18
+ requirement: &13436880 !ruby/object:Gem::Requirement
19
19
  none: false
20
20
  requirements:
21
21
  - - ! '>='
@@ -23,10 +23,10 @@ dependencies:
23
23
  version: '0'
24
24
  type: :runtime
25
25
  prerelease: false
26
- version_requirements: *9617880
26
+ version_requirements: *13436880
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: curb
29
- requirement: &9617360 !ruby/object:Gem::Requirement
29
+ requirement: &13436440 !ruby/object:Gem::Requirement
30
30
  none: false
31
31
  requirements:
32
32
  - - ! '>='
@@ -34,7 +34,7 @@ dependencies:
34
34
  version: '0'
35
35
  type: :runtime
36
36
  prerelease: false
37
- version_requirements: *9617360
37
+ version_requirements: *13436440
38
38
  description: Description of ElVfsClient.
39
39
  email:
40
40
  - mail@openteam.ru
@@ -42,6 +42,7 @@ executables: []
42
42
  extensions: []
43
43
  extra_rdoc_files: []
44
44
  files:
45
+ - app/views/el_finder/layout.html.erb
45
46
  - app/assets/javascripts/el_vfs/i18n/elfinder.ar.js
46
47
  - app/assets/javascripts/el_vfs/i18n/elfinder.ru.js
47
48
  - app/assets/javascripts/el_vfs/i18n/elfinder.LANG.js
@@ -99,7 +100,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
99
100
  version: '0'
100
101
  segments:
101
102
  - 0
102
- hash: -2829723427674278034
103
+ hash: -3193506943565488734
103
104
  required_rubygems_version: !ruby/object:Gem::Requirement
104
105
  none: false
105
106
  requirements:
@@ -108,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
108
109
  version: '0'
109
110
  segments:
110
111
  - 0
111
- hash: -2829723427674278034
112
+ hash: -3193506943565488734
112
113
  requirements: []
113
114
  rubyforge_project:
114
115
  rubygems_version: 1.8.10