MW WP Form - Version 2.5.2

Version Description

  • Added : Add new validation rule japanese kana.
  • Added : Add action hook mwform_before_send_admin_mail_mw-wp-form-xxx.
  • Added : Add action hook mwform_before_send_reply_mail_mw-wp-form-xxx.
  • Added : Add action hook mwform_after_send_mw-wp-form-xxx.
  • Added : Add action hook mwform_enqueue_scripts_mw-wp-form-xxx.
Download this release

Release Info

Developer inc2734
Plugin Icon wp plugin MW WP Form
Version 2.5.2
Comparing to
See all releases

Code changes from version 2.5.0 to 2.5.2

classes/controllers/class.admin.php CHANGED
@@ -1,11 +1,11 @@
1
  <?php
2
  /**
3
  * Name : MW WP Form Admin Controller
4
- * Version : 1.1.1
5
  * Author : Takashi Kitajima
6
  * Author URI : http://2inc.org
7
  * Created : December 31, 2014
8
- * Modified : April 15, 2015
9
  * License : GPLv2 or later
10
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
  */
@@ -40,11 +40,11 @@ class MW_WP_Form_Admin_Controller extends MW_WP_Form_Controller {
40
  */
41
  public function initialize() {
42
  $Admin = new MW_WP_Form_Admin();
43
- add_action( 'add_meta_boxes' , array( $this , 'add_meta_boxes' ) );
44
- add_filter( 'default_content' , array( $this , 'default_content' ) );
45
- add_action( 'media_buttons' , array( $this , 'tag_generator' ) );
46
- add_action( 'admin_enqueue_scripts' , array( $this , 'admin_enqueue_scripts' ) );
47
- add_action( 'save_post' , array( $Admin, 'save_post' ) );
48
  }
49
 
50
  /**
1
  <?php
2
  /**
3
  * Name : MW WP Form Admin Controller
4
+ * Version : 1.1.2
5
  * Author : Takashi Kitajima
6
  * Author URI : http://2inc.org
7
  * Created : December 31, 2014
8
+ * Modified : September 1, 2015
9
  * License : GPLv2 or later
10
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
  */
40
  */
41
  public function initialize() {
42
  $Admin = new MW_WP_Form_Admin();
43
+ add_action( 'add_meta_boxes' , array( $this , 'add_meta_boxes' ) );
44
+ add_filter( 'default_content' , array( $this , 'default_content' ) );
45
+ add_action( 'media_buttons' , array( $this , 'tag_generator' ) );
46
+ add_action( 'admin_enqueue_scripts', array( $this , 'admin_enqueue_scripts' ) );
47
+ add_action( 'save_post' , array( $Admin, 'save_post' ) );
48
  }
49
 
50
  /**
classes/controllers/class.main.php CHANGED
@@ -2,11 +2,11 @@
2
  /**
3
  * Name : MW WP Form Main Controller
4
  * Description: フロントエンドにおいて、適切な画面にリダイレクトさせる
5
- * Version : 1.0.6
6
  * Author : Takashi Kitajima
7
  * Author URI : http://2inc.org
8
  * Created : December 23, 2014
9
- * Modified : May 11, 2015
10
  * License : GPLv2 or later
11
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
  */
@@ -147,6 +147,8 @@ class MW_WP_Form_Main_Controller {
147
  if ( $view_flg === 'complete' ) {
148
  if ( !$this->is_complete_twice() ) {
149
  $this->send();
 
 
150
  }
151
  // 手動フォームの場合は完了画面に ExecShortcode が無く footer の clear_values が
152
  // 効かないためここで消す
@@ -213,6 +215,8 @@ class MW_WP_Form_Main_Controller {
213
  $css = $styles[$style];
214
  wp_enqueue_style( MWF_Config::NAME . '_style', $css );
215
  }
 
 
216
  wp_enqueue_script( MWF_Config::NAME, $url . '../../js/form.js', array( 'jquery' ), false, true );
217
  }
218
 
@@ -233,7 +237,7 @@ class MW_WP_Form_Main_Controller {
233
  ) );
234
  wp_enqueue_script( MWF_Config::NAME . '-scroll' );
235
  }
