Version Description
- Added : Add scrolling of screen transition setting.
- Added : Add filter_hook mwform_scroll_offset_mw-wp-form-xxx.
- Added : Support auto tracking number.
- Added : Add filter_hook mwform_tracking_number_title_mw-wp-form-xxx.
Download this release
Release Info
Developer | inc2734 |
Plugin | MW WP Form |
Version | 2.0.0 |
Comparing to | |
See all releases |
Code changes from version 1.9.4 to 2.0.0
- js/scroll.js +5 -0
- languages/mw-wp-form-ja.mo +0 -0
- languages/mw-wp-form-ja.po +48 -36
- languages/mw-wp-form.pot +47 -35
- mw-wp-form.php +81 -21
- readme.txt +11 -1
- system/mw_wp_form_admin_page.php +13 -2
- system/mwf_config.php +8 -2
js/scroll.js
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
jQuery( function( $ ) {
|
2 |
+
var posy = $( '.mw_wp_form_input, .mw_wp_form_confirm, .mw_wp_form_complete' ).offset().top;
|
3 |
+
posy = posy + parseInt( mwform_scroll.offset );
|
4 |
+
$( window ).scrollTop( posy );
|
5 |
+
} );
|
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
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/mw-wp-form\n"
|
7 |
-
"POT-Creation-Date: 2014-
|
8 |
-
"PO-Revision-Date: 2014-
|
9 |
"Last-Translator: Takashi Kitajima <inc@2inc.org>\n"
|
10 |
"Language-Team: Takashi Kitajima <inc@2inc.org>\n"
|
11 |
"Language: ja\n"
|
@@ -30,6 +30,7 @@ msgstr "戻る"
|
|
30 |
|
31 |
#: form_fields/mw_form_field_back_button.php:68
|
32 |
#: form_fields/mw_form_field_button.php:74
|
|
|
33 |
#: form_fields/mw_form_field_submit.php:74
|
34 |
msgid "String on the button"
|
35 |
msgstr "ボタンに表示する文字列"
|
@@ -94,7 +95,6 @@ msgid "Input one line about one item."
|
|
94 |
msgstr "1項目につき1行で入力してください。"
|
95 |
|
96 |
#: form_fields/mw_form_field_checkbox.php:101
|
97 |
-
#: form_fields/mw_form_field_confirm_button.php:68
|
98 |
#: form_fields/mw_form_field_datepicker.php:124
|
99 |
#: form_fields/mw_form_field_hidden.php:78
|
100 |
#: form_fields/mw_form_field_password.php:101
|
@@ -244,10 +244,14 @@ msgstr "テキストエリア"
|
|
244 |
msgid "Zip Code"
|
245 |
msgstr "郵便番号"
|
246 |
|
247 |
-
#: mw-wp-form.php:
|
248 |
msgid "Validation Object is not a MW Validation Class."
|
249 |
msgstr ""
|
250 |
|
|
|
|
|
|
|
|
|
251 |
#: system/mw_wp_form_admin_page.php:54
|
252 |
msgid "Your contribution is needed for making this plugin better."
|
253 |
msgstr "あなたの貢献があればこのプラグインをもっと良くすることができます。"
|
@@ -345,51 +349,59 @@ msgstr "例:{ID}、{post_title}、{post_meta}など…"
|
|
345 |
msgid "Saving inquiry data in database"
|
346 |
msgstr "問い合わせデータをデータベースに保存"
|
347 |
|
348 |
-
#: system/mw_wp_form_admin_page.php:
|
|
|
|
|
|
|
|
|
349 |
msgid "Akismet Setting"
|
350 |
msgstr "Akismet 設定"
|
351 |
|
352 |
-
#: system/mw_wp_form_admin_page.php:
|
353 |
msgid "Input the key to use Akismet."
|
354 |
msgstr "Akismetを使用する項目のキーを入力してください。"
|
355 |
|
356 |
-
#: system/mw_wp_form_admin_page.php:
|
357 |
msgid "{key} is converted form data."
|
358 |
msgstr "{キー}でそのフォーム項目に変換されます。"
|
359 |
|
360 |
-
#: system/mw_wp_form_admin_page.php:
|
|
|
|
|
|
|
|
|
361 |
msgid "Subject"
|
362 |
msgstr "件名"
|
363 |
|
364 |
-
#: system/mw_wp_form_admin_page.php:
|
365 |
msgid "Sender"
|
366 |
msgstr "送信者"
|
367 |
|
368 |
-
#: system/mw_wp_form_admin_page.php:
|
369 |
-
#: system/mw_wp_form_admin_page.php:
|
370 |
-
#: system/mw_wp_form_admin_page.php:
|
371 |
msgid "If empty:"
|
372 |
msgstr "未入力の場合:"
|
373 |
|
374 |
-
#: system/mw_wp_form_admin_page.php:
|
375 |
msgid "From ( E-mail address )"
|
376 |
msgstr "送信元(E-mailアドレス)"
|
377 |
|
378 |
-
#: system/mw_wp_form_admin_page.php:
|
379 |
msgid "Content"
|
380 |
msgstr "本文"
|
381 |
|
382 |
-
#: system/mw_wp_form_admin_page.php:
|
383 |
msgid "Automatic reply email"
|
384 |
msgstr "自動返信メール"
|
385 |
|
386 |
-
#: system/mw_wp_form_admin_page.php:
|
387 |
msgid ""
|
388 |
"Input the key to use as transmission to automatic reply email. {} is "
|
389 |
"unnecessary."
|
390 |
msgstr "自動返信メールに使用する項目のキーを入力してください。{ }は不要です。"
|
391 |
|
392 |
-
#: system/mw_wp_form_admin_page.php:
|
393 |
msgid ""
|
394 |
"If Admin Email Options is a blank, Automatic Replay Email Options is used as "
|
395 |
"Admin Email Options."
|
@@ -397,35 +409,35 @@ msgstr ""
|
|
397 |
"管理者宛メール設定が空のときは自動返信メール設定に管理者宛メール設定が使用さ"
|
398 |
"れます。"
|
399 |
|
400 |
-
#: system/mw_wp_form_admin_page.php:
|
401 |
msgid "To ( E-mail address )"
|
402 |
msgstr "送信先(E-mailアドレス)"
|
403 |
|
404 |
-
#: system/mw_wp_form_admin_page.php:
|
405 |
msgid "CC ( E-mail address )"
|
406 |
msgstr "CC(E-mailアドレス)"
|
407 |
|
408 |
-
#: system/mw_wp_form_admin_page.php:
|
409 |
msgid "BCC ( E-mail address )"
|
410 |
msgstr "BCC(E-mailアドレス)"
|
411 |
|
412 |
-
#: system/mw_wp_form_admin_page.php:
|
413 |
msgid "Input Page URL"
|
414 |
msgstr "入力画面URL"
|
415 |
|
416 |
-
#: system/mw_wp_form_admin_page.php:
|
417 |
msgid "Confirmation Page URL"
|
418 |
msgstr "確認画面URL"
|
419 |
|
420 |
-
#: system/mw_wp_form_admin_page.php:
|
421 |
msgid "Complete Page URL"
|
422 |
msgstr "完了画面URL"
|
423 |
|
424 |
-
#: system/mw_wp_form_admin_page.php:
|
425 |
msgid "Validation Error Page URL"
|
426 |
msgstr "エラー画面URL"
|
427 |
|
428 |
-
#: system/mw_wp_form_admin_page.php:
|
429 |
msgid ""
|
430 |
"This urls are the redirection urls at the time of button press. When URL "
|
431 |
"setting is empty, The page redirect on the same page."
|
@@ -433,43 +445,43 @@ msgstr ""
|
|
433 |
"上記URLはボタン押下時のリダイレクトURLです。URLの設定が空のときは、同一ページ"
|
434 |
"上でリダイレクトします。"
|
435 |
|
436 |
-
#: system/mw_wp_form_admin_page.php:
|
437 |
msgid "When a URL doesn't begin http or https, %s is complemented."
|
438 |
msgstr "URLが http または https で始まっていない場合は %s が補完されます。"
|
439 |
|
440 |
-
#: system/mw_wp_form_admin_page.php:
|
441 |
msgid "Add Validation rule"
|
442 |
msgstr "バリデーションルールを追加"
|
443 |
|
444 |
-
#: system/mw_wp_form_admin_page.php:
|
445 |
msgid "The key which applies validation"
|
446 |
msgstr "バリデーションを適用する項目"
|
447 |
|
448 |
-
#: system/mw_wp_form_admin_page.php:
|
449 |
msgid "Select Style"
|
450 |
msgstr "スタイルを選択"
|
451 |
|
452 |
-
#: system/mw_wp_form_admin_page.php:
|
453 |
msgid "Select this."
|
454 |
msgstr "選択してください"
|
455 |
|
456 |
-
#: system/mw_wp_form_admin_page.php:
|
457 |
msgid "Input fields"
|
458 |
msgstr "入力項目"
|
459 |
|
460 |
-
#: system/mw_wp_form_admin_page.php:
|
461 |
msgid "Select fields"
|
462 |
msgstr "選択項目"
|
463 |
|
464 |
-
#: system/mw_wp_form_admin_page.php:
|
465 |
msgid "Button fields"
|
466 |
msgstr "ボタン項目"
|
467 |
|
468 |
-
#: system/mw_wp_form_admin_page.php:
|
469 |
msgid "Other fields"
|
470 |
msgstr "その他の項目"
|
471 |
|
472 |
-
#: system/mw_wp_form_admin_page.php:
|
473 |
msgid "Add form tag"
|
474 |
msgstr "フォームタグを追加"
|
475 |
|
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 2.0.0\n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/mw-wp-form\n"
|
7 |
+
"POT-Creation-Date: 2014-10-15 14:01:22+00:00\n"
|
8 |
+
"PO-Revision-Date: 2014-10-15 23:08+0900\n"
|
9 |
"Last-Translator: Takashi Kitajima <inc@2inc.org>\n"
|
10 |
"Language-Team: Takashi Kitajima <inc@2inc.org>\n"
|
11 |
"Language: ja\n"
|
30 |
|
31 |
#: form_fields/mw_form_field_back_button.php:68
|
32 |
#: form_fields/mw_form_field_button.php:74
|
33 |
+
#: form_fields/mw_form_field_confirm_button.php:68
|
34 |
#: form_fields/mw_form_field_submit.php:74
|
35 |
msgid "String on the button"
|
36 |
msgstr "ボタンに表示する文字列"
|
95 |
msgstr "1項目につき1行で入力してください。"
|
96 |
|
97 |
#: form_fields/mw_form_field_checkbox.php:101
|
|
|
98 |
#: form_fields/mw_form_field_datepicker.php:124
|
99 |
#: form_fields/mw_form_field_hidden.php:78
|
100 |
#: form_fields/mw_form_field_password.php:101
|
244 |
msgid "Zip Code"
|
245 |
msgstr "郵便番号"
|
246 |
|
247 |
+
#: mw-wp-form.php:551
|
248 |
msgid "Validation Object is not a MW Validation Class."
|
249 |
msgstr ""
|
250 |
|
251 |
+
#: mw-wp-form.php:738
|
252 |
+
msgid "Tracking Number"
|
253 |
+
msgstr "問い合わせ番号"
|
254 |
+
|
255 |
#: system/mw_wp_form_admin_page.php:54
|
256 |
msgid "Your contribution is needed for making this plugin better."
|
257 |
msgstr "あなたの貢献があればこのプラグインをもっと良くすることができます。"
|
349 |
msgid "Saving inquiry data in database"
|
350 |
msgstr "問い合わせデータをデータベースに保存"
|
351 |
|
352 |
+
#: system/mw_wp_form_admin_page.php:327
|
353 |
+
msgid "Enable scrolling of screen transition."
|
354 |
+
msgstr "画面変遷時のスクロールを有効にする"
|
355 |
+
|
356 |
+
#: system/mw_wp_form_admin_page.php:331
|
357 |
msgid "Akismet Setting"
|
358 |
msgstr "Akismet 設定"
|
359 |
|
360 |
+
#: system/mw_wp_form_admin_page.php:346
|
361 |
msgid "Input the key to use Akismet."
|
362 |
msgstr "Akismetを使用する項目のキーを入力してください。"
|
363 |
|
364 |
+
#: system/mw_wp_form_admin_page.php:371 system/mw_wp_form_admin_page.php:411
|
365 |
msgid "{key} is converted form data."
|
366 |
msgstr "{キー}でそのフォーム項目に変換されます。"
|
367 |
|
368 |
+
#: system/mw_wp_form_admin_page.php:373 system/mw_wp_form_admin_page.php:413
|
369 |
+
msgid "It is automatically converted to Tracking number when you input {%s}."
|
370 |
+
msgstr "{%s} と入力すると問い合わせ番号に自動的に変換されます。"
|
371 |
+
|
372 |
+
#: system/mw_wp_form_admin_page.php:378 system/mw_wp_form_admin_page.php:434
|
373 |
msgid "Subject"
|
374 |
msgstr "件名"
|
375 |
|
376 |
+
#: system/mw_wp_form_admin_page.php:382 system/mw_wp_form_admin_page.php:438
|
377 |
msgid "Sender"
|
378 |
msgstr "送信者"
|
379 |
|
380 |
+
#: system/mw_wp_form_admin_page.php:384 system/mw_wp_form_admin_page.php:389
|
381 |
+
#: system/mw_wp_form_admin_page.php:423 system/mw_wp_form_admin_page.php:440
|
382 |
+
#: system/mw_wp_form_admin_page.php:445
|
383 |
msgid "If empty:"
|
384 |
msgstr "未入力の場合:"
|
385 |
|
386 |
+
#: system/mw_wp_form_admin_page.php:387 system/mw_wp_form_admin_page.php:443
|
387 |
msgid "From ( E-mail address )"
|
388 |
msgstr "送信元(E-mailアドレス)"
|
389 |
|
390 |
+
#: system/mw_wp_form_admin_page.php:392 system/mw_wp_form_admin_page.php:448
|
391 |
msgid "Content"
|
392 |
msgstr "本文"
|
393 |
|
394 |
+
#: system/mw_wp_form_admin_page.php:396
|
395 |
msgid "Automatic reply email"
|
396 |
msgstr "自動返信メール"
|
397 |
|
398 |
+
#: system/mw_wp_form_admin_page.php:398
|
399 |
msgid ""
|
400 |
"Input the key to use as transmission to automatic reply email. {} is "
|
401 |
"unnecessary."
|
402 |
msgstr "自動返信メールに使用する項目のキーを入力してください。{ }は不要です。"
|
403 |
|
404 |
+
#: system/mw_wp_form_admin_page.php:418
|
405 |
msgid ""
|
406 |
"If Admin Email Options is a blank, Automatic Replay Email Options is used as "
|
407 |
"Admin Email Options."
|
409 |
"管理者宛メール設定が空のときは自動返信メール設定に管理者宛メール設定が使用さ"
|
410 |
"れます。"
|
411 |
|
412 |
+
#: system/mw_wp_form_admin_page.php:421
|
413 |
msgid "To ( E-mail address )"
|
414 |
msgstr "送信先(E-mailアドレス)"
|
415 |
|
416 |
+
#: system/mw_wp_form_admin_page.php:426
|
417 |
msgid "CC ( E-mail address )"
|
418 |
msgstr "CC(E-mailアドレス)"
|
419 |
|
420 |
+
#: system/mw_wp_form_admin_page.php:430
|
421 |
msgid "BCC ( E-mail address )"
|
422 |
msgstr "BCC(E-mailアドレス)"
|
423 |
|
424 |
+
#: system/mw_wp_form_admin_page.php:464
|
425 |
msgid "Input Page URL"
|
426 |
msgstr "入力画面URL"
|
427 |
|
428 |
+
#: system/mw_wp_form_admin_page.php:470
|
429 |
msgid "Confirmation Page URL"
|
430 |
msgstr "確認画面URL"
|
431 |
|
432 |
+
#: system/mw_wp_form_admin_page.php:476
|
433 |
msgid "Complete Page URL"
|
434 |
msgstr "完了画面URL"
|
435 |
|
436 |
+
#: system/mw_wp_form_admin_page.php:482
|
437 |
msgid "Validation Error Page URL"
|
438 |
msgstr "エラー画面URL"
|
439 |
|
440 |
+
#: system/mw_wp_form_admin_page.php:489
|
441 |
msgid ""
|
442 |
"This urls are the redirection urls at the time of button press. When URL "
|
443 |
"setting is empty, The page redirect on the same page."
|
445 |
"上記URLはボタン押下時のリダイレクトURLです。URLの設定が空のときは、同一ページ"
|
446 |
"上でリダイレクトします。"
|
447 |
|
448 |
+
#: system/mw_wp_form_admin_page.php:490
|
449 |
msgid "When a URL doesn't begin http or https, %s is complemented."
|
450 |
msgstr "URLが http または https で始まっていない場合は %s が補完されます。"
|
451 |
|
452 |
+
#: system/mw_wp_form_admin_page.php:523
|
453 |
msgid "Add Validation rule"
|
454 |
msgstr "バリデーションルールを追加"
|
455 |
|
456 |
+
#: system/mw_wp_form_admin_page.php:530
|
457 |
msgid "The key which applies validation"
|
458 |
msgstr "バリデーションを適用する項目"
|
459 |
|
460 |
+
#: system/mw_wp_form_admin_page.php:554
|
461 |
msgid "Select Style"
|
462 |
msgstr "スタイルを選択"
|
463 |
|
464 |
+
#: system/mw_wp_form_admin_page.php:589 system/mw_wp_form_chart_page.php:172
|
465 |
msgid "Select this."
|
466 |
msgstr "選択してください"
|
467 |
|
468 |
+
#: system/mw_wp_form_admin_page.php:590
|
469 |
msgid "Input fields"
|
470 |
msgstr "入力項目"
|
471 |
|
472 |
+
#: system/mw_wp_form_admin_page.php:593
|
473 |
msgid "Select fields"
|
474 |
msgstr "選択項目"
|
475 |
|
476 |
+
#: system/mw_wp_form_admin_page.php:596
|
477 |
msgid "Button fields"
|
478 |
msgstr "ボタン項目"
|
479 |
|
480 |
+
#: system/mw_wp_form_admin_page.php:599
|
481 |
msgid "Other fields"
|
482 |
msgstr "その他の項目"
|
483 |
|
484 |
+
#: system/mw_wp_form_admin_page.php:603
|
485 |
msgid "Add form tag"
|
486 |
msgstr "フォームタグを追加"
|
487 |
|
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
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/mw-wp-form\n"
|
7 |
-
"POT-Creation-Date: 2014-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -29,6 +29,7 @@ msgstr ""
|
|
29 |
|
30 |
#: form_fields/mw_form_field_back_button.php:68
|
31 |
#: form_fields/mw_form_field_button.php:74
|
|
|
32 |
#: form_fields/mw_form_field_submit.php:74
|
33 |
msgid "String on the button"
|
34 |
msgstr ""
|
@@ -92,7 +93,6 @@ msgid "Input one line about one item."
|
|
92 |
msgstr ""
|
93 |
|
94 |
#: form_fields/mw_form_field_checkbox.php:101
|
95 |
-
#: form_fields/mw_form_field_confirm_button.php:68
|
96 |
#: form_fields/mw_form_field_datepicker.php:124
|
97 |
#: form_fields/mw_form_field_hidden.php:78
|
98 |
#: form_fields/mw_form_field_password.php:101
|
@@ -242,10 +242,14 @@ msgstr ""
|
|
242 |
msgid "Zip Code"
|
243 |
msgstr ""
|
244 |
|
245 |
-
#: mw-wp-form.php:
|
246 |
msgid "Validation Object is not a MW Validation Class."
|
247 |
msgstr ""
|
248 |
|
|
|
|
|
|
|
|
|
249 |
#: system/mw_wp_form_admin_page.php:54
|
250 |
msgid "Your contribution is needed for making this plugin better."
|
251 |
msgstr ""
|
@@ -338,121 +342,129 @@ msgstr ""
|
|
338 |
msgid "Saving inquiry data in database"
|
339 |
msgstr ""
|
340 |
|
341 |
-
#: system/mw_wp_form_admin_page.php:
|
|
|
|
|
|
|
|
|
342 |
msgid "Akismet Setting"
|
343 |
msgstr ""
|
344 |
|
345 |
-
#: system/mw_wp_form_admin_page.php:
|
346 |
msgid "Input the key to use Akismet."
|
347 |
msgstr ""
|
348 |
|
349 |
-
#: system/mw_wp_form_admin_page.php:
|
350 |
msgid "{key} is converted form data."
|
351 |
msgstr ""
|
352 |
|
353 |
-
#: system/mw_wp_form_admin_page.php:
|
|
|
|
|
|
|
|
|
354 |
msgid "Subject"
|
355 |
msgstr ""
|
356 |
|
357 |
-
#: system/mw_wp_form_admin_page.php:
|
358 |
msgid "Sender"
|
359 |
msgstr ""
|
360 |
|
361 |
-
#: system/mw_wp_form_admin_page.php:
|
362 |
-
#: system/mw_wp_form_admin_page.php:
|
363 |
-
#: system/mw_wp_form_admin_page.php:
|
364 |
msgid "If empty:"
|
365 |
msgstr ""
|
366 |
|
367 |
-
#: system/mw_wp_form_admin_page.php:
|
368 |
msgid "From ( E-mail address )"
|
369 |
msgstr ""
|
370 |
|
371 |
-
#: system/mw_wp_form_admin_page.php:
|
372 |
msgid "Content"
|
373 |
msgstr ""
|
374 |
|
375 |
-
#: system/mw_wp_form_admin_page.php:
|
376 |
msgid "Automatic reply email"
|
377 |
msgstr ""
|
378 |
|
379 |
-
#: system/mw_wp_form_admin_page.php:
|
380 |
msgid "Input the key to use as transmission to automatic reply email. {} is unnecessary."
|
381 |
msgstr ""
|
382 |
|
383 |
-
#: system/mw_wp_form_admin_page.php:
|
384 |
msgid "If Admin Email Options is a blank, Automatic Replay Email Options is used as Admin Email Options."
|
385 |
msgstr ""
|
386 |
|
387 |
-
#: system/mw_wp_form_admin_page.php:
|
388 |
msgid "To ( E-mail address )"
|
389 |
msgstr ""
|
390 |
|
391 |
-
#: system/mw_wp_form_admin_page.php:
|
392 |
msgid "CC ( E-mail address )"
|
393 |
msgstr ""
|
394 |
|
395 |
-
#: system/mw_wp_form_admin_page.php:
|
396 |
msgid "BCC ( E-mail address )"
|
397 |
msgstr ""
|
398 |
|
399 |
-
#: system/mw_wp_form_admin_page.php:
|
400 |
msgid "Input Page URL"
|
401 |
msgstr ""
|
402 |
|
403 |
-
#: system/mw_wp_form_admin_page.php:
|
404 |
msgid "Confirmation Page URL"
|
405 |
msgstr ""
|
406 |
|
407 |
-
#: system/mw_wp_form_admin_page.php:
|
408 |
msgid "Complete Page URL"
|
409 |
msgstr ""
|
410 |
|
411 |
-
#: system/mw_wp_form_admin_page.php:
|
412 |
msgid "Validation Error Page URL"
|
413 |
msgstr ""
|
414 |
|
415 |
-
#: system/mw_wp_form_admin_page.php:
|
416 |
msgid "This urls are the redirection urls at the time of button press. When URL setting is empty, The page redirect on the same page."
|
417 |
msgstr ""
|
418 |
|
419 |
-
#: system/mw_wp_form_admin_page.php:
|
420 |
msgid "When a URL doesn't begin http or https, %s is complemented."
|
421 |
msgstr ""
|
422 |
|
423 |
-
#: system/mw_wp_form_admin_page.php:
|
424 |
msgid "Add Validation rule"
|
425 |
msgstr ""
|
426 |
|
427 |
-
#: system/mw_wp_form_admin_page.php:
|
428 |
msgid "The key which applies validation"
|
429 |
msgstr ""
|
430 |
|
431 |
-
#: system/mw_wp_form_admin_page.php:
|
432 |
msgid "Select Style"
|
433 |
msgstr ""
|
434 |
|
435 |
-
#: system/mw_wp_form_admin_page.php:
|
436 |
msgid "Select this."
|
437 |
msgstr ""
|
438 |
|
439 |
-
#: system/mw_wp_form_admin_page.php:
|
440 |
msgid "Input fields"
|
441 |
msgstr ""
|
442 |
|
443 |
-
#: system/mw_wp_form_admin_page.php:
|
444 |
msgid "Select fields"
|
445 |
msgstr ""
|
446 |
|
447 |
-
#: system/mw_wp_form_admin_page.php:
|
448 |
msgid "Button fields"
|
449 |
msgstr ""
|
450 |
|
451 |
-
#: system/mw_wp_form_admin_page.php:
|
452 |
msgid "Other fields"
|
453 |
msgstr ""
|
454 |
|
455 |
-
#: system/mw_wp_form_admin_page.php:
|
456 |
msgid "Add form tag"
|
457 |
msgstr ""
|
458 |
|
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 2.0.0\n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/mw-wp-form\n"
|
7 |
+
"POT-Creation-Date: 2014-10-15 14:01:22+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
29 |
|
30 |
#: form_fields/mw_form_field_back_button.php:68
|
31 |
#: form_fields/mw_form_field_button.php:74
|
32 |
+
#: form_fields/mw_form_field_confirm_button.php:68
|
33 |
#: form_fields/mw_form_field_submit.php:74
|
34 |
msgid "String on the button"
|
35 |
msgstr ""
|
93 |
msgstr ""
|
94 |
|
95 |
#: form_fields/mw_form_field_checkbox.php:101
|
|
|
96 |
#: form_fields/mw_form_field_datepicker.php:124
|
97 |
#: form_fields/mw_form_field_hidden.php:78
|
98 |
#: form_fields/mw_form_field_password.php:101
|
242 |
msgid "Zip Code"
|
243 |
msgstr ""
|
244 |
|
245 |
+
#: mw-wp-form.php:551
|
246 |
msgid "Validation Object is not a MW Validation Class."
|
247 |
msgstr ""
|
248 |
|
249 |
+
#: mw-wp-form.php:738
|
250 |
+
msgid "Tracking Number"
|
251 |
+
msgstr ""
|
252 |
+
|
253 |
#: system/mw_wp_form_admin_page.php:54
|
254 |
msgid "Your contribution is needed for making this plugin better."
|
255 |
msgstr ""
|
342 |
msgid "Saving inquiry data in database"
|
343 |
msgstr ""
|
344 |
|
345 |
+
#: system/mw_wp_form_admin_page.php:327
|
346 |
+
msgid "Enable scrolling of screen transition."
|
347 |
+
msgstr ""
|
348 |
+
|
349 |
+
#: system/mw_wp_form_admin_page.php:331
|
350 |
msgid "Akismet Setting"
|
351 |
msgstr ""
|
352 |
|
353 |
+
#: system/mw_wp_form_admin_page.php:346
|
354 |
msgid "Input the key to use Akismet."
|
355 |
msgstr ""
|
356 |
|
357 |
+
#: system/mw_wp_form_admin_page.php:371 system/mw_wp_form_admin_page.php:411
|
358 |
msgid "{key} is converted form data."
|
359 |
msgstr ""
|
360 |
|
361 |
+
#: system/mw_wp_form_admin_page.php:373 system/mw_wp_form_admin_page.php:413
|
362 |
+
msgid "It is automatically converted to Tracking number when you input {%s}."
|
363 |
+
msgstr ""
|
364 |
+
|
365 |
+
#: system/mw_wp_form_admin_page.php:378 system/mw_wp_form_admin_page.php:434
|
366 |
msgid "Subject"
|
367 |
msgstr ""
|
368 |
|
369 |
+
#: system/mw_wp_form_admin_page.php:382 system/mw_wp_form_admin_page.php:438
|
370 |
msgid "Sender"
|
371 |
msgstr ""
|
372 |
|
373 |
+
#: system/mw_wp_form_admin_page.php:384 system/mw_wp_form_admin_page.php:389
|
374 |
+
#: system/mw_wp_form_admin_page.php:423 system/mw_wp_form_admin_page.php:440
|
375 |
+
#: system/mw_wp_form_admin_page.php:445
|
376 |
msgid "If empty:"
|
377 |
msgstr ""
|
378 |
|
379 |
+
#: system/mw_wp_form_admin_page.php:387 system/mw_wp_form_admin_page.php:443
|
380 |
msgid "From ( E-mail address )"
|
381 |
msgstr ""
|
382 |
|
383 |
+
#: system/mw_wp_form_admin_page.php:392 system/mw_wp_form_admin_page.php:448
|
384 |
msgid "Content"
|
385 |
msgstr ""
|
386 |
|
387 |
+
#: system/mw_wp_form_admin_page.php:396
|
388 |
msgid "Automatic reply email"
|
389 |
msgstr ""
|
390 |
|
391 |
+
#: system/mw_wp_form_admin_page.php:398
|
392 |
msgid "Input the key to use as transmission to automatic reply email. {} is unnecessary."
|
393 |
msgstr ""
|
394 |
|
395 |
+
#: system/mw_wp_form_admin_page.php:418
|
396 |
msgid "If Admin Email Options is a blank, Automatic Replay Email Options is used as Admin Email Options."
|
397 |
msgstr ""
|
398 |
|
399 |
+
#: system/mw_wp_form_admin_page.php:421
|
400 |
msgid "To ( E-mail address )"
|
401 |
msgstr ""
|
402 |
|
403 |
+
#: system/mw_wp_form_admin_page.php:426
|
404 |
msgid "CC ( E-mail address )"
|
405 |
msgstr ""
|
406 |
|
407 |
+
#: system/mw_wp_form_admin_page.php:430
|
408 |
msgid "BCC ( E-mail address )"
|
409 |
msgstr ""
|
410 |
|
411 |
+
#: system/mw_wp_form_admin_page.php:464
|
412 |
msgid "Input Page URL"
|
413 |
msgstr ""
|
414 |
|
415 |
+
#: system/mw_wp_form_admin_page.php:470
|
416 |
msgid "Confirmation Page URL"
|
417 |
msgstr ""
|
418 |
|
419 |
+
#: system/mw_wp_form_admin_page.php:476
|
420 |
msgid "Complete Page URL"
|
421 |
msgstr ""
|
422 |
|
423 |
+
#: system/mw_wp_form_admin_page.php:482
|
424 |
msgid "Validation Error Page URL"
|
425 |
msgstr ""
|
426 |
|
427 |
+
#: system/mw_wp_form_admin_page.php:489
|
428 |
msgid "This urls are the redirection urls at the time of button press. When URL setting is empty, The page redirect on the same page."
|
429 |
msgstr ""
|
430 |
|
431 |
+
#: system/mw_wp_form_admin_page.php:490
|
432 |
msgid "When a URL doesn't begin http or https, %s is complemented."
|
433 |
msgstr ""
|
434 |
|
435 |
+
#: system/mw_wp_form_admin_page.php:523
|
436 |
msgid "Add Validation rule"
|
437 |
msgstr ""
|
438 |
|
439 |
+
#: system/mw_wp_form_admin_page.php:530
|
440 |
msgid "The key which applies validation"
|
441 |
msgstr ""
|
442 |
|
443 |
+
#: system/mw_wp_form_admin_page.php:554
|
444 |
msgid "Select Style"
|
445 |
msgstr ""
|
446 |
|
447 |
+
#: system/mw_wp_form_admin_page.php:589 system/mw_wp_form_chart_page.php:172
|
448 |
msgid "Select this."
|
449 |
msgstr ""
|
450 |
|
451 |
+
#: system/mw_wp_form_admin_page.php:590
|
452 |
msgid "Input fields"
|
453 |
msgstr ""
|
454 |
|
455 |
+
#: system/mw_wp_form_admin_page.php:593
|
456 |
msgid "Select fields"
|
457 |
msgstr ""
|
458 |
|
459 |
+
#: system/mw_wp_form_admin_page.php:596
|
460 |
msgid "Button fields"
|
461 |
msgstr ""
|
462 |
|
463 |
+
#: system/mw_wp_form_admin_page.php:599
|
464 |
msgid "Other fields"
|
465 |
msgstr ""
|
466 |
|
467 |
+
#: system/mw_wp_form_admin_page.php:603
|
468 |
msgid "Add form tag"
|
469 |
msgstr ""
|
470 |
|
mw-wp-form.php
CHANGED
@@ -3,11 +3,11 @@
|
|
3 |
* Plugin Name: MW WP Form
|
4 |
* Plugin URI: http://plugins.2inc.org/mw-wp-form/
|
5 |
* Description: MW WP Form can create mail form with a confirmation screen.
|
6 |
-
* Version:
|
7 |
* Author: Takashi Kitajima
|
8 |
* Author URI: http://2inc.org
|
9 |
* Created : September 25, 2012
|
10 |
-
* Modified:
|
11 |
* Text Domain: mw-wp-form
|
12 |
* Domain Path: /languages/
|
13 |
* License: GPLv2
|
@@ -77,6 +77,7 @@ class mw_wp_form {
|
|
77 |
'validation_error_url' => '',
|
78 |
'validation' => array(),
|
79 |
'style' => '',
|
|
|
80 |
);
|
81 |
|
82 |
/**
|
@@ -263,6 +264,18 @@ class mw_wp_form {
|
|
263 |
wp_enqueue_script( MWF_Config::NAME );
|
264 |
}
|
265 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
266 |
/**
|
267 |
* get_shortcode
|
268 |
* MW WP Form のショートコードが含まれていればそのショートコードを返す
|
@@ -432,6 +445,14 @@ class mw_wp_form {
|
|
432 |
$this->redirect( $back_url );
|
433 |
}
|
434 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
435 |
add_shortcode( 'mwform_formkey', array( $this, '_mwform_formkey' ) );
|
436 |
add_shortcode( 'mwform', array( $this, '_mwform' ) );
|
437 |
add_shortcode( 'mwform_complete_message', array( $this, '_mwform_complete_message' ) );
|
@@ -620,26 +641,34 @@ class mw_wp_form {
|
|
620 |
if ( isset( $this->options_by_formkey['automatic_reply_email'] ) ) {
|
621 |
$automatic_reply_email = $this->Data->getValue( $this->options_by_formkey['automatic_reply_email'] );
|
622 |
if ( $automatic_reply_email && !$this->validation_rules['mail']->rule( $automatic_reply_email ) ) {
|
623 |
-
$
|
624 |
|
625 |
// 自動返信メールからは添付ファイルを削除
|
626 |
-
$
|
627 |
|
628 |
$filter_name = 'mwform_auto_mail_raw_' . $this->key;
|
629 |
-
$
|
630 |
-
if ( !is_a( $
|
631 |
return;
|
632 |
|
633 |
-
$
|
634 |
-
$
|
635 |
|
636 |
$filter_name = 'mwform_auto_mail_' . $this->key;
|
637 |
-
$
|
638 |
-
if ( !is_a( $
|
639 |
return;
|
640 |
-
$
|
641 |
}
|
642 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
643 |
}
|
644 |
}
|
645 |
|
@@ -696,11 +725,25 @@ class mw_wp_form {
|
|
696 |
* parse_mail_body
|
697 |
* $this->create_mail_body(), $this->save_mail_body の本体
|
698 |
* 第2引数でDB保存するか判定
|
|
|
|
|
|
|
699 |
*/
|
700 |
protected function parse_mail_body( $matches, $doUpdate = false ) {
|
701 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
702 |
if ( $value !== null && $doUpdate ) {
|
703 |
-
update_post_meta( $this->insert_id, $
|
704 |
}
|
705 |
return $value;
|
706 |
}
|
@@ -846,13 +889,12 @@ class mw_wp_form {
|
|
846 |
}
|
847 |
}
|
848 |
$_preview_class = ( $this->viewFlg === 'confirm' ) ? ' mw_wp_form_preview' : '';
|
849 |
-
return
|
850 |
-
'<div id="mw_wp_form_
|
851 |
-
$this->
|
852 |
-
|
853 |
-
$upload_file_hidden .
|
854 |
-
|
855 |
-
'<!-- end .mw_wp_form --></div>';
|
856 |
}
|
857 |
}
|
858 |
|
@@ -942,7 +984,12 @@ class mw_wp_form {
|
|
942 |
*/
|
943 |
public function _mwform_complete_message( $atts, $content = '' ) {
|
944 |
if ( $this->viewFlg == 'complete' ) {
|
945 |
-
return
|
|
|
|
|
|
|
|
|
|
|
946 |
}
|
947 |
}
|
948 |
|
@@ -1125,4 +1172,17 @@ class mw_wp_form {
|
|
1125 |
}
|
1126 |
return $Mail;
|
1127 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1128 |
}
|
3 |
* Plugin Name: MW WP Form
|
4 |
* Plugin URI: http://plugins.2inc.org/mw-wp-form/
|
5 |
* Description: MW WP Form can create mail form with a confirmation screen.
|
6 |
+
* Version: 2.0.0
|
7 |
* Author: Takashi Kitajima
|
8 |
* Author URI: http://2inc.org
|
9 |
* Created : September 25, 2012
|
10 |
+
* Modified: October 14, 2014
|
11 |
* Text Domain: mw-wp-form
|
12 |
* Domain Path: /languages/
|
13 |
* License: GPLv2
|
77 |
'validation_error_url' => '',
|
78 |
'validation' => array(),
|
79 |
'style' => '',
|
80 |
+
'scroll' => null,
|
81 |
);
|
82 |
|
83 |
/**
|
264 |
wp_enqueue_script( MWF_Config::NAME );
|
265 |
}
|
266 |
|
267 |
+
/**
|
268 |
+
* scroll_script
|
269 |
+
*/
|
270 |
+
public function scroll_script() {
|
271 |
+
$url = plugin_dir_url( __FILE__ );
|
272 |
+
wp_register_script( MWF_Config::NAME . '-scroll', $url . 'js/scroll.js', array( 'jquery' ), false, true );
|
273 |
+
wp_localize_script( MWF_Config::NAME . '-scroll', 'mwform_scroll', array(
|
274 |
+
'offset' => apply_filters( 'mwform_scroll_offset_' . $this->key, 0 ),
|
275 |
+
) );
|
276 |
+
wp_enqueue_script( MWF_Config::NAME . '-scroll' );
|
277 |
+
}
|
278 |
+
|
279 |
/**
|
280 |
* get_shortcode
|
281 |
* MW WP Form のショートコードが含まれていればそのショートコードを返す
|
445 |
$this->redirect( $back_url );
|
446 |
}
|
447 |
}
|
448 |
+
|
449 |
+
// スクロール用スクリプトのロード
|
450 |
+
if ( !empty( $this->options_by_formkey['scroll'] ) ) {
|
451 |
+
if ( $this->Form->isConfirm() || $this->Form->isComplete() || !$this->Validation->check() ) {
|
452 |
+
add_action( 'wp_enqueue_scripts', array( $this, 'scroll_script' ) );
|
453 |
+
}
|
454 |
+
}
|
455 |
+
|
456 |
add_shortcode( 'mwform_formkey', array( $this, '_mwform_formkey' ) );
|
457 |
add_shortcode( 'mwform', array( $this, '_mwform' ) );
|
458 |
add_shortcode( 'mwform_complete_message', array( $this, '_mwform_complete_message' ) );
|
641 |
if ( isset( $this->options_by_formkey['automatic_reply_email'] ) ) {
|
642 |
$automatic_reply_email = $this->Data->getValue( $this->options_by_formkey['automatic_reply_email'] );
|
643 |
if ( $automatic_reply_email && !$this->validation_rules['mail']->rule( $automatic_reply_email ) ) {
|
644 |
+
$Mail_auto_raw = $this->set_reply_mail_raw_params( clone $Mail_raw );
|
645 |
|
646 |
// 自動返信メールからは添付ファイルを削除
|
647 |
+
$Mail_auto_raw->attachments = array();
|
648 |
|
649 |
$filter_name = 'mwform_auto_mail_raw_' . $this->key;
|
650 |
+
$Mail_auto_raw = apply_filters( $filter_name, $Mail_auto_raw, $this->Data->getValues() );
|
651 |
+
if ( !is_a( $Mail_auto_raw, 'MW_Mail' ) )
|
652 |
return;
|
653 |
|
654 |
+
$Mail_auto = $this->parse_mail_object( $Mail_auto_raw );
|
655 |
+
$Mail_auto = $this->set_reply_mail_reaquire_params( $Mail_auto );
|
656 |
|
657 |
$filter_name = 'mwform_auto_mail_' . $this->key;
|
658 |
+
$Mail_auto = apply_filters( $filter_name, $Mail_auto, $this->Data->getValues() );
|
659 |
+
if ( !is_a( $Mail_auto, 'MW_Mail' ) )
|
660 |
return;
|
661 |
+
$Mail_auto->send();
|
662 |
}
|
663 |
}
|
664 |
+
|
665 |
+
// 問い合わせ番号を加算
|
666 |
+
if ( preg_match( '{' . MWF_Config::TRACKINGNUMBER . '}', $Mail_raw->body, $reg ) ) {
|
667 |
+
$form_id = $this->options_by_formkey['post_id'];
|
668 |
+
$tracking_number = $this->get_tracking_number( $form_id );
|
669 |
+
$new_tracking_number = $tracking_number + 1;
|
670 |
+
update_post_meta( $form_id, MWF_Config::TRACKINGNUMBER, $new_tracking_number );
|
671 |
+
}
|
672 |
}
|
673 |
}
|
674 |
|
725 |
* parse_mail_body
|
726 |
* $this->create_mail_body(), $this->save_mail_body の本体
|
727 |
* 第2引数でDB保存するか判定
|
728 |
+
* @param array $matches
|
729 |
+
* @param bool $doUpdate
|
730 |
+
* @return string $value
|
731 |
*/
|
732 |
protected function parse_mail_body( $matches, $doUpdate = false ) {
|
733 |
+
$match = $matches[1];
|
734 |
+
// MWF_Config::TRACKINGNUMBER のときはお問い合せ番号を参照する
|
735 |
+
if ( $match === MWF_Config::TRACKINGNUMBER ) {
|
736 |
+
if ( !empty( $this->options_by_formkey['post_id'] ) ) {
|
737 |
+
$form_id = $this->options_by_formkey['post_id'];
|
738 |
+
$tracking_number_title = esc_html__( 'Tracking Number', MWF_Config::DOMAIN );
|
739 |
+
$match = apply_filters( 'mwform_tracking_number_title_' . $this->key, $tracking_number_title );
|
740 |
+
$value = $this->get_tracking_number( $form_id );
|
741 |
+
}
|
742 |
+
} else {
|
743 |
+
$value = $this->Data->get( $match );
|
744 |
+
}
|
745 |
if ( $value !== null && $doUpdate ) {
|
746 |
+
update_post_meta( $this->insert_id, $match, $value );
|
747 |
}
|
748 |
return $value;
|
749 |
}
|
889 |
}
|
890 |
}
|
891 |
$_preview_class = ( $this->viewFlg === 'confirm' ) ? ' mw_wp_form_preview' : '';
|
892 |
+
return sprintf(
|
893 |
+
'<div id="mw_wp_form_%s" class="mw_wp_form mw_wp_form_%s">%s<!-- end .mw_wp_form --></div>',
|
894 |
+
esc_attr( $this->key ),
|
895 |
+
esc_attr( $this->viewFlg . $_preview_class ),
|
896 |
+
$this->Form->start() . do_shortcode( $content ) . $upload_file_hidden . $this->Form->end()
|
897 |
+
);
|
|
|
898 |
}
|
899 |
}
|
900 |
|
984 |
*/
|
985 |
public function _mwform_complete_message( $atts, $content = '' ) {
|
986 |
if ( $this->viewFlg == 'complete' ) {
|
987 |
+
return sprintf(
|
988 |
+
'<div id="mw_wp_form_%s" class="mw_wp_form mw_wp_form_%s">%s<!-- end .mw_wp_form --></div>',
|
989 |
+
esc_attr( $this->key ),
|
990 |
+
esc_attr( $this->viewFlg ),
|
991 |
+
$content
|
992 |
+
);
|
993 |
}
|
994 |
}
|
995 |
|
1172 |
}
|
1173 |
return $Mail;
|
1174 |
}
|
1175 |
+
|
1176 |
+
/**
|
1177 |
+
* get_tracking_number
|
1178 |
+
* @param int $post_id フォームの Post ID
|
1179 |
+
* @return int $tracking_number
|
1180 |
+
*/
|
1181 |
+
protected function get_tracking_number( $post_id ) {
|
1182 |
+
$tracking_number = get_post_meta( $post_id, MWF_Config::TRACKINGNUMBER, true );
|
1183 |
+
if ( empty( $tracking_number ) ) {
|
1184 |
+
$tracking_number = 1;
|
1185 |
+
}
|
1186 |
+
return intval( $tracking_number );
|
1187 |
+
}
|
1188 |
}
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.amazon.co.jp/registry/wishlist/39ANKRNSTNW40
|
|
4 |
Tags: plugin, form, confirm, preview, shortcode, mail, chart, graph
|
5 |
Requires at least: 3.7
|
6 |
Tested up to: 4.0
|
7 |
-
Stable tag:
|
8 |
License: GPLv2
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -34,6 +34,10 @@ MW WP Form はショートコードを使って確認画面付きのメールフ
|
|
34 |
|
35 |
http://plugins.2inc.org/mw-wp-form/
|
36 |
|
|
|
|
|
|
|
|
|
37 |
= The following third-party resources =
|
38 |
|
39 |
Google Charts
|
@@ -67,6 +71,12 @@ Do you have questions or issues with MW WP Form? Use these support channels appr
|
|
67 |
|
68 |
== Changelog ==
|
69 |
|
|
|
|
|
|
|
|
|
|
|
|
|
70 |
= 1.9.4 =
|
71 |
* Bug fix : Fix HTML structures.
|
72 |
* Bug fix : Fix bug that does not display image of image field in SSL.
|
4 |
Tags: plugin, form, confirm, preview, shortcode, mail, chart, graph
|
5 |
Requires at least: 3.7
|
6 |
Tested up to: 4.0
|
7 |
+
Stable tag: 2.0.0
|
8 |
License: GPLv2
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
34 |
|
35 |
http://plugins.2inc.org/mw-wp-form/
|
36 |
|
37 |
+
= GitHub =
|
38 |
+
|
39 |
+
https://github.com/inc2734/mw-wp-form
|
40 |
+
|
41 |
= The following third-party resources =
|
42 |
|
43 |
Google Charts
|
71 |
|
72 |
== Changelog ==
|
73 |
|
74 |
+
= 2.0.0 =
|
75 |
+
* Added : Add scrolling of screen transition setting.
|
76 |
+
* Added : Add filter_hook mwform_scroll_offset_mw-wp-form-xxx.
|
77 |
+
* Added : Support auto tracking number.
|
78 |
+
* Added : Add filter_hook mwform_tracking_number_title_mw-wp-form-xxx.
|
79 |
+
|
80 |
= 1.9.4 =
|
81 |
* Bug fix : Fix HTML structures.
|
82 |
* Bug fix : Fix bug that does not display image of image field in SSL.
|
system/mw_wp_form_admin_page.php
CHANGED
@@ -2,11 +2,11 @@
|
|
2 |
/**
|
3 |
* Name: MW WP Form Admin Page
|
4 |
* Description: 管理画面クラス
|
5 |
-
* Version: 1.
|
6 |
* Author: Takashi Kitajima
|
7 |
* Author URI: http://2inc.org
|
8 |
* Created : February 21, 2013
|
9 |
-
* Modified:
|
10 |
* License: GPLv2
|
11 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
*/
|
@@ -323,6 +323,9 @@ class MW_WP_Form_Admin_Page {
|
|
323 |
<p>
|
324 |
<label><input type="checkbox" name="<?php echo esc_attr( MWF_Config::NAME ); ?>[usedb]" value="1" <?php checked( $this->get_post_data( 'usedb' ), 1 ); ?> /> <?php esc_html_e( 'Saving inquiry data in database', MWF_Config::DOMAIN ); ?></label>
|
325 |
</p>
|
|
|
|
|
|
|
326 |
<table border="0" cellpadding="0" cellspacing="0" class="akismet">
|
327 |
<tr>
|
328 |
<th colspan="2"><?php esc_html_e( 'Akismet Setting', MWF_Config::DOMAIN ); ?></th>
|
@@ -366,6 +369,10 @@ class MW_WP_Form_Admin_Page {
|
|
366 |
?>
|
367 |
<p>
|
368 |
<?php esc_html_e( '{key} is converted form data.', MWF_Config::DOMAIN ); ?>
|
|
|
|
|
|
|
|
|
369 |
</p>
|
370 |
<p>
|
371 |
<b><?php esc_html_e( 'Subject', MWF_Config::DOMAIN ); ?></b><br />
|
@@ -402,6 +409,10 @@ class MW_WP_Form_Admin_Page {
|
|
402 |
?>
|
403 |
<p>
|
404 |
<?php esc_html_e( '{key} is converted form data.', MWF_Config::DOMAIN ); ?>
|
|
|
|
|
|
|
|
|
405 |
</p>
|
406 |
<p>
|
407 |
<?php esc_html_e( 'If Admin Email Options is a blank, Automatic Replay Email Options is used as Admin Email Options.', MWF_Config::DOMAIN ); ?>
|
2 |
/**
|
3 |
* Name: MW WP Form Admin Page
|
4 |
* Description: 管理画面クラス
|
5 |
+
* Version: 1.12.0
|
6 |
* Author: Takashi Kitajima
|
7 |
* Author URI: http://2inc.org
|
8 |
* Created : February 21, 2013
|
9 |
+
* Modified: October 14, 2014
|
10 |
* License: GPLv2
|
11 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
*/
|
323 |
<p>
|
324 |
<label><input type="checkbox" name="<?php echo esc_attr( MWF_Config::NAME ); ?>[usedb]" value="1" <?php checked( $this->get_post_data( 'usedb' ), 1 ); ?> /> <?php esc_html_e( 'Saving inquiry data in database', MWF_Config::DOMAIN ); ?></label>
|
325 |
</p>
|
326 |
+
<p>
|
327 |
+
<label><input type="checkbox" name="<?php echo esc_attr( MWF_Config::NAME ); ?>[scroll]" value="1" <?php checked( $this->get_post_data( 'scroll' ), 1 ); ?> /> <?php esc_html_e( 'Enable scrolling of screen transition.', MWF_Config::DOMAIN ); ?></label>
|
328 |
+
</p>
|
329 |
<table border="0" cellpadding="0" cellspacing="0" class="akismet">
|
330 |
<tr>
|
331 |
<th colspan="2"><?php esc_html_e( 'Akismet Setting', MWF_Config::DOMAIN ); ?></th>
|
369 |
?>
|
370 |
<p>
|
371 |
<?php esc_html_e( '{key} is converted form data.', MWF_Config::DOMAIN ); ?>
|
372 |
+
<?php echo sprintf(
|
373 |
+
esc_html__( 'It is automatically converted to Tracking number when you input {%s}.', MWF_Config::DOMAIN ),
|
374 |
+
MWF_Config::TRACKINGNUMBER
|
375 |
+
); ?>
|
376 |
</p>
|
377 |
<p>
|
378 |
<b><?php esc_html_e( 'Subject', MWF_Config::DOMAIN ); ?></b><br />
|
409 |
?>
|
410 |
<p>
|
411 |
<?php esc_html_e( '{key} is converted form data.', MWF_Config::DOMAIN ); ?>
|
412 |
+
<?php echo sprintf(
|
413 |
+
esc_html__( 'It is automatically converted to Tracking number when you input {%s}.', MWF_Config::DOMAIN ),
|
414 |
+
MWF_Config::TRACKINGNUMBER
|
415 |
+
); ?>
|
416 |
</p>
|
417 |
<p>
|
418 |
<?php esc_html_e( 'If Admin Email Options is a blank, Automatic Replay Email Options is used as Admin Email Options.', MWF_Config::DOMAIN ); ?>
|
system/mwf_config.php
CHANGED
@@ -2,11 +2,11 @@
|
|
2 |
/**
|
3 |
* Name: MWF_Config
|
4 |
* Description: 設定ファイル
|
5 |
-
* Version: 1.2.
|
6 |
* Author: Takashi Kitajima
|
7 |
* Author URI: http://2inc.org
|
8 |
* Created : May 29, 2013
|
9 |
-
* Modified:
|
10 |
* License: GPLv2
|
11 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
*/
|
@@ -53,4 +53,10 @@ class MWF_Config {
|
|
53 |
* 権限
|
54 |
*/
|
55 |
const CAPABILITY = 'edit_pages';
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
}
|
2 |
/**
|
3 |
* Name: MWF_Config
|
4 |
* Description: 設定ファイル
|
5 |
+
* Version: 1.2.2
|
6 |
* Author: Takashi Kitajima
|
7 |
* Author URI: http://2inc.org
|
8 |
* Created : May 29, 2013
|
9 |
+
* Modified: October 15, 2014
|
10 |
* License: GPLv2
|
11 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
*/
|
53 |
* 権限
|
54 |
*/
|
55 |
const CAPABILITY = 'edit_pages';
|
56 |
+
|
57 |
+
/**
|
58 |
+
* TRACKINGNUMBER
|
59 |
+
* お問い合せ番号用のキー名
|
60 |
+
*/
|
61 |
+
const TRACKINGNUMBER = 'tracking_number';
|
62 |
}
|