MW WP Form - Version 1.9.1

Version Description

  • Changed : Easy to see change the form tag insertion selectbox.
  • Deleted : Delete size attribute in file or image field.
  • Bug fix : Fix bug that there are cases where the page chache does not disabled on Nginx.
Download this release

Release Info

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

Code changes from version 1.9.0 to 1.9.1

css/style.css CHANGED
@@ -5,6 +5,11 @@
5
  color : #B70000;
6
  display : block;
7
  }
 
 
 
 
 
8
  .ui-datepicker .ui-datepicker-title select.ui-datepicker-month,
9
  .ui-datepicker .ui-datepicker-title select.ui-datepicker-year {
10
  width: 40%;
5
  color : #B70000;
6
  display : block;
7
  }
8
+
9
+ .mw_wp_form .akismet_error {
10
+ display: block;
11
+ }
12
+
13
  .ui-datepicker .ui-datepicker-title select.ui-datepicker-month,
14
  .ui-datepicker .ui-datepicker-title select.ui-datepicker-year {
15
  width: 40%;
form_fields/mw_form_field_akismet_error.php CHANGED
@@ -2,11 +2,11 @@
2
  /**
3
  * Name: MW Form Field Akismet Error
4
  * Description: Akismetのエラーを出力。
5
- * Version: 1.3.1
6
  * Author: Takashi Kitajima
7
  * Author URI: http://2inc.org
8
  * Created : June 21, 2013
9
- * Modified: July 24, 2014
10
  * License: GPLv2
11
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
  */
@@ -39,7 +39,13 @@ class MW_Form_Field_Akismet_Error extends MW_Form_Field {
39
  * @return string HTML
40
  */
41
  protected function inputPage() {
42
- return '<div class="akismet_error">' . $this->getError( MWF_Config::AKISMET ) . '</div>';
 
 
 
 
 
 
43
  }
44
 
45
  /**
2
  /**
3
  * Name: MW Form Field Akismet Error
4
  * Description: Akismetのエラーを出力。
5
+ * Version: 1.3.3
6
  * Author: Takashi Kitajima
7
  * Author URI: http://2inc.org
8
  * Created : June 21, 2013
9
+ * Modified: September 3, 2014
10
  * License: GPLv2
11
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
  */
39
  * @return string HTML
40
  */
41
  protected function inputPage() {
42
+ $error = $this->getError( MWF_Config::AKISMET );
43
+ if ( $error ) {
44
+ return sprintf(
45
+ '<span class="akismet_error">%s</span>',
46
+ $this->getError( MWF_Config::AKISMET )
47
+ );
48
+ }
49
  }
50
 
51
  /**
form_fields/mw_form_field_back_button.php CHANGED
@@ -2,16 +2,22 @@
2
  /**
3
  * Name: MW Form Field Back Button
4
  * Description: 戻るボタンを出力。
5
- * Version: 1.4.1
6
  * Author: Takashi Kitajima
7
  * Author URI: http://2inc.org
8
  * Created : December 14, 2012
9
- * Modified: July 24, 2014
10
  * License: GPLv2
11
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
  */
13
  class MW_Form_Field_Back_Button extends MW_Form_Field {
14
 
 
 
 
 
 
 
15
  /**
16
  * set_names
17
  * shortcode_name、display_nameを定義。各子クラスで上書きする。
2
  /**
3
  * Name: MW Form Field Back Button
4
  * Description: 戻るボタンを出力。
5
+ * Version: 1.4.2
6
  * Author: Takashi Kitajima
7
  * Author URI: http://2inc.org
8
  * Created : December 14, 2012
9
+ * Modified: September 3, 2014
10
  * License: GPLv2
11
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
  */
13
  class MW_Form_Field_Back_Button extends MW_Form_Field {
14
 
15
+ /**
16
+ * string $type フォームタグの種類
17
+ * input, select, button, other
18
+ */
19
+ public $type = 'button';
20
+
21
  /**
22
  * set_names
23
  * shortcode_name、display_nameを定義。各子クラスで上書きする。
form_fields/mw_form_field_button.php CHANGED
@@ -2,16 +2,22 @@
2
  /**
3
  * Name: MW Form Field Button
4
  * Description: ボタンを出力。
5
- * Version: 1.4.1
6
  * Author: Takashi Kitajima
7
  * Author URI: http://2inc.org
8
  * Created : December 14, 2012
9
- * Modified: July 24, 2014
10
  * License: GPLv2
11
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
  */
13
  class MW_Form_Field_Button extends MW_Form_Field {
14
 
 
 
 
 
 
 
15
  /**
16
  * set_names
17
  * shortcode_name、display_nameを定義。各子クラスで上書きする。
2
  /**
3
  * Name: MW Form Field Button
4
  * Description: ボタンを出力。
5
+ * Version: 1.4.2
6
  * Author: Takashi Kitajima
7
  * Author URI: http://2inc.org
8
  * Created : December 14, 2012
9
+ * Modified: September 3, 2014
10
  * License: GPLv2
11
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
  */
13
  class MW_Form_Field_Button extends MW_Form_Field {
14
 
15
+ /**
16
+ * string $type フォームタグの種類
17
+ * input, select, button, other
18
+ */
19
+ public $type = 'button';
20
+
21
  /**
22
  * set_names
23
  * shortcode_name、display_nameを定義。各子クラスで上書きする。
form_fields/mw_form_field_checkbox.php CHANGED
@@ -2,16 +2,22 @@
2
  /**
3
  * Name: MW Form Field Checkbox
4
  * Description: チェックボックスを出力。
5
- * Version: 1.4.2
6
  * Author: Takashi Kitajima
7
  * Author URI: http://2inc.org
8
  * Created : December 14, 2012
9
- * Modified: August 31, 2014
10
  * License: GPLv2
11
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
  */
13
  class MW_Form_Field_Checkbox extends MW_Form_Field {
14
 
 
 
 
 
 
 
15
  /**
16
  * set_names
17
  * shortcode_name、display_nameを定義。各子クラスで上書きする。
2
  /**
3
  * Name: MW Form Field Checkbox
4
  * Description: チェックボックスを出力。
5
+ * Version: 1.4.3
6
  * Author: Takashi Kitajima
7
  * Author URI: http://2inc.org
8
  * Created : December 14, 2012
9
+ * Modified: September 3, 2014
10
  * License: GPLv2
11
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
  */
13
  class MW_Form_Field_Checkbox extends MW_Form_Field {
14
 
15
+ /**
16
+ * string $type フォームタグの種類
17
+ * input, select, button, other
18
+ */
19
+ public $type = 'select';
20
+
21
  /**
22
  * set_names
23
  * shortcode_name、display_nameを定義。各子クラスで上書きする。
form_fields/mw_form_field_confirm_button.php CHANGED
@@ -2,16 +2,22 @@
2
  /**
3
  * Name: MW Form Field Confirm Button
4
  * Description: 確認ボタンを出力。
5
- * Version: 1.4.1
6
  * Author: Takashi Kitajima
7
  * Author URI: http://2inc.org
8
  * Created : December 14, 2012
9
- * Modified: July 24, 2014
10
  * License: GPLv2
11
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
  */
13
  class MW_Form_Field_Confirm_Button extends MW_Form_Field {
14
 
 
 
 
 
 
 
15
  /**
16
  * set_names
17
  * shortcode_name、display_nameを定義。各子クラスで上書きする。
2
  /**
3
  * Name: MW Form Field Confirm Button
4
  * Description: 確認ボタンを出力。
5
+ * Version: 1.4.2
6
  * Author: Takashi Kitajima
7
  * Author URI: http://2inc.org
8
  * Created : December 14, 2012
9
+ * Modified: September 3, 2014
10
  * License: GPLv2
11
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
  */
13
  class MW_Form_Field_Confirm_Button extends MW_Form_Field {
14
 
15
+ /**
16
+ * string $type フォームタグの種類
17
+ * input, select, button, other
18
+ */
19
+ public $type = 'button';
20
+
21
  /**
22
  * set_names
23
  * shortcode_name、display_nameを定義。各子クラスで上書きする。
form_fields/mw_form_field_datepicker.php CHANGED
@@ -2,16 +2,22 @@
2
  /**
3
  * Name: MW Form Field Datepicker
4
  * Description: datepickerを出力。
5
- * Version: 1.4.1
6
  * Author: Takashi Kitajima
7
  * Author URI: http://2inc.org
8
  * Created : December 14, 2012
9
- * Modified: July 24, 2014
10
  * License: GPLv2
11
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
  */
13
  class MW_Form_Field_Datepicker extends MW_Form_Field {
14
 
 
 
 
 
 
 
15
  /**
16
  * set_names
17
  * shortcode_name、display_nameを定義。各子クラスで上書きする。
2
  /**
3
  * Name: MW Form Field Datepicker
4
  * Description: datepickerを出力。
5
+ * Version: 1.4.2
6
  * Author: Takashi Kitajima
7
  * Author URI: http://2inc.org
8
  * Created : December 14, 2012
9
+ * Modified: September 3, 2014
10
  * License: GPLv2
11
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
  */
13
  class MW_Form_Field_Datepicker extends MW_Form_Field {
14
 
15
+ /**
16
+ * string $type フォームタグの種類
17
+ * input, select, button, other
18
+ */
19
+ public $type = 'input';
20
+
21
  /**
22
  * set_names
23
  * shortcode_name、display_nameを定義。各子クラスで上書きする。
form_fields/mw_form_field_file.php CHANGED
@@ -2,16 +2,22 @@
2
  /**
3
  * Name: MW Form Field File
4
  * Description: 画像アップロードフィールドを出力。
5
- * Version: 1.4.2
6
  * Author: Takashi Kitajima
7
  * Author URI: http://2inc.org
8
  * Created : May 17, 2013
9
- * Modified: July 24, 2014
10
  * License: GPLv2
11
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
  */
13
  class MW_Form_Field_File extends MW_Form_Field {
14
 
 
 
 
 
 
 
15
  /**
16
  * set_names
17
  * shortcode_name、display_nameを定義。各子クラスで上書きする。
@@ -33,7 +39,6 @@ class MW_Form_Field_File extends MW_Form_Field {
33
  return array(
34
  'name' => '',
35
  'id' => '',
36
- 'size' => 20,
37
  'show_error' => 'true',
38
  );
39
  }
@@ -45,8 +50,7 @@ class MW_Form_Field_File extends MW_Form_Field {
45
  */
46
  protected function inputPage() {
47
  $_ret = $this->Form->file( $this->atts['name'], array(
48
- 'id' => $this->atts['id'],
49
- 'size' => $this->atts['size'],
50
  ) );
51
  $value = $this->Form->getValue( $this->atts['name'] );
52
  $upload_file_keys = $this->Form->getValue( MWF_Config::UPLOAD_FILE_KEYS );
@@ -97,10 +101,6 @@ class MW_Form_Field_File extends MW_Form_Field {
97
  <strong>id(<?php esc_html_e( 'option', MWF_Config::DOMAIN ); ?>)</strong>
98
  <input type="text" name="id" />
99
  </p>
100
- <p>
101
- <strong>size(<?php esc_html_e( 'option', MWF_Config::DOMAIN ); ?>)</strong>
102
- <input type="text" name="size" />
103
- </p>
104
  <p>
105
  <strong><?php esc_html_e( 'Dsiplay error', MWF_Config::DOMAIN ); ?></strong>
106
  <input type="checkbox" name="show_error" value="false" /> <?php esc_html_e( 'Don\'t display error.', MWF_Config::DOMAIN ); ?>
2
  /**
3
  * Name: MW Form Field File
4
  * Description: 画像アップロードフィールドを出力。
5
+ * Version: 1.4.3
6
  * Author: Takashi Kitajima
7
  * Author URI: http://2inc.org
8
  * Created : May 17, 2013
9
+ * Modified: September 3, 2014
10
  * License: GPLv2
11
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
  */
13
  class MW_Form_Field_File extends MW_Form_Field {
14
 
15
+ /**
16
+ * string $type フォームタグの種類
17
+ * input, select, button, other
18
+ */
19
+ public $type = 'input';
20
+
21
  /**
22
  * set_names
23
  * shortcode_name、display_nameを定義。各子クラスで上書きする。
39
  return array(
40
  'name' => '',
41
  'id' => '',
 
42
  'show_error' => 'true',
43
  );
44
  }
50
  */
51
  protected function inputPage() {
52
  $_ret = $this->Form->file( $this->atts['name'], array(
53
+ 'id' => $this->atts['id'],
 
54
  ) );
55
  $value = $this->Form->getValue( $this->atts['name'] );
56
  $upload_file_keys = $this->Form->getValue( MWF_Config::UPLOAD_FILE_KEYS );
101
  <strong>id(<?php esc_html_e( 'option', MWF_Config::DOMAIN ); ?>)</strong>
102
  <input type="text" name="id" />
103
  </p>
 
 
 
 
104
  <p>
105
  <strong><?php esc_html_e( 'Dsiplay error', MWF_Config::DOMAIN ); ?></strong>
106
  <input type="checkbox" name="show_error" value="false" /> <?php esc_html_e( 'Don\'t display error.', MWF_Config::DOMAIN ); ?>
form_fields/mw_form_field_image.php CHANGED
@@ -2,16 +2,22 @@
2
  /**
3
  * Name: MW Form Field Image
4
  * Description: 画像アップロードフィールドを出力。
5
- * Version: 1.4.2
6
  * Author: Takashi Kitajima
7
  * Author URI: http://2inc.org
8
  * Created : May 17, 2013
9
- * Modified: July 24, 2014
10
  * License: GPLv2
11
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
  */
13
  class MW_Form_Field_Image extends MW_Form_Field {
14
 
 
 
 
 
 
 
15
  /**
16
  * set_names
17
  * shortcode_name、display_nameを定義。各子クラスで上書きする。
@@ -33,7 +39,6 @@ class MW_Form_Field_Image extends MW_Form_Field {
33
  return array(
34
  'name' => '',
35
  'id' => '',
36
- 'size' => '20',
37
  'show_error' => 'true',
38
  );
39
  }
@@ -45,8 +50,7 @@ class MW_Form_Field_Image extends MW_Form_Field {
45
  */
46
  protected function inputPage() {
47
  $_ret = $this->Form->file( $this->atts['name'], array(
48
- 'id' => $this->atts['id'],
49
- 'size' => $this->atts['size'],
50
  ) );
51
  $value = $this->Form->getValue( $this->atts['name'] );
52
 
@@ -98,10 +102,6 @@ class MW_Form_Field_Image extends MW_Form_Field {
98
  <strong>id(<?php esc_html_e( 'option', MWF_Config::DOMAIN ); ?>)</strong>
99
  <input type="text" name="id" />
100
  </p>
101
- <p>
102
- <strong>size(<?php esc_html_e( 'option', MWF_Config::DOMAIN ); ?>)</strong>
103
- <input type="text" name="size" />
104
- </p>
105
  <p>
106
  <strong><?php esc_html_e( 'Dsiplay error', MWF_Config::DOMAIN ); ?></strong>
107
  <input type="checkbox" name="show_error" value="false" /> <?php esc_html_e( 'Don\'t display error.', MWF_Config::DOMAIN ); ?>
2
  /**
3
  * Name: MW Form Field Image
4
  * Description: 画像アップロードフィールドを出力。
5
+ * Version: 1.4.3
6
  * Author: Takashi Kitajima
7
  * Author URI: http://2inc.org
8
  * Created : May 17, 2013
9
+ * Modified: September 3, 2014
10
  * License: GPLv2
11
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
  */
13
  class MW_Form_Field_Image extends MW_Form_Field {
14
 
15
+ /**
16
+ * string $type フォームタグの種類
17
+ * input, select, button, other
18
+ */
19
+ public $type = 'input';
20
+
21
  /**
22
  * set_names
23
  * shortcode_name、display_nameを定義。各子クラスで上書きする。
39
  return array(
40
  'name' => '',
41
  'id' => '',
 
42
  'show_error' => 'true',
43
  );
44
  }
50
  */
51
  protected function inputPage() {
52
  $_ret = $this->Form->file( $this->atts['name'], array(
53
+ 'id' => $this->atts['id'],
 
54
  ) );
55
  $value = $this->Form->getValue( $this->atts['name'] );
56
 
102
  <strong>id(<?php esc_html_e( 'option', MWF_Config::DOMAIN ); ?>)</strong>
103
  <input type="text" name="id" />
104
  </p>
 
 
 
 
105
  <p>
106
  <strong><?php esc_html_e( 'Dsiplay error', MWF_Config::DOMAIN ); ?></strong>
107
  <input type="checkbox" name="show_error" value="false" /> <?php esc_html_e( 'Don\'t display error.', MWF_Config::DOMAIN ); ?>
form_fields/mw_form_field_password.php CHANGED
@@ -2,16 +2,22 @@
2
  /**
3
  * Name: MW Form Field Password
4
  * Description: パスワードフィールドを出力。
5
- * Version: 1.4.1
6
  * Author: Takashi Kitajima
7
  * Author URI: http://2inc.org
8
  * Created : December 14, 2012
9
- * Modified: July 24, 2014
10
  * License: GPLv2
11
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
  */
13
  class MW_Form_Field_Password extends MW_Form_Field {
14
 
 
 
 
 
 
 
15
  /**
16
  * set_names
17
  * shortcode_name、display_nameを定義。各子クラスで上書きする。
@@ -31,13 +37,13 @@ class MW_Form_Field_Password extends MW_Form_Field {
31
  */
32
  protected function setDefaults() {
33
  return array(
34
- 'name' => '',
35
- 'id' => '',
36
- 'size' => 60,
37
- 'maxlength' => 255,
38
- 'value' => '',
39
  'placeholder' => '',
40
- 'show_error' => 'true',
41
  );
42
  }
43
 
@@ -48,11 +54,11 @@ class MW_Form_Field_Password extends MW_Form_Field {
48
  */
49
  protected function inputPage() {
50
  $_ret = $this->Form->password( $this->atts['name'], array(
51
- 'id' => $this->atts['id'],
52
- 'size' => $this->atts['size'],
53
- 'maxlength' => $this->atts['maxlength'],
54
- 'value' => $this->atts['value'],
55
- 'placeholder' => $this->atts['placeholder'],
56
  ) );
57
  if ( $this->atts['show_error'] !== 'false' )
58
  $_ret .= $this->getError( $this->atts['name'] );
2
  /**
3
  * Name: MW Form Field Password
4
  * Description: パスワードフィールドを出力。
5
+ * Version: 1.4.2
6
  * Author: Takashi Kitajima
7
  * Author URI: http://2inc.org
8
  * Created : December 14, 2012
9
+ * Modified: September 3, 2014
10
  * License: GPLv2
11
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
  */
13
  class MW_Form_Field_Password extends MW_Form_Field {
14
 
15
+ /**
16
+ * string $type フォームタグの種類
17
+ * input, select, button, other
18
+ */
19
+ public $type = 'input';
20
+
21
  /**
22
  * set_names
23
  * shortcode_name、display_nameを定義。各子クラスで上書きする。
37
  */
38
  protected function setDefaults() {
39
  return array(
40
+ 'name' => '',
41
+ 'id' => '',
42
+ 'size' => 60,
43
+ 'maxlength' => 255,
44
+ 'value' => '',
45
  'placeholder' => '',
46
+ 'show_error' => 'true',
47
  );
48
  }
49
 
54
  */
55
  protected function inputPage() {
56
  $_ret = $this->Form->password( $this->atts['name'], array(
57
+ 'id' => $this->atts['id'],
58
+ 'size' => $this->atts['size'],
59
+ 'maxlength' => $this->atts['maxlength'],
60
+ 'value' => $this->atts['value'],
61
+ 'placeholder' => $this->atts['placeholder'],
62
  ) );
63
  if ( $this->atts['show_error'] !== 'false' )
64
  $_ret .= $this->getError( $this->atts['name'] );
form_fields/mw_form_field_radio.php CHANGED
@@ -2,16 +2,22 @@
2
  /**
3
  * Name: MW Form Field Radio
4
  * Description: ラジオボタンを出力。
5
- * Version: 1.4.1
6
  * Author: Takashi Kitajima
7
  * Author URI: http://2inc.org
8
  * Created : December 14, 2012
9
- * Modified: July 24, 2014
10
  * License: GPLv2
11
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
  */
13
  class MW_Form_Field_Radio extends MW_Form_Field {
14
 
 
 
 
 
 
 
15
  /**
16
  * set_names
17
  * shortcode_name、display_nameを定義。各子クラスで上書きする。
2
  /**
3
  * Name: MW Form Field Radio
4
  * Description: ラジオボタンを出力。
5
+ * Version: 1.4.2
6
  * Author: Takashi Kitajima
7
  * Author URI: http://2inc.org
8
  * Created : December 14, 2012
9
+ * Modified: September 3, 2014
10
  * License: GPLv2
11
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
  */
13
  class MW_Form_Field_Radio extends MW_Form_Field {
14
 
15
+ /**
16
+ * string $type フォームタグの種類
17
+ * input, select, button, other
18
+ */
19
+ public $type = 'select';
20
+
21
  /**
22
  * set_names
23
  * shortcode_name、display_nameを定義。各子クラスで上書きする。
form_fields/mw_form_field_select.php CHANGED
@@ -2,16 +2,22 @@
2
  /**
3
  * Name: MW Form Field Select
4
  * Description: セレクトボックスを出力。
5
- * Version: 1.4.1
6
  * Author: Takashi Kitajima
7
  * Author URI: http://2inc.org
8
  * Created : December 14, 2012
9
- * Modified: July 24, 2014
10
  * License: GPLv2
11
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
  */
13
  class MW_Form_Field_Select extends MW_Form_Field {
14
 
 
 
 
 
 
 
15
  /**
16
  * set_names
17
  * shortcode_name、display_nameを定義。各子クラスで上書きする。
2
  /**
3
  * Name: MW Form Field Select
4
  * Description: セレクトボックスを出力。
5
+ * Version: 1.4.2
6
  * Author: Takashi Kitajima
7
  * Author URI: http://2inc.org
8
  * Created : December 14, 2012
9
+ * Modified: September 3, 2014
10
  * License: GPLv2
11
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
  */
13
  class MW_Form_Field_Select extends MW_Form_Field {
14
 
15
+ /**
16
+ * string $type フォームタグの種類
17
+ * input, select, button, other
18
+ */
19
+ public $type = 'select';
20
+
21
  /**
22
  * set_names
23
  * shortcode_name、display_nameを定義。各子クラスで上書きする。
form_fields/mw_form_field_submit.php CHANGED
@@ -2,16 +2,22 @@
2
  /**
3
  * Name: MW Form Field Submit Button
4
  * Description: 送信ボタンを出力。
5
- * Version: 1.4.1
6
  * Author: Takashi Kitajima
7
  * Author URI: http://2inc.org
8
  * Created : December 14, 2012
9
- * Modified: July 24, 2014
10
  * License: GPLv2
11
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
  */
13
  class MW_Form_Field_Submit extends MW_Form_Field {
14
 
 
 
 
 
 
 
15
  /**
16
  * set_names
17
  * shortcode_name、display_nameを定義。各子クラスで上書きする。
@@ -31,7 +37,7 @@ class MW_Form_Field_Submit extends MW_Form_Field {
31
  */
32
  protected function setDefaults() {
33
  return array(
34
- 'name' => '',
35
  'value' => __( 'Send', MWF_Config::DOMAIN ),
36
  );
37
  }
2
  /**
3
  * Name: MW Form Field Submit Button
4
  * Description: 送信ボタンを出力。
5
+ * Version: 1.4.2
6
  * Author: Takashi Kitajima
7
  * Author URI: http://2inc.org
8
  * Created : December 14, 2012
9
+ * Modified: September 3, 2014
10
  * License: GPLv2
11
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
  */
13
  class MW_Form_Field_Submit extends MW_Form_Field {
14
 
15
+ /**
16
+ * string $type フォームタグの種類
17
+ * input, select, button, other
18
+ */
19
+ public $type = 'button';
20
+
21
  /**
22
  * set_names
23
  * shortcode_name、display_nameを定義。各子クラスで上書きする。
37
  */
38
  protected function setDefaults() {
39
  return array(
40
+ 'name' => '',
41
  'value' => __( 'Send', MWF_Config::DOMAIN ),
42
  );
43
  }
form_fields/mw_form_field_submit_button.php CHANGED
@@ -2,16 +2,22 @@
2
  /**
3
  * Name: MW Form Field Submit
4
  * Description: 確認ボタンと送信ボタンを自動出力。
5
- * Version: 1.4.1
6
  * Author: Takashi Kitajima
7
  * Author URI: http://2inc.org
8
  * Created : December 14, 2012
9
- * Modified: July 24, 2014
10
  * License: GPLv2
11
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
  */
13
  class MW_Form_Field_Submit_Button extends MW_Form_Field {
14
 
 
 
 
 
 
 
15
  /**
16
  * set_names
17
  * shortcode_name、display_nameを定義。各子クラスで上書きする。
2
  /**
3
  * Name: MW Form Field Submit
4
  * Description: 確認ボタンと送信ボタンを自動出力。
5
+ * Version: 1.4.2
6
  * Author: Takashi Kitajima
7
  * Author URI: http://2inc.org
8
  * Created : December 14, 2012
9
+ * Modified: September 3, 2014
10
  * License: GPLv2
11
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
  */
13
  class MW_Form_Field_Submit_Button extends MW_Form_Field {
14
 
15
+ /**
16
+ * string $type フォームタグの種類
17
+ * input, select, button, other
18
+ */
19
+ public $type = 'button';
20
+
21
  /**
22
  * set_names
23
  * shortcode_name、display_nameを定義。各子クラスで上書きする。
form_fields/mw_form_field_tel.php CHANGED
@@ -2,16 +2,22 @@
2
  /**
3
  * Name: MW Form Field Tel
4
  * Description: 電話番号フィールドを出力。
5
- * Version: 1.4.1
6
  * Author: Takashi Kitajima
7
  * Author URI: http://2inc.org
8
  * Created : December 14, 2012
9
- * Modified: July 24, 2014
10
  * License: GPLv2
11
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
  */
13
  class MW_Form_Field_Tel extends MW_Form_Field {
14
 
 
 
 
 
 
 
15
  /**
16
  * set_names
17
  * shortcode_name、display_nameを定義。各子クラスで上書きする。
2
  /**
3
  * Name: MW Form Field Tel
4
  * Description: 電話番号フィールドを出力。
5
+ * Version: 1.4.2
6
  * Author: Takashi Kitajima
7
  * Author URI: http://2inc.org
8
  * Created : December 14, 2012
9
+ * Modified: September 3, 2014
10
  * License: GPLv2
11
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
  */
13
  class MW_Form_Field_Tel extends MW_Form_Field {
14
 
15
+ /**
16
+ * string $type フォームタグの種類
17
+ * input, select, button, other
18
+ */
19
+ public $type = 'input';
20
+
21
  /**
22
  * set_names
23
  * shortcode_name、display_nameを定義。各子クラスで上書きする。
form_fields/mw_form_field_text.php CHANGED
@@ -2,16 +2,22 @@
2
  /**
3
  * Name: MW Form Field Text
4
  * Description: テキストフィールドを出力。
5
- * Version: 1.4.3
6
  * Author: Takashi Kitajima
7
  * Author URI: http://2inc.org
8
  * Created : December 14, 2012
9
- * Modified: August 29, 2014
10
  * License: GPLv2
11
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
  */
13
  class MW_Form_Field_Text extends MW_Form_Field {
14
 
 
 
 
 
 
 
15
  /**
16
  * set_names
17
  * shortcode_name、display_nameを定義。各子クラスで上書きする。
2
  /**
3
  * Name: MW Form Field Text
4
  * Description: テキストフィールドを出力。
5
+ * Version: 1.4.4
6
  * Author: Takashi Kitajima
7
  * Author URI: http://2inc.org
8
  * Created : December 14, 2012
9
+ * Modified: September 3, 2014
10
  * License: GPLv2
11
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
  */
13
  class MW_Form_Field_Text extends MW_Form_Field {
14
 
15
+ /**
16
+ * string $type フォームタグの種類
17
+ * input, select, button, other
18
+ */
19
+ public $type = 'input';
20
+
21
  /**
22
  * set_names
23
  * shortcode_name、display_nameを定義。各子クラスで上書きする。
form_fields/mw_form_field_textarea.php CHANGED
@@ -2,16 +2,22 @@
2
  /**
3
  * Name: MW Form Field TextArea
4
  * Description: テキストエリアを出力。
5
- * Version: 1.4.2
6
  * Author: Takashi Kitajima
7
  * Author URI: http://2inc.org
8
  * Created : December 14, 2012
9
- * Modified: July 24, 2014
10
  * License: GPLv2
11
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
  */
13
  class MW_Form_Field_Textarea extends MW_Form_Field {
14
 
 
 
 
 
 
 
15
  /**
16
  * set_names
17
  * shortcode_name、display_nameを定義。各子クラスで上書きする。
2
  /**
3
  * Name: MW Form Field TextArea
4
  * Description: テキストエリアを出力。
5
+ * Version: 1.4.3
6
  * Author: Takashi Kitajima
7
  * Author URI: http://2inc.org
8
  * Created : December 14, 2012
9
+ * Modified: September 3, 2014
10
  * License: GPLv2
11
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
  */
13
  class MW_Form_Field_Textarea extends MW_Form_Field {
14
 
15
+ /**
16
+ * string $type フォームタグの種類
17
+ * input, select, button, other
18
+ */
19
+ public $type = 'input';
20
+
21
  /**
22
  * set_names
23
  * shortcode_name、display_nameを定義。各子クラスで上書きする。
form_fields/mw_form_field_zip.php CHANGED
@@ -2,16 +2,22 @@
2
  /**
3
  * Name: MW Form Field Zip
4
  * Description: 郵便番号フィールドを出力。
5
- * Version: 1.4.1
6
  * Author: Takashi Kitajima
7
  * Author URI: http://2inc.org
8
  * Created : December 14, 2012
9
- * Modified: July 24, 2014
10
  * License: GPLv2
11
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
  */
13
  class MW_Form_Field_Zip extends MW_Form_Field {
14
 
 
 
 
 
 
 
15
  /**
16
  * set_names
17
  * shortcode_name、display_nameを定義。各子クラスで上書きする。
2
  /**
3
  * Name: MW Form Field Zip
4
  * Description: 郵便番号フィールドを出力。
5
+ * Version: 1.4.2
6
  * Author: Takashi Kitajima
7
  * Author URI: http://2inc.org
8
  * Created : December 14, 2012
9
+ * Modified: September 3, 2014
10
  * License: GPLv2
11
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
  */
13
  class MW_Form_Field_Zip extends MW_Form_Field {
14
 
15
+ /**
16
+ * string $type フォームタグの種類
17
+ * input, select, button, other
18
+ */
19
+ public $type = 'input';
20
+
21
  /**
22
  * set_names
23
  * shortcode_name、display_nameを定義。各子クラスで上書きする。
languages/mw-wp-form-ja.mo CHANGED
Binary file
languages/mw-wp-form-ja.po CHANGED
@@ -4,8 +4,8 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: MW WP Form 1.9.0\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/mw-wp-form\n"
7
- "POT-Creation-Date: 2014-09-01 11:56:58+00:00\n"
8
- "PO-Revision-Date: 2014-09-01 21:03+0900\n"
9
  "Last-Translator: Takashi Kitajima <inc@2inc.org>\n"
10
  "Language-Team: Takashi Kitajima <inc@2inc.org>\n"
11
  "Language: ja\n"
@@ -23,129 +23,128 @@ msgstr ""
23
  msgid "Akismet Error"
24
  msgstr "Akismetエラー"
25
 
26
- #: form_fields/mw_form_field_back_button.php:23
27
- #: form_fields/mw_form_field_back_button.php:34
28
  msgid "Back"
29
  msgstr "戻る"
30
 
31
- #: form_fields/mw_form_field_back_button.php:62
32
- #: form_fields/mw_form_field_button.php:68
33
- #: form_fields/mw_form_field_submit.php:68
34
  msgid "String on the button"
35
  msgstr "ボタンに表示する文字列"
36
 
37
- #: form_fields/mw_form_field_back_button.php:62
38
- #: form_fields/mw_form_field_button.php:68
39
- #: form_fields/mw_form_field_checkbox.php:84
40
- #: form_fields/mw_form_field_checkbox.php:88
41
- #: form_fields/mw_form_field_checkbox.php:95
42
- #: form_fields/mw_form_field_confirm_button.php:62
43
- #: form_fields/mw_form_field_datepicker.php:106
44
- #: form_fields/mw_form_field_datepicker.php:110
45
- #: form_fields/mw_form_field_datepicker.php:114
46
- #: form_fields/mw_form_field_datepicker.php:118
47
- #: form_fields/mw_form_field_file.php:97
48
  #: form_fields/mw_form_field_file.php:101
49
  #: form_fields/mw_form_field_hidden.php:78
50
- #: form_fields/mw_form_field_image.php:98
51
  #: form_fields/mw_form_field_image.php:102
52
- #: form_fields/mw_form_field_password.php:83
53
- #: form_fields/mw_form_field_password.php:87
54
- #: form_fields/mw_form_field_password.php:91
55
- #: form_fields/mw_form_field_password.php:95
56
- #: form_fields/mw_form_field_password.php:99
57
- #: form_fields/mw_form_field_radio.php:82
58
- #: form_fields/mw_form_field_radio.php:86
59
- #: form_fields/mw_form_field_radio.php:93
60
- #: form_fields/mw_form_field_select.php:82
61
- #: form_fields/mw_form_field_select.php:86
62
- #: form_fields/mw_form_field_select.php:93
63
- #: form_fields/mw_form_field_submit.php:68
64
- #: form_fields/mw_form_field_text.php:91 form_fields/mw_form_field_text.php:95
65
- #: form_fields/mw_form_field_text.php:99
66
- #: form_fields/mw_form_field_text.php:103
67
- #: form_fields/mw_form_field_text.php:107
68
- #: form_fields/mw_form_field_textarea.php:85
69
- #: form_fields/mw_form_field_textarea.php:89
70
- #: form_fields/mw_form_field_textarea.php:93
71
- #: form_fields/mw_form_field_textarea.php:97
72
- #: form_fields/mw_form_field_textarea.php:101
 
73
  msgid "option"
74
  msgstr "オプション"
75
 
76
- #: form_fields/mw_form_field_button.php:23
77
  msgid "Button"
78
  msgstr "ボタン"
79
 
80
- #: form_fields/mw_form_field_checkbox.php:23
81
  msgid "Checkbox"
82
  msgstr "チェックボックス"
83
 
84
- #: form_fields/mw_form_field_checkbox.php:88
85
- #: form_fields/mw_form_field_radio.php:86
86
- #: form_fields/mw_form_field_select.php:86
87
  msgid "Choices"
88
  msgstr "選択肢"
89
 
90
- #: form_fields/mw_form_field_checkbox.php:91
91
  #: form_fields/mw_form_field_error.php:70
92
- #: form_fields/mw_form_field_radio.php:89
93
- #: form_fields/mw_form_field_select.php:89
94
  msgid "Input one line about one item."
95
  msgstr "1項目につき1行で入力してください。"
96
 
97
- #: form_fields/mw_form_field_checkbox.php:95
98
- #: form_fields/mw_form_field_confirm_button.php:62
99
- #: form_fields/mw_form_field_datepicker.php:118
100
  #: form_fields/mw_form_field_hidden.php:78
101
- #: form_fields/mw_form_field_password.php:95
102
- #: form_fields/mw_form_field_radio.php:93
103
- #: form_fields/mw_form_field_select.php:93
104
- #: form_fields/mw_form_field_text.php:103
105
- #: form_fields/mw_form_field_textarea.php:97
106
  msgid "Default value"
107
  msgstr "初期値"
108
 
109
- #: form_fields/mw_form_field_checkbox.php:99
110
  msgid "Separator string"
111
  msgstr "区切り文字"
112
 
113
- #: form_fields/mw_form_field_checkbox.php:103
114
- #: form_fields/mw_form_field_datepicker.php:122
115
  #: form_fields/mw_form_field_file.php:105
116
  #: form_fields/mw_form_field_image.php:106
117
- #: form_fields/mw_form_field_password.php:103
118
- #: form_fields/mw_form_field_radio.php:97
119
- #: form_fields/mw_form_field_select.php:97
120
- #: form_fields/mw_form_field_tel.php:80 form_fields/mw_form_field_text.php:111
121
- #: form_fields/mw_form_field_textarea.php:105
122
- #: form_fields/mw_form_field_zip.php:80
123
  msgid "Dsiplay error"
124
  msgstr "エラー表示"
125
 
126
- #: form_fields/mw_form_field_checkbox.php:104
127
- #: form_fields/mw_form_field_datepicker.php:123
128
  #: form_fields/mw_form_field_file.php:106
129
  #: form_fields/mw_form_field_image.php:107
130
- #: form_fields/mw_form_field_password.php:104
131
- #: form_fields/mw_form_field_radio.php:98
132
- #: form_fields/mw_form_field_select.php:98
133
- #: form_fields/mw_form_field_tel.php:81 form_fields/mw_form_field_text.php:112
134
- #: form_fields/mw_form_field_textarea.php:106
135
- #: form_fields/mw_form_field_zip.php:81
136
  msgid "Don't display error."
137
  msgstr "エラーを表示しない"
138
 
139
- #: form_fields/mw_form_field_confirm_button.php:23
140
  msgid "Confirm Button"
141
  msgstr "確認ボタン"
142
 
143
- #: form_fields/mw_form_field_confirm_button.php:34
144
- #: form_fields/mw_form_field_submit_button.php:35
145
  msgid "Confirm"
146
  msgstr "確認画面へ"
147
 
148
- #: form_fields/mw_form_field_datepicker.php:23
149
  msgid "Datepicker"
150
  msgstr "日付"
151
 
@@ -157,11 +156,11 @@ msgstr "エラーメッセージ"
157
  msgid "name of the element which wants to display error"
158
  msgstr "エラーを表示したい要素のname属性"
159
 
160
- #: form_fields/mw_form_field_file.php:23
161
  msgid "File"
162
  msgstr "ファイルフィールド"
163
 
164
- #: form_fields/mw_form_field_file.php:57 form_fields/mw_form_field_file.php:78
165
  msgid "Uploaded."
166
  msgstr "アップロードしました。"
167
 
@@ -177,75 +176,75 @@ msgstr "表示する"
177
  msgid "Display hidden value."
178
  msgstr "hiddenの値を表示"
179
 
180
- #: form_fields/mw_form_field_image.php:23
181
  msgid "Image"
182
  msgstr "画像フィールド"
183
 
184
- #: form_fields/mw_form_field_password.php:23
185
  msgid "Password"
186
  msgstr "パスワードフィールド"
187
 
188
- #: form_fields/mw_form_field_radio.php:23
189
  msgid "Radio"
190
  msgstr "ラジオボタン"
191
 
192
- #: form_fields/mw_form_field_select.php:23
193
  msgid "Select"
194
  msgstr "セレクトボックス"
195
 
196
- #: form_fields/mw_form_field_submit.php:23
197
  msgid "Submit Button"
198
  msgstr "送信ボタン"
199
 
200
- #: form_fields/mw_form_field_submit.php:35
201
- #: form_fields/mw_form_field_submit_button.php:36
202
  msgid "Send"
203
  msgstr "送信する"
204
 
205
- #: form_fields/mw_form_field_submit_button.php:23
206
  msgid "Confirm &amp; Submit"
207
  msgstr "確認・送信"
208
 
209
- #: form_fields/mw_form_field_submit_button.php:72
210
  msgid "String on the confirm button"
211
  msgstr "確認ボタンに表示する文字列"
212
 
213
- #: form_fields/mw_form_field_submit_button.php:76
214
  msgid "String on the submit button"
215
  msgstr "送信ボタンに表示する文字列"
216
 
217
- #: form_fields/mw_form_field_tel.php:23
218
  #: validation_rules/mw_validation_rule_tel.php:52
219
  msgid "Tel"
220
  msgstr "電話番号"
221
 
222
- #: form_fields/mw_form_field_tel.php:84 form_fields/mw_form_field_text.php:115
223
- #: form_fields/mw_form_field_zip.php:84
224
  msgid "Convert half alphanumeric"
225
  msgstr "半角英数字に変換"
226
 
227
- #: form_fields/mw_form_field_tel.php:85 form_fields/mw_form_field_zip.php:85
228
  msgid "Don't Convert."
229
  msgstr "変換しない"
230
 
231
- #: form_fields/mw_form_field_text.php:23
232
  msgid "Text"
233
  msgstr "テキストフィールド"
234
 
235
- #: form_fields/mw_form_field_text.php:116
236
  msgid "Convert."
237
  msgstr "変換する"
238
 
239
- #: form_fields/mw_form_field_textarea.php:23
240
  msgid "Textarea"
241
  msgstr "テキストエリア"
242
 
243
- #: form_fields/mw_form_field_zip.php:23
244
  #: validation_rules/mw_validation_rule_zip.php:46
245
  msgid "Zip Code"
246
  msgstr "郵便番号"
247
 
248
- #: mw-wp-form.php:529
249
  msgid "Validation Object is not a MW Validation Class."
250
  msgstr ""
251
 
@@ -450,7 +449,27 @@ msgstr "バリデーションを適用する項目"
450
  msgid "Select Style"
451
  msgstr "スタイルを選択"
452
 
453
- #: system/mw_wp_form_admin_page.php:580
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
454
  msgid "Add form tag"
455
  msgstr "フォームタグを追加"
456
 
@@ -467,10 +486,6 @@ msgstr "グラフを追加"
467
  msgid "Item that create chart"
468
  msgstr "グラフを作成する項目"
469
 
470
- #: system/mw_wp_form_chart_page.php:172
471
- msgid "Select this."
472
- msgstr "選択してください"
473
-
474
  #: system/mw_wp_form_chart_page.php:178
475
  msgid "Chart type"
476
  msgstr "グラフの種類"
@@ -490,6 +505,11 @@ msgid ""
490
  msgstr ""
491
  "区切り文字(チェックボックスの場合。separator 属性が未設定の場合は「,」)"
492
 
 
 
 
 
 
493
  #: system/mw_wp_form_contact_data_page.php:53
494
  msgid "Not supported"
495
  msgstr "未対応"
@@ -526,34 +546,34 @@ msgstr "ゴミ箱にデータはありません"
526
  msgid "CSV Download"
527
  msgstr "CSVダウンロード"
528
 
529
- #: system/mw_wp_form_contact_data_page.php:195
530
- #: system/mw_wp_form_contact_data_page.php:227
531
- #: system/mw_wp_form_contact_data_page.php:310
532
- #: system/mw_wp_form_contact_data_page.php:407
533
  msgid "Response Status"
534
  msgstr "対応状況"
535
 
536
- #: system/mw_wp_form_contact_data_page.php:218
537
- #: system/mw_wp_form_contact_data_page.php:229
538
- #: system/mw_wp_form_contact_data_page.php:419
539
  msgid "Memo"
540
  msgstr "メモ"
541
 
542
- #: system/mw_wp_form_contact_data_page.php:285
543
  msgid "Custom Fields"
544
  msgstr "カスタムフィールド"
545
 
546
- #: system/mw_wp_form_contact_data_page.php:309
547
  msgid "Registed Date"
548
  msgstr "登録日時"
549
 
550
- #: system/mw_wp_form_contact_data_page.php:465
551
- #: system/mw_wp_form_contact_data_page.php:466
552
- #: system/mw_wp_form_contact_data_page.php:480
553
  msgid "Inquiry data"
554
  msgstr "問い合わせデータ"
555
 
556
- #: system/mw_wp_form_contact_data_page.php:482
557
  msgid ""
558
  "You can see the inquiry data that are saved in the database by clicking on "
559
  "the link below."
@@ -561,32 +581,28 @@ msgstr ""
561
  "リンクをクリックすることでデータベースに保存された問い合わせデータを見ること"
562
  "ができます。"
563
 
564
- #: system/mw_wp_form_contact_data_page.php:486
565
  msgid "Form title"
566
  msgstr "フォーム名"
567
 
568
- #: system/mw_wp_form_contact_data_page.php:487
569
- #: system/mw_wp_form_contact_data_page.php:497
570
  msgid "Display Chart"
571
  msgstr "グラフを表示"
572
 
573
- #: system/mw_wp_form_contact_data_page.php:488
574
- msgid "The number of inquiries"
575
- msgstr "問い合わせ件数"
576
-
577
- #: system/mw_wp_form_contact_data_page.php:489
578
  msgid "Updated date"
579
  msgstr "更新日"
580
 
581
- #: system/mw_wp_form_contact_data_page.php:490
582
  msgid "Created date"
583
  msgstr "作成日"
584
 
585
- #: system/mw_wp_form_contact_data_page.php:498
586
  msgid "cases"
587
  msgstr "件"
588
 
589
- #: system/mw_wp_form_contact_data_page.php:520
590
  msgid "&laquo; Back to the list"
591
  msgstr "&laquo; 一覧に戻る"
592
 
4
  msgstr ""
5
  "Project-Id-Version: MW WP Form 1.9.0\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/mw-wp-form\n"
7
+ "POT-Creation-Date: 2014-09-03 16:27:26+00:00\n"
8
+ "PO-Revision-Date: 2014-09-04 01:29+0900\n"
9
  "Last-Translator: Takashi Kitajima <inc@2inc.org>\n"
10
  "Language-Team: Takashi Kitajima <inc@2inc.org>\n"
11
  "Language: ja\n"
23
  msgid "Akismet Error"
24
  msgstr "Akismetエラー"
25
 
26
+ #: form_fields/mw_form_field_back_button.php:29
27
+ #: form_fields/mw_form_field_back_button.php:40
28
  msgid "Back"
29
  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 "ボタンに表示する文字列"
36
 
37
+ #: form_fields/mw_form_field_back_button.php:68
38
+ #: form_fields/mw_form_field_button.php:74
39
+ #: form_fields/mw_form_field_checkbox.php:90
40
+ #: form_fields/mw_form_field_checkbox.php:94
41
+ #: form_fields/mw_form_field_checkbox.php:101
42
+ #: form_fields/mw_form_field_confirm_button.php:68
43
+ #: form_fields/mw_form_field_datepicker.php:112
44
+ #: form_fields/mw_form_field_datepicker.php:116
45
+ #: form_fields/mw_form_field_datepicker.php:120
46
+ #: form_fields/mw_form_field_datepicker.php:124
 
47
  #: form_fields/mw_form_field_file.php:101
48
  #: form_fields/mw_form_field_hidden.php:78
 
49
  #: form_fields/mw_form_field_image.php:102
50
+ #: form_fields/mw_form_field_password.php:89
51
+ #: form_fields/mw_form_field_password.php:93
52
+ #: form_fields/mw_form_field_password.php:97
53
+ #: form_fields/mw_form_field_password.php:101
54
+ #: form_fields/mw_form_field_password.php:105
55
+ #: form_fields/mw_form_field_radio.php:88
56
+ #: form_fields/mw_form_field_radio.php:92
57
+ #: form_fields/mw_form_field_radio.php:99
58
+ #: form_fields/mw_form_field_select.php:88
59
+ #: form_fields/mw_form_field_select.php:92
60
+ #: form_fields/mw_form_field_select.php:99
61
+ #: form_fields/mw_form_field_submit.php:74
62
+ #: form_fields/mw_form_field_text.php:97
63
+ #: form_fields/mw_form_field_text.php:101
64
+ #: form_fields/mw_form_field_text.php:105
65
+ #: form_fields/mw_form_field_text.php:109
66
+ #: form_fields/mw_form_field_text.php:113
67
+ #: form_fields/mw_form_field_textarea.php:91
68
+ #: form_fields/mw_form_field_textarea.php:95
69
+ #: form_fields/mw_form_field_textarea.php:99
70
+ #: form_fields/mw_form_field_textarea.php:103
71
+ #: form_fields/mw_form_field_textarea.php:107
72
  msgid "option"
73
  msgstr "オプション"
74
 
75
+ #: form_fields/mw_form_field_button.php:29
76
  msgid "Button"
77
  msgstr "ボタン"
78
 
79
+ #: form_fields/mw_form_field_checkbox.php:29
80
  msgid "Checkbox"
81
  msgstr "チェックボックス"
82
 
83
+ #: form_fields/mw_form_field_checkbox.php:94
84
+ #: form_fields/mw_form_field_radio.php:92
85
+ #: form_fields/mw_form_field_select.php:92
86
  msgid "Choices"
87
  msgstr "選択肢"
88
 
89
+ #: form_fields/mw_form_field_checkbox.php:97
90
  #: form_fields/mw_form_field_error.php:70
91
+ #: form_fields/mw_form_field_radio.php:95
92
+ #: form_fields/mw_form_field_select.php:95
93
  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
101
+ #: form_fields/mw_form_field_radio.php:99
102
+ #: form_fields/mw_form_field_select.php:99
103
+ #: form_fields/mw_form_field_text.php:109
104
+ #: form_fields/mw_form_field_textarea.php:103
105
  msgid "Default value"
106
  msgstr "初期値"
107
 
108
+ #: form_fields/mw_form_field_checkbox.php:105
109
  msgid "Separator string"
110
  msgstr "区切り文字"
111
 
112
+ #: form_fields/mw_form_field_checkbox.php:109
113
+ #: form_fields/mw_form_field_datepicker.php:128
114
  #: form_fields/mw_form_field_file.php:105
115
  #: form_fields/mw_form_field_image.php:106
116
+ #: form_fields/mw_form_field_password.php:109
117
+ #: form_fields/mw_form_field_radio.php:103
118
+ #: form_fields/mw_form_field_select.php:103
119
+ #: form_fields/mw_form_field_tel.php:86 form_fields/mw_form_field_text.php:117
120
+ #: form_fields/mw_form_field_textarea.php:111
121
+ #: form_fields/mw_form_field_zip.php:86
122
  msgid "Dsiplay error"
123
  msgstr "エラー表示"
124
 
125
+ #: form_fields/mw_form_field_checkbox.php:110
126
+ #: form_fields/mw_form_field_datepicker.php:129
127
  #: form_fields/mw_form_field_file.php:106
128
  #: form_fields/mw_form_field_image.php:107
129
+ #: form_fields/mw_form_field_password.php:110
130
+ #: form_fields/mw_form_field_radio.php:104
131
+ #: form_fields/mw_form_field_select.php:104
132
+ #: form_fields/mw_form_field_tel.php:87 form_fields/mw_form_field_text.php:118
133
+ #: form_fields/mw_form_field_textarea.php:112
134
+ #: form_fields/mw_form_field_zip.php:87
135
  msgid "Don't display error."
136
  msgstr "エラーを表示しない"
137
 
138
+ #: form_fields/mw_form_field_confirm_button.php:29
139
  msgid "Confirm Button"
140
  msgstr "確認ボタン"
141
 
142
+ #: form_fields/mw_form_field_confirm_button.php:40
143
+ #: form_fields/mw_form_field_submit_button.php:41
144
  msgid "Confirm"
145
  msgstr "確認画面へ"
146
 
147
+ #: form_fields/mw_form_field_datepicker.php:29
148
  msgid "Datepicker"
149
  msgstr "日付"
150
 
156
  msgid "name of the element which wants to display error"
157
  msgstr "エラーを表示したい要素のname属性"
158
 
159
+ #: form_fields/mw_form_field_file.php:29
160
  msgid "File"
161
  msgstr "ファイルフィールド"
162
 
163
+ #: form_fields/mw_form_field_file.php:61 form_fields/mw_form_field_file.php:82
164
  msgid "Uploaded."
165
  msgstr "アップロードしました。"
166
 
176
  msgid "Display hidden value."
177
  msgstr "hiddenの値を表示"
178
 
179
+ #: form_fields/mw_form_field_image.php:29
180
  msgid "Image"
181
  msgstr "画像フィールド"
182
 
183
+ #: form_fields/mw_form_field_password.php:29
184
  msgid "Password"
185
  msgstr "パスワードフィールド"
186
 
187
+ #: form_fields/mw_form_field_radio.php:29
188
  msgid "Radio"
189
  msgstr "ラジオボタン"
190
 
191
+ #: form_fields/mw_form_field_select.php:29
192
  msgid "Select"
193
  msgstr "セレクトボックス"
194
 
195
+ #: form_fields/mw_form_field_submit.php:29
196
  msgid "Submit Button"
197
  msgstr "送信ボタン"
198
 
199
+ #: form_fields/mw_form_field_submit.php:41
200
+ #: form_fields/mw_form_field_submit_button.php:42
201
  msgid "Send"
202
  msgstr "送信する"
203
 
204
+ #: form_fields/mw_form_field_submit_button.php:29
205
  msgid "Confirm &amp; Submit"
206
  msgstr "確認・送信"
207
 
208
+ #: form_fields/mw_form_field_submit_button.php:78
209
  msgid "String on the confirm button"
210
  msgstr "確認ボタンに表示する文字列"
211
 
212
+ #: form_fields/mw_form_field_submit_button.php:82
213
  msgid "String on the submit button"
214
  msgstr "送信ボタンに表示する文字列"
215
 
216
+ #: form_fields/mw_form_field_tel.php:29
217
  #: validation_rules/mw_validation_rule_tel.php:52
218
  msgid "Tel"
219
  msgstr "電話番号"
220
 
221
+ #: form_fields/mw_form_field_tel.php:90 form_fields/mw_form_field_text.php:121
222
+ #: form_fields/mw_form_field_zip.php:90
223
  msgid "Convert half alphanumeric"
224
  msgstr "半角英数字に変換"
225
 
226
+ #: form_fields/mw_form_field_tel.php:91 form_fields/mw_form_field_zip.php:91
227
  msgid "Don't Convert."
228
  msgstr "変換しない"
229
 
230
+ #: form_fields/mw_form_field_text.php:29
231
  msgid "Text"
232
  msgstr "テキストフィールド"
233
 
234
+ #: form_fields/mw_form_field_text.php:122
235
  msgid "Convert."
236
  msgstr "変換する"
237
 
238
+ #: form_fields/mw_form_field_textarea.php:29
239
  msgid "Textarea"
240
  msgstr "テキストエリア"
241
 
242
+ #: form_fields/mw_form_field_zip.php:29
243
  #: validation_rules/mw_validation_rule_zip.php:46
244
  msgid "Zip Code"
245
  msgstr "郵便番号"
246
 
247
+ #: mw-wp-form.php:531
248
  msgid "Validation Object is not a MW Validation Class."
249
  msgstr ""
250
 
449
  msgid "Select Style"
450
  msgstr "スタイルを選択"
451
 
452
+ #: system/mw_wp_form_admin_page.php:578 system/mw_wp_form_chart_page.php:172
453
+ msgid "Select this."
454
+ msgstr "選択してください"
455
+
456
+ #: system/mw_wp_form_admin_page.php:579
457
+ msgid "Input fields"
458
+ msgstr "入力項目"
459
+
460
+ #: system/mw_wp_form_admin_page.php:582
461
+ msgid "Select fields"
462
+ msgstr "選択項目"
463
+
464
+ #: system/mw_wp_form_admin_page.php:585
465
+ msgid "Button fields"
466
+ msgstr "ボタン項目"
467
+
468
+ #: system/mw_wp_form_admin_page.php:588
469
+ msgid "Other fields"
470
+ msgstr "その他の項目"
471
+
472
+ #: system/mw_wp_form_admin_page.php:592
473
  msgid "Add form tag"
474
  msgstr "フォームタグを追加"
475
 
486
  msgid "Item that create chart"
487
  msgstr "グラフを作成する項目"
488
 
 
 
 
 
489
  #: system/mw_wp_form_chart_page.php:178
490
  msgid "Chart type"
491
  msgstr "グラフの種類"
505
  msgstr ""
506
  "区切り文字(チェックボックスの場合。separator 属性が未設定の場合は「,」)"
507
 
508
+ #: system/mw_wp_form_chart_page.php:217
509
+ #: system/mw_wp_form_contact_data_page.php:491
510
+ msgid "The number of inquiries"
511
+ msgstr "問い合わせ件数"
512
+
513
  #: system/mw_wp_form_contact_data_page.php:53
514
  msgid "Not supported"
515
  msgstr "未対応"
546
  msgid "CSV Download"
547
  msgstr "CSVダウンロード"
548
 
549
+ #: system/mw_wp_form_contact_data_page.php:198
550
+ #: system/mw_wp_form_contact_data_page.php:230
551
+ #: system/mw_wp_form_contact_data_page.php:313
552
+ #: system/mw_wp_form_contact_data_page.php:410
553
  msgid "Response Status"
554
  msgstr "対応状況"
555
 
556
+ #: system/mw_wp_form_contact_data_page.php:221
557
+ #: system/mw_wp_form_contact_data_page.php:232
558
+ #: system/mw_wp_form_contact_data_page.php:422
559
  msgid "Memo"
560
  msgstr "メモ"
561
 
562
+ #: system/mw_wp_form_contact_data_page.php:288
563
  msgid "Custom Fields"
564
  msgstr "カスタムフィールド"
565
 
566
+ #: system/mw_wp_form_contact_data_page.php:312
567
  msgid "Registed Date"
568
  msgstr "登録日時"
569
 
570
+ #: system/mw_wp_form_contact_data_page.php:468
571
+ #: system/mw_wp_form_contact_data_page.php:469
572
+ #: system/mw_wp_form_contact_data_page.php:483
573
  msgid "Inquiry data"
574
  msgstr "問い合わせデータ"
575
 
576
+ #: system/mw_wp_form_contact_data_page.php:485
577
  msgid ""
578
  "You can see the inquiry data that are saved in the database by clicking on "
579
  "the link below."
581
  "リンクをクリックすることでデータベースに保存された問い合わせデータを見ること"
582
  "ができます。"
583
 
584
+ #: system/mw_wp_form_contact_data_page.php:489
585
  msgid "Form title"
586
  msgstr "フォーム名"
587
 
588
+ #: system/mw_wp_form_contact_data_page.php:490
589
+ #: system/mw_wp_form_contact_data_page.php:500
590
  msgid "Display Chart"
591
  msgstr "グラフを表示"
592
 
593
+ #: system/mw_wp_form_contact_data_page.php:492
 
 
 
 
594
  msgid "Updated date"
595
  msgstr "更新日"
596
 
597
+ #: system/mw_wp_form_contact_data_page.php:493
598
  msgid "Created date"
599
  msgstr "作成日"
600
 
601
+ #: system/mw_wp_form_contact_data_page.php:501
602
  msgid "cases"
603
  msgstr "件"
604
 
605
+ #: system/mw_wp_form_contact_data_page.php:523
606
  msgid "&laquo; Back to the list"
607
  msgstr "&laquo; 一覧に戻る"
608
 
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.8.3\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/mw-wp-form\n"
7
- "POT-Creation-Date: 2014-09-01 11:56:58+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -22,127 +22,127 @@ msgstr ""
22
  msgid "Akismet Error"
23
  msgstr ""
24
 
25
- #: form_fields/mw_form_field_back_button.php:23
26
- #: form_fields/mw_form_field_back_button.php:34
27
  msgid "Back"
28
  msgstr ""
29
 
30
- #: form_fields/mw_form_field_back_button.php:62
31
- #: form_fields/mw_form_field_button.php:68
32
- #: form_fields/mw_form_field_submit.php:68
33
  msgid "String on the button"
34
  msgstr ""
35
 
36
- #: form_fields/mw_form_field_back_button.php:62
37
- #: form_fields/mw_form_field_button.php:68
38
- #: form_fields/mw_form_field_checkbox.php:84
39
- #: form_fields/mw_form_field_checkbox.php:88
40
- #: form_fields/mw_form_field_checkbox.php:95
41
- #: form_fields/mw_form_field_confirm_button.php:62
42
- #: form_fields/mw_form_field_datepicker.php:106
43
- #: form_fields/mw_form_field_datepicker.php:110
44
- #: form_fields/mw_form_field_datepicker.php:114
45
- #: form_fields/mw_form_field_datepicker.php:118
46
- #: form_fields/mw_form_field_file.php:97 form_fields/mw_form_field_file.php:101
47
  #: form_fields/mw_form_field_hidden.php:78
48
- #: form_fields/mw_form_field_image.php:98
49
  #: form_fields/mw_form_field_image.php:102
50
- #: form_fields/mw_form_field_password.php:83
51
- #: form_fields/mw_form_field_password.php:87
52
- #: form_fields/mw_form_field_password.php:91
53
- #: form_fields/mw_form_field_password.php:95
54
- #: form_fields/mw_form_field_password.php:99
55
- #: form_fields/mw_form_field_radio.php:82
56
- #: form_fields/mw_form_field_radio.php:86
57
- #: form_fields/mw_form_field_radio.php:93
58
- #: form_fields/mw_form_field_select.php:82
59
- #: form_fields/mw_form_field_select.php:86
60
- #: form_fields/mw_form_field_select.php:93
61
- #: form_fields/mw_form_field_submit.php:68
62
- #: form_fields/mw_form_field_text.php:91 form_fields/mw_form_field_text.php:95
63
- #: form_fields/mw_form_field_text.php:99 form_fields/mw_form_field_text.php:103
64
- #: form_fields/mw_form_field_text.php:107
65
- #: form_fields/mw_form_field_textarea.php:85
66
- #: form_fields/mw_form_field_textarea.php:89
67
- #: form_fields/mw_form_field_textarea.php:93
68
- #: form_fields/mw_form_field_textarea.php:97
69
- #: form_fields/mw_form_field_textarea.php:101
 
70
  msgid "option"
71
  msgstr ""
72
 
73
- #: form_fields/mw_form_field_button.php:23
74
  msgid "Button"
75
  msgstr ""
76
 
77
- #: form_fields/mw_form_field_checkbox.php:23
78
  msgid "Checkbox"
79
  msgstr ""
80
 
81
- #: form_fields/mw_form_field_checkbox.php:88
82
- #: form_fields/mw_form_field_radio.php:86
83
- #: form_fields/mw_form_field_select.php:86
84
  msgid "Choices"
85
  msgstr ""
86
 
87
- #: form_fields/mw_form_field_checkbox.php:91
88
  #: form_fields/mw_form_field_error.php:70
89
- #: form_fields/mw_form_field_radio.php:89
90
- #: form_fields/mw_form_field_select.php:89
91
  msgid "Input one line about one item."
92
  msgstr ""
93
 
94
- #: form_fields/mw_form_field_checkbox.php:95
95
- #: form_fields/mw_form_field_confirm_button.php:62
96
- #: form_fields/mw_form_field_datepicker.php:118
97
  #: form_fields/mw_form_field_hidden.php:78
98
- #: form_fields/mw_form_field_password.php:95
99
- #: form_fields/mw_form_field_radio.php:93
100
- #: form_fields/mw_form_field_select.php:93
101
- #: form_fields/mw_form_field_text.php:103
102
- #: form_fields/mw_form_field_textarea.php:97
103
  msgid "Default value"
104
  msgstr ""
105
 
106
- #: form_fields/mw_form_field_checkbox.php:99
107
  msgid "Separator string"
108
  msgstr ""
109
 
110
- #: form_fields/mw_form_field_checkbox.php:103
111
- #: form_fields/mw_form_field_datepicker.php:122
112
  #: form_fields/mw_form_field_file.php:105
113
  #: form_fields/mw_form_field_image.php:106
114
- #: form_fields/mw_form_field_password.php:103
115
- #: form_fields/mw_form_field_radio.php:97
116
- #: form_fields/mw_form_field_select.php:97 form_fields/mw_form_field_tel.php:80
117
- #: form_fields/mw_form_field_text.php:111
118
- #: form_fields/mw_form_field_textarea.php:105
119
- #: form_fields/mw_form_field_zip.php:80
120
  msgid "Dsiplay error"
121
  msgstr ""
122
 
123
- #: form_fields/mw_form_field_checkbox.php:104
124
- #: form_fields/mw_form_field_datepicker.php:123
125
  #: form_fields/mw_form_field_file.php:106
126
  #: form_fields/mw_form_field_image.php:107
127
- #: form_fields/mw_form_field_password.php:104
128
- #: form_fields/mw_form_field_radio.php:98
129
- #: form_fields/mw_form_field_select.php:98 form_fields/mw_form_field_tel.php:81
130
- #: form_fields/mw_form_field_text.php:112
131
- #: form_fields/mw_form_field_textarea.php:106
132
- #: form_fields/mw_form_field_zip.php:81
133
  msgid "Don't display error."
134
  msgstr ""
135
 
136
- #: form_fields/mw_form_field_confirm_button.php:23
137
  msgid "Confirm Button"
138
  msgstr ""
139
 
140
- #: form_fields/mw_form_field_confirm_button.php:34
141
- #: form_fields/mw_form_field_submit_button.php:35
142
  msgid "Confirm"
143
  msgstr ""
144
 
145
- #: form_fields/mw_form_field_datepicker.php:23
146
  msgid "Datepicker"
147
  msgstr ""
148
 
@@ -154,11 +154,11 @@ msgstr ""
154
  msgid "name of the element which wants to display error"
155
  msgstr ""
156
 
157
- #: form_fields/mw_form_field_file.php:23
158
  msgid "File"
159
  msgstr ""
160
 
161
- #: form_fields/mw_form_field_file.php:57 form_fields/mw_form_field_file.php:78
162
  msgid "Uploaded."
163
  msgstr ""
164
 
@@ -174,75 +174,75 @@ msgstr ""
174
  msgid "Display hidden value."
175
  msgstr ""
176
 
177
- #: form_fields/mw_form_field_image.php:23
178
  msgid "Image"
179
  msgstr ""
180
 
181
- #: form_fields/mw_form_field_password.php:23
182
  msgid "Password"
183
  msgstr ""
184
 
185
- #: form_fields/mw_form_field_radio.php:23
186
  msgid "Radio"
187
  msgstr ""
188
 
189
- #: form_fields/mw_form_field_select.php:23
190
  msgid "Select"
191
  msgstr ""
192
 
193
- #: form_fields/mw_form_field_submit.php:23
194
  msgid "Submit Button"
195
  msgstr ""
196
 
197
- #: form_fields/mw_form_field_submit.php:35
198
- #: form_fields/mw_form_field_submit_button.php:36
199
  msgid "Send"
200
  msgstr ""
201
 
202
- #: form_fields/mw_form_field_submit_button.php:23
203
  msgid "Confirm &amp; Submit"
204
  msgstr ""
205
 
206
- #: form_fields/mw_form_field_submit_button.php:72
207
  msgid "String on the confirm button"
208
  msgstr ""
209
 
210
- #: form_fields/mw_form_field_submit_button.php:76
211
  msgid "String on the submit button"
212
  msgstr ""
213
 
214
- #: form_fields/mw_form_field_tel.php:23
215
  #: validation_rules/mw_validation_rule_tel.php:52
216
  msgid "Tel"
217
  msgstr ""
218
 
219
- #: form_fields/mw_form_field_tel.php:84 form_fields/mw_form_field_text.php:115
220
- #: form_fields/mw_form_field_zip.php:84
221
  msgid "Convert half alphanumeric"
222
  msgstr ""
223
 
224
- #: form_fields/mw_form_field_tel.php:85 form_fields/mw_form_field_zip.php:85
225
  msgid "Don't Convert."
226
  msgstr ""
227
 
228
- #: form_fields/mw_form_field_text.php:23
229
  msgid "Text"
230
  msgstr ""
231
 
232
- #: form_fields/mw_form_field_text.php:116
233
  msgid "Convert."
234
  msgstr ""
235
 
236
- #: form_fields/mw_form_field_textarea.php:23
237
  msgid "Textarea"
238
  msgstr ""
239
 
240
- #: form_fields/mw_form_field_zip.php:23
241
  #: validation_rules/mw_validation_rule_zip.php:46
242
  msgid "Zip Code"
243
  msgstr ""
244
 
245
- #: mw-wp-form.php:529
246
  msgid "Validation Object is not a MW Validation Class."
247
  msgstr ""
248
 
@@ -432,7 +432,27 @@ msgstr ""
432
  msgid "Select Style"
433
  msgstr ""
434
 
435
- #: system/mw_wp_form_admin_page.php:580
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
436
  msgid "Add form tag"
437
  msgstr ""
438
 
@@ -449,10 +469,6 @@ msgstr ""
449
  msgid "Item that create chart"
450
  msgstr ""
451
 
452
- #: system/mw_wp_form_chart_page.php:172
453
- msgid "Select this."
454
- msgstr ""
455
-
456
  #: system/mw_wp_form_chart_page.php:178
457
  msgid "Chart type"
458
  msgstr ""
@@ -469,6 +485,11 @@ msgstr ""
469
  msgid "Separator string (If the check box. If the separator attribute is not set to \",\")"
470
  msgstr ""
471
 
 
 
 
 
 
472
  #: system/mw_wp_form_contact_data_page.php:53
473
  msgid "Not supported"
474
  msgstr ""
@@ -505,63 +526,59 @@ msgstr ""
505
  msgid "CSV Download"
506
  msgstr ""
507
 
508
- #: system/mw_wp_form_contact_data_page.php:195
509
- #: system/mw_wp_form_contact_data_page.php:227
510
- #: system/mw_wp_form_contact_data_page.php:310
511
- #: system/mw_wp_form_contact_data_page.php:407
512
  msgid "Response Status"
513
  msgstr ""
514
 
515
- #: system/mw_wp_form_contact_data_page.php:218
516
- #: system/mw_wp_form_contact_data_page.php:229
517
- #: system/mw_wp_form_contact_data_page.php:419
518
  msgid "Memo"
519
  msgstr ""
520
 
521
- #: system/mw_wp_form_contact_data_page.php:285
522
  msgid "Custom Fields"
523
  msgstr ""
524
 
525
- #: system/mw_wp_form_contact_data_page.php:309
526
  msgid "Registed Date"
527
  msgstr ""
528
 
529
- #: system/mw_wp_form_contact_data_page.php:465
530
- #: system/mw_wp_form_contact_data_page.php:466
531
- #: system/mw_wp_form_contact_data_page.php:480
532
  msgid "Inquiry data"
533
  msgstr ""
534
 
535
- #: system/mw_wp_form_contact_data_page.php:482
536
  msgid "You can see the inquiry data that are saved in the database by clicking on the link below."
537
  msgstr ""
538
 
539
- #: system/mw_wp_form_contact_data_page.php:486
540
  msgid "Form title"
541
  msgstr ""
542
 
543
- #: system/mw_wp_form_contact_data_page.php:487
544
- #: system/mw_wp_form_contact_data_page.php:497
545
  msgid "Display Chart"
546
  msgstr ""
547
 
548
- #: system/mw_wp_form_contact_data_page.php:488
549
- msgid "The number of inquiries"
550
- msgstr ""
551
-
552
- #: system/mw_wp_form_contact_data_page.php:489
553
  msgid "Updated date"
554
  msgstr ""
555
 
556
- #: system/mw_wp_form_contact_data_page.php:490
557
  msgid "Created date"
558
  msgstr ""
559
 
560
- #: system/mw_wp_form_contact_data_page.php:498
561
  msgid "cases"
562
  msgstr ""
563
 
564
- #: system/mw_wp_form_contact_data_page.php:520
565
  msgid "&laquo; Back to the list"
566
  msgstr ""
567
 
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.9.1\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/mw-wp-form\n"
7
+ "POT-Creation-Date: 2014-09-03 16:27: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"
22
  msgid "Akismet Error"
23
  msgstr ""
24
 
25
+ #: form_fields/mw_form_field_back_button.php:29
26
+ #: form_fields/mw_form_field_back_button.php:40
27
  msgid "Back"
28
  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 ""
35
 
36
+ #: form_fields/mw_form_field_back_button.php:68
37
+ #: form_fields/mw_form_field_button.php:74
38
+ #: form_fields/mw_form_field_checkbox.php:90
39
+ #: form_fields/mw_form_field_checkbox.php:94
40
+ #: form_fields/mw_form_field_checkbox.php:101
41
+ #: form_fields/mw_form_field_confirm_button.php:68
42
+ #: form_fields/mw_form_field_datepicker.php:112
43
+ #: form_fields/mw_form_field_datepicker.php:116
44
+ #: form_fields/mw_form_field_datepicker.php:120
45
+ #: form_fields/mw_form_field_datepicker.php:124
46
+ #: form_fields/mw_form_field_file.php:101
47
  #: form_fields/mw_form_field_hidden.php:78
 
48
  #: form_fields/mw_form_field_image.php:102
49
+ #: form_fields/mw_form_field_password.php:89
50
+ #: form_fields/mw_form_field_password.php:93
51
+ #: form_fields/mw_form_field_password.php:97
52
+ #: form_fields/mw_form_field_password.php:101
53
+ #: form_fields/mw_form_field_password.php:105
54
+ #: form_fields/mw_form_field_radio.php:88
55
+ #: form_fields/mw_form_field_radio.php:92
56
+ #: form_fields/mw_form_field_radio.php:99
57
+ #: form_fields/mw_form_field_select.php:88
58
+ #: form_fields/mw_form_field_select.php:92
59
+ #: form_fields/mw_form_field_select.php:99
60
+ #: form_fields/mw_form_field_submit.php:74
61
+ #: form_fields/mw_form_field_text.php:97 form_fields/mw_form_field_text.php:101
62
+ #: form_fields/mw_form_field_text.php:105
63
+ #: form_fields/mw_form_field_text.php:109
64
+ #: form_fields/mw_form_field_text.php:113
65
+ #: form_fields/mw_form_field_textarea.php:91
66
+ #: form_fields/mw_form_field_textarea.php:95
67
+ #: form_fields/mw_form_field_textarea.php:99
68
+ #: form_fields/mw_form_field_textarea.php:103
69
+ #: form_fields/mw_form_field_textarea.php:107
70
  msgid "option"
71
  msgstr ""
72
 
73
+ #: form_fields/mw_form_field_button.php:29
74
  msgid "Button"
75
  msgstr ""
76
 
77
+ #: form_fields/mw_form_field_checkbox.php:29
78
  msgid "Checkbox"
79
  msgstr ""
80
 
81
+ #: form_fields/mw_form_field_checkbox.php:94
82
+ #: form_fields/mw_form_field_radio.php:92
83
+ #: form_fields/mw_form_field_select.php:92
84
  msgid "Choices"
85
  msgstr ""
86
 
87
+ #: form_fields/mw_form_field_checkbox.php:97
88
  #: form_fields/mw_form_field_error.php:70
89
+ #: form_fields/mw_form_field_radio.php:95
90
+ #: form_fields/mw_form_field_select.php:95
91
  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
99
+ #: form_fields/mw_form_field_radio.php:99
100
+ #: form_fields/mw_form_field_select.php:99
101
+ #: form_fields/mw_form_field_text.php:109
102
+ #: form_fields/mw_form_field_textarea.php:103
103
  msgid "Default value"
104
  msgstr ""
105
 
106
+ #: form_fields/mw_form_field_checkbox.php:105
107
  msgid "Separator string"
108
  msgstr ""
109
 
110
+ #: form_fields/mw_form_field_checkbox.php:109
111
+ #: form_fields/mw_form_field_datepicker.php:128
112
  #: form_fields/mw_form_field_file.php:105
113
  #: form_fields/mw_form_field_image.php:106
114
+ #: form_fields/mw_form_field_password.php:109
115
+ #: form_fields/mw_form_field_radio.php:103
116
+ #: form_fields/mw_form_field_select.php:103
117
+ #: form_fields/mw_form_field_tel.php:86 form_fields/mw_form_field_text.php:117
118
+ #: form_fields/mw_form_field_textarea.php:111
119
+ #: form_fields/mw_form_field_zip.php:86
120
  msgid "Dsiplay error"
121
  msgstr ""
122
 
123
+ #: form_fields/mw_form_field_checkbox.php:110
124
+ #: form_fields/mw_form_field_datepicker.php:129
125
  #: form_fields/mw_form_field_file.php:106
126
  #: form_fields/mw_form_field_image.php:107
127
+ #: form_fields/mw_form_field_password.php:110
128
+ #: form_fields/mw_form_field_radio.php:104
129
+ #: form_fields/mw_form_field_select.php:104
130
+ #: form_fields/mw_form_field_tel.php:87 form_fields/mw_form_field_text.php:118
131
+ #: form_fields/mw_form_field_textarea.php:112
132
+ #: form_fields/mw_form_field_zip.php:87
133
  msgid "Don't display error."
134
  msgstr ""
135
 
136
+ #: form_fields/mw_form_field_confirm_button.php:29
137
  msgid "Confirm Button"
138
  msgstr ""
139
 
140
+ #: form_fields/mw_form_field_confirm_button.php:40
141
+ #: form_fields/mw_form_field_submit_button.php:41
142
  msgid "Confirm"
143
  msgstr ""
144
 
145
+ #: form_fields/mw_form_field_datepicker.php:29
146
  msgid "Datepicker"
147
  msgstr ""
148
 
154
  msgid "name of the element which wants to display error"
155
  msgstr ""
156
 
157
+ #: form_fields/mw_form_field_file.php:29
158
  msgid "File"
159
  msgstr ""
160
 
161
+ #: form_fields/mw_form_field_file.php:61 form_fields/mw_form_field_file.php:82
162
  msgid "Uploaded."
163
  msgstr ""
164
 
174
  msgid "Display hidden value."
175
  msgstr ""
176
 
177
+ #: form_fields/mw_form_field_image.php:29
178
  msgid "Image"
179
  msgstr ""
180
 
181
+ #: form_fields/mw_form_field_password.php:29
182
  msgid "Password"
183
  msgstr ""
184
 
185
+ #: form_fields/mw_form_field_radio.php:29
186
  msgid "Radio"
187
  msgstr ""
188
 
189
+ #: form_fields/mw_form_field_select.php:29
190
  msgid "Select"
191
  msgstr ""
192
 
193
+ #: form_fields/mw_form_field_submit.php:29
194
  msgid "Submit Button"
195
  msgstr ""
196
 
197
+ #: form_fields/mw_form_field_submit.php:41
198
+ #: form_fields/mw_form_field_submit_button.php:42
199
  msgid "Send"
200
  msgstr ""
201
 
202
+ #: form_fields/mw_form_field_submit_button.php:29
203
  msgid "Confirm &amp; Submit"
204
  msgstr ""
205
 
206
+ #: form_fields/mw_form_field_submit_button.php:78
207
  msgid "String on the confirm button"
208
  msgstr ""
209
 
210
+ #: form_fields/mw_form_field_submit_button.php:82
211
  msgid "String on the submit button"
212
  msgstr ""
213
 
214
+ #: form_fields/mw_form_field_tel.php:29
215
  #: validation_rules/mw_validation_rule_tel.php:52
216
  msgid "Tel"
217
  msgstr ""
218
 
219
+ #: form_fields/mw_form_field_tel.php:90 form_fields/mw_form_field_text.php:121
220
+ #: form_fields/mw_form_field_zip.php:90
221
  msgid "Convert half alphanumeric"
222
  msgstr ""
223
 
224
+ #: form_fields/mw_form_field_tel.php:91 form_fields/mw_form_field_zip.php:91
225
  msgid "Don't Convert."
226
  msgstr ""
227
 
228
+ #: form_fields/mw_form_field_text.php:29
229
  msgid "Text"
230
  msgstr ""
231
 
232
+ #: form_fields/mw_form_field_text.php:122
233
  msgid "Convert."
234
  msgstr ""
235
 
236
+ #: form_fields/mw_form_field_textarea.php:29
237
  msgid "Textarea"
238
  msgstr ""
239
 
240
+ #: form_fields/mw_form_field_zip.php:29
241
  #: validation_rules/mw_validation_rule_zip.php:46
242
  msgid "Zip Code"
243
  msgstr ""
244
 
245
+ #: mw-wp-form.php:531
246
  msgid "Validation Object is not a MW Validation Class."
247
  msgstr ""
248
 
432
  msgid "Select Style"
433
  msgstr ""
434
 
435
+ #: system/mw_wp_form_admin_page.php:578 system/mw_wp_form_chart_page.php:172
436
+ msgid "Select this."
437
+ msgstr ""
438
+
439
+ #: system/mw_wp_form_admin_page.php:579
440
+ msgid "Input fields"
441
+ msgstr ""
442
+
443
+ #: system/mw_wp_form_admin_page.php:582
444
+ msgid "Select fields"
445
+ msgstr ""
446
+
447
+ #: system/mw_wp_form_admin_page.php:585
448
+ msgid "Button fields"
449
+ msgstr ""
450
+
451
+ #: system/mw_wp_form_admin_page.php:588
452
+ msgid "Other fields"
453
+ msgstr ""
454
+
455
+ #: system/mw_wp_form_admin_page.php:592
456
  msgid "Add form tag"
457
  msgstr ""
458
 
469
  msgid "Item that create chart"
470
  msgstr ""
471
 
 
 
 
 
472
  #: system/mw_wp_form_chart_page.php:178
473
  msgid "Chart type"
474
  msgstr ""
485
  msgid "Separator string (If the check box. If the separator attribute is not set to \",\")"
486
  msgstr ""
487
 
488
+ #: system/mw_wp_form_chart_page.php:217
489
+ #: system/mw_wp_form_contact_data_page.php:491
490
+ msgid "The number of inquiries"
491
+ msgstr ""
492
+
493
  #: system/mw_wp_form_contact_data_page.php:53
494
  msgid "Not supported"
495
  msgstr ""
526
  msgid "CSV Download"
527
  msgstr ""
528
 
529
+ #: system/mw_wp_form_contact_data_page.php:198
530
+ #: system/mw_wp_form_contact_data_page.php:230
531
+ #: system/mw_wp_form_contact_data_page.php:313
532
+ #: system/mw_wp_form_contact_data_page.php:410
533
  msgid "Response Status"
534
  msgstr ""
535
 
536
+ #: system/mw_wp_form_contact_data_page.php:221
537
+ #: system/mw_wp_form_contact_data_page.php:232
538
+ #: system/mw_wp_form_contact_data_page.php:422
539
  msgid "Memo"
540
  msgstr ""
541
 
542
+ #: system/mw_wp_form_contact_data_page.php:288
543
  msgid "Custom Fields"
544
  msgstr ""
545
 
546
+ #: system/mw_wp_form_contact_data_page.php:312
547
  msgid "Registed Date"
548
  msgstr ""
549
 
550
+ #: system/mw_wp_form_contact_data_page.php:468
551
+ #: system/mw_wp_form_contact_data_page.php:469
552
+ #: system/mw_wp_form_contact_data_page.php:483
553
  msgid "Inquiry data"
554
  msgstr ""
555
 
556
+ #: system/mw_wp_form_contact_data_page.php:485
557
  msgid "You can see the inquiry data that are saved in the database by clicking on the link below."
558
  msgstr ""
559
 
560
+ #: system/mw_wp_form_contact_data_page.php:489
561
  msgid "Form title"
562
  msgstr ""
563
 
564
+ #: system/mw_wp_form_contact_data_page.php:490
565
+ #: system/mw_wp_form_contact_data_page.php:500
566
  msgid "Display Chart"
567
  msgstr ""
568
 
569
+ #: system/mw_wp_form_contact_data_page.php:492
 
 
 
 
570
  msgid "Updated date"
571
  msgstr ""
572
 
573
+ #: system/mw_wp_form_contact_data_page.php:493
574
  msgid "Created date"
575
  msgstr ""
576
 
577
+ #: system/mw_wp_form_contact_data_page.php:501
578
  msgid "cases"
579
  msgstr ""
580
 
581
+ #: system/mw_wp_form_contact_data_page.php:523
582
  msgid "&laquo; Back to the list"
583
  msgstr ""
584
 
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: 1.9.0
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : September 25, 2012
10
- * Modified: August 8, 2014
11
  * Text Domain: mw-wp-form
12
  * Domain Path: /languages/
13
  * License: GPLv2
@@ -153,7 +153,7 @@ class mw_wp_form {
153
  include_once( plugin_dir_path( __FILE__ ) . 'system/mw_mail.php' );
154
  include_once( plugin_dir_path( __FILE__ ) . 'system/mw_validation.php' );
155
  include_once( plugin_dir_path( __FILE__ ) . 'system/mw_wp_form_file.php' );
156
- add_action( 'nocache_headers' , array( $this, 'nocache_headers' ) , 1 );
157
  add_filter( 'template_include', array( $this, 'main' ), 10000 );
158
  add_action( 'parse_request', array( $this, 'remove_query_vars_from_post' ) );
159
  }
@@ -242,15 +242,15 @@ class mw_wp_form {
242
  */
243
  public function original_style() {
244
  $url = plugin_dir_url( __FILE__ );
245
- wp_register_style( MWF_Config::DOMAIN, $url . 'css/style.css' );
246
- wp_enqueue_style( MWF_Config::DOMAIN );
247
 
248
  $style = $this->options_by_formkey['style'];
249
  $styles = apply_filters( 'mwform_styles', array() );
250
  if ( is_array( $styles ) && isset( $styles[$style] ) ) {
251
  $css = $styles[$style];
252
- wp_register_style( MWF_Config::DOMAIN . '_style', $css );
253
- wp_enqueue_style( MWF_Config::DOMAIN . '_style' );
254
  }
255
  }
256
 
@@ -260,8 +260,8 @@ class mw_wp_form {
260
  */
261
  public function original_script() {
262
  $url = plugin_dir_url( __FILE__ );
263
- wp_register_script( MWF_Config::DOMAIN, $url . 'js/form.js', array( 'jquery' ), false, true );
264
- wp_enqueue_script( MWF_Config::DOMAIN );
265
  }
266
 
267
  /**
@@ -321,6 +321,8 @@ class mw_wp_form {
321
  is_null( $this->validation_error ) )
322
  return $template;
323
 
 
 
324
  // セッション初期化
325
  $this->Data = MW_WP_Form_Data::getInstance( $this->key );
326
  // $_POSTがあるときは$_POST
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: 1.9.1
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : September 25, 2012
10
+ * Modified: September 3, 2014
11
  * Text Domain: mw-wp-form
12
  * Domain Path: /languages/
13
  * License: GPLv2
153
  include_once( plugin_dir_path( __FILE__ ) . 'system/mw_mail.php' );
154
  include_once( plugin_dir_path( __FILE__ ) . 'system/mw_validation.php' );
155
  include_once( plugin_dir_path( __FILE__ ) . 'system/mw_wp_form_file.php' );
156
+ add_filter( 'nocache_headers' , array( $this, 'nocache_headers' ) , 1 );
157
  add_filter( 'template_include', array( $this, 'main' ), 10000 );
158
  add_action( 'parse_request', array( $this, 'remove_query_vars_from_post' ) );
159
  }
242
  */
243
  public function original_style() {
244
  $url = plugin_dir_url( __FILE__ );
245
+ wp_register_style( MWF_Config::NAME, $url . 'css/style.css' );
246
+ wp_enqueue_style( MWF_Config::NAME );
247
 
248
  $style = $this->options_by_formkey['style'];
249
  $styles = apply_filters( 'mwform_styles', array() );
250
  if ( is_array( $styles ) && isset( $styles[$style] ) ) {
251
  $css = $styles[$style];
252
+ wp_register_style( MWF_Config::NAME . '_style', $css );
253
+ wp_enqueue_style( MWF_Config::NAME . '_style' );
254
  }
255
  }
256
 
260
  */
261
  public function original_script() {
262
  $url = plugin_dir_url( __FILE__ );
263
+ wp_register_script( MWF_Config::NAME, $url . 'js/form.js', array( 'jquery' ), false, true );
264
+ wp_enqueue_script( MWF_Config::NAME );
265
  }
266
 
267
  /**
321
  is_null( $this->validation_error ) )
322
  return $template;
323
 
324
+ nocache_headers();
325
+
326
  // セッション初期化
327
  $this->Data = MW_WP_Form_Data::getInstance( $this->key );
328
  // $_POSTがあるときは$_POST
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: 3.9.1
7
- Stable tag: 1.9.0
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -67,6 +67,11 @@ Do you have questions or issues with MW WP Form? Use these support channels appr
67
 
68
  == Changelog ==
69
 
 
 
 
 
 
70
  = 1.9.0 =
71
  * Added : Add chart function.
72
  * Added : Add separator attribute in checkbox tag generator.
4
  Tags: plugin, form, confirm, preview, shortcode, mail, chart, graph
5
  Requires at least: 3.7
6
  Tested up to: 3.9.1
7
+ Stable tag: 1.9.1
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
67
 
68
  == Changelog ==
69
 
70
+ = 1.9.1 =
71
+ * Changed : Easy to see change the form tag insertion selectbox.
72
+ * Deleted : Delete size attribute in file or image field.
73
+ * Bug fix : Fix bug that there are cases where the page chache does not disabled on Nginx.
74
+
75
  = 1.9.0 =
76
  * Added : Add chart function.
77
  * Added : Add separator attribute in checkbox tag generator.
system/mw_form.php CHANGED
@@ -727,12 +727,11 @@ class MW_Form {
727
  public function file( $name, $options = array() ) {
728
  $defaults = array(
729
  'id' => '',
730
- 'size' => 20,
731
  );
732
  $id = $this->get_attr_id( $options['id'] );
733
  $options = array_merge( $defaults, $options );
734
- return sprintf( '<input type="file" name="%s" size="%d" %s /><span data-mwform-file-delete="%1$s" class="mwform-file-delete">&times;</span>',
735
- esc_attr( $name ), esc_attr( $options['size'] ), $id
736
  );
737
  }
738
 
727
  public function file( $name, $options = array() ) {
728
  $defaults = array(
729
  'id' => '',
 
730
  );
731
  $id = $this->get_attr_id( $options['id'] );
732
  $options = array_merge( $defaults, $options );
733
+ return sprintf( '<input type="file" name="%s" %s /><span data-mwform-file-delete="%1$s" class="mwform-file-delete">&times;</span>',
734
+ esc_attr( $name ), $id
735
  );
736
  }
737
 
system/mw_form_field.php CHANGED
@@ -2,11 +2,11 @@
2
  /**
3
  * Name: MW Form Field
4
  * Description: フォームフィールドの抽象クラス
5
- * Version: 1.6.2
6
  * Author: Takashi Kitajima
7
  * Author URI: http://2inc.org
8
  * Created : December 14, 2012
9
- * Modified: June 23, 2014
10
  * License: GPLv2
11
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
  */
@@ -47,6 +47,12 @@ abstract class MW_Form_Field {
47
  */
48
  protected $key;
49
 
 
 
 
 
 
 
50
  /**
51
  * array $qtags qtagsの引数
52
  */
@@ -218,7 +224,12 @@ abstract class MW_Form_Field {
218
  */
219
  protected function _add_mwform_tag_generator() {
220
  add_action( 'mwform_tag_generator_dialog', array( $this, 'add_mwform_tag_generator' ) );
221
- add_action( 'mwform_tag_generator_option', array( $this, 'mwform_tag_generator_option' ) );
 
 
 
 
 
222
  }
223
 
224
  /**
2
  /**
3
  * Name: MW Form Field
4
  * Description: フォームフィールドの抽象クラス
5
+ * Version: 1.6.3
6
  * Author: Takashi Kitajima
7
  * Author URI: http://2inc.org
8
  * Created : December 14, 2012
9
+ * Modified: September 3, 2014
10
  * License: GPLv2
11
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
  */
47
  */
48
  protected $key;
49
 
50
+ /**
51
+ * string $type フォームタグの種類
52
+ * input, select, button, other
53
+ */
54
+ protected $type = 'other';
55
+
56
  /**
57
  * array $qtags qtagsの引数
58
  */
224
  */
225
  protected function _add_mwform_tag_generator() {
226
  add_action( 'mwform_tag_generator_dialog', array( $this, 'add_mwform_tag_generator' ) );
227
+ if ( $this->type !== 'other' ) {
228
+ $tag = 'mwform_tag_generator_' . $this->type . '_option';
229
+ } else {
230
+ $tag = 'mwform_tag_generator_option';
231
+ }
232
+ add_action( $tag, array( $this, 'mwform_tag_generator_option' ) );
233
  }
234
 
235
  /**
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.11.0
6
  * Author: Takashi Kitajima
7
  * Author URI: http://2inc.org
8
  * Created : February 21, 2013
9
- * Modified: August 8, 2014
10
  * License: GPLv2
11
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
  */
@@ -575,7 +575,19 @@ class MW_WP_Form_Admin_Page {
575
  ?>
576
  <div class="add-mwform-btn">
577
  <select>
578
- <?php do_action( 'mwform_tag_generator_option' ); ?>
 
 
 
 
 
 
 
 
 
 
 
 
579
  </select>
580
  <span class="button"><?php esc_html_e( 'Add form tag', MWF_Config::DOMAIN ); ?></span>
581
  </div>
2
  /**
3
  * Name: MW WP Form Admin Page
4
  * Description: 管理画面クラス
5
+ * Version: 1.11.1
6
  * Author: Takashi Kitajima
7
  * Author URI: http://2inc.org
8
  * Created : February 21, 2013
9
+ * Modified: September 3, 2014
10
  * License: GPLv2
11
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
  */
575
  ?>
576
  <div class="add-mwform-btn">
577
  <select>
578
+ <option value=""><?php echo esc_html_e( 'Select this.', MWF_Config::DOMAIN ); ?></option>
579
+ <optgroup label="<?php echo esc_attr_e( 'Input fields', MWF_Config::DOMAIN ); ?>">
580
+ <?php do_action( 'mwform_tag_generator_input_option' ); ?>
581
+ </optgroup>
582
+ <optgroup label="<?php echo esc_attr_e( 'Select fields', MWF_Config::DOMAIN ); ?>">
583
+ <?php do_action( 'mwform_tag_generator_select_option' ); ?>
584
+ </optgroup>
585
+ <optgroup label="<?php echo esc_attr_e( 'Button fields', MWF_Config::DOMAIN ); ?>">
586
+ <?php do_action( 'mwform_tag_generator_button_option' ); ?>
587
+ </optgroup>
588
+ <optgroup label="<?php echo esc_attr_e( 'Other fields', MWF_Config::DOMAIN ); ?>">
589
+ <?php do_action( 'mwform_tag_generator_option' ); ?>
590
+ </optgroup>
591
  </select>
592
  <span class="button"><?php esc_html_e( 'Add form tag', MWF_Config::DOMAIN ); ?></span>
593
  </div>
system/mw_wp_form_contact_data_page.php CHANGED
@@ -76,8 +76,8 @@ class MW_WP_Form_Contact_Data_Page {
76
  $post_type = get_post_type();
77
  if ( in_array( $post_type, $this->form_post_type ) ) {
78
  $url = plugin_dir_url( __FILE__ );
79
- wp_register_style( MWF_Config::DOMAIN . '-admin', $url . '../css/admin.css' );
80
- wp_enqueue_style( MWF_Config::DOMAIN . '-admin' );
81
  }
82
  }
83
 
@@ -89,8 +89,8 @@ class MW_WP_Form_Contact_Data_Page {
89
  $post_type = get_post_type();
90
  if ( in_array( $post_type, $this->form_post_type ) ) {
91
  $url = plugin_dir_url( __FILE__ );
92
- wp_register_script( MWF_Config::DOMAIN . '-admin-data', $url . '../js/admin-data.js' );
93
- wp_enqueue_script( MWF_Config::DOMAIN . '-admin-data' );
94
  }
95
  }
96
 
76
  $post_type = get_post_type();
77
  if ( in_array( $post_type, $this->form_post_type ) ) {
78
  $url = plugin_dir_url( __FILE__ );
79
+ wp_register_style( MWF_Config::NAME . '-admin', $url . '../css/admin.css' );
80
+ wp_enqueue_style( MWF_Config::NAME . '-admin' );
81
  }
82
  }
83
 
89
  $post_type = get_post_type();
90
  if ( in_array( $post_type, $this->form_post_type ) ) {
91
  $url = plugin_dir_url( __FILE__ );
92
+ wp_register_script( MWF_Config::NAME . '-admin-data', $url . '../js/admin-data.js' );
93
+ wp_enqueue_script( MWF_Config::NAME . '-admin-data' );
94
  }
95
  }
96