236
-
237
  /**
238
  * Nginx Cache Controller 用に header をカスタマイズ
239
  *
2
  /**
3
  * Name : MW WP Form Main Controller
4
  * Description: フロントエンドにおいて、適切な画面にリダイレクトさせる
5
+ * Version : 1.1.0
6
  * Author : Takashi Kitajima
7
  * Author URI : http://2inc.org
8
  * Created : December 23, 2014
9
+ * Modified : September 1, 2015
10
  * License : GPLv2 or later
11
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
  */
147
  if ( $view_flg === 'complete' ) {
148
  if ( !$this->is_complete_twice() ) {
149
  $this->send();
150
+
151
+ do_action( 'mwform_after_send_' . $form_key );
152
  }
153
  // 手動フォームの場合は完了画面に ExecShortcode が無く footer の clear_values が
154
  // 効かないためここで消す
215
  $css = $styles[$style];
216
  wp_enqueue_style( MWF_Config::NAME . '_style', $css );
217
  }
218
+
219
+ do_action( 'mwform_enqueue_scripts_' . $this->ExecShortcode->get( 'key' ) );
220
  wp_enqueue_script( MWF_Config::NAME, $url . '../../js/form.js', array( 'jquery' ), false, true );
221
  }
222
 
237
  ) );
238
  wp_enqueue_script( MWF_Config::NAME . '-scroll' );
239
  }
240
+
241
  /**
242
  * Nginx Cache Controller 用に header をカスタマイズ
243
  *
classes/services/class.exec-shortcode.php CHANGED
@@ -573,4 +573,4 @@ class MW_WP_Form_Exec_Shortcode {
573
  $content
574
  );
575
  }
576
- }
573
  $content
574
  );
575
  }
576
+ }
classes/services/class.mail.php CHANGED
@@ -1,11 +1,11 @@
1
  <?php
2
  /**
3
  * Name : MW WP Form Mail Service
4
- * Version : 1.1.3
5
  * Author : Takashi Kitajima
6
  * Author URI : http://2inc.org
7
  * Created : January 1, 2015
8
- * Modified : April 14, 2015
9
  * License : GPLv2 or later
10
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
  */
@@ -95,6 +95,11 @@ class MW_WP_Form_Mail_Service {
95
  $Mail_admin->set_admin_mail_reaquire_params();
96
  $Mail_admin = $this->apply_filters_mwform_mail( $Mail_admin );
97
  $Mail_admin = $this->apply_filters_mwform_admin_mail( $Mail_admin );
 
 
 
 
 
98
  $Mail_admin->send();
99
 
100
  // DB非保存時は管理者メール送信後、ファイルを削除
@@ -124,6 +129,11 @@ class MW_WP_Form_Mail_Service {
124
  $Mail_auto = $this->get_parsed_mail_object( $this->Mail_auto_raw );
125
  $Mail_auto->set_reply_mail_reaquire_params();
126
  $Mail_auto = $this->apply_filters_mwform_auto_mail( $Mail_auto );
 
 
 
 
 
127
  $Mail_auto->send();
128
  }
129
 
1
  <?php
2
  /**
3
  * Name : MW WP Form Mail Service
4
+ * Version : 1.2.0
5
  * Author : Takashi Kitajima
6
  * Author URI : http://2inc.org
7
  * Created : January 1, 2015
8
+ * Modified : September 1, 2015
9
  * License : GPLv2 or later
10
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
  */
95
  $Mail_admin->set_admin_mail_reaquire_params();
96
  $Mail_admin = $this->apply_filters_mwform_mail( $Mail_admin );
97
  $Mail_admin = $this->apply_filters_mwform_admin_mail( $Mail_admin );
98
+ do_action(
99
+ 'mwform_before_send_admin_mail_' . $this->form_key,
100
+ clone $Mail_admin,
101
+ clone $this->Data
102
+ );
103
  $Mail_admin->send();
104
 
105
  // DB非保存時は管理者メール送信後、ファイルを削除
129
  $Mail_auto = $this->get_parsed_mail_object( $this->Mail_auto_raw );
130
  $Mail_auto->set_reply_mail_reaquire_params();
131
  $Mail_auto = $this->apply_filters_mwform_auto_mail( $Mail_auto );
132
+ do_action(
133
+ 'mwform_before_send_reply_mail_' . $this->form_key,
134
+ clone $Mail_auto,
135
+ clone $this->Data
136
+ );
137
  $Mail_auto->send();
138
  }
