Version Description
- Added : mwform_value_
- Added : mwform_hidden echo true or false
- Added :
- Cahged : edit_pages
- Bug fix: MIMEavimp3mpg
Download this release
Release Info
Developer | inc2734 |
Plugin | MW WP Form |
Version | 1.1.0 |
Comparing to | |
See all releases |
Code changes from version 1.0.4 to 1.1.0
- form_fields/mw_form_field_hidden.php +13 -4
- languages/mw-wp-form-ja.mo +0 -0
- languages/mw-wp-form-ja.po +82 -74
- languages/mw-wp-form.pot +81 -73
- mw-wp-form.php +2 -2
- readme.txt +8 -1
- system/mw_form_field.php +5 -2
- system/mw_validation.php +24 -2
- system/mw_wp_form_admin_page.php +6 -3
- system/mw_wp_form_contact_data_page.php +4 -3
- system/mw_wp_form_file.php +36 -4
form_fields/mw_form_field_hidden.php
CHANGED
@@ -3,11 +3,11 @@
|
|
3 |
* Name: MW Form Field Hidden
|
4 |
* URI: http://2inc.org
|
5 |
* Description: hiddenフィールドを出力。
|
6 |
-
* Version: 1.
|
7 |
* Author: Takashi Kitajima
|
8 |
* Author URI: http://2inc.org
|
9 |
* Created: December 14, 2012
|
10 |
-
* Modified:
|
11 |
* License: GPL2
|
12 |
*
|
13 |
* Copyright 2013 Takashi Kitajima (email : inc@2inc.org)
|
@@ -41,6 +41,7 @@ class mw_form_field_hidden extends mw_form_field {
|
|
41 |
return array(
|
42 |
'name' => '',
|
43 |
'value' => '',
|
|
|
44 |
);
|
45 |
}
|
46 |
|
@@ -50,7 +51,11 @@ class mw_form_field_hidden extends mw_form_field {
|
|
50 |
* @return String HTML
|
51 |
*/
|
52 |
protected function inputPage() {
|
53 |
-
|
|
|
|
|
|
|
|
|
54 |
}
|
55 |
|
56 |
/**
|
@@ -60,7 +65,11 @@ class mw_form_field_hidden extends mw_form_field {
|
|
60 |
*/
|
61 |
protected function previewPage() {
|
62 |
$value = $this->Form->getValue( $this->atts['name'] );
|
63 |
-
|
|
|
|
|
|
|
|
|
64 |
}
|
65 |
|
66 |
/**
|
3 |
* Name: MW Form Field Hidden
|
4 |
* URI: http://2inc.org
|
5 |
* Description: hiddenフィールドを出力。
|
6 |
+
* Version: 1.3
|
7 |
* Author: Takashi Kitajima
|
8 |
* Author URI: http://2inc.org
|
9 |
* Created: December 14, 2012
|
10 |
+
* Modified: December 5, 2013
|
11 |
* License: GPL2
|
12 |
*
|
13 |
* Copyright 2013 Takashi Kitajima (email : inc@2inc.org)
|
41 |
return array(
|
42 |
'name' => '',
|
43 |
'value' => '',
|
44 |
+
'echo' => 'false',
|
45 |
);
|
46 |
}
|
47 |
|
51 |
* @return String HTML
|
52 |
*/
|
53 |
protected function inputPage() {
|
54 |
+
$echo_value = '';
|
55 |
+
if ( $this->atts['echo'] === 'true' ) {
|
56 |
+
$echo_value = $this->atts['value'];
|
57 |
+
}
|
58 |
+
return $echo_value . $this->Form->hidden( $this->atts['name'], $this->atts['value'] );
|
59 |
}
|
60 |
|
61 |
/**
|
65 |
*/
|
66 |
protected function previewPage() {
|
67 |
$value = $this->Form->getValue( $this->atts['name'] );
|
68 |
+
$echo_value = '';
|
69 |
+
if ( $this->atts['echo'] === 'true' ) {
|
70 |
+
$echo_value = $value;
|
71 |
+
}
|
72 |
+
return $echo_value . $this->Form->hidden( $this->atts['name'], $value );
|
73 |
}
|
74 |
|
75 |
/**
|
languages/mw-wp-form-ja.mo
CHANGED
Binary file
|
languages/mw-wp-form-ja.po
CHANGED
@@ -2,10 +2,10 @@
|
|
2 |
# This file is distributed under the same license as the MW WP Form package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: MW WP Form 1.0
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/mw-wp-form\n"
|
7 |
-
"POT-Creation-Date: 2013-
|
8 |
-
"PO-Revision-Date: 2013-
|
9 |
"Last-Translator: Takashi Kitajima <inc@2inc.org>\n"
|
10 |
"Language-Team: Takashi Kitajima <inc@2inc.org>\n"
|
11 |
"MIME-Version: 1.0\n"
|
@@ -51,7 +51,7 @@ msgstr "アップロードしました。"
|
|
51 |
msgid "File"
|
52 |
msgstr "ファイルフィールド"
|
53 |
|
54 |
-
#: form_fields/mw_form_field_hidden.php:
|
55 |
msgid "Hidden"
|
56 |
msgstr "hiddenフィールド"
|
57 |
|
@@ -93,7 +93,7 @@ msgstr "送信ボタン"
|
|
93 |
msgid "Confirm & Submit"
|
94 |
msgstr "確認・送信"
|
95 |
|
96 |
-
#: form_fields/mw_form_field_tel.php:79 system/mw_wp_form_admin_page.php:
|
97 |
msgid "Tel"
|
98 |
msgstr "電話番号"
|
99 |
|
@@ -105,7 +105,7 @@ msgstr "テキストフィールド"
|
|
105 |
msgid "Textarea"
|
106 |
msgstr "テキストエリア"
|
107 |
|
108 |
-
#: form_fields/mw_form_field_zip.php:79 system/mw_wp_form_admin_page.php:
|
109 |
msgid "Zip Code"
|
110 |
msgstr "郵便番号"
|
111 |
|
@@ -133,51 +133,55 @@ msgstr "半角数字で入力してください。"
|
|
133 |
msgid "Please enter with a half-width alphanumeric character."
|
134 |
msgstr "半角英数字で入力してください。"
|
135 |
|
136 |
-
#: system/mw_validation.php:
|
|
|
|
|
|
|
|
|
137 |
msgid "This is not the format of a zip code."
|
138 |
msgstr "郵便番号の形式ではありません。"
|
139 |
|
140 |
-
#: system/mw_validation.php:
|
141 |
msgid "This is not the format of a tel number."
|
142 |
msgstr "電話番号の形式ではありません。"
|
143 |
|
144 |
-
#: system/mw_validation.php:
|
145 |
msgid "This is not the format of a mail address."
|
146 |
msgstr "メールアドレスの形式ではありません。"
|
147 |
|
148 |
-
#: system/mw_validation.php:
|
149 |
msgid "This is not the format of a url."
|
150 |
msgstr "URLの形式ではありません。"
|
151 |
|
152 |
-
#: system/mw_validation.php:
|
153 |
msgid "This is not in agreement."
|
154 |
msgstr "一致しません。"
|
155 |
|
156 |
-
#: system/mw_validation.php:
|
157 |
msgid "The number of characters is invalid."
|
158 |
msgstr "文字数が正しくありません。"
|
159 |
|
160 |
-
#: system/mw_validation.php:
|
161 |
msgid "The number of characters is a few."
|
162 |
msgstr "文字数が足りません。"
|
163 |
|
164 |
-
#: system/mw_validation.php:
|
165 |
msgid "This value is invalid."
|
166 |
msgstr "値が不正です。"
|
167 |
|
168 |
-
#: system/mw_validation.php:
|
169 |
msgid "This is not the format of a date."
|
170 |
msgstr "日付の形式ではありません。"
|
171 |
|
172 |
-
#: system/mw_validation.php:
|
173 |
msgid "This file is invalid."
|
174 |
msgstr "許可されたファイルではありません。"
|
175 |
|
176 |
-
#: system/mw_validation.php:
|
177 |
msgid "This file size is too big."
|
178 |
msgstr "ファイルサイズが大きすぎます。"
|
179 |
|
180 |
-
#: system/mw_validation.php:
|
181 |
msgid "The contents which you input were judged with spam."
|
182 |
msgstr "あなたの入力した内容はスパムと判定されました。"
|
183 |
|
@@ -217,47 +221,47 @@ msgstr "フォームがありません"
|
|
217 |
msgid "No Forms found in Trash"
|
218 |
msgstr "ゴミ箱にフォームはありません"
|
219 |
|
220 |
-
#: system/mw_wp_form_admin_page.php:
|
221 |
msgid "Complete Message"
|
222 |
msgstr "完了画面メッセージ"
|
223 |
|
224 |
-
#: system/mw_wp_form_admin_page.php:
|
225 |
msgid "URL Options"
|
226 |
msgstr "URL設定"
|
227 |
|
228 |
-
#: system/mw_wp_form_admin_page.php:
|
229 |
msgid "Validation Rule"
|
230 |
msgstr "バリデーションルール"
|
231 |
|
232 |
-
#: system/mw_wp_form_admin_page.php:
|
233 |
msgid "Form Key"
|
234 |
msgstr "フォーム識別子"
|
235 |
|
236 |
-
#: system/mw_wp_form_admin_page.php:
|
237 |
msgid "Automatic Reply Email Options"
|
238 |
msgstr "自動返信メール設定"
|
239 |
|
240 |
-
#: system/mw_wp_form_admin_page.php:
|
241 |
msgid "Admin Email Options"
|
242 |
msgstr "管理者宛メール設定"
|
243 |
|
244 |
-
#: system/mw_wp_form_admin_page.php:
|
245 |
msgid "settings"
|
246 |
msgstr "設定"
|
247 |
|
248 |
-
#: system/mw_wp_form_admin_page.php:
|
249 |
msgid "Copy and Paste this shortcode."
|
250 |
msgstr "このショートコードをコピー&ペーストしてください。"
|
251 |
|
252 |
-
#: system/mw_wp_form_admin_page.php:
|
253 |
msgid "The key to use with hook is "
|
254 |
msgstr "各フックで使用する修飾子は"
|
255 |
|
256 |
-
#: system/mw_wp_form_admin_page.php:
|
257 |
msgid "Activate Query string of post"
|
258 |
msgstr "URL引数を有効にする"
|
259 |
|
260 |
-
#: system/mw_wp_form_admin_page.php:
|
261 |
msgid ""
|
262 |
"If this field is active, MW WP Form get the post as query string \"post_id\" "
|
263 |
"and you can use $post's property in editor"
|
@@ -265,57 +269,57 @@ msgstr ""
|
|
265 |
"有効にした場合、MW WP FormはURL引数 ”post_id\" をもとに投稿を取得して、その投"
|
266 |
"稿($post) のプロパティを使用できるようになります。"
|
267 |
|
268 |
-
#: system/mw_wp_form_admin_page.php:
|
269 |
msgid "Example: {ID}, {post_title}, {post_meta} etc..."
|
270 |
msgstr "例:{ID}、{post_title}、{post_meta}など…"
|
271 |
|
272 |
-
#: system/mw_wp_form_admin_page.php:
|
273 |
msgid "Saving contact data in database"
|
274 |
msgstr "問い合わせデータをデータベースに保存"
|
275 |
|
276 |
-
#: system/mw_wp_form_admin_page.php:
|
277 |
msgid "Akismet Setting"
|
278 |
msgstr "Akismet 設定"
|
279 |
|
280 |
-
#: system/mw_wp_form_admin_page.php:
|
281 |
msgid "Input the key to use Akismet."
|
282 |
msgstr "Akismetを使用する項目のキーを入力してください。"
|
283 |
|
284 |
-
#: system/mw_wp_form_admin_page.php:
|
285 |
msgid "Subject"
|
286 |
msgstr "件名"
|
287 |
|
288 |
-
#: system/mw_wp_form_admin_page.php:
|
289 |
msgid "Sender"
|
290 |
msgstr "送信者"
|
291 |
|
292 |
-
#: system/mw_wp_form_admin_page.php:
|
293 |
-
#: system/mw_wp_form_admin_page.php:
|
294 |
-
#: system/mw_wp_form_admin_page.php:
|
295 |
msgid "If empty:"
|
296 |
msgstr "未入力の場合:"
|
297 |
|
298 |
-
#: system/mw_wp_form_admin_page.php:
|
299 |
msgid "From ( E-mail address )"
|
300 |
msgstr "送信元(E-mailアドレス)"
|
301 |
|
302 |
-
#: system/mw_wp_form_admin_page.php:
|
303 |
msgid "Ccontent"
|
304 |
msgstr "本文"
|
305 |
|
306 |
-
#: system/mw_wp_form_admin_page.php:
|
307 |
msgid "{key} is converted form data."
|
308 |
msgstr "{キー}でそのフォーム項目に変換されます。"
|
309 |
|
310 |
-
#: system/mw_wp_form_admin_page.php:
|
311 |
msgid "Automatic reply email"
|
312 |
msgstr "自動返信メール"
|
313 |
|
314 |
-
#: system/mw_wp_form_admin_page.php:
|
315 |
msgid "Input the key to use as transmission to automatic reply email."
|
316 |
msgstr "自動返信メールに使用する項目のキーを入力してください。"
|
317 |
|
318 |
-
#: system/mw_wp_form_admin_page.php:
|
319 |
msgid ""
|
320 |
"If Admin Email Options is a blank, Automatic Replay Email Options is used as "
|
321 |
"Admin Email Options."
|
@@ -323,127 +327,131 @@ msgstr ""
|
|
323 |
"管理者宛メール設定が空のときは自動返信メール設定が管理者宛メール設定が使用さ"
|
324 |
"れます。"
|
325 |
|
326 |
-
#: system/mw_wp_form_admin_page.php:
|
327 |
msgid "To ( E-mail address )"
|
328 |
msgstr "送信先(E-mailアドレス)"
|
329 |
|
330 |
-
#: system/mw_wp_form_admin_page.php:
|
331 |
msgid "Input Page URL"
|
332 |
msgstr "入力画面URL"
|
333 |
|
334 |
-
#: system/mw_wp_form_admin_page.php:
|
335 |
msgid "Confirmation Page URL"
|
336 |
msgstr "確認画面URL"
|
337 |
|
338 |
-
#: system/mw_wp_form_admin_page.php:
|
339 |
msgid "Complete Page URL"
|
340 |
msgstr "完了画面URL"
|
341 |
|
342 |
-
#: system/mw_wp_form_admin_page.php:
|
343 |
msgid "Validation Error Page URL"
|
344 |
msgstr "エラー画面URL"
|
345 |
|
346 |
-
#: system/mw_wp_form_admin_page.php:
|
347 |
msgid "Add Validation rule"
|
348 |
msgstr "バリデーションルールを追加"
|
349 |
|
350 |
-
#: system/mw_wp_form_admin_page.php:
|
351 |
msgid "The key which applies validation"
|
352 |
msgstr "バリデーションを適用する項目"
|
353 |
|
354 |
-
#: system/mw_wp_form_admin_page.php:
|
355 |
msgid "No empty"
|
356 |
msgstr "必須項目"
|
357 |
|
358 |
-
#: system/mw_wp_form_admin_page.php:
|
359 |
msgid "No empty( with checkbox )"
|
360 |
msgstr "必須項目(チェックボックス)"
|
361 |
|
362 |
-
#: system/mw_wp_form_admin_page.php:
|
363 |
msgid "Numeric"
|
364 |
msgstr "半角数字"
|
365 |
|
366 |
-
#: system/mw_wp_form_admin_page.php:
|
367 |
msgid "Alphabet"
|
368 |
msgstr "半角英字"
|
369 |
|
370 |
-
#: system/mw_wp_form_admin_page.php:
|
371 |
msgid "Alphabet and Numeric"
|
372 |
msgstr "半角英数字"
|
373 |
|
374 |
#: system/mw_wp_form_admin_page.php:472
|
|
|
|
|
|
|
|
|
375 |
msgid "E-mail"
|
376 |
msgstr "メールアドレス"
|
377 |
|
378 |
-
#: system/mw_wp_form_admin_page.php:
|
379 |
msgid "Date"
|
380 |
msgstr "日付"
|
381 |
|
382 |
-
#: system/mw_wp_form_admin_page.php:
|
383 |
msgid "The key at same value"
|
384 |
msgstr "一致する項目"
|
385 |
|
386 |
-
#: system/mw_wp_form_admin_page.php:
|
387 |
msgid "The range of the number of characters"
|
388 |
msgstr "文字数の範囲"
|
389 |
|
390 |
-
#: system/mw_wp_form_admin_page.php:
|
391 |
msgid "The number of the minimum characters"
|
392 |
msgstr "最小文字数"
|
393 |
|
394 |
-
#: system/mw_wp_form_admin_page.php:
|
395 |
msgid "Permitted Extension"
|
396 |
msgstr "拡張子制限"
|
397 |
|
398 |
-
#: system/mw_wp_form_admin_page.php:
|
399 |
msgid "Example:jpg or jpg,txt,…"
|
400 |
msgstr "例:jpg もしくは jpg,txt…"
|
401 |
|
402 |
-
#: system/mw_wp_form_admin_page.php:
|
403 |
msgid "Permitted file size"
|
404 |
msgstr "サイズ制限"
|
405 |
|
406 |
-
#: system/mw_wp_form_admin_page.php:
|
407 |
msgid "bytes"
|
408 |
msgstr ""
|
409 |
|
410 |
-
#: system/mw_wp_form_contact_data_page.php:
|
411 |
msgid "Edit "
|
412 |
msgstr "編集"
|
413 |
|
414 |
-
#: system/mw_wp_form_contact_data_page.php:
|
415 |
msgid "View"
|
416 |
msgstr "表示"
|
417 |
|
418 |
-
#: system/mw_wp_form_contact_data_page.php:
|
419 |
msgid "Search"
|
420 |
msgstr "検索"
|
421 |
|
422 |
-
#: system/mw_wp_form_contact_data_page.php:
|
423 |
msgid "No data found"
|
424 |
msgstr "データがありません"
|
425 |
|
426 |
-
#: system/mw_wp_form_contact_data_page.php:
|
427 |
msgid "No data found in Trash"
|
428 |
msgstr "ゴミ箱にデータはありません"
|
429 |
|
430 |
-
#: system/mw_wp_form_contact_data_page.php:
|
431 |
msgid "CSV Download"
|
432 |
msgstr "CSVダウンロード"
|
433 |
|
434 |
-
#: system/mw_wp_form_contact_data_page.php:
|
435 |
msgid "Custom Fields"
|
436 |
msgstr "カスタムフィールド"
|
437 |
|
438 |
-
#: system/mw_wp_form_contact_data_page.php:
|
439 |
msgid "Registed Date"
|
440 |
msgstr "登録日時"
|
441 |
|
442 |
-
#: system/mw_wp_form_contact_data_page.php:
|
443 |
msgid "Memo"
|
444 |
msgstr "メモ"
|
445 |
|
446 |
-
#: system/mw_wp_form_file.php:
|
447 |
msgid "Uploaded from "
|
448 |
msgstr ""
|
449 |
|
2 |
# This file is distributed under the same license as the MW WP Form package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: MW WP Form 1.1.0\n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/mw-wp-form\n"
|
7 |
+
"POT-Creation-Date: 2013-11-06 10:18:26+00:00\n"
|
8 |
+
"PO-Revision-Date: 2013-11-06 19:20+0900\n"
|
9 |
"Last-Translator: Takashi Kitajima <inc@2inc.org>\n"
|
10 |
"Language-Team: Takashi Kitajima <inc@2inc.org>\n"
|
11 |
"MIME-Version: 1.0\n"
|
51 |
msgid "File"
|
52 |
msgstr "ファイルフィールド"
|
53 |
|
54 |
+
#: form_fields/mw_form_field_hidden.php:82
|
55 |
msgid "Hidden"
|
56 |
msgstr "hiddenフィールド"
|
57 |
|
93 |
msgid "Confirm & Submit"
|
94 |
msgstr "確認・送信"
|
95 |
|
96 |
+
#: form_fields/mw_form_field_tel.php:79 system/mw_wp_form_admin_page.php:474
|
97 |
msgid "Tel"
|
98 |
msgstr "電話番号"
|
99 |
|
105 |
msgid "Textarea"
|
106 |
msgstr "テキストエリア"
|
107 |
|
108 |
+
#: form_fields/mw_form_field_zip.php:79 system/mw_wp_form_admin_page.php:473
|
109 |
msgid "Zip Code"
|
110 |
msgstr "郵便番号"
|
111 |
|
133 |
msgid "Please enter with a half-width alphanumeric character."
|
134 |
msgstr "半角英数字で入力してください。"
|
135 |
|
136 |
+
#: system/mw_validation.php:204
|
137 |
+
msgid "Please enter with a Japanese Katakana."
|
138 |
+
msgstr "カタカナで入力してください。"
|
139 |
+
|
140 |
+
#: system/mw_validation.php:224
|
141 |
msgid "This is not the format of a zip code."
|
142 |
msgstr "郵便番号の形式ではありません。"
|
143 |
|
144 |
+
#: system/mw_validation.php:249
|
145 |
msgid "This is not the format of a tel number."
|
146 |
msgstr "電話番号の形式ではありません。"
|
147 |
|
148 |
+
#: system/mw_validation.php:281
|
149 |
msgid "This is not the format of a mail address."
|
150 |
msgstr "メールアドレスの形式ではありません。"
|
151 |
|
152 |
+
#: system/mw_validation.php:303
|
153 |
msgid "This is not the format of a url."
|
154 |
msgstr "URLの形式ではありません。"
|
155 |
|
156 |
+
#: system/mw_validation.php:324
|
157 |
msgid "This is not in agreement."
|
158 |
msgstr "一致しません。"
|
159 |
|
160 |
+
#: system/mw_validation.php:350
|
161 |
msgid "The number of characters is invalid."
|
162 |
msgstr "文字数が正しくありません。"
|
163 |
|
164 |
+
#: system/mw_validation.php:388
|
165 |
msgid "The number of characters is a few."
|
166 |
msgstr "文字数が足りません。"
|
167 |
|
168 |
+
#: system/mw_validation.php:414
|
169 |
msgid "This value is invalid."
|
170 |
msgstr "値が不正です。"
|
171 |
|
172 |
+
#: system/mw_validation.php:438
|
173 |
msgid "This is not the format of a date."
|
174 |
msgstr "日付の形式ではありません。"
|
175 |
|
176 |
+
#: system/mw_validation.php:468
|
177 |
msgid "This file is invalid."
|
178 |
msgstr "許可されたファイルではありません。"
|
179 |
|
180 |
+
#: system/mw_validation.php:498
|
181 |
msgid "This file size is too big."
|
182 |
msgstr "ファイルサイズが大きすぎます。"
|
183 |
|
184 |
+
#: system/mw_validation.php:518
|
185 |
msgid "The contents which you input were judged with spam."
|
186 |
msgstr "あなたの入力した内容はスパムと判定されました。"
|
187 |
|
221 |
msgid "No Forms found in Trash"
|
222 |
msgstr "ゴミ箱にフォームはありません"
|
223 |
|
224 |
+
#: system/mw_wp_form_admin_page.php:103
|
225 |
msgid "Complete Message"
|
226 |
msgstr "完了画面メッセージ"
|
227 |
|
228 |
+
#: system/mw_wp_form_admin_page.php:110
|
229 |
msgid "URL Options"
|
230 |
msgstr "URL設定"
|
231 |
|
232 |
+
#: system/mw_wp_form_admin_page.php:117
|
233 |
msgid "Validation Rule"
|
234 |
msgstr "バリデーションルール"
|
235 |
|
236 |
+
#: system/mw_wp_form_admin_page.php:124
|
237 |
msgid "Form Key"
|
238 |
msgstr "フォーム識別子"
|
239 |
|
240 |
+
#: system/mw_wp_form_admin_page.php:131
|
241 |
msgid "Automatic Reply Email Options"
|
242 |
msgstr "自動返信メール設定"
|
243 |
|
244 |
+
#: system/mw_wp_form_admin_page.php:138
|
245 |
msgid "Admin Email Options"
|
246 |
msgstr "管理者宛メール設定"
|
247 |
|
248 |
+
#: system/mw_wp_form_admin_page.php:145
|
249 |
msgid "settings"
|
250 |
msgstr "設定"
|
251 |
|
252 |
+
#: system/mw_wp_form_admin_page.php:264
|
253 |
msgid "Copy and Paste this shortcode."
|
254 |
msgstr "このショートコードをコピー&ペーストしてください。"
|
255 |
|
256 |
+
#: system/mw_wp_form_admin_page.php:265
|
257 |
msgid "The key to use with hook is "
|
258 |
msgstr "各フックで使用する修飾子は"
|
259 |
|
260 |
+
#: system/mw_wp_form_admin_page.php:279
|
261 |
msgid "Activate Query string of post"
|
262 |
msgstr "URL引数を有効にする"
|
263 |
|
264 |
+
#: system/mw_wp_form_admin_page.php:280
|
265 |
msgid ""
|
266 |
"If this field is active, MW WP Form get the post as query string \"post_id\" "
|
267 |
"and you can use $post's property in editor"
|
269 |
"有効にした場合、MW WP FormはURL引数 ”post_id\" をもとに投稿を取得して、その投"
|
270 |
"稿($post) のプロパティを使用できるようになります。"
|
271 |
|
272 |
+
#: system/mw_wp_form_admin_page.php:281
|
273 |
msgid "Example: {ID}, {post_title}, {post_meta} etc..."
|
274 |
msgstr "例:{ID}、{post_title}、{post_meta}など…"
|
275 |
|
276 |
+
#: system/mw_wp_form_admin_page.php:284
|
277 |
msgid "Saving contact data in database"
|
278 |
msgstr "問い合わせデータをデータベースに保存"
|
279 |
|
280 |
+
#: system/mw_wp_form_admin_page.php:288
|
281 |
msgid "Akismet Setting"
|
282 |
msgstr "Akismet 設定"
|
283 |
|
284 |
+
#: system/mw_wp_form_admin_page.php:303
|
285 |
msgid "Input the key to use Akismet."
|
286 |
msgstr "Akismetを使用する項目のキーを入力してください。"
|
287 |
|
288 |
+
#: system/mw_wp_form_admin_page.php:328 system/mw_wp_form_admin_page.php:370
|
289 |
msgid "Subject"
|
290 |
msgstr "件名"
|
291 |
|
292 |
+
#: system/mw_wp_form_admin_page.php:332 system/mw_wp_form_admin_page.php:374
|
293 |
msgid "Sender"
|
294 |
msgstr "送信者"
|
295 |
|
296 |
+
#: system/mw_wp_form_admin_page.php:334 system/mw_wp_form_admin_page.php:339
|
297 |
+
#: system/mw_wp_form_admin_page.php:367 system/mw_wp_form_admin_page.php:376
|
298 |
+
#: system/mw_wp_form_admin_page.php:381
|
299 |
msgid "If empty:"
|
300 |
msgstr "未入力の場合:"
|
301 |
|
302 |
+
#: system/mw_wp_form_admin_page.php:337 system/mw_wp_form_admin_page.php:379
|
303 |
msgid "From ( E-mail address )"
|
304 |
msgstr "送信元(E-mailアドレス)"
|
305 |
|
306 |
+
#: system/mw_wp_form_admin_page.php:342 system/mw_wp_form_admin_page.php:384
|
307 |
msgid "Ccontent"
|
308 |
msgstr "本文"
|
309 |
|
310 |
+
#: system/mw_wp_form_admin_page.php:344 system/mw_wp_form_admin_page.php:386
|
311 |
msgid "{key} is converted form data."
|
312 |
msgstr "{キー}でそのフォーム項目に変換されます。"
|
313 |
|
314 |
+
#: system/mw_wp_form_admin_page.php:347
|
315 |
msgid "Automatic reply email"
|
316 |
msgstr "自動返信メール"
|
317 |
|
318 |
+
#: system/mw_wp_form_admin_page.php:349
|
319 |
msgid "Input the key to use as transmission to automatic reply email."
|
320 |
msgstr "自動返信メールに使用する項目のキーを入力してください。"
|
321 |
|
322 |
+
#: system/mw_wp_form_admin_page.php:362
|
323 |
msgid ""
|
324 |
"If Admin Email Options is a blank, Automatic Replay Email Options is used as "
|
325 |
"Admin Email Options."
|
327 |
"管理者宛メール設定が空のときは自動返信メール設定が管理者宛メール設定が使用さ"
|
328 |
"れます。"
|
329 |
|
330 |
+
#: system/mw_wp_form_admin_page.php:365
|
331 |
msgid "To ( E-mail address )"
|
332 |
msgstr "送信先(E-mailアドレス)"
|
333 |
|
334 |
+
#: system/mw_wp_form_admin_page.php:401
|
335 |
msgid "Input Page URL"
|
336 |
msgstr "入力画面URL"
|
337 |
|
338 |
+
#: system/mw_wp_form_admin_page.php:407
|
339 |
msgid "Confirmation Page URL"
|
340 |
msgstr "確認画面URL"
|
341 |
|
342 |
+
#: system/mw_wp_form_admin_page.php:413
|
343 |
msgid "Complete Page URL"
|
344 |
msgstr "完了画面URL"
|
345 |
|
346 |
+
#: system/mw_wp_form_admin_page.php:419
|
347 |
msgid "Validation Error Page URL"
|
348 |
msgstr "エラー画面URL"
|
349 |
|
350 |
+
#: system/mw_wp_form_admin_page.php:457
|
351 |
msgid "Add Validation rule"
|
352 |
msgstr "バリデーションルールを追加"
|
353 |
|
354 |
+
#: system/mw_wp_form_admin_page.php:463
|
355 |
msgid "The key which applies validation"
|
356 |
msgstr "バリデーションを適用する項目"
|
357 |
|
358 |
+
#: system/mw_wp_form_admin_page.php:467
|
359 |
msgid "No empty"
|
360 |
msgstr "必須項目"
|
361 |
|
362 |
+
#: system/mw_wp_form_admin_page.php:468
|
363 |
msgid "No empty( with checkbox )"
|
364 |
msgstr "必須項目(チェックボックス)"
|
365 |
|
366 |
+
#: system/mw_wp_form_admin_page.php:469
|
367 |
msgid "Numeric"
|
368 |
msgstr "半角数字"
|
369 |
|
370 |
+
#: system/mw_wp_form_admin_page.php:470
|
371 |
msgid "Alphabet"
|
372 |
msgstr "半角英字"
|
373 |
|
374 |
+
#: system/mw_wp_form_admin_page.php:471
|
375 |
msgid "Alphabet and Numeric"
|
376 |
msgstr "半角英数字"
|
377 |
|
378 |
#: system/mw_wp_form_admin_page.php:472
|
379 |
+
msgid "Japanese Katakana"
|
380 |
+
msgstr "カタカナ"
|
381 |
+
|
382 |
+
#: system/mw_wp_form_admin_page.php:475
|
383 |
msgid "E-mail"
|
384 |
msgstr "メールアドレス"
|
385 |
|
386 |
+
#: system/mw_wp_form_admin_page.php:476
|
387 |
msgid "Date"
|
388 |
msgstr "日付"
|
389 |
|
390 |
+
#: system/mw_wp_form_admin_page.php:480
|
391 |
msgid "The key at same value"
|
392 |
msgstr "一致する項目"
|
393 |
|
394 |
+
#: system/mw_wp_form_admin_page.php:484
|
395 |
msgid "The range of the number of characters"
|
396 |
msgstr "文字数の範囲"
|
397 |
|
398 |
+
#: system/mw_wp_form_admin_page.php:492
|
399 |
msgid "The number of the minimum characters"
|
400 |
msgstr "最小文字数"
|
401 |
|
402 |
+
#: system/mw_wp_form_admin_page.php:496
|
403 |
msgid "Permitted Extension"
|
404 |
msgstr "拡張子制限"
|
405 |
|
406 |
+
#: system/mw_wp_form_admin_page.php:497
|
407 |
msgid "Example:jpg or jpg,txt,…"
|
408 |
msgstr "例:jpg もしくは jpg,txt…"
|
409 |
|
410 |
+
#: system/mw_wp_form_admin_page.php:500
|
411 |
msgid "Permitted file size"
|
412 |
msgstr "サイズ制限"
|
413 |
|
414 |
+
#: system/mw_wp_form_admin_page.php:501
|
415 |
msgid "bytes"
|
416 |
msgstr ""
|
417 |
|
418 |
+
#: system/mw_wp_form_contact_data_page.php:92
|
419 |
msgid "Edit "
|
420 |
msgstr "編集"
|
421 |
|
422 |
+
#: system/mw_wp_form_contact_data_page.php:93
|
423 |
msgid "View"
|
424 |
msgstr "表示"
|
425 |
|
426 |
+
#: system/mw_wp_form_contact_data_page.php:94
|
427 |
msgid "Search"
|
428 |
msgstr "検索"
|
429 |
|
430 |
+
#: system/mw_wp_form_contact_data_page.php:95
|
431 |
msgid "No data found"
|
432 |
msgstr "データがありません"
|
433 |
|
434 |
+
#: system/mw_wp_form_contact_data_page.php:96
|
435 |
msgid "No data found in Trash"
|
436 |
msgstr "ゴミ箱にデータはありません"
|
437 |
|
438 |
+
#: system/mw_wp_form_contact_data_page.php:137
|
439 |
msgid "CSV Download"
|
440 |
msgstr "CSVダウンロード"
|
441 |
|
442 |
+
#: system/mw_wp_form_contact_data_page.php:225
|
443 |
msgid "Custom Fields"
|
444 |
msgstr "カスタムフィールド"
|
445 |
|
446 |
+
#: system/mw_wp_form_contact_data_page.php:249
|
447 |
msgid "Registed Date"
|
448 |
msgstr "登録日時"
|
449 |
|
450 |
+
#: system/mw_wp_form_contact_data_page.php:329
|
451 |
msgid "Memo"
|
452 |
msgstr "メモ"
|
453 |
|
454 |
+
#: system/mw_wp_form_file.php:144
|
455 |
msgid "Uploaded from "
|
456 |
msgstr ""
|
457 |
|
languages/mw-wp-form.pot
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
# This file is distributed under the same license as the MW WP Form package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: MW WP Form 1.0
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/mw-wp-form\n"
|
7 |
-
"POT-Creation-Date: 2013-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -51,7 +51,7 @@ msgstr ""
|
|
51 |
msgid "File"
|
52 |
msgstr ""
|
53 |
|
54 |
-
#: form_fields/mw_form_field_hidden.php:
|
55 |
msgid "Hidden"
|
56 |
msgstr ""
|
57 |
|
@@ -93,7 +93,7 @@ msgstr ""
|
|
93 |
msgid "Confirm & Submit"
|
94 |
msgstr ""
|
95 |
|
96 |
-
#: form_fields/mw_form_field_tel.php:79 system/mw_wp_form_admin_page.php:
|
97 |
msgid "Tel"
|
98 |
msgstr ""
|
99 |
|
@@ -105,7 +105,7 @@ msgstr ""
|
|
105 |
msgid "Textarea"
|
106 |
msgstr ""
|
107 |
|
108 |
-
#: form_fields/mw_form_field_zip.php:79 system/mw_wp_form_admin_page.php:
|
109 |
msgid "Zip Code"
|
110 |
msgstr ""
|
111 |
|
@@ -133,51 +133,55 @@ msgstr ""
|
|
133 |
msgid "Please enter with a half-width alphanumeric character."
|
134 |
msgstr ""
|
135 |
|
136 |
-
#: system/mw_validation.php:
|
|
|
|
|
|
|
|
|
137 |
msgid "This is not the format of a zip code."
|
138 |
msgstr ""
|
139 |
|
140 |
-
#: system/mw_validation.php:
|
141 |
msgid "This is not the format of a tel number."
|
142 |
msgstr ""
|
143 |
|
144 |
-
#: system/mw_validation.php:
|
145 |
msgid "This is not the format of a mail address."
|
146 |
msgstr ""
|
147 |
|
148 |
-
#: system/mw_validation.php:
|
149 |
msgid "This is not the format of a url."
|
150 |
msgstr ""
|
151 |
|
152 |
-
#: system/mw_validation.php:
|
153 |
msgid "This is not in agreement."
|
154 |
msgstr ""
|
155 |
|
156 |
-
#: system/mw_validation.php:
|
157 |
msgid "The number of characters is invalid."
|
158 |
msgstr ""
|
159 |
|
160 |
-
#: system/mw_validation.php:
|
161 |
msgid "The number of characters is a few."
|
162 |
msgstr ""
|
163 |
|
164 |
-
#: system/mw_validation.php:
|
165 |
msgid "This value is invalid."
|
166 |
msgstr ""
|
167 |
|
168 |
-
#: system/mw_validation.php:
|
169 |
msgid "This is not the format of a date."
|
170 |
msgstr ""
|
171 |
|
172 |
-
#: system/mw_validation.php:
|
173 |
msgid "This file is invalid."
|
174 |
msgstr ""
|
175 |
|
176 |
-
#: system/mw_validation.php:
|
177 |
msgid "This file size is too big."
|
178 |
msgstr ""
|
179 |
|
180 |
-
#: system/mw_validation.php:
|
181 |
msgid "The contents which you input were judged with spam."
|
182 |
msgstr ""
|
183 |
|
@@ -217,229 +221,233 @@ msgstr ""
|
|
217 |
msgid "No Forms found in Trash"
|
218 |
msgstr ""
|
219 |
|
220 |
-
#: system/mw_wp_form_admin_page.php:
|
221 |
msgid "Complete Message"
|
222 |
msgstr ""
|
223 |
|
224 |
-
#: system/mw_wp_form_admin_page.php:
|
225 |
msgid "URL Options"
|
226 |
msgstr ""
|
227 |
|
228 |
-
#: system/mw_wp_form_admin_page.php:
|
229 |
msgid "Validation Rule"
|
230 |
msgstr ""
|
231 |
|
232 |
-
#: system/mw_wp_form_admin_page.php:
|
233 |
msgid "Form Key"
|
234 |
msgstr ""
|
235 |
|
236 |
-
#: system/mw_wp_form_admin_page.php:
|
237 |
msgid "Automatic Reply Email Options"
|
238 |
msgstr ""
|
239 |
|
240 |
-
#: system/mw_wp_form_admin_page.php:
|
241 |
msgid "Admin Email Options"
|
242 |
msgstr ""
|
243 |
|
244 |
-
#: system/mw_wp_form_admin_page.php:
|
245 |
msgid "settings"
|
246 |
msgstr ""
|
247 |
|
248 |
-
#: system/mw_wp_form_admin_page.php:
|
249 |
msgid "Copy and Paste this shortcode."
|
250 |
msgstr ""
|
251 |
|
252 |
-
#: system/mw_wp_form_admin_page.php:
|
253 |
msgid "The key to use with hook is "
|
254 |
msgstr ""
|
255 |
|
256 |
-
#: system/mw_wp_form_admin_page.php:
|
257 |
msgid "Activate Query string of post"
|
258 |
msgstr ""
|
259 |
|
260 |
-
#: system/mw_wp_form_admin_page.php:
|
261 |
msgid ""
|
262 |
"If this field is active, MW WP Form get the post as query string \"post_id\" "
|
263 |
"and you can use $post's property in editor"
|
264 |
msgstr ""
|
265 |
|
266 |
-
#: system/mw_wp_form_admin_page.php:
|
267 |
msgid "Example: {ID}, {post_title}, {post_meta} etc..."
|
268 |
msgstr ""
|
269 |
|
270 |
-
#: system/mw_wp_form_admin_page.php:
|
271 |
msgid "Saving contact data in database"
|
272 |
msgstr ""
|
273 |
|
274 |
-
#: system/mw_wp_form_admin_page.php:
|
275 |
msgid "Akismet Setting"
|
276 |
msgstr ""
|
277 |
|
278 |
-
#: system/mw_wp_form_admin_page.php:
|
279 |
msgid "Input the key to use Akismet."
|
280 |
msgstr ""
|
281 |
|
282 |
-
#: system/mw_wp_form_admin_page.php:
|
283 |
msgid "Subject"
|
284 |
msgstr ""
|
285 |
|
286 |
-
#: system/mw_wp_form_admin_page.php:
|
287 |
msgid "Sender"
|
288 |
msgstr ""
|
289 |
|
290 |
-
#: system/mw_wp_form_admin_page.php:
|
291 |
-
#: system/mw_wp_form_admin_page.php:
|
292 |
-
#: system/mw_wp_form_admin_page.php:
|
293 |
msgid "If empty:"
|
294 |
msgstr ""
|
295 |
|
296 |
-
#: system/mw_wp_form_admin_page.php:
|
297 |
msgid "From ( E-mail address )"
|
298 |
msgstr ""
|
299 |
|
300 |
-
#: system/mw_wp_form_admin_page.php:
|
301 |
msgid "Ccontent"
|
302 |
msgstr ""
|
303 |
|
304 |
-
#: system/mw_wp_form_admin_page.php:
|
305 |
msgid "{key} is converted form data."
|
306 |
msgstr ""
|
307 |
|
308 |
-
#: system/mw_wp_form_admin_page.php:
|
309 |
msgid "Automatic reply email"
|
310 |
msgstr ""
|
311 |
|
312 |
-
#: system/mw_wp_form_admin_page.php:
|
313 |
msgid "Input the key to use as transmission to automatic reply email."
|
314 |
msgstr ""
|
315 |
|
316 |
-
#: system/mw_wp_form_admin_page.php:
|
317 |
msgid ""
|
318 |
"If Admin Email Options is a blank, Automatic Replay Email Options is used as "
|
319 |
"Admin Email Options."
|
320 |
msgstr ""
|
321 |
|
322 |
-
#: system/mw_wp_form_admin_page.php:
|
323 |
msgid "To ( E-mail address )"
|
324 |
msgstr ""
|
325 |
|
326 |
-
#: system/mw_wp_form_admin_page.php:
|
327 |
msgid "Input Page URL"
|
328 |
msgstr ""
|
329 |
|
330 |
-
#: system/mw_wp_form_admin_page.php:
|
331 |
msgid "Confirmation Page URL"
|
332 |
msgstr ""
|
333 |
|
334 |
-
#: system/mw_wp_form_admin_page.php:
|
335 |
msgid "Complete Page URL"
|
336 |
msgstr ""
|
337 |
|
338 |
-
#: system/mw_wp_form_admin_page.php:
|
339 |
msgid "Validation Error Page URL"
|
340 |
msgstr ""
|
341 |
|
342 |
-
#: system/mw_wp_form_admin_page.php:
|
343 |
msgid "Add Validation rule"
|
344 |
msgstr ""
|
345 |
|
346 |
-
#: system/mw_wp_form_admin_page.php:
|
347 |
msgid "The key which applies validation"
|
348 |
msgstr ""
|
349 |
|
350 |
-
#: system/mw_wp_form_admin_page.php:
|
351 |
msgid "No empty"
|
352 |
msgstr ""
|
353 |
|
354 |
-
#: system/mw_wp_form_admin_page.php:
|
355 |
msgid "No empty( with checkbox )"
|
356 |
msgstr ""
|
357 |
|
358 |
-
#: system/mw_wp_form_admin_page.php:
|
359 |
msgid "Numeric"
|
360 |
msgstr ""
|
361 |
|
362 |
-
#: system/mw_wp_form_admin_page.php:
|
363 |
msgid "Alphabet"
|
364 |
msgstr ""
|
365 |
|
366 |
-
#: system/mw_wp_form_admin_page.php:
|
367 |
msgid "Alphabet and Numeric"
|
368 |
msgstr ""
|
369 |
|
370 |
#: system/mw_wp_form_admin_page.php:472
|
|
|
|
|
|
|
|
|
371 |
msgid "E-mail"
|
372 |
msgstr ""
|
373 |
|
374 |
-
#: system/mw_wp_form_admin_page.php:
|
375 |
msgid "Date"
|
376 |
msgstr ""
|
377 |
|
378 |
-
#: system/mw_wp_form_admin_page.php:
|
379 |
msgid "The key at same value"
|
380 |
msgstr ""
|
381 |
|
382 |
-
#: system/mw_wp_form_admin_page.php:
|
383 |
msgid "The range of the number of characters"
|
384 |
msgstr ""
|
385 |
|
386 |
-
#: system/mw_wp_form_admin_page.php:
|
387 |
msgid "The number of the minimum characters"
|
388 |
msgstr ""
|
389 |
|
390 |
-
#: system/mw_wp_form_admin_page.php:
|
391 |
msgid "Permitted Extension"
|
392 |
msgstr ""
|
393 |
|
394 |
-
#: system/mw_wp_form_admin_page.php:
|
395 |
msgid "Example:jpg or jpg,txt,…"
|
396 |
msgstr ""
|
397 |
|
398 |
-
#: system/mw_wp_form_admin_page.php:
|
399 |
msgid "Permitted file size"
|
400 |
msgstr ""
|
401 |
|
402 |
-
#: system/mw_wp_form_admin_page.php:
|
403 |
msgid "bytes"
|
404 |
msgstr ""
|
405 |
|
406 |
-
#: system/mw_wp_form_contact_data_page.php:
|
407 |
msgid "Edit "
|
408 |
msgstr ""
|
409 |
|
410 |
-
#: system/mw_wp_form_contact_data_page.php:
|
411 |
msgid "View"
|
412 |
msgstr ""
|
413 |
|
414 |
-
#: system/mw_wp_form_contact_data_page.php:
|
415 |
msgid "Search"
|
416 |
msgstr ""
|
417 |
|
418 |
-
#: system/mw_wp_form_contact_data_page.php:
|
419 |
msgid "No data found"
|
420 |
msgstr ""
|
421 |
|
422 |
-
#: system/mw_wp_form_contact_data_page.php:
|
423 |
msgid "No data found in Trash"
|
424 |
msgstr ""
|
425 |
|
426 |
-
#: system/mw_wp_form_contact_data_page.php:
|
427 |
msgid "CSV Download"
|
428 |
msgstr ""
|
429 |
|
430 |
-
#: system/mw_wp_form_contact_data_page.php:
|
431 |
msgid "Custom Fields"
|
432 |
msgstr ""
|
433 |
|
434 |
-
#: system/mw_wp_form_contact_data_page.php:
|
435 |
msgid "Registed Date"
|
436 |
msgstr ""
|
437 |
|
438 |
-
#: system/mw_wp_form_contact_data_page.php:
|
439 |
msgid "Memo"
|
440 |
msgstr ""
|
441 |
|
442 |
-
#: system/mw_wp_form_file.php:
|
443 |
msgid "Uploaded from "
|
444 |
msgstr ""
|
445 |
|
2 |
# This file is distributed under the same license as the MW WP Form package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: MW WP Form 1.1.0\n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/mw-wp-form\n"
|
7 |
+
"POT-Creation-Date: 2013-11-06 10:18:26+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
51 |
msgid "File"
|
52 |
msgstr ""
|
53 |
|
54 |
+
#: form_fields/mw_form_field_hidden.php:82
|
55 |
msgid "Hidden"
|
56 |
msgstr ""
|
57 |
|
93 |
msgid "Confirm & Submit"
|
94 |
msgstr ""
|
95 |
|
96 |
+
#: form_fields/mw_form_field_tel.php:79 system/mw_wp_form_admin_page.php:474
|
97 |
msgid "Tel"
|
98 |
msgstr ""
|
99 |
|
105 |
msgid "Textarea"
|
106 |
msgstr ""
|
107 |
|
108 |
+
#: form_fields/mw_form_field_zip.php:79 system/mw_wp_form_admin_page.php:473
|
109 |
msgid "Zip Code"
|
110 |
msgstr ""
|
111 |
|
133 |
msgid "Please enter with a half-width alphanumeric character."
|
134 |
msgstr ""
|
135 |
|
136 |
+
#: system/mw_validation.php:204
|
137 |
+
msgid "Please enter with a Japanese Katakana."
|
138 |
+
msgstr ""
|
139 |
+
|
140 |
+
#: system/mw_validation.php:224
|
141 |
msgid "This is not the format of a zip code."
|
142 |
msgstr ""
|
143 |
|
144 |
+
#: system/mw_validation.php:249
|
145 |
msgid "This is not the format of a tel number."
|
146 |
msgstr ""
|
147 |
|
148 |
+
#: system/mw_validation.php:281
|
149 |
msgid "This is not the format of a mail address."
|
150 |
msgstr ""
|
151 |
|
152 |
+
#: system/mw_validation.php:303
|
153 |
msgid "This is not the format of a url."
|
154 |
msgstr ""
|
155 |
|
156 |
+
#: system/mw_validation.php:324
|
157 |
msgid "This is not in agreement."
|
158 |
msgstr ""
|
159 |
|
160 |
+
#: system/mw_validation.php:350
|
161 |
msgid "The number of characters is invalid."
|
162 |
msgstr ""
|
163 |
|
164 |
+
#: system/mw_validation.php:388
|
165 |
msgid "The number of characters is a few."
|
166 |
msgstr ""
|
167 |
|
168 |
+
#: system/mw_validation.php:414
|
169 |
msgid "This value is invalid."
|
170 |
msgstr ""
|
171 |
|
172 |
+
#: system/mw_validation.php:438
|
173 |
msgid "This is not the format of a date."
|
174 |
msgstr ""
|
175 |
|
176 |
+
#: system/mw_validation.php:468
|
177 |
msgid "This file is invalid."
|
178 |
msgstr ""
|
179 |
|
180 |
+
#: system/mw_validation.php:498
|
181 |
msgid "This file size is too big."
|
182 |
msgstr ""
|
183 |
|
184 |
+
#: system/mw_validation.php:518
|
185 |
msgid "The contents which you input were judged with spam."
|
186 |
msgstr ""
|
187 |
|
221 |
msgid "No Forms found in Trash"
|
222 |
msgstr ""
|
223 |
|
224 |
+
#: system/mw_wp_form_admin_page.php:103
|
225 |
msgid "Complete Message"
|
226 |
msgstr ""
|
227 |
|
228 |
+
#: system/mw_wp_form_admin_page.php:110
|
229 |
msgid "URL Options"
|
230 |
msgstr ""
|
231 |
|
232 |
+
#: system/mw_wp_form_admin_page.php:117
|
233 |
msgid "Validation Rule"
|
234 |
msgstr ""
|
235 |
|
236 |
+
#: system/mw_wp_form_admin_page.php:124
|
237 |
msgid "Form Key"
|
238 |
msgstr ""
|
239 |
|
240 |
+
#: system/mw_wp_form_admin_page.php:131
|
241 |
msgid "Automatic Reply Email Options"
|
242 |
msgstr ""
|
243 |
|
244 |
+
#: system/mw_wp_form_admin_page.php:138
|
245 |
msgid "Admin Email Options"
|
246 |
msgstr ""
|
247 |
|
248 |
+
#: system/mw_wp_form_admin_page.php:145
|
249 |
msgid "settings"
|
250 |
msgstr ""
|
251 |
|
252 |
+
#: system/mw_wp_form_admin_page.php:264
|
253 |
msgid "Copy and Paste this shortcode."
|
254 |
msgstr ""
|
255 |
|
256 |
+
#: system/mw_wp_form_admin_page.php:265
|
257 |
msgid "The key to use with hook is "
|
258 |
msgstr ""
|
259 |
|
260 |
+
#: system/mw_wp_form_admin_page.php:279
|
261 |
msgid "Activate Query string of post"
|
262 |
msgstr ""
|
263 |
|
264 |
+
#: system/mw_wp_form_admin_page.php:280
|
265 |
msgid ""
|
266 |
"If this field is active, MW WP Form get the post as query string \"post_id\" "
|
267 |
"and you can use $post's property in editor"
|
268 |
msgstr ""
|
269 |
|
270 |
+
#: system/mw_wp_form_admin_page.php:281
|
271 |
msgid "Example: {ID}, {post_title}, {post_meta} etc..."
|
272 |
msgstr ""
|
273 |
|
274 |
+
#: system/mw_wp_form_admin_page.php:284
|
275 |
msgid "Saving contact data in database"
|
276 |
msgstr ""
|
277 |
|
278 |
+
#: system/mw_wp_form_admin_page.php:288
|
279 |
msgid "Akismet Setting"
|
280 |
msgstr ""
|
281 |
|
282 |
+
#: system/mw_wp_form_admin_page.php:303
|
283 |
msgid "Input the key to use Akismet."
|
284 |
msgstr ""
|
285 |
|
286 |
+
#: system/mw_wp_form_admin_page.php:328 system/mw_wp_form_admin_page.php:370
|
287 |
msgid "Subject"
|
288 |
msgstr ""
|
289 |
|
290 |
+
#: system/mw_wp_form_admin_page.php:332 system/mw_wp_form_admin_page.php:374
|
291 |
msgid "Sender"
|
292 |
msgstr ""
|
293 |
|
294 |
+
#: system/mw_wp_form_admin_page.php:334 system/mw_wp_form_admin_page.php:339
|
295 |
+
#: system/mw_wp_form_admin_page.php:367 system/mw_wp_form_admin_page.php:376
|
296 |
+
#: system/mw_wp_form_admin_page.php:381
|
297 |
msgid "If empty:"
|
298 |
msgstr ""
|
299 |
|
300 |
+
#: system/mw_wp_form_admin_page.php:337 system/mw_wp_form_admin_page.php:379
|
301 |
msgid "From ( E-mail address )"
|
302 |
msgstr ""
|
303 |
|
304 |
+
#: system/mw_wp_form_admin_page.php:342 system/mw_wp_form_admin_page.php:384
|
305 |
msgid "Ccontent"
|
306 |
msgstr ""
|
307 |
|
308 |
+
#: system/mw_wp_form_admin_page.php:344 system/mw_wp_form_admin_page.php:386
|
309 |
msgid "{key} is converted form data."
|
310 |
msgstr ""
|
311 |
|
312 |
+
#: system/mw_wp_form_admin_page.php:347
|
313 |
msgid "Automatic reply email"
|
314 |
msgstr ""
|
315 |
|
316 |
+
#: system/mw_wp_form_admin_page.php:349
|
317 |
msgid "Input the key to use as transmission to automatic reply email."
|
318 |
msgstr ""
|
319 |
|
320 |
+
#: system/mw_wp_form_admin_page.php:362
|
321 |
msgid ""
|
322 |
"If Admin Email Options is a blank, Automatic Replay Email Options is used as "
|
323 |
"Admin Email Options."
|
324 |
msgstr ""
|
325 |
|
326 |
+
#: system/mw_wp_form_admin_page.php:365
|
327 |
msgid "To ( E-mail address )"
|
328 |
msgstr ""
|
329 |
|
330 |
+
#: system/mw_wp_form_admin_page.php:401
|
331 |
msgid "Input Page URL"
|
332 |
msgstr ""
|
333 |
|
334 |
+
#: system/mw_wp_form_admin_page.php:407
|
335 |
msgid "Confirmation Page URL"
|
336 |
msgstr ""
|
337 |
|
338 |
+
#: system/mw_wp_form_admin_page.php:413
|
339 |
msgid "Complete Page URL"
|
340 |
msgstr ""
|
341 |
|
342 |
+
#: system/mw_wp_form_admin_page.php:419
|
343 |
msgid "Validation Error Page URL"
|
344 |
msgstr ""
|
345 |
|
346 |
+
#: system/mw_wp_form_admin_page.php:457
|
347 |
msgid "Add Validation rule"
|
348 |
msgstr ""
|
349 |
|
350 |
+
#: system/mw_wp_form_admin_page.php:463
|
351 |
msgid "The key which applies validation"
|
352 |
msgstr ""
|
353 |
|
354 |
+
#: system/mw_wp_form_admin_page.php:467
|
355 |
msgid "No empty"
|
356 |
msgstr ""
|
357 |
|
358 |
+
#: system/mw_wp_form_admin_page.php:468
|
359 |
msgid "No empty( with checkbox )"
|
360 |
msgstr ""
|
361 |
|
362 |
+
#: system/mw_wp_form_admin_page.php:469
|
363 |
msgid "Numeric"
|
364 |
msgstr ""
|
365 |
|
366 |
+
#: system/mw_wp_form_admin_page.php:470
|
367 |
msgid "Alphabet"
|
368 |
msgstr ""
|
369 |
|
370 |
+
#: system/mw_wp_form_admin_page.php:471
|
371 |
msgid "Alphabet and Numeric"
|
372 |
msgstr ""
|
373 |
|
374 |
#: system/mw_wp_form_admin_page.php:472
|
375 |
+
msgid "Japanese Katakana"
|
376 |
+
msgstr ""
|
377 |
+
|
378 |
+
#: system/mw_wp_form_admin_page.php:475
|
379 |
msgid "E-mail"
|
380 |
msgstr ""
|
381 |
|
382 |
+
#: system/mw_wp_form_admin_page.php:476
|
383 |
msgid "Date"
|
384 |
msgstr ""
|
385 |
|
386 |
+
#: system/mw_wp_form_admin_page.php:480
|
387 |
msgid "The key at same value"
|
388 |
msgstr ""
|
389 |
|
390 |
+
#: system/mw_wp_form_admin_page.php:484
|
391 |
msgid "The range of the number of characters"
|
392 |
msgstr ""
|
393 |
|
394 |
+
#: system/mw_wp_form_admin_page.php:492
|
395 |
msgid "The number of the minimum characters"
|
396 |
msgstr ""
|
397 |
|
398 |
+
#: system/mw_wp_form_admin_page.php:496
|
399 |
msgid "Permitted Extension"
|
400 |
msgstr ""
|
401 |
|
402 |
+
#: system/mw_wp_form_admin_page.php:497
|
403 |
msgid "Example:jpg or jpg,txt,…"
|
404 |
msgstr ""
|
405 |
|
406 |
+
#: system/mw_wp_form_admin_page.php:500
|
407 |
msgid "Permitted file size"
|
408 |
msgstr ""
|
409 |
|
410 |
+
#: system/mw_wp_form_admin_page.php:501
|
411 |
msgid "bytes"
|
412 |
msgstr ""
|
413 |
|
414 |
+
#: system/mw_wp_form_contact_data_page.php:92
|
415 |
msgid "Edit "
|
416 |
msgstr ""
|
417 |
|
418 |
+
#: system/mw_wp_form_contact_data_page.php:93
|
419 |
msgid "View"
|
420 |
msgstr ""
|
421 |
|
422 |
+
#: system/mw_wp_form_contact_data_page.php:94
|
423 |
msgid "Search"
|
424 |
msgstr ""
|
425 |
|
426 |
+
#: system/mw_wp_form_contact_data_page.php:95
|
427 |
msgid "No data found"
|
428 |
msgstr ""
|
429 |
|
430 |
+
#: system/mw_wp_form_contact_data_page.php:96
|
431 |
msgid "No data found in Trash"
|
432 |
msgstr ""
|
433 |
|
434 |
+
#: system/mw_wp_form_contact_data_page.php:137
|
435 |
msgid "CSV Download"
|
436 |
msgstr ""
|
437 |
|
438 |
+
#: system/mw_wp_form_contact_data_page.php:225
|
439 |
msgid "Custom Fields"
|
440 |
msgstr ""
|
441 |
|
442 |
+
#: system/mw_wp_form_contact_data_page.php:249
|
443 |
msgid "Registed Date"
|
444 |
msgstr ""
|
445 |
|
446 |
+
#: system/mw_wp_form_contact_data_page.php:329
|
447 |
msgid "Memo"
|
448 |
msgstr ""
|
449 |
|
450 |
+
#: system/mw_wp_form_file.php:144
|
451 |
msgid "Uploaded from "
|
452 |
msgstr ""
|
453 |
|
mw-wp-form.php
CHANGED
@@ -3,11 +3,11 @@
|
|
3 |
* Plugin Name: MW WP Form
|
4 |
* Plugin URI: http://2inc.org/blog/category/products/wordpress_plugins/mw-wp-form/
|
5 |
* Description: MW WP Form can create mail form with a confirmation screen.
|
6 |
-
* Version: 1.0
|
7 |
* Author: Takashi Kitajima
|
8 |
* Author URI: http://2inc.org
|
9 |
* Created: September 25, 2012
|
10 |
-
* Modified: October
|
11 |
* Text Domain: mw-wp-form
|
12 |
* Domain Path: /languages/
|
13 |
* License: GPL2
|
3 |
* Plugin Name: MW WP Form
|
4 |
* Plugin URI: http://2inc.org/blog/category/products/wordpress_plugins/mw-wp-form/
|
5 |
* Description: MW WP Form can create mail form with a confirmation screen.
|
6 |
+
* Version: 1.1.0
|
7 |
* Author: Takashi Kitajima
|
8 |
* Author URI: http://2inc.org
|
9 |
* Created: September 25, 2012
|
10 |
+
* Modified: October 31, 2013
|
11 |
* Text Domain: mw-wp-form
|
12 |
* Domain Path: /languages/
|
13 |
* License: GPL2
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.amazon.co.jp/registry/wishlist/39ANKRNSTNW40
|
|
4 |
Tags: plugin, form, confirm, preview, shortcode
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 3.6.1
|
7 |
-
Stable tag: 1.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -37,6 +37,13 @@ http://2inc.org/blog/category/products/wordpress_plugins/mw-wp-form/
|
|
37 |
|
38 |
== Changelog ==
|
39 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
= 1.0.4 =
|
41 |
* Bug fix: 画像以外の添付ファイルがカスタムフィールドに表示されないバグを修正
|
42 |
* Bug fix: 動画アップロード時にFatal Errorがでるバグを修正
|
4 |
Tags: plugin, form, confirm, preview, shortcode
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 3.6.1
|
7 |
+
Stable tag: 1.1.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
37 |
|
38 |
== Changelog ==
|
39 |
|
40 |
+
= 1.1.0 =
|
41 |
+
* Added : mwform_value_識別子 フィルターフック追加
|
42 |
+
* Added : mwform_hidden の引数 echo を追加( true or false )
|
43 |
+
* Added : カタカナ バリデーション項目を追加
|
44 |
+
* Cahged : 管理画面メニュー表示、設定保存の権限を変更(edit_pagesに統一)
|
45 |
+
* Bug fix: 複数のMIMEタイプをとりえる拡張子を持つファイルのアップロードに対応(avi、mp3、mpg)
|
46 |
+
|
47 |
= 1.0.4 =
|
48 |
* Bug fix: 画像以外の添付ファイルがカスタムフィールドに表示されないバグを修正
|
49 |
* Bug fix: 動画アップロード時にFatal Errorがでるバグを修正
|
system/mw_form_field.php
CHANGED
@@ -3,11 +3,11 @@
|
|
3 |
* Name: MW Form Field
|
4 |
* URI: http://2inc.org
|
5 |
* Description: フォームフィールドの抽象クラス
|
6 |
-
* Version: 1.
|
7 |
* Author: Takashi Kitajima
|
8 |
* Author URI: http://2inc.org
|
9 |
* Created: December 14, 2012
|
10 |
-
* Modified:
|
11 |
* License: GPL2
|
12 |
*
|
13 |
* Copyright 2013 Takashi Kitajima (email : inc@2inc.org)
|
@@ -96,6 +96,9 @@ abstract class mw_form_field {
|
|
96 |
*/
|
97 |
abstract protected function inputPage();
|
98 |
public function _inputPage( $atts ) {
|
|
|
|
|
|
|
99 |
$this->atts = shortcode_atts( $this->defaults, $atts );
|
100 |
return $this->inputPage();
|
101 |
}
|
3 |
* Name: MW Form Field
|
4 |
* URI: http://2inc.org
|
5 |
* Description: フォームフィールドの抽象クラス
|
6 |
+
* Version: 1.3
|
7 |
* Author: Takashi Kitajima
|
8 |
* Author URI: http://2inc.org
|
9 |
* Created: December 14, 2012
|
10 |
+
* Modified: December 5, 2013
|
11 |
* License: GPL2
|
12 |
*
|
13 |
* Copyright 2013 Takashi Kitajima (email : inc@2inc.org)
|
96 |
*/
|
97 |
abstract protected function inputPage();
|
98 |
public function _inputPage( $atts ) {
|
99 |
+
if ( isset( $this->defaults['value'], $atts['name'] ) && !isset( $atts['value'] ) ) {
|
100 |
+
$atts['value'] = apply_filters( 'mwform_value_' . $this->key, $this->defaults['value'], $atts['name'] );
|
101 |
+
}
|
102 |
$this->atts = shortcode_atts( $this->defaults, $atts );
|
103 |
return $this->inputPage();
|
104 |
}
|
system/mw_validation.php
CHANGED
@@ -3,11 +3,11 @@
|
|
3 |
* Name: MW Validation
|
4 |
* URI: http://2inc.org
|
5 |
* Description: バリデーションクラス
|
6 |
-
* Version: 1.
|
7 |
* Author: Takashi Kitajima
|
8 |
* Author URI: http://2inc.org
|
9 |
* Created : July 20, 2012
|
10 |
-
* Modified:
|
11 |
* License: GPL2
|
12 |
*
|
13 |
* Copyright 2013 Takashi Kitajima (email : inc@2inc.org)
|
@@ -187,6 +187,28 @@ class MW_Validation {
|
|
187 |
return $_ret;
|
188 |
}
|
189 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
190 |
/**
|
191 |
* zip
|
192 |
* 値が郵便番号
|
3 |
* Name: MW Validation
|
4 |
* URI: http://2inc.org
|
5 |
* Description: バリデーションクラス
|
6 |
+
* Version: 1.5
|
7 |
* Author: Takashi Kitajima
|
8 |
* Author URI: http://2inc.org
|
9 |
* Created : July 20, 2012
|
10 |
+
* Modified: December 5, 2013
|
11 |
* License: GPL2
|
12 |
*
|
13 |
* Copyright 2013 Takashi Kitajima (email : inc@2inc.org)
|
187 |
return $_ret;
|
188 |
}
|
189 |
|
190 |
+
/**
|
191 |
+
* katakana
|
192 |
+
* 値がカタカナ
|
193 |
+
* @param String キー
|
194 |
+
* Array ( 'message' => )
|
195 |
+
* @return String エラーメッセージ
|
196 |
+
*/
|
197 |
+
public function katakana( $key, $options = array() ) {
|
198 |
+
$_ret = '';
|
199 |
+
$value = $this->getValue( $key );
|
200 |
+
if ( is_array( $value ) )
|
201 |
+
$value = implode( $this->getSeparatorValue( $key ), $value );
|
202 |
+
if ( isset( $value ) && !preg_match( '/[ァ-ヾ]+$/u', $value ) && !$this->isEmpty( $value ) ) {
|
203 |
+
$defaults = array(
|
204 |
+
'message' => __( 'Please enter with a Japanese Katakana.', MWF_Config::DOMAIN )
|
205 |
+
);
|
206 |
+
$options = array_merge( $defaults, $options );
|
207 |
+
$_ret = $options['message'];
|
208 |
+
}
|
209 |
+
return $_ret;
|
210 |
+
}
|
211 |
+
|
212 |
/**
|
213 |
* zip
|
214 |
* 値が郵便番号
|
system/mw_wp_form_admin_page.php
CHANGED
@@ -3,11 +3,11 @@
|
|
3 |
* Name: MW WP Form Admin Page
|
4 |
* URI: http://2inc.org
|
5 |
* Description: 管理画面クラス
|
6 |
-
* Version: 1.
|
7 |
* Author: Takashi Kitajima
|
8 |
* Author URI: http://2inc.org
|
9 |
* Created : February 21, 2013
|
10 |
-
* Modified:
|
11 |
* License: GPL2
|
12 |
*
|
13 |
* Copyright 2013 Takashi Kitajima (email : inc@2inc.org)
|
@@ -82,6 +82,7 @@ class MW_WP_Form_Admin_Page {
|
|
82 |
'not_found' => __( 'No Forms found', MWF_Config::DOMAIN ),
|
83 |
'not_found_in_trash' => __( 'No Forms found in Trash', MWF_Config::DOMAIN ),
|
84 |
),
|
|
|
85 |
'public' => false,
|
86 |
'show_ui' => true,
|
87 |
) );
|
@@ -201,7 +202,7 @@ class MW_WP_Form_Admin_Page {
|
|
201 |
return $post_ID;
|
202 |
if ( !wp_verify_nonce( $_POST[MWF_Config::NAME . '_nonce'], MWF_Config::NAME ) )
|
203 |
return $post_ID;
|
204 |
-
if ( !current_user_can( '
|
205 |
return $post_ID;
|
206 |
|
207 |
$data = $_POST[MWF_Config::NAME];
|
@@ -439,6 +440,7 @@ class MW_WP_Form_Admin_Page {
|
|
439 |
'numeric' => '',
|
440 |
'alpha' => '',
|
441 |
'alphanumeric' => '',
|
|
|
442 |
'zip' => '',
|
443 |
'tel' => '',
|
444 |
'mail' => '',
|
@@ -467,6 +469,7 @@ class MW_WP_Form_Admin_Page {
|
|
467 |
<label><input type="checkbox" <?php checked( $value['numeric'], 1 ); ?> name="<?php echo MWF_Config::NAME; ?>[validation][<?php echo $key; ?>][numeric]" value="1" /><?php _e( 'Numeric', MWF_Config::DOMAIN ); ?></label>
|
468 |
<label><input type="checkbox" <?php checked( $value['alpha'], 1 ); ?> name="<?php echo MWF_Config::NAME; ?>[validation][<?php echo $key; ?>][alpha]" value="1" /><?php _e( 'Alphabet', MWF_Config::DOMAIN ); ?></label>
|
469 |
<label><input type="checkbox" <?php checked( $value['alphanumeric'], 1 ); ?> name="<?php echo MWF_Config::NAME; ?>[validation][<?php echo $key; ?>][alphanumeric]" value="1" /><?php _e( 'Alphabet and Numeric', MWF_Config::DOMAIN ); ?></label>
|
|
|
470 |
<label><input type="checkbox" <?php checked( $value['zip'], 1 ); ?> name="<?php echo MWF_Config::NAME; ?>[validation][<?php echo $key; ?>][zip]" value="1" /><?php _e( 'Zip Code', MWF_Config::DOMAIN ); ?></label>
|
471 |
<label><input type="checkbox" <?php checked( $value['tel'], 1 ); ?> name="<?php echo MWF_Config::NAME; ?>[validation][<?php echo $key; ?>][tel]" value="1" /><?php _e( 'Tel', MWF_Config::DOMAIN ); ?></label>
|
472 |
<label><input type="checkbox" <?php checked( $value['mail'], 1 ); ?> name="<?php echo MWF_Config::NAME; ?>[validation][<?php echo $key; ?>][mail]" value="1" /><?php _e( 'E-mail', MWF_Config::DOMAIN ); ?></label>
|
3 |
* Name: MW WP Form Admin Page
|
4 |
* URI: http://2inc.org
|
5 |
* Description: 管理画面クラス
|
6 |
+
* Version: 1.6.0
|
7 |
* Author: Takashi Kitajima
|
8 |
* Author URI: http://2inc.org
|
9 |
* Created : February 21, 2013
|
10 |
+
* Modified: December 5, 2013
|
11 |
* License: GPL2
|
12 |
*
|
13 |
* Copyright 2013 Takashi Kitajima (email : inc@2inc.org)
|
82 |
'not_found' => __( 'No Forms found', MWF_Config::DOMAIN ),
|
83 |
'not_found_in_trash' => __( 'No Forms found in Trash', MWF_Config::DOMAIN ),
|
84 |
),
|
85 |
+
'capability_type' => 'page',
|
86 |
'public' => false,
|
87 |
'show_ui' => true,
|
88 |
) );
|
202 |
return $post_ID;
|
203 |
if ( !wp_verify_nonce( $_POST[MWF_Config::NAME . '_nonce'], MWF_Config::NAME ) )
|
204 |
return $post_ID;
|
205 |
+
if ( !current_user_can( 'edit_pages' ) )
|
206 |
return $post_ID;
|
207 |
|
208 |
$data = $_POST[MWF_Config::NAME];
|
440 |
'numeric' => '',
|
441 |
'alpha' => '',
|
442 |
'alphanumeric' => '',
|
443 |
+
'katakana' => '',
|
444 |
'zip' => '',
|
445 |
'tel' => '',
|
446 |
'mail' => '',
|
469 |
<label><input type="checkbox" <?php checked( $value['numeric'], 1 ); ?> name="<?php echo MWF_Config::NAME; ?>[validation][<?php echo $key; ?>][numeric]" value="1" /><?php _e( 'Numeric', MWF_Config::DOMAIN ); ?></label>
|
470 |
<label><input type="checkbox" <?php checked( $value['alpha'], 1 ); ?> name="<?php echo MWF_Config::NAME; ?>[validation][<?php echo $key; ?>][alpha]" value="1" /><?php _e( 'Alphabet', MWF_Config::DOMAIN ); ?></label>
|
471 |
<label><input type="checkbox" <?php checked( $value['alphanumeric'], 1 ); ?> name="<?php echo MWF_Config::NAME; ?>[validation][<?php echo $key; ?>][alphanumeric]" value="1" /><?php _e( 'Alphabet and Numeric', MWF_Config::DOMAIN ); ?></label>
|
472 |
+
<label><input type="checkbox" <?php checked( $value['katakana'], 1 ); ?> name="<?php echo MWF_Config::NAME; ?>[validation][<?php echo $key; ?>][katakana]" value="1" /><?php _e( 'Japanese Katakana', MWF_Config::DOMAIN ); ?></label>
|
473 |
<label><input type="checkbox" <?php checked( $value['zip'], 1 ); ?> name="<?php echo MWF_Config::NAME; ?>[validation][<?php echo $key; ?>][zip]" value="1" /><?php _e( 'Zip Code', MWF_Config::DOMAIN ); ?></label>
|
474 |
<label><input type="checkbox" <?php checked( $value['tel'], 1 ); ?> name="<?php echo MWF_Config::NAME; ?>[validation][<?php echo $key; ?>][tel]" value="1" /><?php _e( 'Tel', MWF_Config::DOMAIN ); ?></label>
|
475 |
<label><input type="checkbox" <?php checked( $value['mail'], 1 ); ?> name="<?php echo MWF_Config::NAME; ?>[validation][<?php echo $key; ?>][mail]" value="1" /><?php _e( 'E-mail', MWF_Config::DOMAIN ); ?></label>
|
system/mw_wp_form_contact_data_page.php
CHANGED
@@ -3,11 +3,11 @@
|
|
3 |
* Name: MW WP Form Contact Data Page
|
4 |
* URI: http://2inc.org
|
5 |
* Description: DB保存データを扱うクラス
|
6 |
-
* Version: 1.0.
|
7 |
* Author: Takashi Kitajima
|
8 |
* Author URI: http://2inc.org
|
9 |
* Created : October 10, 2013
|
10 |
-
* Modified:
|
11 |
* License: GPL2
|
12 |
*
|
13 |
* Copyright 2013 Takashi Kitajima (email : inc@2inc.org)
|
@@ -95,6 +95,7 @@ class MW_WP_Form_Contact_Data_Page {
|
|
95 |
'not_found' => __( 'No data found', MWF_Config::DOMAIN ),
|
96 |
'not_found_in_trash' => __( 'No data found in Trash', MWF_Config::DOMAIN ),
|
97 |
),
|
|
|
98 |
'public' => false,
|
99 |
'show_ui' => true,
|
100 |
'show_in_menu' => 'edit.php?post_type=' . MWF_Config::NAME,
|
@@ -342,7 +343,7 @@ class MW_WP_Form_Contact_Data_Page {
|
|
342 |
return $post_ID;
|
343 |
if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE )
|
344 |
return $post_ID;
|
345 |
-
if ( !current_user_can( '
|
346 |
return $post_ID;
|
347 |
|
348 |
// 保存可能なキー
|
3 |
* Name: MW WP Form Contact Data Page
|
4 |
* URI: http://2inc.org
|
5 |
* Description: DB保存データを扱うクラス
|
6 |
+
* Version: 1.0.2
|
7 |
* Author: Takashi Kitajima
|
8 |
* Author URI: http://2inc.org
|
9 |
* Created : October 10, 2013
|
10 |
+
* Modified: December 6, 2013
|
11 |
* License: GPL2
|
12 |
*
|
13 |
* Copyright 2013 Takashi Kitajima (email : inc@2inc.org)
|
95 |
'not_found' => __( 'No data found', MWF_Config::DOMAIN ),
|
96 |
'not_found_in_trash' => __( 'No data found in Trash', MWF_Config::DOMAIN ),
|
97 |
),
|
98 |
+
'capability_type' => 'page',
|
99 |
'public' => false,
|
100 |
'show_ui' => true,
|
101 |
'show_in_menu' => 'edit.php?post_type=' . MWF_Config::NAME,
|
343 |
return $post_ID;
|
344 |
if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE )
|
345 |
return $post_ID;
|
346 |
+
if ( !current_user_can( 'edit_pages' ) )
|
347 |
return $post_ID;
|
348 |
|
349 |
// 保存可能なキー
|
system/mw_wp_form_file.php
CHANGED
@@ -3,11 +3,11 @@
|
|
3 |
* Name: MW WP Form File
|
4 |
* URI: http://2inc.org
|
5 |
* Description: Tempディレクトリ、ファイルアップロードの処理を行うクラス
|
6 |
-
* Version: 1.0.
|
7 |
* Author: Takashi Kitajima
|
8 |
* Author URI: http://2inc.org
|
9 |
* Created : October 10, 2013
|
10 |
-
* Modified: October
|
11 |
* License: GPL2
|
12 |
*
|
13 |
* Copyright 2013 Takashi Kitajima (email : inc@2inc.org)
|
@@ -49,11 +49,43 @@ class MW_WP_Form_File {
|
|
49 |
if ( empty( $wp_check_filetype['type'] ) )
|
50 |
return false;
|
51 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
if ( version_compare( phpversion(), '5.3.0' ) >= 0 ) {
|
53 |
$finfo = new finfo( FILEINFO_MIME_TYPE );
|
54 |
$type = $finfo->file( $filepath );
|
55 |
-
if (
|
56 |
-
|
|
|
|
|
|
|
|
|
|
|
57 |
}
|
58 |
return true;
|
59 |
}
|
3 |
* Name: MW WP Form File
|
4 |
* URI: http://2inc.org
|
5 |
* Description: Tempディレクトリ、ファイルアップロードの処理を行うクラス
|
6 |
+
* Version: 1.0.2
|
7 |
* Author: Takashi Kitajima
|
8 |
* Author URI: http://2inc.org
|
9 |
* Created : October 10, 2013
|
10 |
+
* Modified: October 31, 2013
|
11 |
* License: GPL2
|
12 |
*
|
13 |
* Copyright 2013 Takashi Kitajima (email : inc@2inc.org)
|
49 |
if ( empty( $wp_check_filetype['type'] ) )
|
50 |
return false;
|
51 |
|
52 |
+
// 1つの拡張子に対し複数のMIMEタイプを持つファイルの対応
|
53 |
+
switch ( $wp_check_filetype['ext'] ) {
|
54 |
+
case 'avi' :
|
55 |
+
$wp_check_filetype['type'] = array(
|
56 |
+
'application/x-troff-msvideo',
|
57 |
+
'video/avi',
|
58 |
+
'video/msvideo',
|
59 |
+
'video/x-msvideo',
|
60 |
+
);
|
61 |
+
break;
|
62 |
+
case 'mp3' :
|
63 |
+
$wp_check_filetype['type'] = array(
|
64 |
+
'audio/mpeg3',
|
65 |
+
'audio/x-mpeg3',
|
66 |
+
'video/mpeg',
|
67 |
+
'video/x-mpeg',
|
68 |
+
'audio/mpeg',
|
69 |
+
);
|
70 |
+
break;
|
71 |
+
case 'mpg' :
|
72 |
+
$wp_check_filetype['type'] = array(
|
73 |
+
'audio/mpeg',
|
74 |
+
'video/mpeg',
|
75 |
+
);
|
76 |
+
break;
|
77 |
+
}
|
78 |
+
|
79 |
if ( version_compare( phpversion(), '5.3.0' ) >= 0 ) {
|
80 |
$finfo = new finfo( FILEINFO_MIME_TYPE );
|
81 |
$type = $finfo->file( $filepath );
|
82 |
+
if ( is_array( $wp_check_filetype['type'] ) ) {
|
83 |
+
if ( !( $finfo !== false && in_array( $type, $wp_check_filetype['type'] ) ) )
|
84 |
+
return false;
|
85 |
+
} else {
|
86 |
+
if ( !( $finfo !== false && $type === $wp_check_filetype['type'] ) )
|
87 |
+
return false;
|
88 |
+
}
|
89 |
}
|
90 |
return true;
|
91 |
}
|