Nucleus CMS日本語版用プラグインのうち、日本語版開発者がサポートしているもの
Revision | 43a94687f60e4c9f72ff21094e62ccb1ed603c02 (tree) |
---|---|
Time | 2011-10-13 23:37:09 |
Author | hsur <hsur@1ca2...> |
Commiter | hsur |
NP_DragAndDropUploader v1.2.1
git-svn-id: https://svn.sourceforge.jp/svnroot/nucleus-jp/plugin@1205 1ca29b6e-896d-4ea0-84a5-967f57386b96
@@ -2,12 +2,12 @@ | ||
2 | 2 | // vim: tabstop=2:shiftwidth=2 |
3 | 3 | |
4 | 4 | /** |
5 | - * NP_DragAndDropUploader ($Revision: 1.12 $) | |
5 | + * NP_DragAndDropUploader ($Revision: 1.13 $) | |
6 | 6 | * by hsur ( http://blog.cles.jp/np_cles ) |
7 | 7 | * |
8 | 8 | * Based on upload.php (http://www.plupload.com) |
9 | 9 | * |
10 | - * $Id: NP_DragAndDropUploader.php,v 1.12 2011/10/09 08:49:31 hsur Exp $ | |
10 | + * $Id: NP_DragAndDropUploader.php,v 1.13 2011/10/13 14:35:52 hsur Exp $ | |
11 | 11 | */ |
12 | 12 | |
13 | 13 | /* |
@@ -76,7 +76,7 @@ class NP_DragAndDropUploader extends NucleusPlugin { | ||
76 | 76 | |
77 | 77 | // version of the plugin |
78 | 78 | function getVersion() { |
79 | - return '1.2'; | |
79 | + return '1.2.1'; | |
80 | 80 | } |
81 | 81 | |
82 | 82 | function hasAdminArea() { |
@@ -153,7 +153,7 @@ class NP_DragAndDropUploader extends NucleusPlugin { | ||
153 | 153 | |
154 | 154 | // a description to be shown on the installed plugins listing |
155 | 155 | function getDescription() { |
156 | - return '[$Revision: 1.12 $]<br />' . NP_DRAGANDDROPUPLOADER_DESCRIPTION; | |
156 | + return '[$Revision: 1.13 $]<br />' . NP_DRAGANDDROPUPLOADER_DESCRIPTION; | |
157 | 157 | } |
158 | 158 | |
159 | 159 | function supportsFeature($what) { |
@@ -0,0 +1 @@ | ||
1 | +/plupload.queue.css/1.1/Sat Apr 24 18:08:11 2010// |
@@ -0,0 +1 @@ | ||
1 | +nucleus/nucleus/plugins/draganddropuploader/css |
@@ -0,0 +1 @@ | ||
1 | +:extssh:hsur@sailane.cles.net:/opt/cvs |
@@ -0,0 +1,177 @@ | ||
1 | +/* | |
2 | + Plupload | |
3 | +------------------------------------------------------------------- */ | |
4 | + | |
5 | +.plupload_button { | |
6 | + display: -moz-inline-box; /* FF < 3*/ | |
7 | + display: inline-block; | |
8 | + font: normal 12px sans-serif; | |
9 | + text-decoration: none; | |
10 | + color: #42454a; | |
11 | + border: 1px solid #bababa; | |
12 | + padding: 2px 8px 3px 20px; | |
13 | + margin-right: 4px; | |
14 | + background: #f3f3f3 url('../img/buttons.png') no-repeat 0 center; | |
15 | + outline: 0; | |
16 | + | |
17 | + /* Optional rounded corners for browsers that support it */ | |
18 | + -moz-border-radius: 3px; | |
19 | + -khtml-border-radius: 3px; | |
20 | + -webkit-border-radius: 3px; | |
21 | + border-radius: 3px; | |
22 | +} | |
23 | + | |
24 | +.plupload_button:hover { | |
25 | + color: #000; | |
26 | + text-decoration: none; | |
27 | +} | |
28 | + | |
29 | +.plupload_disabled, a.plupload_disabled:hover { | |
30 | + color: #737373; | |
31 | + border-color: #c5c5c5; | |
32 | + background: #ededed url('../img/buttons-disabled.png') no-repeat 0 center; | |
33 | + cursor: default; | |
34 | +} | |
35 | + | |
36 | +.plupload_add { | |
37 | + background-position: -181px center; | |
38 | +} | |
39 | + | |
40 | +.plupload_wrapper { | |
41 | + font: normal 11px Verdana,sans-serif; | |
42 | + width: 100%; | |
43 | +} | |
44 | + | |
45 | +.plupload_container { | |
46 | + padding: 8px; | |
47 | + background: url('../img/transp50.png'); | |
48 | + /*-moz-border-radius: 5px;*/ | |
49 | +} | |
50 | + | |
51 | +.plupload_container input { | |
52 | + border: 1px solid #DDD; | |
53 | + font: normal 11px Verdana,sans-serif; | |
54 | + width: 98%; | |
55 | +} | |
56 | + | |
57 | +.plupload_header {background: #2A2C2E url('../img/backgrounds.gif') repeat-x;} | |
58 | +.plupload_header_content { | |
59 | + background: url('../img/backgrounds.gif') no-repeat 0 -317px; | |
60 | + min-height: 56px; | |
61 | + padding-left: 60px; | |
62 | + color: #FFF; | |
63 | +} | |
64 | +.plupload_header_title { | |
65 | + font: normal 18px sans-serif; | |
66 | + padding: 6px 0 3px; | |
67 | +} | |
68 | +.plupload_header_text { | |
69 | + font: normal 12px sans-serif; | |
70 | +} | |
71 | + | |
72 | +.plupload_filelist { | |
73 | + margin: 0; | |
74 | + padding: 0; | |
75 | + list-style: none; | |
76 | +} | |
77 | + | |
78 | +.plupload_scroll .plupload_filelist { | |
79 | + height: 185px; | |
80 | + background: #F5F5F5; | |
81 | + overflow-y: scroll; | |
82 | +} | |
83 | + | |
84 | +.plupload_filelist li { | |
85 | + padding: 10px 8px; | |
86 | + background: #F5F5F5 url('../img/backgrounds.gif') repeat-x 0 -156px; | |
87 | + border-bottom: 1px solid #DDD; | |
88 | +} | |
89 | + | |
90 | +.plupload_filelist_header, .plupload_filelist_footer { | |
91 | + background: #DFDFDF; | |
92 | + padding: 8px 8px; | |
93 | + color: #42454A; | |
94 | +} | |
95 | +.plupload_filelist_header { | |
96 | + border-top: 1px solid #EEE; | |
97 | + border-bottom: 1px solid #CDCDCD; | |
98 | +} | |
99 | + | |
100 | +.plupload_filelist_footer {border-top: 1px solid #FFF; height: 22px; line-height: 20px; vertical-align: middle;} | |
101 | +.plupload_file_name {float: left; overflow: hidden} | |
102 | +.plupload_file_status {color: #777;} | |
103 | +.plupload_file_status span {color: #42454A;} | |
104 | +.plupload_file_size, .plupload_file_status, .plupload_progress { | |
105 | + float: right; | |
106 | + width: 80px; | |
107 | +} | |
108 | +.plupload_file_size, .plupload_file_status, .plupload_file_action {text-align: right;} | |
109 | + | |
110 | +.plupload_filelist .plupload_file_name {width: 205px} | |
111 | + | |
112 | +.plupload_file_action { | |
113 | + float: right; | |
114 | + width: 16px; | |
115 | + height: 16px; | |
116 | + margin-left: 15px; | |
117 | +} | |
118 | + | |
119 | +.plupload_file_action * { | |
120 | + display: none; | |
121 | + width: 16px; | |
122 | + height: 16px; | |
123 | +} | |
124 | + | |
125 | +li.plupload_uploading {background: #ECF3DC url('../img/backgrounds.gif') repeat-x 0 -238px;} | |
126 | +li.plupload_done {color:#AAA} | |
127 | + | |
128 | +li.plupload_delete a { | |
129 | + background: url('../img/delete.gif'); | |
130 | +} | |
131 | + | |
132 | +li.plupload_failed a { | |
133 | + background: url('../img/error.gif'); | |
134 | + cursor: default; | |
135 | +} | |
136 | + | |
137 | +li.plupload_done a { | |
138 | + background: url('../img/done.gif'); | |
139 | + cursor: default; | |
140 | +} | |
141 | + | |
142 | +.plupload_progress, .plupload_upload_status { | |
143 | + display: none; | |
144 | +} | |
145 | + | |
146 | +.plupload_progress_container { | |
147 | + margin-top: 3px; | |
148 | + border: 1px solid #CCC; | |
149 | + background: #FFF; | |
150 | + padding: 1px; | |
151 | +} | |
152 | +.plupload_progress_bar { | |
153 | + width: 0px; | |
154 | + height: 7px; | |
155 | + background: #CDEB8B; | |
156 | +} | |
157 | + | |
158 | +.plupload_scroll .plupload_filelist_header .plupload_file_action, .plupload_scroll .plupload_filelist_footer .plupload_file_action { | |
159 | + margin-right: 17px; | |
160 | +} | |
161 | + | |
162 | +/* Floats */ | |
163 | + | |
164 | +.plupload_clear,.plupload_clearer {clear: both;} | |
165 | +.plupload_clearer, .plupload_progress_bar { | |
166 | + display: block; | |
167 | + font-size: 0; | |
168 | + line-height: 0; | |
169 | +} | |
170 | + | |
171 | +li.plupload_droptext { | |
172 | + background: transparent; | |
173 | + text-align: center; | |
174 | + vertical-align: middle; | |
175 | + border: 0; | |
176 | + line-height: 165px; | |
177 | +} |
@@ -1,4 +1,4 @@ | ||
1 | -<!-- $Id: help.html,v 1.6 2011/10/09 09:15:41 hsur Exp $ --> | |
1 | +<!-- $Id: help.html,v 1.7 2011/10/13 14:35:52 hsur Exp $ --> | |
2 | 2 | <h3>バージョン履歴</h3> |
3 | 3 | |
4 | 4 | <ul> |
@@ -14,5 +14,6 @@ | ||
14 | 14 | <li> [Added] リセット機能を実装しました</li> |
15 | 15 | |
16 | 16 | <li>Version 1.2: (2011/10/19)</li> |
17 | - <li> [Fixed] Firefox7 で動作しない問題に対応 (同梱のPluploadを1.5.1.1に更新)</li> | |
17 | + <li> [Fixed] Firefox7 で動作しない問題を改良 (同梱のPluploadを1.5.1.1に更新)</li> | |
18 | + <li> [Fixed] ファイルが足りなかった問題を解決 (1.2.1)</li> | |
18 | 19 | </ul> |
@@ -0,0 +1,8 @@ | ||
1 | +/backgrounds.gif/1.1/Sat Apr 24 18:08:11 2010/-kb/ | |
2 | +/buttons-disabled.png/1.1/Sat Apr 24 18:08:11 2010/-kb/ | |
3 | +/buttons.png/1.1/Sat Apr 24 18:08:11 2010/-kb/ | |
4 | +/delete.gif/1.1/Sat Apr 24 18:08:11 2010/-kb/ | |
5 | +/done.gif/1.1/Sat Apr 24 18:08:11 2010/-kb/ | |
6 | +/error.gif/1.1/Sat Apr 24 18:08:11 2010/-kb/ | |
7 | +/throbber.gif/1.1/Sat Apr 24 18:08:11 2010/-kb/ | |
8 | +/transp50.png/1.1/Sat Apr 24 18:08:11 2010/-kb/ |
@@ -0,0 +1 @@ | ||
1 | +nucleus/nucleus/plugins/draganddropuploader/img |
@@ -0,0 +1 @@ | ||
1 | +:extssh:hsur@sailane.cles.net:/opt/cvs |
@@ -0,0 +1,3 @@ | ||
1 | +/english.php/1.3/Sat May 8 20:49:28 2010// | |
2 | +/japanese-euc.php/1.2/Sat May 8 20:50:49 2010// | |
3 | +/japanese-utf8.php/1.3/Sat May 8 20:49:28 2010// |
@@ -0,0 +1 @@ | ||
1 | +nucleus/nucleus/plugins/draganddropuploader/language |
@@ -0,0 +1 @@ | ||
1 | +:extssh:hsur@sailane.cles.net:/opt/cvs |
@@ -0,0 +1,2 @@ | ||
1 | +<?php | |
2 | + define('NP_DRAGANDDROPUPLOADER_DESCRIPTION', 'This plugin can upload multiple files using Google Gears, Silverlight, Flash, BrowserPlus or HTML5'); |
@@ -0,0 +1,2 @@ | ||
1 | +<?php | |
2 | + define('NP_DRAGANDDROPUPLOADER_DESCRIPTION', 'このプラグインはGoogle Gears, Silverlight, Flash, BrowserPlus, HTML5等を使って複数のファイルを一度にアップロードすることができます。'); |
@@ -0,0 +1,2 @@ | ||
1 | +<?php | |
2 | + define('NP_DRAGANDDROPUPLOADER_DESCRIPTION', 'このプラグインはGoogle Gears, Silverlight, Flash, BrowserPlus, HTML5等を使って複数のファイルを一度にアップロードすることができます。'); |
@@ -0,0 +1,9 @@ | ||
1 | +<h3>Drag And Drop Uploader</h3> | |
2 | +<p> | |
3 | + <label for="plug_ping_check">Collection:</label> | |
4 | + {{collections}}<br /> | |
5 | + <div id="uploader"> | |
6 | + <p>You browser doesn't have Flash, Silverlight, Gears, BrowserPlus or HTML5 support.</p> | |
7 | + </div> | |
8 | + <a id="uploader_reset" href="#">Reset Uploader</a> | |
9 | +</p> |
@@ -0,0 +1,9 @@ | ||
1 | +<h3>Drag And Drop Uploader</h3> | |
2 | +<p> | |
3 | + <label for="plug_ping_check">Collection:</label> | |
4 | + {{collections}}<br /> | |
5 | + <div id="uploader"> | |
6 | + <p>You browser doesn't have Flash, Silverlight, Gears, BrowserPlus or HTML5 support.</p> | |
7 | + </div> | |
8 | + <a id="uploader_reset" href="#">Reset Uploader</a> | |
9 | +</p> |