139
 
classes/validation-rules/class.kana.php ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Name : MW WP Form Validation Rule Kana
4
+ * Description: 値がひらがな or カタカナ
5
+ * Version : 1.0.1
6
+ * Author : Key Nomura, Takashi Kitajima
7
+ * Author URI : http://mypacecreator.net/
8
+ * Created : September 1, 2015
9
+ * Modified : September 1, 2015
10
+ * License : GPLv2 or later
11
+ * License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
+ */
13
+ class MW_WP_Form_Validation_Rule_Kana extends MW_WP_Form_Abstract_Validation_Rule {
14
+
15
+ /**
16
+ * バリデーションルール名を指定
17
+ * @var string
18
+ */
19
+ protected $name = 'kana';
20
+
21
+ /**
22
+ * バリデーションチェック
23
+ *
24
+ * @param string $key name属性
25
+ * @param array $option
26
+ * @return string エラーメッセージ
27
+ */
28
+ public function rule( $key, array $options = array() ) {
29
+ $value = $this->Data->get( $key );
30
+ if ( !MWF_Functions::is_empty( $value ) ) {
31
+ if ( !preg_match( '/^[ぁ-ゞァ-ヾ  ]*?[ぁ-ゞァ-ヾ]+?[ぁ-ゞァ-ヾ  ]*?$/u', $value ) ) {
32
+ $defaults = array(
33
+ 'message' => __( 'Please enter with a Japanese Hiragana or Katakana.', MWF_Config::DOMAIN )
34
+ );
35
+ $options = array_merge( $defaults, $options );
36
+ return $options['message'];
37
+ }
38
+ }
39
+ }
40
+
41
+ /**
42
+ * 設定パネルに追加
43
+ *
44
+ * @param numeric $key バリデーションルールセットの識別番号
45
+ * @param array $value バリデーションルールセットの内容
46
+ */
47
+ public function admin( $key, $value ) {
48
+ ?>
49
+ <label><input type="checkbox" <?php checked( $value[$this->getName()], 1 ); ?> name="<?php echo MWF_Config::NAME; ?>[validation][<?php echo $key; ?>][<?php echo esc_attr( $this->getName() ); ?>]" value="1" /><?php esc_html_e( 'Japanese Hiragana or Katakana', MWF_Config::DOMAIN ); ?></label>
50
+ <?php
51
+ }
52
+ }
classes/validation-rules/class.url.php CHANGED
@@ -46,7 +46,7 @@ class MW_WP_Form_Validation_Rule_Url extends MW_WP_Form_Abstract_Validation_Rule
46
  */
47
  public function admin( $key, $value ) {
48
  ?>
49
- <label><input type="checkbox" <?php checked( $value[$this->getName()], 1 ); ?> name="<?php echo MWF_Config::NAME; ?>[validation][<?php echo $key; ?>][<?php echo esc_attr( $this->getName() ); ?>]" value="1" /><?php esc_html_x( 'URL', 'validatioin', MWF_Config::DOMAIN ); ?></label>
50
  <?php
51
  }
52
- }
46
  */
47
  public function admin( $key, $value ) {
48
  ?>
49
+ <label><input type="checkbox" <?php checked( $value[$this->getName()], 1 ); ?> name="<?php echo MWF_Config::NAME; ?>[validation][<?php echo $key; ?>][<?php echo esc_attr( $this->getName() ); ?>]" value="1" /><?php echo esc_html_x( 'URL', 'validatioin', MWF_Config::DOMAIN ); ?></label>
50
  <?php
51
  }
52
+ }
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 2.5.0\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/mw-wp-form\n"
7
- "POT-Creation-Date: 2015-08-20 08:55+0900\n"
8
- "PO-Revision-Date: 2015-08-20 08:55+0900\n"
9
  "Last-Translator: inc2734 <inc@2inc.org>\n"
