Version Description
- fixed bug with duplicate userdata IDs in HTML when using more than one userdata occurrences
Download this release
Release Info
Developer | nickboss |
Plugin | WordPress File Upload |
Version | 3.8.1 |
Comparing to | |
See all releases |
Code changes from version 3.8.0 to 3.8.1
- languages/wp-file-upload-en_US.mo +0 -0
- languages/wp-file-upload-en_US.po +866 -0
- lib/wfu_admin.php +1 -1
- lib/wfu_blocks.php +1 -1
- lib/wfu_constants.php +4 -1
- lib/wfu_functions.php +26 -4
- readme.txt +6 -0
- release_notes.txt +1 -1
- wordpress_file_upload.php +1 -1
languages/wp-file-upload-en_US.mo
ADDED
Binary file
|
languages/wp-file-upload-en_US.po
ADDED
@@ -0,0 +1,866 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: Wordpress File Upload\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2016-03-31 22:15+0200\n"
|
6 |
+
"PO-Revision-Date: 2016-04-02 10:50+0200\n"
|
7 |
+
"Last-Translator: nickboss <info@iptanus.com>\n"
|
8 |
+
"Language-Team: Iptanus Team <info@iptanus.com>\n"
|
9 |
+
"Language: en\n"
|
10 |
+
"MIME-Version: 1.0\n"
|
11 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
+
"Content-Transfer-Encoding: 8bit\n"
|
13 |
+
"X-Poedit-KeywordsList: __;gettext;gettext_noop\n"
|
14 |
+
"X-Poedit-Basepath: ../\n"
|
15 |
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
16 |
+
"X-Generator: Poedit 1.7.5\n"
|
17 |
+
"X-Poedit-SearchPath-0: .\n"
|
18 |
+
"X-Poedit-SearchPathExcluded-0: vendor\n"
|
19 |
+
"X-Poedit-SearchPathExcluded-1: minified\n"
|
20 |
+
"X-Poedit-SearchPathExcluded-2: unminified\n"
|
21 |
+
|
22 |
+
#: lib/wfu_constants.php:7
|
23 |
+
msgid "Upload files"
|
24 |
+
msgstr ""
|
25 |
+
|
26 |
+
#: lib/wfu_constants.php:10
|
27 |
+
msgid "Select File/Select Files"
|
28 |
+
msgstr ""
|
29 |
+
|
30 |
+
#: lib/wfu_constants.php:11
|
31 |
+
msgid "Upload File/Upload Files"
|
32 |
+
msgstr ""
|
33 |
+
|
34 |
+
#: lib/wfu_constants.php:15
|
35 |
+
msgid "Select File"
|
36 |
+
msgstr ""
|
37 |
+
|
38 |
+
#: lib/wfu_constants.php:16
|
39 |
+
msgid "Upload File"
|
40 |
+
msgstr ""
|
41 |
+
|
42 |
+
#: lib/wfu_constants.php:19
|
43 |
+
msgid "File Upload Notification"
|
44 |
+
msgstr ""
|
45 |
+
|
46 |
+
#: lib/wfu_constants.php:20
|
47 |
+
msgid ""
|
48 |
+
"Dear Recipient,%n%%n% This is an automatic delivery message to notify you "
|
49 |
+
"that a new file has been uploaded.%n%%n%Best Regards"
|
50 |
+
msgstr ""
|
51 |
+
|
52 |
+
#: lib/wfu_constants.php:21
|
53 |
+
#, php-format
|
54 |
+
msgid "File %filename% uploaded successfully"
|
55 |
+
msgstr ""
|
56 |
+
|
57 |
+
#: lib/wfu_constants.php:22
|
58 |
+
#, php-format
|
59 |
+
msgid "File %filename% uploaded successfully but with warnings"
|
60 |
+
msgstr ""
|
61 |
+
|
62 |
+
#: lib/wfu_constants.php:23
|
63 |
+
msgid "File %filename% not uploaded"
|
64 |
+
msgstr ""
|
65 |
+
|
66 |
+
#: lib/wfu_constants.php:24
|
67 |
+
msgid "File %filename% is being uploaded"
|
68 |
+
msgstr ""
|
69 |
+
|
70 |
+
#: lib/wfu_constants.php:25
|
71 |
+
msgid "Your message"
|
72 |
+
msgstr ""
|
73 |
+
|
74 |
+
#: lib/wfu_constants.php:26
|
75 |
+
msgid "Please fill in the above words: "
|
76 |
+
msgstr ""
|
77 |
+
|
78 |
+
#: lib/wfu_constants.php:27
|
79 |
+
msgid "Upload Media"
|
80 |
+
msgstr ""
|
81 |
+
|
82 |
+
#: lib/wfu_constants.php:28
|
83 |
+
msgid "videostream"
|
84 |
+
msgstr ""
|
85 |
+
|
86 |
+
#: lib/wfu_constants.php:29
|
87 |
+
msgid "screenshot"
|
88 |
+
msgstr ""
|
89 |
+
|
90 |
+
#: lib/wfu_constants.php:31
|
91 |
+
msgid "File"
|
92 |
+
msgstr ""
|
93 |
+
|
94 |
+
#: lib/wfu_constants.php:32
|
95 |
+
msgid "Date"
|
96 |
+
msgstr ""
|
97 |
+
|
98 |
+
#: lib/wfu_constants.php:33
|
99 |
+
msgid "Size"
|
100 |
+
msgstr ""
|
101 |
+
|
102 |
+
#: lib/wfu_constants.php:34
|
103 |
+
msgid "User"
|
104 |
+
msgstr ""
|
105 |
+
|
106 |
+
#: lib/wfu_constants.php:35
|
107 |
+
msgid "Page"
|
108 |
+
msgstr ""
|
109 |
+
|
110 |
+
#: lib/wfu_constants.php:36
|
111 |
+
msgid "User Fields"
|
112 |
+
msgstr ""
|
113 |
+
|
114 |
+
#: lib/wfu_constants.php:37
|
115 |
+
msgid "Download"
|
116 |
+
msgstr ""
|
117 |
+
|
118 |
+
#: lib/wfu_constants.php:38
|
119 |
+
msgid "Download this file"
|
120 |
+
msgstr ""
|
121 |
+
|
122 |
+
#: lib/wfu_constants.php:39
|
123 |
+
msgid "Delete"
|
124 |
+
msgstr ""
|
125 |
+
|
126 |
+
#: lib/wfu_constants.php:40
|
127 |
+
msgid "Delete this file"
|
128 |
+
msgstr ""
|
129 |
+
|
130 |
+
#: lib/wfu_constants.php:41
|
131 |
+
msgid "Sort list based on this column"
|
132 |
+
msgstr ""
|
133 |
+
|
134 |
+
#: lib/wfu_constants.php:42
|
135 |
+
msgid "guest"
|
136 |
+
msgstr ""
|
137 |
+
|
138 |
+
#: lib/wfu_constants.php:43
|
139 |
+
msgid "unknown"
|
140 |
+
msgstr ""
|
141 |
+
|
142 |
+
#: lib/wfu_constants.php:45
|
143 |
+
msgid ""
|
144 |
+
"Error. Could not resolve ftp target filedir. Check the domain in 'ftpinfo' "
|
145 |
+
"attribute."
|
146 |
+
msgstr ""
|
147 |
+
|
148 |
+
#: lib/wfu_constants.php:46
|
149 |
+
msgid "Error. Invalid ftp information. Check 'ftpinfo' attribute."
|
150 |
+
msgstr ""
|
151 |
+
|
152 |
+
#: lib/wfu_constants.php:47
|
153 |
+
msgid ""
|
154 |
+
"Error. Could not extract ftp information from 'ftpinfo' attribute. Check its "
|
155 |
+
"syntax."
|
156 |
+
msgstr ""
|
157 |
+
|
158 |
+
#: lib/wfu_constants.php:48
|
159 |
+
msgid ""
|
160 |
+
"Error. Could not resolve ftp target filename. Check the domain in 'ftpinfo' "
|
161 |
+
"attribute."
|
162 |
+
msgstr ""
|
163 |
+
|
164 |
+
#: lib/wfu_constants.php:49
|
165 |
+
msgid ""
|
166 |
+
"Error. The upload size limit of PHP directive upload_max_filesize is "
|
167 |
+
"preventing the upload of big files.\n"
|
168 |
+
"PHP directive upload_max_filesize limit is: "
|
169 |
+
msgstr ""
|
170 |
+
|
171 |
+
#: lib/wfu_constants.php:50
|
172 |
+
msgid ""
|
173 |
+
"The upload time limit of PHP directive max_input_time is preventing the "
|
174 |
+
"upload of big files.\n"
|
175 |
+
"PHP directive max_input_time limit is: "
|
176 |
+
msgstr ""
|
177 |
+
|
178 |
+
#: lib/wfu_constants.php:51
|
179 |
+
msgid ""
|
180 |
+
"Error. Permission denied to write to target folder.\n"
|
181 |
+
"Check and correct read/write permissions of target folder."
|
182 |
+
msgstr ""
|
183 |
+
|
184 |
+
#: lib/wfu_constants.php:52
|
185 |
+
msgid ""
|
186 |
+
"Error. This file was rejected because its extension is not correct. Its "
|
187 |
+
"proper filename is: "
|
188 |
+
msgstr ""
|
189 |
+
|
190 |
+
#: lib/wfu_constants.php:53
|
191 |
+
msgid "Targer folder doesn't exist."
|
192 |
+
msgstr ""
|
193 |
+
|
194 |
+
#: lib/wfu_constants.php:54
|
195 |
+
msgid "Upload failed! Missing a temporary folder."
|
196 |
+
msgstr ""
|
197 |
+
|
198 |
+
#: lib/wfu_constants.php:55
|
199 |
+
msgid "Upload failed! Permission denied to write to target folder."
|
200 |
+
msgstr ""
|
201 |
+
|
202 |
+
#: lib/wfu_constants.php:56
|
203 |
+
msgid "File not allowed."
|
204 |
+
msgstr ""
|
205 |
+
|
206 |
+
#: lib/wfu_constants.php:57
|
207 |
+
msgid "File is suspicious and was rejected."
|
208 |
+
msgstr ""
|
209 |
+
|
210 |
+
#: lib/wfu_constants.php:58
|
211 |
+
msgid "The uploaded file exceeds the file size limit."
|
212 |
+
msgstr ""
|
213 |
+
|
214 |
+
#: lib/wfu_constants.php:59
|
215 |
+
msgid "The uploaded file exceeds 2GB and is not supported by this server."
|
216 |
+
msgstr ""
|
217 |
+
|
218 |
+
#: lib/wfu_constants.php:60
|
219 |
+
msgid ""
|
220 |
+
"Upload failed! The uploaded file exceeds the file size limit of the server. "
|
221 |
+
"Please contact the administrator."
|
222 |
+
msgstr ""
|
223 |
+
|
224 |
+
#: lib/wfu_constants.php:61
|
225 |
+
msgid ""
|
226 |
+
"Upload failed! The duration of the upload exceeded the time limit of the "
|
227 |
+
"server. Please contact the administrator."
|
228 |
+
msgstr ""
|
229 |
+
|
230 |
+
#: lib/wfu_constants.php:62
|
231 |
+
msgid ""
|
232 |
+
"Upload failed! The uploaded file exceeds the MAX_FILE_SIZE directive that "
|
233 |
+
"was specified in the HTML form."
|
234 |
+
msgstr ""
|
235 |
+
|
236 |
+
#: lib/wfu_constants.php:63
|
237 |
+
msgid "Upload failed! The uploaded file was only partially uploaded."
|
238 |
+
msgstr ""
|
239 |
+
|
240 |
+
#: lib/wfu_constants.php:64
|
241 |
+
msgid "Upload failed! No file was uploaded."
|
242 |
+
msgstr ""
|
243 |
+
|
244 |
+
#: lib/wfu_constants.php:65
|
245 |
+
msgid "Upload failed! Failed to write file to disk."
|
246 |
+
msgstr ""
|
247 |
+
|
248 |
+
#: lib/wfu_constants.php:66
|
249 |
+
msgid ""
|
250 |
+
"Upload failed! Error occured while moving temporary file. Please contact "
|
251 |
+
"administrator."
|
252 |
+
msgstr ""
|
253 |
+
|
254 |
+
#: lib/wfu_constants.php:67
|
255 |
+
msgid "Upload cancelled!"
|
256 |
+
msgstr ""
|
257 |
+
|
258 |
+
#: lib/wfu_constants.php:68
|
259 |
+
msgid ""
|
260 |
+
"Upload failed! A PHP extension stopped the file upload. PHP does not provide "
|
261 |
+
"a way to ascertain which extension caused the file upload to stop; examining "
|
262 |
+
"the list of loaded extensions with phpinfo() may help."
|
263 |
+
msgstr ""
|
264 |
+
|
265 |
+
#: lib/wfu_constants.php:69
|
266 |
+
msgid "Upload failed! Error occured while attemting to upload the file."
|
267 |
+
msgstr ""
|
268 |
+
|
269 |
+
#: lib/wfu_constants.php:70 lib/wfu_constants.php:193
|
270 |
+
msgid "Upload failed!"
|
271 |
+
msgstr ""
|
272 |
+
|
273 |
+
#: lib/wfu_constants.php:71
|
274 |
+
msgid "No file!"
|
275 |
+
msgstr ""
|
276 |
+
|
277 |
+
#: lib/wfu_constants.php:72
|
278 |
+
msgid ""
|
279 |
+
"Upload failed! The upload has been canceled by the user or the browser "
|
280 |
+
"dropped the connection."
|
281 |
+
msgstr ""
|
282 |
+
|
283 |
+
#: lib/wfu_constants.php:73
|
284 |
+
msgid "Upload failed! Unknown error."
|
285 |
+
msgstr ""
|
286 |
+
|
287 |
+
#: lib/wfu_constants.php:74
|
288 |
+
msgid "Please contact the administrator."
|
289 |
+
msgstr ""
|
290 |
+
|
291 |
+
#: lib/wfu_constants.php:75
|
292 |
+
msgid "No result from remote server!"
|
293 |
+
msgstr ""
|
294 |
+
|
295 |
+
#: lib/wfu_constants.php:76
|
296 |
+
msgid " but with warnings"
|
297 |
+
msgstr ""
|
298 |
+
|
299 |
+
#: lib/wfu_constants.php:77 lib/wfu_constants.php:79
|
300 |
+
msgid "Warning: JSON parse error."
|
301 |
+
msgstr ""
|
302 |
+
|
303 |
+
#: lib/wfu_constants.php:78
|
304 |
+
msgid ""
|
305 |
+
"Upload parameters of this file, passed as JSON string to the handler, could "
|
306 |
+
"not be parsed."
|
307 |
+
msgstr ""
|
308 |
+
|
309 |
+
#: lib/wfu_constants.php:80
|
310 |
+
msgid ""
|
311 |
+
"UploadStates, passed as JSON string to the handler, could not be parsed."
|
312 |
+
msgstr ""
|
313 |
+
|
314 |
+
#: lib/wfu_constants.php:81
|
315 |
+
msgid ""
|
316 |
+
"Redirection to classic form functionality occurred due to unknown error."
|
317 |
+
msgstr ""
|
318 |
+
|
319 |
+
#: lib/wfu_constants.php:82
|
320 |
+
msgid ""
|
321 |
+
"Redirection to classic form functionality occurred because AJAX is not "
|
322 |
+
"supported."
|
323 |
+
msgstr ""
|
324 |
+
|
325 |
+
#: lib/wfu_constants.php:83
|
326 |
+
msgid ""
|
327 |
+
"Redirection to classic form functionality occurred because HTML5 is not "
|
328 |
+
"supported."
|
329 |
+
msgstr ""
|
330 |
+
|
331 |
+
#: lib/wfu_constants.php:84
|
332 |
+
msgid ""
|
333 |
+
"Redirection to classic form functionality occurred due to JSON parse error."
|
334 |
+
msgstr ""
|
335 |
+
|
336 |
+
#: lib/wfu_constants.php:85
|
337 |
+
msgid "Please enable popup windows from the browser's settings!"
|
338 |
+
msgstr ""
|
339 |
+
|
340 |
+
#: lib/wfu_constants.php:86
|
341 |
+
msgid "cannot be empty!"
|
342 |
+
msgstr ""
|
343 |
+
|
344 |
+
#: lib/wfu_constants.php:87
|
345 |
+
msgid "number not valid!"
|
346 |
+
msgstr ""
|
347 |
+
|
348 |
+
#: lib/wfu_constants.php:88
|
349 |
+
msgid "email not valid!"
|
350 |
+
msgstr ""
|
351 |
+
|
352 |
+
#: lib/wfu_constants.php:89
|
353 |
+
msgid "emails do not match!"
|
354 |
+
msgstr ""
|
355 |
+
|
356 |
+
#: lib/wfu_constants.php:90
|
357 |
+
msgid "no base email field in group!"
|
358 |
+
msgstr ""
|
359 |
+
|
360 |
+
#: lib/wfu_constants.php:91
|
361 |
+
msgid "passwords do not match!"
|
362 |
+
msgstr ""
|
363 |
+
|
364 |
+
#: lib/wfu_constants.php:92
|
365 |
+
msgid "no base password field in group!"
|
366 |
+
msgstr ""
|
367 |
+
|
368 |
+
#: lib/wfu_constants.php:93
|
369 |
+
msgid "checkbox unchecked!"
|
370 |
+
msgstr ""
|
371 |
+
|
372 |
+
#: lib/wfu_constants.php:94
|
373 |
+
msgid "no option selected!"
|
374 |
+
msgstr ""
|
375 |
+
|
376 |
+
#: lib/wfu_constants.php:95
|
377 |
+
msgid "no item selected!"
|
378 |
+
msgstr ""
|
379 |
+
|
380 |
+
#: lib/wfu_constants.php:96
|
381 |
+
msgid ""
|
382 |
+
"There are more than one instances of the plugin in this page with the same "
|
383 |
+
"id. Please change it."
|
384 |
+
msgstr ""
|
385 |
+
|
386 |
+
#: lib/wfu_constants.php:97
|
387 |
+
msgid ""
|
388 |
+
"Cannot edit the shortcode because the page has been modified. Please reload "
|
389 |
+
"the page."
|
390 |
+
msgstr ""
|
391 |
+
|
392 |
+
#: lib/wfu_constants.php:98
|
393 |
+
msgid "Your browser does not support webcam capture!"
|
394 |
+
msgstr ""
|
395 |
+
|
396 |
+
#: lib/wfu_constants.php:99
|
397 |
+
msgid "Your browser does not support video recording from the webcam!"
|
398 |
+
msgstr ""
|
399 |
+
|
400 |
+
#: lib/wfu_constants.php:100
|
401 |
+
msgid "No video was recorded!"
|
402 |
+
msgstr ""
|
403 |
+
|
404 |
+
#: lib/wfu_constants.php:101
|
405 |
+
msgid ""
|
406 |
+
"ERROR: Captcha not supported! You have an old PHP version. Upgrade your PHP "
|
407 |
+
"or use RecaptchaV2 (no account)."
|
408 |
+
msgstr ""
|
409 |
+
|
410 |
+
#: lib/wfu_constants.php:102
|
411 |
+
msgid ""
|
412 |
+
"ERROR: Only one instance of RecaptchaV1 can exist on the same page. Please "
|
413 |
+
"notify administrator."
|
414 |
+
msgstr ""
|
415 |
+
|
416 |
+
#: lib/wfu_constants.php:103
|
417 |
+
msgid ""
|
418 |
+
"ERROR: Only one instance of RecaptchaV1 can exist on the same page. Please "
|
419 |
+
"use RecaptchaV1 (no account)."
|
420 |
+
msgstr ""
|
421 |
+
|
422 |
+
#: lib/wfu_constants.php:104
|
423 |
+
msgid "ERROR: No site key. Please contact administrator!"
|
424 |
+
msgstr ""
|
425 |
+
|
426 |
+
#: lib/wfu_constants.php:105
|
427 |
+
msgid ""
|
428 |
+
"ERROR: No site key defined! Please go to the plugin settings in Dashboard to "
|
429 |
+
"define Google Recaptcha keys."
|
430 |
+
msgstr ""
|
431 |
+
|
432 |
+
#: lib/wfu_constants.php:106
|
433 |
+
msgid "Bad captcha image!"
|
434 |
+
msgstr ""
|
435 |
+
|
436 |
+
#: lib/wfu_constants.php:107
|
437 |
+
msgid "No input!"
|
438 |
+
msgstr ""
|
439 |
+
|
440 |
+
#: lib/wfu_constants.php:108
|
441 |
+
msgid "Captcha not completed!"
|
442 |
+
msgstr ""
|
443 |
+
|
444 |
+
#: lib/wfu_constants.php:109
|
445 |
+
msgid "Wrong captcha!"
|
446 |
+
msgstr ""
|
447 |
+
|
448 |
+
#: lib/wfu_constants.php:110
|
449 |
+
msgid "Error refreshing captcha!"
|
450 |
+
msgstr ""
|
451 |
+
|
452 |
+
#: lib/wfu_constants.php:111
|
453 |
+
msgid "Unknown captcha error!"
|
454 |
+
msgstr ""
|
455 |
+
|
456 |
+
#: lib/wfu_constants.php:112
|
457 |
+
msgid "Captcha not supported by your browser!"
|
458 |
+
msgstr ""
|
459 |
+
|
460 |
+
#: lib/wfu_constants.php:113
|
461 |
+
msgid "the secret parameter is missing"
|
462 |
+
msgstr ""
|
463 |
+
|
464 |
+
#: lib/wfu_constants.php:114
|
465 |
+
msgid "the secret parameter is invalid or malformed"
|
466 |
+
msgstr ""
|
467 |
+
|
468 |
+
#: lib/wfu_constants.php:115
|
469 |
+
msgid "the response parameter is missing"
|
470 |
+
msgstr ""
|
471 |
+
|
472 |
+
#: lib/wfu_constants.php:116
|
473 |
+
msgid "the response parameter is invalid or malformed"
|
474 |
+
msgstr ""
|
475 |
+
|
476 |
+
#: lib/wfu_constants.php:117
|
477 |
+
msgid "Please do not use drag drop due to an internal problem."
|
478 |
+
msgstr ""
|
479 |
+
|
480 |
+
#: lib/wfu_constants.php:118
|
481 |
+
#, php-format
|
482 |
+
msgid "Error during chunked upload. Unique ID empty in chunk %d"
|
483 |
+
msgstr ""
|
484 |
+
|
485 |
+
#: lib/wfu_constants.php:119
|
486 |
+
msgid "Chunked upload is not allowed!"
|
487 |
+
msgstr ""
|
488 |
+
|
489 |
+
#: lib/wfu_constants.php:120
|
490 |
+
msgid "Chunked upload aborted due to error in previous chunk!"
|
491 |
+
msgstr ""
|
492 |
+
|
493 |
+
#: lib/wfu_constants.php:121
|
494 |
+
msgid "Chunked upload failed, final file could not be created!"
|
495 |
+
msgstr ""
|
496 |
+
|
497 |
+
#: lib/wfu_constants.php:122
|
498 |
+
#, php-format
|
499 |
+
msgid "Could not write file chuck to destination on chunk %d"
|
500 |
+
msgstr ""
|
501 |
+
|
502 |
+
#: lib/wfu_constants.php:123
|
503 |
+
#, php-format
|
504 |
+
msgid "Could not enlarge destination file on chunk %d"
|
505 |
+
msgstr ""
|
506 |
+
|
507 |
+
#: lib/wfu_constants.php:124
|
508 |
+
#, php-format
|
509 |
+
msgid "Could not open file handles on chunk %d"
|
510 |
+
msgstr ""
|
511 |
+
|
512 |
+
#: lib/wfu_constants.php:125
|
513 |
+
msgid "You are not allowed to delete this file!"
|
514 |
+
msgstr ""
|
515 |
+
|
516 |
+
#: lib/wfu_constants.php:127
|
517 |
+
msgid "Upload skipped! File already exists."
|
518 |
+
msgstr ""
|
519 |
+
|
520 |
+
#: lib/wfu_constants.php:128
|
521 |
+
msgid "The extension of the file does not match its contents."
|
522 |
+
msgstr ""
|
523 |
+
|
524 |
+
#: lib/wfu_constants.php:129
|
525 |
+
msgid ""
|
526 |
+
"Upload succeeded but the file is suspicious because its contents do not "
|
527 |
+
"match its extension. Its proper filename is: "
|
528 |
+
msgstr ""
|
529 |
+
|
530 |
+
#: lib/wfu_constants.php:130
|
531 |
+
msgid "No files have been selected!"
|
532 |
+
msgstr ""
|
533 |
+
|
534 |
+
#: lib/wfu_constants.php:131
|
535 |
+
msgid "WPFilebase Plugin not updated because there were no files uploaded."
|
536 |
+
msgstr ""
|
537 |
+
|
538 |
+
#: lib/wfu_constants.php:132
|
539 |
+
msgid "Notification email was not sent because there were no files uploaded."
|
540 |
+
msgstr ""
|
541 |
+
|
542 |
+
#: lib/wfu_constants.php:133
|
543 |
+
msgid ""
|
544 |
+
"Notification email was not sent because no recipients were defined. Please "
|
545 |
+
"check notifyrecipients attribute in the shortcode."
|
546 |
+
msgstr ""
|
547 |
+
|
548 |
+
#: lib/wfu_constants.php:134
|
549 |
+
msgid ""
|
550 |
+
"Notification email was not sent due to an error. Please check "
|
551 |
+
"notifyrecipients, notifysubject and notifymessage attributes for errors."
|
552 |
+
msgstr ""
|
553 |
+
|
554 |
+
#: lib/wfu_constants.php:135
|
555 |
+
msgid ""
|
556 |
+
"Redirection not executed because redirection link is empty. Please check "
|
557 |
+
"redirectlink attribute."
|
558 |
+
msgstr ""
|
559 |
+
|
560 |
+
#: lib/wfu_constants.php:136
|
561 |
+
msgid ""
|
562 |
+
"Redirection not executed because not all files were successfully uploaded."
|
563 |
+
msgstr ""
|
564 |
+
|
565 |
+
#: lib/wfu_constants.php:138
|
566 |
+
msgid ""
|
567 |
+
"Failed to add the shortcode to the page/post. Please try again. If the "
|
568 |
+
"message persists, contact administrator."
|
569 |
+
msgstr ""
|
570 |
+
|
571 |
+
#: lib/wfu_constants.php:139
|
572 |
+
msgid ""
|
573 |
+
"Failed to edit the shortcode because the contents of the page changed. Try "
|
574 |
+
"again to edit the shortcode."
|
575 |
+
msgstr ""
|
576 |
+
|
577 |
+
#: lib/wfu_constants.php:140
|
578 |
+
msgid ""
|
579 |
+
"Failed to delete the shortcode because the contents of the page changed. Try "
|
580 |
+
"again to delete it."
|
581 |
+
msgstr ""
|
582 |
+
|
583 |
+
#: lib/wfu_constants.php:141
|
584 |
+
msgid ""
|
585 |
+
"The page containing the shortcode has been modified and it is no longer "
|
586 |
+
"valid. Please go back to reload the shortcode."
|
587 |
+
msgstr ""
|
588 |
+
|
589 |
+
#: lib/wfu_constants.php:142
|
590 |
+
msgid ""
|
591 |
+
"Failed to update the shortcode because the contents of the page changed. Go "
|
592 |
+
"back to reload the shortcode."
|
593 |
+
msgstr ""
|
594 |
+
|
595 |
+
#: lib/wfu_constants.php:143
|
596 |
+
msgid ""
|
597 |
+
"Failed to update the shortcode. Please try again. If the problem persists, "
|
598 |
+
"go back and reload the shortcode."
|
599 |
+
msgstr ""
|
600 |
+
|
601 |
+
#: lib/wfu_constants.php:145
|
602 |
+
msgid "This is a test message"
|
603 |
+
msgstr ""
|
604 |
+
|
605 |
+
#: lib/wfu_constants.php:146
|
606 |
+
msgid "This is a test administrator message"
|
607 |
+
msgstr ""
|
608 |
+
|
609 |
+
#: lib/wfu_constants.php:147
|
610 |
+
msgid "File testfile 1 under test"
|
611 |
+
msgstr ""
|
612 |
+
|
613 |
+
#: lib/wfu_constants.php:148
|
614 |
+
msgid "File testfile 1 message"
|
615 |
+
msgstr ""
|
616 |
+
|
617 |
+
#: lib/wfu_constants.php:149
|
618 |
+
msgid "File testfile 1 administrator message"
|
619 |
+
msgstr ""
|
620 |
+
|
621 |
+
#: lib/wfu_constants.php:150
|
622 |
+
msgid "File testfile 2 under test"
|
623 |
+
msgstr ""
|
624 |
+
|
625 |
+
#: lib/wfu_constants.php:151
|
626 |
+
msgid "File testfile 2 message"
|
627 |
+
msgstr ""
|
628 |
+
|
629 |
+
#: lib/wfu_constants.php:152
|
630 |
+
msgid "File testfile 2 administrator message"
|
631 |
+
msgstr ""
|
632 |
+
|
633 |
+
#: lib/wfu_constants.php:154
|
634 |
+
msgid ""
|
635 |
+
"Insert variable %userid% inside text. It will be replaced by the id of the "
|
636 |
+
"current user."
|
637 |
+
msgstr ""
|
638 |
+
|
639 |
+
#: lib/wfu_constants.php:155
|
640 |
+
msgid ""
|
641 |
+
"Insert variable %username% inside text. It will be replaced by the username "
|
642 |
+
"of the current user."
|
643 |
+
msgstr ""
|
644 |
+
|
645 |
+
#: lib/wfu_constants.php:156
|
646 |
+
msgid ""
|
647 |
+
"Insert variable %useremail% inside text. It will be replaced by the email of "
|
648 |
+
"the current user."
|
649 |
+
msgstr ""
|
650 |
+
|
651 |
+
#: lib/wfu_constants.php:157
|
652 |
+
msgid ""
|
653 |
+
"Insert variable %filename% inside text. It will be replaced by the filename "
|
654 |
+
"of the uploaded file."
|
655 |
+
msgstr ""
|
656 |
+
|
657 |
+
#: lib/wfu_constants.php:158
|
658 |
+
msgid ""
|
659 |
+
"Insert variable %filepath% inside text. It will be replaced by the full "
|
660 |
+
"filepath of the uploaded file."
|
661 |
+
msgstr ""
|
662 |
+
|
663 |
+
#: lib/wfu_constants.php:159
|
664 |
+
msgid ""
|
665 |
+
"Insert variable %blogid% inside text. It will be replaced by the blog id of "
|
666 |
+
"the website."
|
667 |
+
msgstr ""
|
668 |
+
|
669 |
+
#: lib/wfu_constants.php:160
|
670 |
+
msgid ""
|
671 |
+
"Insert variable %pageid% inside text. It will be replaced by the id of the "
|
672 |
+
"current page."
|
673 |
+
msgstr ""
|
674 |
+
|
675 |
+
#: lib/wfu_constants.php:161
|
676 |
+
msgid ""
|
677 |
+
"Insert variable %pagetitle% inside text. It will be replaced by the title of "
|
678 |
+
"the current page."
|
679 |
+
msgstr ""
|
680 |
+
|
681 |
+
#: lib/wfu_constants.php:162
|
682 |
+
msgid ""
|
683 |
+
"Insert variable %userdataXXX% inside text. Select the user field from the "
|
684 |
+
"drop-down list. It will be replaced by the value that the user entered in "
|
685 |
+
"this field."
|
686 |
+
msgstr ""
|
687 |
+
|
688 |
+
#: lib/wfu_constants.php:163
|
689 |
+
msgid "Insert variable %n% inside text to denote a line change."
|
690 |
+
msgstr ""
|
691 |
+
|
692 |
+
#: lib/wfu_constants.php:165
|
693 |
+
msgid "Test Mode"
|
694 |
+
msgstr ""
|
695 |
+
|
696 |
+
#: lib/wfu_constants.php:166
|
697 |
+
msgid "select dir..."
|
698 |
+
msgstr ""
|
699 |
+
|
700 |
+
#: lib/wfu_constants.php:167
|
701 |
+
msgid "type dir"
|
702 |
+
msgstr ""
|
703 |
+
|
704 |
+
#: lib/wfu_constants.php:168
|
705 |
+
msgid "Upload path: %filepath%"
|
706 |
+
msgstr ""
|
707 |
+
|
708 |
+
#: lib/wfu_constants.php:169
|
709 |
+
msgid "Failed upload path: %filepath%"
|
710 |
+
msgstr ""
|
711 |
+
|
712 |
+
#: lib/wfu_constants.php:170
|
713 |
+
msgid " (required)"
|
714 |
+
msgstr ""
|
715 |
+
|
716 |
+
#: lib/wfu_constants.php:171
|
717 |
+
msgid "Files are being uploaded. Are you sure you want to exit the page?"
|
718 |
+
msgstr ""
|
719 |
+
|
720 |
+
#: lib/wfu_constants.php:172
|
721 |
+
msgid "checking captcha..."
|
722 |
+
msgstr ""
|
723 |
+
|
724 |
+
#: lib/wfu_constants.php:173
|
725 |
+
msgid "refreshing..."
|
726 |
+
msgstr ""
|
727 |
+
|
728 |
+
#: lib/wfu_constants.php:174
|
729 |
+
msgid "correct captcha"
|
730 |
+
msgstr ""
|
731 |
+
|
732 |
+
#: lib/wfu_constants.php:175
|
733 |
+
msgid "click to continue the upload"
|
734 |
+
msgstr ""
|
735 |
+
|
736 |
+
#: lib/wfu_constants.php:176
|
737 |
+
msgid "Are you sure you want to delete this file?"
|
738 |
+
msgstr ""
|
739 |
+
|
740 |
+
#: lib/wfu_constants.php:177
|
741 |
+
msgid "Are you sure that you want to cancel the upload?"
|
742 |
+
msgstr ""
|
743 |
+
|
744 |
+
#: lib/wfu_constants.php:178
|
745 |
+
msgid "cancel upload of this file"
|
746 |
+
msgstr ""
|
747 |
+
|
748 |
+
#: lib/wfu_constants.php:179
|
749 |
+
msgid "Upload in progress"
|
750 |
+
msgstr "Uploading..."
|
751 |
+
|
752 |
+
#: lib/wfu_constants.php:180
|
753 |
+
msgid "Upload in progress with warnings!"
|
754 |
+
msgstr ""
|
755 |
+
|
756 |
+
#: lib/wfu_constants.php:181
|
757 |
+
msgid "Upload in progress but some files already failed!"
|
758 |
+
msgstr ""
|
759 |
+
|
760 |
+
#: lib/wfu_constants.php:182
|
761 |
+
msgid "Upload in progress but no files uploaded so far!"
|
762 |
+
msgstr ""
|
763 |
+
|
764 |
+
#: lib/wfu_constants.php:183
|
765 |
+
msgid "All files uploaded successfully"
|
766 |
+
msgstr ""
|
767 |
+
|
768 |
+
#: lib/wfu_constants.php:184
|
769 |
+
msgid "All files uploaded successfully but there are warnings!"
|
770 |
+
msgstr ""
|
771 |
+
|
772 |
+
#: lib/wfu_constants.php:185
|
773 |
+
msgid "File uploaded successfully but there are warnings!"
|
774 |
+
msgstr ""
|
775 |
+
|
776 |
+
#: lib/wfu_constants.php:186
|
777 |
+
msgid "Some files failed to upload!"
|
778 |
+
msgstr ""
|
779 |
+
|
780 |
+
#: lib/wfu_constants.php:187
|
781 |
+
msgid "All files failed to upload"
|
782 |
+
msgstr ""
|
783 |
+
|
784 |
+
#: lib/wfu_constants.php:188
|
785 |
+
msgid "File failed to upload"
|
786 |
+
msgstr ""
|
787 |
+
|
788 |
+
#: lib/wfu_constants.php:189
|
789 |
+
msgid "There are no files to upload!"
|
790 |
+
msgstr ""
|
791 |
+
|
792 |
+
#: lib/wfu_constants.php:190
|
793 |
+
msgid "Test upload message"
|
794 |
+
msgstr ""
|
795 |
+
|
796 |
+
#: lib/wfu_constants.php:191
|
797 |
+
msgid "JSON parse warning!"
|
798 |
+
msgstr ""
|
799 |
+
|
800 |
+
#: lib/wfu_constants.php:192
|
801 |
+
msgid "please wait while redirecting..."
|
802 |
+
msgstr ""
|
803 |
+
|
804 |
+
#: lib/wfu_constants.php:194
|
805 |
+
msgid "Open visual shortcode editor in new window"
|
806 |
+
msgstr ""
|
807 |
+
|
808 |
+
#: lib/wfu_constants.php:195
|
809 |
+
msgid "loading visual editor"
|
810 |
+
msgstr ""
|
811 |
+
|
812 |
+
#: lib/wfu_constants.php:196
|
813 |
+
msgid "Clear file list?"
|
814 |
+
msgstr ""
|
815 |
+
|
816 |
+
#: lib/wfu_constants.php:197
|
817 |
+
msgid "DROP HERE"
|
818 |
+
msgstr ""
|
819 |
+
|
820 |
+
#: lib/wfu_constants.php:199
|
821 |
+
msgid "record video"
|
822 |
+
msgstr ""
|
823 |
+
|
824 |
+
#: lib/wfu_constants.php:200
|
825 |
+
msgid "take a picture"
|
826 |
+
msgstr ""
|
827 |
+
|
828 |
+
#: lib/wfu_constants.php:201
|
829 |
+
msgid "turn webcam on/off"
|
830 |
+
msgstr ""
|
831 |
+
|
832 |
+
#: lib/wfu_constants.php:202
|
833 |
+
msgid "go live again"
|
834 |
+
msgstr ""
|
835 |
+
|
836 |
+
#: lib/wfu_constants.php:203
|
837 |
+
msgid "end recording"
|
838 |
+
msgstr ""
|
839 |
+
|
840 |
+
#: lib/wfu_constants.php:204
|
841 |
+
msgid "play"
|
842 |
+
msgstr ""
|
843 |
+
|
844 |
+
#: lib/wfu_constants.php:205
|
845 |
+
msgid "pause"
|
846 |
+
msgstr ""
|
847 |
+
|
848 |
+
#: lib/wfu_constants.php:206
|
849 |
+
msgid "go to the beginning"
|
850 |
+
msgstr ""
|
851 |
+
|
852 |
+
#: lib/wfu_constants.php:207
|
853 |
+
msgid "go to the end"
|
854 |
+
msgstr ""
|
855 |
+
|
856 |
+
#: lib/wfu_constants.php:209
|
857 |
+
msgid "Wordpress File Upload Form"
|
858 |
+
msgstr ""
|
859 |
+
|
860 |
+
#: lib/wfu_constants.php:210
|
861 |
+
msgid "Wordpress File Upload plugin uploader for sidebars"
|
862 |
+
msgstr ""
|
863 |
+
|
864 |
+
#: lib/wfu_constants.php:211
|
865 |
+
msgid "Upload Files"
|
866 |
+
msgstr ""
|
lib/wfu_admin.php
CHANGED
@@ -222,7 +222,7 @@ function wordpress_file_upload_manage_dashboard() {
|
|
222 |
else $echo_str = wfu_manage_mainmenu(WFU_DASHBOARD_DELETE_SHORTCODE_REJECTED);
|
223 |
}
|
224 |
else {
|
225 |
-
$echo_str = wfu_manage_mainmenu();
|
226 |
}
|
227 |
|
228 |
echo $echo_str;
|
222 |
else $echo_str = wfu_manage_mainmenu(WFU_DASHBOARD_DELETE_SHORTCODE_REJECTED);
|
223 |
}
|
224 |
else {
|
225 |
+
$echo_str = wfu_manage_mainmenu();
|
226 |
}
|
227 |
|
228 |
echo $echo_str;
|
lib/wfu_blocks.php
CHANGED
@@ -346,7 +346,7 @@ function wfu_prepare_userdata_block($params, $additional_params, $occurrence_ind
|
|
346 |
$userdata = 'userdata_'.$sid;
|
347 |
$hiddeninput = 'hiddeninput_'.$sid;
|
348 |
|
349 |
-
$userdata_item["title"] = 'wordpress_file_upload_userdata_'.$sid;
|
350 |
$userdata_item["hidden"] = false;
|
351 |
$userdata_item["width"] = "";
|
352 |
$styles1 = "";
|
346 |
$userdata = 'userdata_'.$sid;
|
347 |
$hiddeninput = 'hiddeninput_'.$sid;
|
348 |
|
349 |
+
$userdata_item["title"] = 'wordpress_file_upload_userdata_'.$sid.( $occurrence_index == 0 ? "" : "_".($occurrence_index - 1) );
|
350 |
$userdata_item["hidden"] = false;
|
351 |
$userdata_item["width"] = "";
|
352 |
$styles1 = "";
|
lib/wfu_constants.php
CHANGED
@@ -260,7 +260,10 @@ $GLOBALS["WFU_GLOBALS"] = array(
|
|
260 |
$GLOBALS["WFU_GLOBALS"] += array(
|
261 |
"WFU_SANITIZE_FILENAME_MODE" => array( "Filename Sanitization Mode", "string", "strict", "The sanitization mode for filenames. It can be 'strict' or 'loose'." ),
|
262 |
"WFU_PHP_ARRAY_MAXLEN" => array( "Max PHP Array Length", "string", "10000", "The maximum allowable number of items of a PHP array." ),
|
263 |
-
"WFU_HISTORYLOG_TABLE_MAXROWS" => array( "History Log Table Rows Per Page", "integer", 25, "The number of rows per page of the History Log table." )
|
|
|
|
|
|
|
264 |
);
|
265 |
//color definitions
|
266 |
$GLOBALS["WFU_GLOBALS"] += array(
|
260 |
$GLOBALS["WFU_GLOBALS"] += array(
|
261 |
"WFU_SANITIZE_FILENAME_MODE" => array( "Filename Sanitization Mode", "string", "strict", "The sanitization mode for filenames. It can be 'strict' or 'loose'." ),
|
262 |
"WFU_PHP_ARRAY_MAXLEN" => array( "Max PHP Array Length", "string", "10000", "The maximum allowable number of items of a PHP array." ),
|
263 |
+
"WFU_HISTORYLOG_TABLE_MAXROWS" => array( "History Log Table Rows Per Page", "integer", 25, "The number of rows per page of the History Log table." ),
|
264 |
+
"WFU_DASHBOARD_PROTECTED" => array( "Dashboard Is Protected", "string", "false", "If /wp-admin folder is password protected then this variable should be set to 'true' so that internal operations of the plugin can work. The username and password should also be set." ),
|
265 |
+
"WFU_DASHBOARD_USERNAME" => array( "Protected Dashboard Username", "string", "", "Username entry for accessing protected /wp-admin folder." ),
|
266 |
+
"WFU_DASHBOARD_PASSWORD" => array( "Protected Dashboard Password", "string", "", "Password entry for accessing protected /wp-admin folder." )
|
267 |
);
|
268 |
//color definitions
|
269 |
$GLOBALS["WFU_GLOBALS"] += array(
|
lib/wfu_functions.php
CHANGED
@@ -18,7 +18,8 @@ function wfu_upload_plugin_wildcard_to_preg($pattern) {
|
|
18 |
}
|
19 |
|
20 |
function wfu_upload_plugin_wildcard_to_mysqlregexp($pattern) {
|
21 |
-
|
|
|
22 |
}
|
23 |
|
24 |
function wfu_upload_plugin_wildcard_match($pattern, $str) {
|
@@ -302,6 +303,7 @@ function wfu_encode_plugin_options($plugin_options) {
|
|
302 |
$encoded_options .= 'captcha_sitekey='.( isset($plugin_options['captcha_sitekey']) ? wfu_plugin_encode_string($plugin_options['captcha_sitekey']) : "" ).';';
|
303 |
$encoded_options .= 'captcha_secretkey='.( isset($plugin_options['captcha_secretkey']) ? wfu_plugin_encode_string($plugin_options['captcha_secretkey']) : "" ).';';
|
304 |
$encoded_options .= 'dropbox_accesstoken='.( isset($plugin_options['dropbox_accesstoken']) ? wfu_plugin_encode_string($plugin_options['dropbox_accesstoken']) : "" ).';';
|
|
|
305 |
$encoded_options .= 'browser_permissions='.( isset($plugin_options['browser_permissions']) ? wfu_encode_array_to_string($plugin_options['browser_permissions']) : "" );
|
306 |
return $encoded_options;
|
307 |
}
|
@@ -319,13 +321,14 @@ function wfu_decode_plugin_options($encoded_options) {
|
|
319 |
$plugin_options['captcha_sitekey'] = "";
|
320 |
$plugin_options['captcha_secretkey'] = "";
|
321 |
$plugin_options['dropbox_accesstoken'] = "";
|
|
|
322 |
$plugin_options['browser_permissions'] = "";
|
323 |
|
324 |
$decoded_array = explode(';', $encoded_options);
|
325 |
foreach ($decoded_array as $decoded_item) {
|
326 |
if ( trim($decoded_item) != "" ) {
|
327 |
list($item_key, $item_value) = explode("=", $decoded_item, 2);
|
328 |
-
if ( $item_key == 'shortcode' || $item_key == 'basedir' || $item_key == 'captcha_sitekey' || $item_key == 'captcha_secretkey' || $item_key == 'dropbox_accesstoken' )
|
329 |
$plugin_options[$item_key] = wfu_plugin_decode_string($item_value);
|
330 |
elseif ( $item_key == 'browser_permissions' )
|
331 |
$plugin_options[$item_key] = wfu_decode_array_from_string($item_value);
|
@@ -1835,7 +1838,7 @@ function wfu_get_browser_params_from_safe($code) {
|
|
1835 |
|
1836 |
//********************* POST/GET Requests Functions ****************************************************************************************************
|
1837 |
|
1838 |
-
function wfu_post_request($url, $params, $verifypeer = false) {
|
1839 |
$plugin_options = wfu_decode_plugin_options(get_option( "wordpress_file_upload_options" ));
|
1840 |
if ( isset($plugin_options['postmethod']) && $plugin_options['postmethod'] == 'curl' ) {
|
1841 |
// POST request using CURL
|
@@ -1851,6 +1854,12 @@ function wfu_post_request($url, $params, $verifypeer = false) {
|
|
1851 |
CURLOPT_RETURNTRANSFER => true,
|
1852 |
CURLOPT_SSL_VERIFYPEER => $verifypeer
|
1853 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
1854 |
curl_setopt_array($ch, $options);
|
1855 |
$result = curl_exec($ch);
|
1856 |
curl_close ($ch);
|
@@ -1879,7 +1888,12 @@ function wfu_post_request($url, $params, $verifypeer = false) {
|
|
1879 |
$request = "POST " . $path . " HTTP/1.1\r\n";
|
1880 |
$request .= "Host: " . $host . "\r\n";
|
1881 |
$request .= "Content-Type: application/x-www-form-urlencoded\r\n";
|
1882 |
-
|
|
|
|
|
|
|
|
|
|
|
1883 |
$request .= "Connection: close\r\n\r\n";
|
1884 |
$request .= $content . "\r\n\r\n";
|
1885 |
fwrite($handle, $request, strlen($request));
|
@@ -1898,12 +1912,20 @@ function wfu_post_request($url, $params, $verifypeer = false) {
|
|
1898 |
}
|
1899 |
else {
|
1900 |
// POST request using file_get_contents
|
|
|
|
|
|
|
1901 |
$peer_key = version_compare(PHP_VERSION, '5.6.0', '<') ? 'CN_name' : 'peer_name';
|
1902 |
$http_array = array(
|
1903 |
'method' => 'POST',
|
1904 |
'header' => "Content-type: application/x-www-form-urlencoded\r\n",
|
1905 |
'content' => http_build_query($params)
|
1906 |
);
|
|
|
|
|
|
|
|
|
|
|
1907 |
if ( $verifypeer ) {
|
1908 |
$http_array['verify_peer'] = true;
|
1909 |
$http_array[$peer_key] = 'www.google.com';
|
18 |
}
|
19 |
|
20 |
function wfu_upload_plugin_wildcard_to_mysqlregexp($pattern) {
|
21 |
+
if ( substr($pattern, 0, 6) == "regex:" ) return str_replace("\\", "\\\\", substr($pattern, 6));
|
22 |
+
else return str_replace("\\", "\\\\", '^'.str_replace(array('\*', '\?', '\[', '\]'), array('.*', '.', '[', ']+'), preg_quote($pattern)).'$');
|
23 |
}
|
24 |
|
25 |
function wfu_upload_plugin_wildcard_match($pattern, $str) {
|
303 |
$encoded_options .= 'captcha_sitekey='.( isset($plugin_options['captcha_sitekey']) ? wfu_plugin_encode_string($plugin_options['captcha_sitekey']) : "" ).';';
|
304 |
$encoded_options .= 'captcha_secretkey='.( isset($plugin_options['captcha_secretkey']) ? wfu_plugin_encode_string($plugin_options['captcha_secretkey']) : "" ).';';
|
305 |
$encoded_options .= 'dropbox_accesstoken='.( isset($plugin_options['dropbox_accesstoken']) ? wfu_plugin_encode_string($plugin_options['dropbox_accesstoken']) : "" ).';';
|
306 |
+
$encoded_options .= 'dropbox_defaultpath='.( isset($plugin_options['dropbox_defaultpath']) ? wfu_plugin_encode_string($plugin_options['dropbox_defaultpath']) : "" ).';';
|
307 |
$encoded_options .= 'browser_permissions='.( isset($plugin_options['browser_permissions']) ? wfu_encode_array_to_string($plugin_options['browser_permissions']) : "" );
|
308 |
return $encoded_options;
|
309 |
}
|
321 |
$plugin_options['captcha_sitekey'] = "";
|
322 |
$plugin_options['captcha_secretkey'] = "";
|
323 |
$plugin_options['dropbox_accesstoken'] = "";
|
324 |
+
$plugin_options['dropbox_defaultpath'] = "";
|
325 |
$plugin_options['browser_permissions'] = "";
|
326 |
|
327 |
$decoded_array = explode(';', $encoded_options);
|
328 |
foreach ($decoded_array as $decoded_item) {
|
329 |
if ( trim($decoded_item) != "" ) {
|
330 |
list($item_key, $item_value) = explode("=", $decoded_item, 2);
|
331 |
+
if ( $item_key == 'shortcode' || $item_key == 'basedir' || $item_key == 'captcha_sitekey' || $item_key == 'captcha_secretkey' || $item_key == 'dropbox_accesstoken' || $item_key == 'dropbox_defaultpath' )
|
332 |
$plugin_options[$item_key] = wfu_plugin_decode_string($item_value);
|
333 |
elseif ( $item_key == 'browser_permissions' )
|
334 |
$plugin_options[$item_key] = wfu_decode_array_from_string($item_value);
|
1838 |
|
1839 |
//********************* POST/GET Requests Functions ****************************************************************************************************
|
1840 |
|
1841 |
+
function wfu_post_request($url, $params, $verifypeer = false, $internal_request = false) {
|
1842 |
$plugin_options = wfu_decode_plugin_options(get_option( "wordpress_file_upload_options" ));
|
1843 |
if ( isset($plugin_options['postmethod']) && $plugin_options['postmethod'] == 'curl' ) {
|
1844 |
// POST request using CURL
|
1854 |
CURLOPT_RETURNTRANSFER => true,
|
1855 |
CURLOPT_SSL_VERIFYPEER => $verifypeer
|
1856 |
);
|
1857 |
+
//for internal requests to /wp-admin area that is password protected
|
1858 |
+
//authorization is required
|
1859 |
+
if ( $internal_request && WFU_VAR("WFU_DASHBOARD_PROTECTED") == "true" ) {
|
1860 |
+
$options[CURLOPT_HTTPAUTH] = CURLAUTH_ANY;
|
1861 |
+
$options[CURLOPT_USERPWD] = WFU_VAR("WFU_DASHBOARD_USERNAME").":".WFU_VAR("WFU_DASHBOARD_PASSWORD");
|
1862 |
+
}
|
1863 |
curl_setopt_array($ch, $options);
|
1864 |
$result = curl_exec($ch);
|
1865 |
curl_close ($ch);
|
1888 |
$request = "POST " . $path . " HTTP/1.1\r\n";
|
1889 |
$request .= "Host: " . $host . "\r\n";
|
1890 |
$request .= "Content-Type: application/x-www-form-urlencoded\r\n";
|
1891 |
+
//for internal requests to /wp-admin area that is password protected
|
1892 |
+
//authorization is required
|
1893 |
+
if ( $internal_request && WFU_VAR("WFU_DASHBOARD_PROTECTED") == "true" ) {
|
1894 |
+
$request .= "Authorization: Basic ".base64_encode(WFU_VAR("WFU_DASHBOARD_USERNAME").":".WFU_VAR("WFU_DASHBOARD_PASSWORD"))."\r\n";
|
1895 |
+
}
|
1896 |
+
$request .= "Content-length: " . strlen($content) . "\r\n";
|
1897 |
$request .= "Connection: close\r\n\r\n";
|
1898 |
$request .= $content . "\r\n\r\n";
|
1899 |
fwrite($handle, $request, strlen($request));
|
1912 |
}
|
1913 |
else {
|
1914 |
// POST request using file_get_contents
|
1915 |
+
if ( $internal_request && WFU_VAR("WFU_DASHBOARD_PROTECTED") == "true" ) {
|
1916 |
+
$url = preg_replace("/^(http|https):\/\//", "$1://".WFU_VAR("WFU_DASHBOARD_USERNAME").":".WFU_VAR("WFU_DASHBOARD_PASSWORD")."@", $url);
|
1917 |
+
}
|
1918 |
$peer_key = version_compare(PHP_VERSION, '5.6.0', '<') ? 'CN_name' : 'peer_name';
|
1919 |
$http_array = array(
|
1920 |
'method' => 'POST',
|
1921 |
'header' => "Content-type: application/x-www-form-urlencoded\r\n",
|
1922 |
'content' => http_build_query($params)
|
1923 |
);
|
1924 |
+
//for internal requests to /wp-admin area that is password protected
|
1925 |
+
//authorization is required
|
1926 |
+
if ( $internal_request && WFU_VAR("WFU_DASHBOARD_PROTECTED") == "true" ) {
|
1927 |
+
$http_array['header'] .= "Authorization: Basic ".base64_encode(WFU_VAR("WFU_DASHBOARD_USERNAME").":".WFU_VAR("WFU_DASHBOARD_PASSWORD"))."\r\n";
|
1928 |
+
}
|
1929 |
if ( $verifypeer ) {
|
1930 |
$http_array['verify_peer'] = true;
|
1931 |
$http_array[$peer_key] = 'www.google.com';
|
readme.txt
CHANGED
@@ -137,6 +137,9 @@ There is an option in plugin's settings in Dashboard to relax the CSS rules, so
|
|
137 |
|
138 |
== Changelog ==
|
139 |
|
|
|
|
|
|
|
140 |
= 3.8.0 =
|
141 |
* added webcam option that enables webcam capture functionality
|
142 |
* added webcammode atribute to define capture mode (screenshots, video or both)
|
@@ -573,6 +576,9 @@ Initial version.
|
|
573 |
|
574 |
== Upgrade Notice ==
|
575 |
|
|
|
|
|
|
|
576 |
= 3.8.0 =
|
577 |
Significant upgrade to introduce some new features and fix some bugs.
|
578 |
|
137 |
|
138 |
== Changelog ==
|
139 |
|
140 |
+
= 3.8.1 =
|
141 |
+
* fixed bug with duplicate userdata IDs in HTML when using more than one userdata occurrences
|
142 |
+
|
143 |
= 3.8.0 =
|
144 |
* added webcam option that enables webcam capture functionality
|
145 |
* added webcammode atribute to define capture mode (screenshots, video or both)
|
576 |
|
577 |
== Upgrade Notice ==
|
578 |
|
579 |
+
= 3.8.1 =
|
580 |
+
Minor upgrade to fix some bugs.
|
581 |
+
|
582 |
= 3.8.0 =
|
583 |
Significant upgrade to introduce some new features and fix some bugs.
|
584 |
|
release_notes.txt
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
|
2 |
|
3 |
For more details about this version's changes please visit the Release Notes of the plugin's </span><a href="http://www.iptanus.com/wordpress-plugins/wordpress-file-upload/">support page</a><span>.</span>
|
1 |
+
<!-- --><span><strong>Latest release notes: </strong>This release introduces some minor bug fixes related to userdata functionality. The Professional version of the plugin contains some more important improvements related to <strong>Code Hooks</strong> and <strong>Dropbox</strong> features.</span><!-- --><!-- --><br /><br /><span>
|
2 |
|
3 |
For more details about this version's changes please visit the Release Notes of the plugin's </span><a href="http://www.iptanus.com/wordpress-plugins/wordpress-file-upload/">support page</a><span>.</span>
|
wordpress_file_upload.php
CHANGED
@@ -4,7 +4,7 @@ if( !session_id() ) { session_start(); }
|
|
4 |
/*
|
5 |
Plugin URI: http://www.iptanus.com/support/wordpress-file-upload
|
6 |
Description: Simple interface to upload files from a page.
|
7 |
-
Version: 3.8.
|
8 |
Author: Nickolas Bossinas
|
9 |
Author URI: http://www.iptanus.com
|
10 |
*/
|
4 |
/*
|
5 |
Plugin URI: http://www.iptanus.com/support/wordpress-file-upload
|
6 |
Description: Simple interface to upload files from a page.
|
7 |
+
Version: 3.8.1
|
8 |
Author: Nickolas Bossinas
|
9 |
Author URI: http://www.iptanus.com
|
10 |
*/
|