10
  "Language-Team: Takashi Kitajima <inc@2inc.org>\n"
11
  "Language: ja\n"
@@ -16,7 +16,7 @@ msgstr ""
16
  "X-Poedit-SourceCharset: UTF-8\n"
17
  "X-Poedit-Basepath: .\n"
18
  "X-Generator: Poedit 1.8.4\n"
19
- "X-Poedit-KeywordsList: __;_e;_x;esc_html_e;esc_html__\n"
20
  "X-Poedit-SearchPath-0: ..\n"
21
 
22
  #: classes/controllers/class.admin-list.php:34
@@ -443,6 +443,14 @@ msgstr "ひらがな"
443
  msgid "This value is invalid."
444
  msgstr "値が不正です。"
445
 
 
 
 
 
 
 
 
 
446
  #: classes/validation-rules/class.katakana.php:33
447
  msgid "Please enter with a Japanese Katakana."
448
  msgstr "カタカナで入力してください。"
@@ -501,69 +509,68 @@ msgid "This is not the format of a url."
501
  msgstr "URLの形式ではありません。"
502
 
503
  #: classes/validation-rules/class.url.php:49
504
- #, fuzzy
505
  msgctxt "validatioin"
506
  msgid "URL"
507
- msgstr "URL フィールド"
508
 
509
  #: classes/validation-rules/class.zip.php:32
510
  msgid "This is not the format of a zip code."
511
  msgstr "郵便番号の形式ではありません。"
512
 
513
- #: mw-wp-form.php:166 mw-wp-form.php:167 templates/chart/index.php:4
514
  msgid "Chart"
515
  msgstr "グラフ"
516
 
517
- #: mw-wp-form.php:195 mw-wp-form.php:196
518
  #: templates/stores-inquiry-data-form-list/index.php:2
519
  msgid "Inquiry data"
520
  msgstr "問い合わせデータ"
521
 
522
- #: mw-wp-form.php:291
523
  msgid "Add New Form"
524
  msgstr "フォームを追加"
525
 
526
- #: mw-wp-form.php:292
527
  msgid "Edit Form"
528
  msgstr "フォームを編集"
529
 
530
- #: mw-wp-form.php:293
531
  msgid "New Form"
532
  msgstr "新しいフォーム"
533
 
534
- #: mw-wp-form.php:294
535
  msgid "View Form"
536
  msgstr "フォームを表示"
537
 
538
- #: mw-wp-form.php:295
539
  msgid "Search Forms"
540
  msgstr "フォームを検索"
541
 
542
- #: mw-wp-form.php:296
543
  msgid "No Forms found"
544
  msgstr "フォームがありません"
545
 
546
- #: mw-wp-form.php:297
547
  msgid "No Forms found in Trash"
548
  msgstr "ゴミ箱にフォームはありません"
549
 
550
- #: mw-wp-form.php:314
551
  msgid "Edit "
552
  msgstr "編集"
553
 
554
- #: mw-wp-form.php:315
555
  msgid "View"
556
  msgstr "表示"
557
 
558
- #: mw-wp-form.php:316
559
  msgid "Search"
560
  msgstr "検索"
561
 
562
- #: mw-wp-form.php:317
563
  msgid "No data found"
564
  msgstr "データがありません"
565
 
566
- #: mw-wp-form.php:318
567
  msgid "No data found in Trash"
568
  msgstr "ゴミ箱にデータはありません"
569
 
@@ -844,12 +851,10 @@ msgstr ""
844
  "フ機能集計などを使用することができます。"
845
 
846
  #. Author of the plugin/theme
847
- #, fuzzy
848
  msgid "Takashi Kitajima"
849
  msgstr "Takashi Kitajima"
850
 
851
  #. Author URI of the plugin/theme
852
- #, fuzzy
853
  msgid "http://2inc.org"
854
  msgstr "http://2inc.org"
855
 
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.5.2\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/mw-wp-form\n"
7
+ "POT-Creation-Date: 2015-09-01 15:50+0900\n"
8
+ "PO-Revision-Date: 2015-09-01 15:54+0900\n"
9
  "Last-Translator: inc2734 <inc@2inc.org>\n"
10
  "Language-Team: Takashi Kitajima <inc@2inc.org>\n"
11
  "Language: ja\n"
16
  "X-Poedit-SourceCharset: UTF-8\n"
17
  "X-Poedit-Basepath: .\n"
18
  "X-Generator: Poedit 1.8.4\n"
19
+ "X-Poedit-KeywordsList: __;_e;_x;esc_html_e;esc_html__;esc_html_x\n"
20
  "X-Poedit-SearchPath-0: ..\n"
21
 
22
  #: classes/controllers/class.admin-list.php:34
443
  msgid "This value is invalid."
444
  msgstr "値が不正です。"
445
 
446
+ #: classes/validation-rules/class.kana.php:33
447
+ msgid "Please enter with a Japanese Hiragana or Katakana."
448
+ msgstr "ひらがな または カタカナで入力してください。"
449
+
450
+ #: classes/validation-rules/class.kana.php:49
451
+ msgid "Japanese Hiragana or Katakana"
452
+ msgstr "ひらがな または カタカナ"
453
+
454
  #: classes/validation-rules/class.katakana.php:33
455
  msgid "Please enter with a Japanese Katakana."
456
  msgstr "カタカナで入力してください。"
509
  msgstr "URLの形式ではありません。"
510
 
511
  #: classes/validation-rules/class.url.php:49
 
512
  msgctxt "validatioin"
513
  msgid "URL"
514
+ msgstr "URL"
515
 
516
  #: classes/validation-rules/class.zip.php:32
517
  msgid "This is not the format of a zip code."
518
  msgstr "郵便番号の形式ではありません。"
519
 
520
+ #: mw-wp-form.php:167 mw-wp-form.php:168 templates/chart/index.php:4
521
  msgid "Chart"
522
  msgstr "グラフ"
523
 
524
+ #: mw-wp-form.php:196 mw-wp-form.php:197
525
  #: templates/stores-inquiry-data-form-list/index.php:2
526
  msgid "Inquiry data"
527
  msgstr "問い合わせデータ"
528
 
529
+ #: mw-wp-form.php:292
530
  msgid "Add New Form"
531
  msgstr "フォームを追加"
532
 
533
+ #: mw-wp-form.php:293
534
  msgid "Edit Form"
535
  msgstr "フォームを編集"
536
 
537
+ #: mw-wp-form.php:294
538
  msgid "New Form"
539
  msgstr "新しいフォーム"
540
 
541
+ #: mw-wp-form.php:295
542
  msgid "View Form"
543
  msgstr "フォームを表示"
544
 
545
+ #: mw-wp-form.php:296
546
  msgid "Search Forms"
547
  msgstr "フォームを検索"
548
 
549
+ #: mw-wp-form.php:297
550
  msgid "No Forms found"
551
  msgstr "フォームがありません"
552
 
553
+ #: mw-wp-form.php:298
554
  msgid "No Forms found in Trash"
555
  msgstr "ゴミ箱にフォームはありません"
556
 
557
+ #: mw-wp-form.php:315
558
  msgid "Edit "
559
  msgstr "編集"
560
 
561
+ #: mw-wp-form.php:316
562
  msgid "View"
563
  msgstr "表示"
564
 
565
+ #: mw-wp-form.php:317
566
  msgid "Search"
567
  msgstr "検索"
568
 
569
+ #: mw-wp-form.php:318
570
  msgid "No data found"
571
  msgstr "データがありません"
572
 
573
+ #: mw-wp-form.php:319
574
  msgid "No data found in Trash"
575
  msgstr "ゴミ箱にデータはありません"
576
 
851
  "フ機能集計などを使用することができます。"
852
 
853
  #. Author of the plugin/theme
 
854
  msgid "Takashi Kitajima"
855
  msgstr "Takashi Kitajima"
856
 
857
  #. Author URI of the plugin/theme
 
858
  msgid "http://2inc.org"
859
  msgstr "http://2inc.org"
860
 
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 2.5.0\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/mw-wp-form\n"
7
- "POT-Creation-Date: 2015-08-19 23:53:09+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -438,6 +438,14 @@ msgstr ""
438
  msgid "This value is invalid."
439
  msgstr ""
440
 
 
 
 
 
 
 
 
 
441
  #: classes/validation-rules/class.katakana.php:33
442
  msgid "Please enter with a Japanese Katakana."
443
  msgstr ""
@@ -504,60 +512,60 @@ msgstr ""
504
  msgid "This is not the format of a zip code."
505
  msgstr ""
506
 
507
- #: mw-wp-form.php:166 mw-wp-form.php:167 templates/chart/index.php:4
508
  msgid "Chart"
509
  msgstr ""
510
 
511
- #: mw-wp-form.php:195 mw-wp-form.php:196
512
  #: templates/stores-inquiry-data-form-list/index.php:2
513
  msgid "Inquiry data"
514
  msgstr ""
515
 
516
- #: mw-wp-form.php:291
517
  msgid "Add New Form"
518
  msgstr ""
519
 
520
- #: mw-wp-form.php:292
521
  msgid "Edit Form"
522
  msgstr ""
523
 
524
- #: mw-wp-form.php:293
525
  msgid "New Form"
526
  msgstr ""
527
 
528
- #: mw-wp-form.php:294
529
  msgid "View Form"
530
  msgstr ""
531
 
532
- #: mw-wp-form.php:295
533
  msgid "Search Forms"
534
  msgstr ""
535
 
536
- #: mw-wp-form.php:296
537
  msgid "No Forms found"
538
  msgstr ""
539
 
540
- #: mw-wp-form.php:297
541
  msgid "No Forms found in Trash"
542
  msgstr ""
543
 
544
- #: mw-wp-form.php:314
545
  msgid "Edit "
546
  msgstr ""
547
 
548
- #: mw-wp-form.php:315
549
  msgid "View"
550
  msgstr ""
551
 
552
- #: mw-wp-form.php:316
553
  msgid "Search"
554
  msgstr ""
555
 
556
- #: mw-wp-form.php:317
557
  msgid "No data found"
558
  msgstr ""
559
 
560
- #: mw-wp-form.php:318
561
  msgid "No data found in Trash"
562
  msgstr ""
563
 
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.5.2\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/mw-wp-form\n"
7
+ "POT-Creation-Date: 2015-09-01 06:49:06+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
438
  msgid "This value is invalid."
439
  msgstr ""
440
 
441
+ #: classes/validation-rules/class.kana.php:33
442
+ msgid "Please enter with a Japanese Hiragana or Katakana."
443
+ msgstr ""
444
+
445
+ #: classes/validation-rules/class.kana.php:49
446
+ msgid "Japanese Hiragana or Katakana"
447
+ msgstr ""
448
+
449
  #: classes/validation-rules/class.katakana.php:33
450
  msgid "Please enter with a Japanese Katakana."
451
  msgstr ""
512
  msgid "This is not the format of a zip code."
513
  msgstr ""
514
 
515
+ #: mw-wp-form.php:167 mw-wp-form.php:168 templates/chart/index.php:4
516
  msgid "Chart"
517
  msgstr ""
518
 
519
+ #: mw-wp-form.php:196 mw-wp-form.php:197
520
  #: templates/stores-inquiry-data-form-list/index.php:2
521
  msgid "Inquiry data"
522
  msgstr ""
523
 
524
+ #: mw-wp-form.php:292
525
  msgid "Add New Form"
526
  msgstr ""
527
 
528
+ #: mw-wp-form.php:293
529
  msgid "Edit Form"
530
  msgstr ""
531
 
532
+ #: mw-wp-form.php:294
533
  msgid "New Form"
534
  msgstr ""
535
 
536
+ #: mw-wp-form.php:295
537
  msgid "View Form"
538
  msgstr ""
539
 
540
+ #: mw-wp-form.php:296
541
  msgid "Search Forms"
542
  msgstr ""
543
 
544
+ #: mw-wp-form.php:297
545
  msgid "No Forms found"
546
  msgstr ""
547
 
548
+ #: mw-wp-form.php:298
549
  msgid "No Forms found in Trash"
550
  msgstr ""
551
 
552
+ #: mw-wp-form.php:315
553
  msgid "Edit "
554
  msgstr ""
555
 
556
+ #: mw-wp-form.php:316
557
  msgid "View"
558
  msgstr ""
559
 
560
+ #: mw-wp-form.php:317
561
  msgid "Search"
562
  msgstr ""
563
 
564
+ #: mw-wp-form.php:318
565
  msgid "No data found"
566
  msgstr ""
567
 
568
+ #: mw-wp-form.php:319
569
  msgid "No data found in Trash"
570
  msgstr ""
571
 
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 is shortcode base contact form plugin. This plugin have many feature. For example you can use many validation rules, contact data saving, and chart aggregation using saved contact data.
6
- * Version: 2.5.0
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : September 25, 2012
10
- * Modified: August 20, 2015
11
  * Text Domain: mw-wp-form
12
  * Domain Path: /languages/
13
  * License: GPLv2 or later
@@ -37,6 +37,7 @@ class MW_WP_Form {
37
  'alphanumeric' => '',
38
  'katakana' => '',
39
  'hiragana' => '',
 
40
  'zip' => '',
41
  'tel' => '',
42
  'mail' => '',
3
  * Plugin Name: MW WP Form
4
  * Plugin URI: http://plugins.2inc.org/mw-wp-form/
5
  * Description: MW WP Form is shortcode base contact form plugin. This plugin have many feature. For example you can use many validation rules, contact data saving, and chart aggregation using saved contact data.
6
+ * Version: 2.5.2
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : September 25, 2012
10
+ * Modified: September 1, 2015
11
  * Text Domain: mw-wp-form
12
  * Domain Path: /languages/
13
  * License: GPLv2 or later
37
  'alphanumeric' => '',
38
  'katakana' => '',
39
  'hiragana' => '',
40
+ 'kana' => '',
41
  'zip' => '',
42
  'tel' => '',
43
  'mail' => '',
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === MW WP Form ===
2
- Contributors: inc2734, ryu263, tomothumb, nanniku, mt8.biz, NExt-Season, kuck1u
3
  Donate link: http://www.amazon.co.jp/registry/wishlist/39ANKRNSTNW40
4
  Tags: plugin, form, confirm, preview, shortcode, mail, chart, graph, html, contact form, form creation, form creator, form manager, form builder, custom form
5
  Requires at least: 3.7
6
  Tested up to: 4.3
7
- Stable tag: 2.5.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -40,7 +40,7 @@ https://github.com/inc2734/mw-wp-form
40
 
41
  = The following third-party resources =
42
 
43
- Google Charts
44
  Source: https://developers.google.com/chart/
45
 
46
  = Contributors =
@@ -49,9 +49,10 @@ Source: https://developers.google.com/chart/
49
  * [Ryujiro Yamamoto](http://webcre-archive.com) ( [ryu263](http://profiles.wordpress.org/ryu263) )
50
  * [Tsujimoto Tomoyuki](http://kee-non.com) ( [tomothumb](http://profiles.wordpress.org/tomothumb) )
51
  * [Naoyuki Ohata] ( [nanniku](http://profiles.wordpress.org/nanniku) )
52
- * [Kazuto Takeshita] ( [mt8.biz](http://mt8.biz/) )
53
- * [Atsushi Ando] ( [NExt-Season](http://www.next-season.net/) )
54
- * [Kazuki Tomiyasu] ( [KUCKLU](http://visualive.jp/) )
 
55
 
56
  == Installation ==
57
 
@@ -76,6 +77,16 @@ Do you have questions or issues with MW WP Form? Use these support channels appr
76
 
77
  == Changelog ==
78
 
 
 
 
 
 
 
 
 
 
 
79
  = 2.5.0 =
80
  * Added : Add html5 email field.
81
  * Added : Add html5 url field.
@@ -85,15 +96,15 @@ Do you have questions or issues with MW WP Form? Use these support channels appr
85
  * Changed : maxlength default value is null.
86
  * Bugfix : Fixed a bug that is CC and BCC have been overlapping sent when To is multiple.
87
 
88
- = 2.4.12
89
  * Bugfix : filter hook 'mwform_value_mwf_xxx' does not work when to use radio or checkboxes.
90
  * Changed : Changed checkbox default separator ', ' to ','.
91
 
92
- = 2.4.11
93
  * Bugfix : Fixed a bug that attachment file does not displayed in contact data list page.
94
  * Changed : Trim email address on inputs.
95
 
96
- = 2.4.10
97
  * Bugfix : Fixed a bug that does not scroll when you return to the input screen.
98
 
99
  = 2.4.9 =
@@ -594,4 +605,4 @@ Do you have questions or issues with MW WP Form? Use these support channels appr
594
  {user_id}, {user_login}, {user_email}, {user_url}, {user_registered}, {display_name}
595
 
596
  = 0.5 =
597
- * Initial release.
1
  === MW WP Form ===
2
+ Contributors: inc2734, ryu263, tomothumb, nanniku, mt8.biz, NExt-Season, kuck1u, mypacecreator
3
  Donate link: http://www.amazon.co.jp/registry/wishlist/39ANKRNSTNW40
4
  Tags: plugin, form, confirm, preview, shortcode, mail, chart, graph, html, contact form, form creation, form creator, form manager, form builder, custom form
5
  Requires at least: 3.7
6
  Tested up to: 4.3
7
+ Stable tag: 2.5.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
40
 
41
  = The following third-party resources =
42
 
43
+ Google Charts
44
  Source: https://developers.google.com/chart/
45
 
46
  = Contributors =
49
  * [Ryujiro Yamamoto](http://webcre-archive.com) ( [ryu263](http://profiles.wordpress.org/ryu263) )
50
  * [Tsujimoto Tomoyuki](http://kee-non.com) ( [tomothumb](http://profiles.wordpress.org/tomothumb) )
51
  * [Naoyuki Ohata] ( [nanniku](http://profiles.wordpress.org/nanniku) )
52
+ * [Kazuto Takeshita](http://mt8.biz/) ( [moto hachi](https://profiles.wordpress.org/mt8biz/) )
53
+ * [Atsushi Ando](http://www.next-season.net/) ( [NExt-Season](https://profiles.wordpress.org/next-season/) )
54
+ * [Kazuki Tomiyasu](http://visualive.jp/) ( [KUCKLU](https://profiles.wordpress.org/kuck1u/) )
55
+ * [Key Nomura](http://mypacecreator.net/) ( [mypacecreator](https://profiles.wordpress.org/mypacecreator/) )
56
 
57
  == Installation ==
58
 
77
 
78
  == Changelog ==
79
 
80
+ = 2.5.2 =
81
+ * Added : Add new validation rule japanese kana.
82
+ * Added : Add action hook mwform_before_send_admin_mail_mw-wp-form-xxx.
83
+ * Added : Add action hook mwform_before_send_reply_mail_mw-wp-form-xxx.
84
+ * Added : Add action hook mwform_after_send_mw-wp-form-xxx.
85
+ * Added : Add action hook mwform_enqueue_scripts_mw-wp-form-xxx.
86
+
87
+ = 2.5.1 =
88
+ * Update readme.txt
89
+
90
  = 2.5.0 =
91
  * Added : Add html5 email field.
92
  * Added : Add html5 url field.
96
  * Changed : maxlength default value is null.
97
  * Bugfix : Fixed a bug that is CC and BCC have been overlapping sent when To is multiple.
98
 
99
+ = 2.4.12 =
100
  * Bugfix : filter hook 'mwform_value_mwf_xxx' does not work when to use radio or checkboxes.
101
  * Changed : Changed checkbox default separator ', ' to ','.
102
 
103
+ = 2.4.11 =
104
  * Bugfix : Fixed a bug that attachment file does not displayed in contact data list page.
105
  * Changed : Trim email address on inputs.
106
 
107
+ = 2.4.10 =
108
  * Bugfix : Fixed a bug that does not scroll when you return to the input screen.
109
 
110
  = 2.4.9 =
605
  {user_id}, {user_login}, {user_email}, {user_url}, {user_registered}, {display_name}
606
 
607
  = 0.5 =
608
+ * Initial release.