MW WP Form - Version 1.4.0

Version Description

  • Added : Add form tag generator.
Download this release

Release Info

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

Code changes from version 1.3.3 to 1.4.0

css/admin.css CHANGED
@@ -241,3 +241,49 @@ span#formkey_field {
241
  margin: 3px 0;
242
  }
243
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
241
  margin: 3px 0;
242
  }
243
 
244
+ /**
245
+ * .mwform-dialog
246
+ */
247
+ .mwform-dialog {
248
+ display: none;
249
+ font-size: 12px;
250
+ }
251
+ .mwform-dialog form p {
252
+ margin: 0 0 10px;
253
+ padding: 0;
254
+ }
255
+ .mwform-dialog form p strong {
256
+ display: block;
257
+ font-weight: bold;
258
+ margin: 0 0 5px;
259
+ }
260
+ .mwform-dialog input[type="text"],
261
+ .mwform-dialog textarea {
262
+ width: 100%;
263
+ }
264
+
265
+ .mwform-dialog table {
266
+ margin: 0;
267
+ width: 100%;
268
+ }
269
+ .mwform-dialog table th,
270
+ .mwform-dialog table td {
271
+ font-weight: normal;
272
+ text-align: left;
273
+ vertical-align: top;
274
+ padding: 3px 8px;
275
+ }
276
+ .mwform-dialog table th {
277
+ width: 30%;
278
+ }
279
+ .mwform-dialog input[type="text"],
280
+ .mwform-dialog textarea {
281
+ width: 100%;
282
+ }
283
+ .mwform-dialog textarea {
284
+ height: 100px;
285
+ }
286
+ .mwform-dialog .mwf_note {
287
+ display: block;
288
+ }
289
+
form_fields/mw_form_field_akismet_error.php CHANGED
@@ -3,14 +3,14 @@
3
  * Name: MW Form Field Akismet Error
4
  * URI: http://2inc.org
5
  * Description: Akismetのエラーを出力。
6
- * Version: 1.1.4
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : June 21, 2013
10
- * Modified: December 29, 2013
11
  * License: GPL2
12
  *
13
- * Copyright 2013 Takashi Kitajima (email : inc@2inc.org)
14
  *
15
  * This program is free software; you can redistribute it and/or modify
16
  * it under the terms of the GNU General Public License, version 2, as
3
  * Name: MW Form Field Akismet Error
4
  * URI: http://2inc.org
5
  * Description: Akismetのエラーを出力。
6
+ * Version: 1.2.0
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : June 21, 2013
10
+ * Modified: March 20, 2014
11
  * License: GPL2
12
  *
13
+ * Copyright 2014 Takashi Kitajima (email : inc@2inc.org)
14
  *
15
  * This program is free software; you can redistribute it and/or modify
16
  * it under the terms of the GNU General Public License, version 2, as
form_fields/mw_form_field_back_button.php CHANGED
@@ -3,14 +3,14 @@
3
  * Name: MW Form Field Back Button
4
  * URI: http://2inc.org
5
  * Description: 戻るボタンを出力。
6
- * Version: 1.2.4
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : December 14, 2012
10
- * Modified: December 29, 2013
11
  * License: GPL2
12
  *
13
- * Copyright 2013 Takashi Kitajima (email : inc@2inc.org)
14
  *
15
  * This program is free software; you can redistribute it and/or modify
16
  * it under the terms of the GNU General Public License, version 2, as
@@ -71,4 +71,17 @@ class mw_form_field_back_button extends mw_form_field {
71
  protected function confirmPage() {
72
  return $this->Form->submit( $this->Form->getBackButtonName(), $this->atts['value'] );
73
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
74
  }
3
  * Name: MW Form Field Back Button
4
  * URI: http://2inc.org
5
  * Description: 戻るボタンを出力。
6
+ * Version: 1.3.0
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : December 14, 2012
10
+ * Modified: March 20, 2014
11
  * License: GPL2
12
  *
13
+ * Copyright 2014 Takashi Kitajima (email : inc@2inc.org)
14
  *
15
  * This program is free software; you can redistribute it and/or modify
16
  * it under the terms of the GNU General Public License, version 2, as
71
  protected function confirmPage() {
72
  return $this->Form->submit( $this->Form->getBackButtonName(), $this->atts['value'] );
73
  }
74
+
75
+ /**
76
+ * add_mwform_tag_generator
77
+ * フォームタグジェネレーター
78
+ */
79
+ public function mwform_tag_generator_dialog() {
80
+ ?>
81
+ <p>
82
+ <strong><?php _e( 'String on the button', MWF_Config::DOMAIN ); ?>(<?php _e( 'option', MWF_Config::DOMAIN ); ?>)</strong>
83
+ <input type="text" name="value" />
84
+ </p>
85
+ <?php
86
+ }
87
  }
form_fields/mw_form_field_button.php CHANGED
@@ -3,14 +3,14 @@
3
  * Name: MW Form Field Button
4
  * URI: http://2inc.org
5
  * Description: ボタンを出力。
6
- * Version: 1.2.4
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : December 14, 2012
10
- * Modified: December 29, 2013
11
  * License: GPL2
12
  *
13
- * Copyright 2013 Takashi Kitajima (email : inc@2inc.org)
14
  *
15
  * This program is free software; you can redistribute it and/or modify
16
  * it under the terms of the GNU General Public License, version 2, as
@@ -73,4 +73,21 @@ class mw_form_field_button extends mw_form_field {
73
  protected function confirmPage() {
74
  return $this->inputPage();
75
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
76
  }
3
  * Name: MW Form Field Button
4
  * URI: http://2inc.org
5
  * Description: ボタンを出力。
6
+ * Version: 1.3.0
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : December 14, 2012
10
+ * Modified: March 20, 2014
11
  * License: GPL2
12
  *
13
+ * Copyright 2014 Takashi Kitajima (email : inc@2inc.org)
14
  *
15
  * This program is free software; you can redistribute it and/or modify
16
  * it under the terms of the GNU General Public License, version 2, as
73
  protected function confirmPage() {
74
  return $this->inputPage();
75
  }
76
+
77
+ /**
78
+ * add_mwform_tag_generator
79
+ * フォームタグジェネレーター
80
+ */
81
+ public function mwform_tag_generator_dialog() {
82
+ ?>
83
+ <p>
84
+ <strong>name</strong>
85
+ <input type="text" name="name" />
86
+ </p>
87
+ <p>
88
+ <strong><?php _e( 'String on the button', MWF_Config::DOMAIN ); ?>(<?php _e( 'option', MWF_Config::DOMAIN ); ?>)</strong>
89
+ <input type="text" name="value" />
90
+ </p>
91
+ <?php
92
+ }
93
  }
form_fields/mw_form_field_checkbox.php CHANGED
@@ -3,11 +3,11 @@
3
  * Name: MW Form Field Checkbox
4
  * URI: http://2inc.org
5
  * Description: チェックボックスを出力。
6
- * Version: 1.2.5
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : December 14, 2012
10
- * Modified: January 15, 2013
11
  * License: GPL2
12
  *
13
  * Copyright 2014 Takashi Kitajima (email : inc@2inc.org)
@@ -89,4 +89,36 @@ class mw_form_field_checkbox extends mw_form_field {
89
  $_ret .= $this->Form->separator( $this->atts['name'] );
90
  return $_ret;
91
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
92
  }
3
  * Name: MW Form Field Checkbox
4
  * URI: http://2inc.org
5
  * Description: チェックボックスを出力。
6
+ * Version: 1.3.0
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : December 14, 2012
10
+ * Modified: March 20, 2014
11
  * License: GPL2
12
  *
13
  * Copyright 2014 Takashi Kitajima (email : inc@2inc.org)
89
  $_ret .= $this->Form->separator( $this->atts['name'] );
90
  return $_ret;
91
  }
92
+
93
+ /**
94
+ * add_mwform_tag_generator
95
+ * フォームタグジェネレーター
96
+ */
97
+ public function mwform_tag_generator_dialog() {
98
+ ?>
99
+ <p>
100
+ <strong>name</strong>
101
+ <input type="text" name="name" />
102
+ </p>
103
+ <p>
104
+ <strong>id(<?php _e( 'option', MWF_Config::DOMAIN ); ?>)</strong>
105
+ <input type="text" name="id" />
106
+ </p>
107
+ <p>
108
+ <strong><?php _e( 'Choices', MWF_Config::DOMAIN ); ?>(<?php _e( 'option', MWF_Config::DOMAIN ); ?>)</strong>
109
+ <textarea name="children"></textarea>
110
+ <span class="mwf_note">
111
+ <?php _e( 'Input one line about one item.', MWF_Config::DOMAIN ); ?>
112
+ </span>
113
+ </p>
114
+ <p>
115
+ <strong><?php _e( 'Default value', MWF_Config::DOMAIN ); ?>(<?php _e( 'option', MWF_Config::DOMAIN ); ?>)</strong>
116
+ <input type="text" name="value" />
117
+ </p>
118
+ <p>
119
+ <strong><?php _e( 'Dsiplay error', MWF_Config::DOMAIN ); ?></strong>
120
+ <input type="checkbox" name="show_error" value="false" /> <?php _e( 'Don\'t display error.', MWF_Config::DOMAIN ); ?>
121
+ </p>
122
+ <?php
123
+ }
124
  }
form_fields/mw_form_field_confirm_button.php CHANGED
@@ -3,14 +3,14 @@
3
  * Name: MW Form Field Confirm Button
4
  * URI: http://2inc.org
5
  * Description: 確認ボタンを出力。
6
- * Version: 1.2.3
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : December 14, 2012
10
- * Modified: December 29, 2013
11
  * License: GPL2
12
  *
13
- * Copyright 2013 Takashi Kitajima (email : inc@2inc.org)
14
  *
15
  * This program is free software; you can redistribute it and/or modify
16
  * it under the terms of the GNU General Public License, version 2, as
@@ -71,4 +71,17 @@ class mw_form_field_confirm_button extends mw_form_field {
71
  */
72
  protected function confirmPage() {
73
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
74
  }
3
  * Name: MW Form Field Confirm Button
4
  * URI: http://2inc.org
5
  * Description: 確認ボタンを出力。
6
+ * Version: 1.3.0
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : December 14, 2012
10
+ * Modified: March 20, 2014
11
  * License: GPL2
12
  *
13
+ * Copyright 2014 Takashi Kitajima (email : inc@2inc.org)
14
  *
15
  * This program is free software; you can redistribute it and/or modify
16
  * it under the terms of the GNU General Public License, version 2, as
71
  */
72
  protected function confirmPage() {
73
  }
74
+
75
+ /**
76
+ * add_mwform_tag_generator
77
+ * フォームタグジェネレーター
78
+ */
79
+ public function mwform_tag_generator_dialog() {
80
+ ?>
81
+ <p>
82
+ <strong><?php _e( 'Default value', MWF_Config::DOMAIN ); ?>(<?php _e( 'option', MWF_Config::DOMAIN ); ?>)</strong>
83
+ <input type="text" name="value" />
84
+ </p>
85
+ <?php
86
+ }
87
  }
form_fields/mw_form_field_datepicker.php CHANGED
@@ -3,11 +3,11 @@
3
  * Name: MW Form Field Datepicker
4
  * URI: http://2inc.org
5
  * Description: datepickerを出力。
6
- * Version: 1.2.6
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : December 14, 2012
10
- * Modified: January 15, 2013
11
  * License: GPL2
12
  *
13
  * Copyright 2014 Takashi Kitajima (email : inc@2inc.org)
@@ -111,4 +111,37 @@ class mw_form_field_datepicker extends mw_form_field {
111
  $_ret .= $this->Form->hidden( $this->atts['name'], $value );
112
  return $_ret;
113
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
114
  }
3
  * Name: MW Form Field Datepicker
4
  * URI: http://2inc.org
5
  * Description: datepickerを出力。
6
+ * Version: 1.3.0
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : December 14, 2012
10
+ * Modified: March 20, 2014
11
  * License: GPL2
12
  *
13
  * Copyright 2014 Takashi Kitajima (email : inc@2inc.org)
111
  $_ret .= $this->Form->hidden( $this->atts['name'], $value );
112
  return $_ret;
113
  }
114
+
115
+ /**
116
+ * add_mwform_tag_generator
117
+ * フォームタグジェネレーター
118
+ */
119
+ public function mwform_tag_generator_dialog() {
120
+ ?>
121
+ <p>
122
+ <strong>name</strong>
123
+ <input type="text" name="name" />
124
+ </p>
125
+ <p>
126
+ <strong>id(<?php _e( 'option', MWF_Config::DOMAIN ); ?>)</strong>
127
+ <input type="text" name="id" />
128
+ </p>
129
+ <p>
130
+ <strong>size(<?php _e( 'option', MWF_Config::DOMAIN ); ?>)</strong>
131
+ <input type="text" name="size" />
132
+ </p>
133
+ <p>
134
+ <strong>JavaScript(<?php _e( 'option', MWF_Config::DOMAIN ); ?>)</strong>
135
+ <input type="text" name="js" />
136
+ </p>
137
+ <p>
138
+ <strong><?php _e( 'Default value', MWF_Config::DOMAIN ); ?>(<?php _e( 'option', MWF_Config::DOMAIN ); ?>)</strong>
139
+ <input type="text" name="value" />
140
+ </p>
141
+ <p>
142
+ <strong><?php _e( 'Dsiplay error', MWF_Config::DOMAIN ); ?></strong>
143
+ <input type="checkbox" name="show_error" value="false" /> <?php _e( 'Don\'t display error.', MWF_Config::DOMAIN ); ?>
144
+ </p>
145
+ <?php
146
+ }
147
  }
form_fields/mw_form_field_error.php CHANGED
@@ -3,14 +3,14 @@
3
  * Name: MW Form Field Error
4
  * URI: http://2inc.org
5
  * Description: エラーを出力。
6
- * Version: 1.2.4
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : December 14, 2012
10
- * Modified: December 29, 2013
11
  * License: GPL2
12
  *
13
- * Copyright 2013 Takashi Kitajima (email : inc@2inc.org)
14
  *
15
  * This program is free software; you can redistribute it and/or modify
16
  * it under the terms of the GNU General Public License, version 2, as
@@ -76,4 +76,20 @@ class mw_form_field_error extends mw_form_field {
76
  */
77
  protected function confirmPage() {
78
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
79
  }
3
  * Name: MW Form Field Error
4
  * URI: http://2inc.org
5
  * Description: エラーを出力。
6
+ * Version: 1.3.0
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : December 14, 2012
10
+ * Modified: March 20, 2014
11
  * License: GPL2
12
  *
13
+ * Copyright 2014 Takashi Kitajima (email : inc@2inc.org)
14
  *
15
  * This program is free software; you can redistribute it and/or modify
16
  * it under the terms of the GNU General Public License, version 2, as
76
  */
77
  protected function confirmPage() {
78
  }
79
+
80
+ /**
81
+ * add_mwform_tag_generator
82
+ * フォームタグジェネレーター
83
+ */
84
+ public function mwform_tag_generator_dialog() {
85
+ ?>
86
+ <p>
87
+ <strong><?php _e( 'name of the element which wants to display error', MWF_Config::DOMAIN ); ?></strong>
88
+ <textarea name="keys"></textarea>
89
+ <span class="mwf_note">
90
+ <?php _e( 'Input one line about one item.', MWF_Config::DOMAIN ); ?>
91
+ </span>
92
+ </p>
93
+ <?php
94
+ }
95
  }
form_fields/mw_form_field_file.php CHANGED
@@ -3,11 +3,11 @@
3
  * Name: MW Form Field File
4
  * URI: http://2inc.org
5
  * Description: 画像アップロードフィールドを出力。
6
- * Version: 1.2.6
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : May 17, 2013
10
- * Modified: January 15, 2013
11
  * License: GPL2
12
  *
13
  * Copyright 2014 Takashi Kitajima (email : inc@2inc.org)
@@ -102,4 +102,29 @@ class mw_form_field_file extends mw_form_field {
102
  }
103
  }
104
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
105
  }
3
  * Name: MW Form Field File
4
  * URI: http://2inc.org
5
  * Description: 画像アップロードフィールドを出力。
6
+ * Version: 1.3.0
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : May 17, 2013
10
+ * Modified: March 20, 2014
11
  * License: GPL2
12
  *
13
  * Copyright 2014 Takashi Kitajima (email : inc@2inc.org)
102
  }
103
  }
104
  }
105
+
106
+ /**
107
+ * add_mwform_tag_generator
108
+ * フォームタグジェネレーター
109
+ */
110
+ public function mwform_tag_generator_dialog() {
111
+ ?>
112
+ <p>
113
+ <strong>name</strong>
114
+ <input type="text" name="name" />
115
+ </p>
116
+ <p>
117
+ <strong>id(<?php _e( 'option', MWF_Config::DOMAIN ); ?>)</strong>
118
+ <input type="text" name="id" />
119
+ </p>
120
+ <p>
121
+ <strong>size(<?php _e( 'option', MWF_Config::DOMAIN ); ?>)</strong>
122
+ <input type="text" name="size" />
123
+ </p>
124
+ <p>
125
+ <strong><?php _e( 'Dsiplay error', MWF_Config::DOMAIN ); ?></strong>
126
+ <input type="checkbox" name="show_error" value="false" /> <?php _e( 'Don\'t display error.', MWF_Config::DOMAIN ); ?>
127
+ </p>
128
+ <?php
129
+ }
130
  }
form_fields/mw_form_field_hidden.php CHANGED
@@ -3,14 +3,14 @@
3
  * Name: MW Form Field Hidden
4
  * URI: http://2inc.org
5
  * Description: hiddenフィールドを出力。
6
- * Version: 1.3.4
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : December 14, 2012
10
- * Modified: December 29, 2013
11
  * License: GPL2
12
  *
13
- * Copyright 2013 Takashi Kitajima (email : inc@2inc.org)
14
  *
15
  * This program is free software; you can redistribute it and/or modify
16
  * it under the terms of the GNU General Public License, version 2, as
@@ -83,4 +83,25 @@ class mw_form_field_hidden extends mw_form_field {
83
  }
84
  return $echo_value . $this->Form->hidden( $this->atts['name'], $value );
85
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
86
  }
3
  * Name: MW Form Field Hidden
4
  * URI: http://2inc.org
5
  * Description: hiddenフィールドを出力。
6
+ * Version: 1.4.0
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : December 14, 2012
10
+ * Modified: March 20, 2014
11
  * License: GPL2
12
  *
13
+ * Copyright 2014 Takashi Kitajima (email : inc@2inc.org)
14
  *
15
  * This program is free software; you can redistribute it and/or modify
16
  * it under the terms of the GNU General Public License, version 2, as
83
  }
84
  return $echo_value . $this->Form->hidden( $this->atts['name'], $value );
85
  }
86
+
87
+ /**
88
+ * add_mwform_tag_generator
89
+ * フォームタグジェネレーター
90
+ */
91
+ public function mwform_tag_generator_dialog() {
92
+ ?>
93
+ <p>
94
+ <strong>name</strong>
95
+ <input type="text" name="name" />
96
+ </p>
97
+ <p>
98
+ <strong><?php _e( 'Default value', MWF_Config::DOMAIN ); ?>(<?php _e( 'option', MWF_Config::DOMAIN ); ?>)</strong>
99
+ <input type="text" name="value" />
100
+ </p>
101
+ <p>
102
+ <strong><?php _e( 'Display', MWF_Config::DOMAIN ); ?></strong>
103
+ <input type="checkbox" name="echo" value="true" /> <?php _e( 'Display hidden value.', MWF_Config::DOMAIN ); ?>
104
+ </p>
105
+ <?php
106
+ }
107
  }
form_fields/mw_form_field_image.php CHANGED
@@ -3,11 +3,11 @@
3
  * Name: MW Form Field Image
4
  * URI: http://2inc.org
5
  * Description: 画像アップロードフィールドを出力。
6
- * Version: 1.2.6
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : May 17, 2013
10
- * Modified: January 15, 2013
11
  * License: GPL2
12
  *
13
  * Copyright 2014 Takashi Kitajima (email : inc@2inc.org)
@@ -103,4 +103,29 @@ class mw_form_field_image extends mw_form_field {
103
  }
104
  }
105
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
106
  }
3
  * Name: MW Form Field Image
4
  * URI: http://2inc.org
5
  * Description: 画像アップロードフィールドを出力。
6
+ * Version: 1.3.0
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : May 17, 2013
10
+ * Modified: March 20, 2014
11
  * License: GPL2
12
  *
13
  * Copyright 2014 Takashi Kitajima (email : inc@2inc.org)
103
  }
104
  }
105
  }
106
+
107
+ /**
108
+ * add_mwform_tag_generator
109
+ * フォームタグジェネレーター
110
+ */
111
+ public function mwform_tag_generator_dialog() {
112
+ ?>
113
+ <p>
114
+ <strong>name</strong>
115
+ <input type="text" name="name" />
116
+ </p>
117
+ <p>
118
+ <strong>id(<?php _e( 'option', MWF_Config::DOMAIN ); ?>)</strong>
119
+ <input type="text" name="id" />
120
+ </p>
121
+ <p>
122
+ <strong>size(<?php _e( 'option', MWF_Config::DOMAIN ); ?>)</strong>
123
+ <input type="text" name="size" />
124
+ </p>
125
+ <p>
126
+ <strong><?php _e( 'Dsiplay error', MWF_Config::DOMAIN ); ?></strong>
127
+ <input type="checkbox" name="show_error" value="false" /> <?php _e( 'Don\'t display error.', MWF_Config::DOMAIN ); ?>
128
+ </p>
129
+ <?php
130
+ }
131
  }
form_fields/mw_form_field_password.php CHANGED
@@ -3,11 +3,11 @@
3
  * Name: MW Form Field Password
4
  * URI: http://2inc.org
5
  * Description: パスワードフィールドを出力。
6
- * Version: 1.2.5
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : December 14, 2012
10
- * Modified: January 15, 2013
11
  * License: GPL2
12
  *
13
  * Copyright 2014 Takashi Kitajima (email : inc@2inc.org)
@@ -88,4 +88,41 @@ class mw_form_field_password extends mw_form_field {
88
  $value = $this->Form->getValue( $this->atts['name'] );
89
  return '*****' . $this->Form->hidden( $this->atts['name'], $value );
90
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
91
  }
3
  * Name: MW Form Field Password
4
  * URI: http://2inc.org
5
  * Description: パスワードフィールドを出力。
6
+ * Version: 1.3.0
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : December 14, 2012
10
+ * Modified: March 20, 2014
11
  * License: GPL2
12
  *
13
  * Copyright 2014 Takashi Kitajima (email : inc@2inc.org)
88
  $value = $this->Form->getValue( $this->atts['name'] );
89
  return '*****' . $this->Form->hidden( $this->atts['name'], $value );
90
  }
91
+
92
+ /**
93
+ * add_mwform_tag_generator
94
+ * フォームタグジェネレーター
95
+ */
96
+ public function mwform_tag_generator_dialog() {
97
+ ?>
98
+ <p>
99
+ <strong>name</strong>
100
+ <input type="text" name="name" />
101
+ </p>
102
+ <p>
103
+ <strong>id(<?php _e( 'option', MWF_Config::DOMAIN ); ?>)</strong>
104
+ <input type="text" name="id" />
105
+ </p>
106
+ <p>
107
+ <strong>size(<?php _e( 'option', MWF_Config::DOMAIN ); ?>)</strong>
108
+ <input type="text" name="size" />
109
+ </p>
110
+ <p>
111
+ <strong>maxlength(<?php _e( 'option', MWF_Config::DOMAIN ); ?>)</strong>
112
+ <input type="text" name="maxlength" />
113
+ </p>
114
+ <p>
115
+ <strong><?php _e( 'Default value', MWF_Config::DOMAIN ); ?>(<?php _e( 'option', MWF_Config::DOMAIN ); ?>)</strong>
116
+ <input type="text" name="value" />
117
+ </p>
118
+ <p>
119
+ <strong>placeholder(<?php _e( 'option', MWF_Config::DOMAIN ); ?>)</strong>
120
+ <input type="text" name="placeholder" />
121
+ </p>
122
+ <p>
123
+ <strong><?php _e( 'Dsiplay error', MWF_Config::DOMAIN ); ?></strong>
124
+ <input type="checkbox" name="show_error" value="false" /> <?php _e( 'Don\'t display error.', MWF_Config::DOMAIN ); ?>
125
+ </p>
126
+ <?php
127
+ }
128
  }
form_fields/mw_form_field_radio.php CHANGED
@@ -3,11 +3,11 @@
3
  * Name: MW Form Field Radio
4
  * URI: http://2inc.org
5
  * Description: ラジオボタンを出力。
6
- * Version: 1.2.5
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : December 14, 2012
10
- * Modified: January 15, 2013
11
  * License: GPL2
12
  *
13
  * Copyright 2014 Takashi Kitajima (email : inc@2inc.org)
@@ -87,4 +87,36 @@ class mw_form_field_radio extends mw_form_field {
87
  $_ret .= $this->Form->hidden( $this->atts['name'], $value );
88
  return $_ret;
89
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
90
  }
3
  * Name: MW Form Field Radio
4
  * URI: http://2inc.org
5
  * Description: ラジオボタンを出力。
6
+ * Version: 1.3.0
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : December 14, 2012
10
+ * Modified: March 20, 2014
11
  * License: GPL2
12
  *
13
  * Copyright 2014 Takashi Kitajima (email : inc@2inc.org)
87
  $_ret .= $this->Form->hidden( $this->atts['name'], $value );
88
  return $_ret;
89
  }
90
+
91
+ /**
92
+ * add_mwform_tag_generator
93
+ * フォームタグジェネレーター
94
+ */
95
+ public function mwform_tag_generator_dialog() {
96
+ ?>
97
+ <p>
98
+ <strong>name</strong>
99
+ <input type="text" name="name" />
100
+ </p>
101
+ <p>
102
+ <strong>id(<?php _e( 'option', MWF_Config::DOMAIN ); ?>)</strong>
103
+ <input type="text" name="id" />
104
+ </p>
105
+ <p>
106
+ <strong><?php _e( 'Choices', MWF_Config::DOMAIN ); ?>(<?php _e( 'option', MWF_Config::DOMAIN ); ?>)</strong>
107
+ <textarea name="children"></textarea>
108
+ <span class="mwf_note">
109
+ <?php _e( 'Input one line about one item.', MWF_Config::DOMAIN ); ?>
110
+ </span>
111
+ </p>
112
+ <p>
113
+ <strong><?php _e( 'Default value', MWF_Config::DOMAIN ); ?>(<?php _e( 'option', MWF_Config::DOMAIN ); ?>)</strong>
114
+ <input type="text" name="value" />
115
+ </p>
116
+ <p>
117
+ <strong><?php _e( 'Dsiplay error', MWF_Config::DOMAIN ); ?></strong>
118
+ <input type="checkbox" name="show_error" value="false" /> <?php _e( 'Don\'t display error.', MWF_Config::DOMAIN ); ?>
119
+ </p>
120
+ <?php
121
+ }
122
  }
form_fields/mw_form_field_select.php CHANGED
@@ -3,11 +3,11 @@
3
  * Name: MW Form Field Select
4
  * URI: http://2inc.org
5
  * Description: セレクトボックスを出力。
6
- * Version: 1.2.5
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : December 14, 2012
10
- * Modified: January 15, 2013
11
  * License: GPL2
12
  *
13
  * Copyright 2014 Takashi Kitajima (email : inc@2inc.org)
@@ -87,4 +87,36 @@ class mw_form_field_select extends mw_form_field {
87
  $_ret .= $this->Form->hidden( $this->atts['name'], $value );
88
  return $_ret;
89
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
90
  }
3
  * Name: MW Form Field Select
4
  * URI: http://2inc.org
5
  * Description: セレクトボックスを出力。
6
+ * Version: 1.3.0
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : December 14, 2012
10
+ * Modified: March 20, 2014
11
  * License: GPL2
12
  *
13
  * Copyright 2014 Takashi Kitajima (email : inc@2inc.org)
87
  $_ret .= $this->Form->hidden( $this->atts['name'], $value );
88
  return $_ret;
89
  }
90
+
91
+ /**
92
+ * add_mwform_tag_generator
93
+ * フォームタグジェネレーター
94
+ */
95
+ public function mwform_tag_generator_dialog() {
96
+ ?>
97
+ <p>
98
+ <strong>name</strong>
99
+ <input type="text" name="name" />
100
+ </p>
101
+ <p>
102
+ <strong>id(<?php _e( 'option', MWF_Config::DOMAIN ); ?>)</strong>
103
+ <input type="text" name="id" />
104
+ </p>
105
+ <p>
106
+ <strong><?php _e( 'Choices', MWF_Config::DOMAIN ); ?>(<?php _e( 'option', MWF_Config::DOMAIN ); ?>)</strong>
107
+ <textarea name="children"></textarea>
108
+ <span class="mwf_note">
109
+ <?php _e( 'Input one line about one item.', MWF_Config::DOMAIN ); ?>
110
+ </span>
111
+ </p>
112
+ <p>
113
+ <strong><?php _e( 'Default value', MWF_Config::DOMAIN ); ?>(<?php _e( 'option', MWF_Config::DOMAIN ); ?>)</strong>
114
+ <input type="text" name="value" />
115
+ </p>
116
+ <p>
117
+ <strong><?php _e( 'Dsiplay error', MWF_Config::DOMAIN ); ?></strong>
118
+ <input type="checkbox" name="show_error" value="false" /> <?php _e( 'Don\'t display error.', MWF_Config::DOMAIN ); ?>
119
+ </p>
120
+ <?php
121
+ }
122
  }
form_fields/mw_form_field_submit.php CHANGED
@@ -3,14 +3,14 @@
3
  * Name: MW Form Field Submit Button
4
  * URI: http://2inc.org
5
  * Description: 送信ボタンを出力。
6
- * Version: 1.2.4
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : December 14, 2012
10
- * Modified: December 29, 2013
11
  * License: GPL2
12
  *
13
- * Copyright 2013 Takashi Kitajima (email : inc@2inc.org)
14
  *
15
  * This program is free software; you can redistribute it and/or modify
16
  * it under the terms of the GNU General Public License, version 2, as
@@ -73,4 +73,21 @@ class mw_form_field_submit extends mw_form_field {
73
  protected function confirmPage() {
74
  return $this->inputPage( $this->atts );
75
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
76
  }
3
  * Name: MW Form Field Submit Button
4
  * URI: http://2inc.org
5
  * Description: 送信ボタンを出力。
6
+ * Version: 1.3.0
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : December 14, 2012
10
+ * Modified: March 20, 2014
11
  * License: GPL2
12
  *
13
+ * Copyright 2014 Takashi Kitajima (email : inc@2inc.org)
14
  *
15
  * This program is free software; you can redistribute it and/or modify
16
  * it under the terms of the GNU General Public License, version 2, as
73
  protected function confirmPage() {
74
  return $this->inputPage( $this->atts );
75
  }
76
+
77
+ /**
78
+ * add_mwform_tag_generator
79
+ * フォームタグジェネレーター
80
+ */
81
+ public function mwform_tag_generator_dialog() {
82
+ ?>
83
+ <p>
84
+ <strong>name</strong>
85
+ <input type="text" name="name" />
86
+ </p>
87
+ <p>
88
+ <strong><?php _e( 'String on the button', MWF_Config::DOMAIN ); ?>(<?php _e( 'option', MWF_Config::DOMAIN ); ?>)</strong>
89
+ <input type="text" name="value" />
90
+ </p>
91
+ <?php
92
+ }
93
  }
form_fields/mw_form_field_submit_button.php CHANGED
@@ -4,14 +4,14 @@
4
  * URI: http://2inc.org
5
  * Description: サブミットボタンを出力。
6
  * Description: 確認ボタンと送信ボタンを自動出力。
7
- * Version: 1.2.4
8
  * Author: Takashi Kitajima
9
  * Author URI: http://2inc.org
10
  * Created : December 14, 2012
11
- * Modified: December 29, 2013
12
  * License: GPL2
13
  *
14
- * Copyright 2013 Takashi Kitajima (email : inc@2inc.org)
15
  *
16
  * This program is free software; you can redistribute it and/or modify
17
  * it under the terms of the GNU General Public License, version 2, as
@@ -78,4 +78,25 @@ class mw_form_field_submit_button extends mw_form_field {
78
  protected function confirmPage() {
79
  return $this->Form->submit( $this->atts['name'], $this->atts['submit_value'] );
80
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
81
  }
4
  * URI: http://2inc.org
5
  * Description: サブミットボタンを出力。
6
  * Description: 確認ボタンと送信ボタンを自動出力。
7
+ * Version: 1.3.0
8
  * Author: Takashi Kitajima
9
  * Author URI: http://2inc.org
10
  * Created : December 14, 2012
11
+ * Modified: March 20, 2014
12
  * License: GPL2
13
  *
14
+ * Copyright 2014 Takashi Kitajima (email : inc@2inc.org)
15
  *
16
  * This program is free software; you can redistribute it and/or modify
17
  * it under the terms of the GNU General Public License, version 2, as
78
  protected function confirmPage() {
79
  return $this->Form->submit( $this->atts['name'], $this->atts['submit_value'] );
80
  }
81
+
82
+ /**
83
+ * add_mwform_tag_generator
84
+ * フォームタグジェネレーター
85
+ */
86
+ public function mwform_tag_generator_dialog() {
87
+ ?>
88
+ <p>
89
+ <strong>name</strong>
90
+ <input type="text" name="name" />
91
+ </p>
92
+ <p>
93
+ <strong><?php _e( 'String on the confirm button', MWF_Config::DOMAIN ); ?></strong>
94
+ <input type="text" name="confirm_value" />
95
+ </p>
96
+ <p>
97
+ <strong><?php _e( 'String on the submit button', MWF_Config::DOMAIN ); ?></strong>
98
+ <input type="text" name="submit_value" />
99
+ </p>
100
+ <?php
101
+ }
102
  }
form_fields/mw_form_field_tel.php CHANGED
@@ -3,14 +3,14 @@
3
  * Name: MW Form Field Tel
4
  * URI: http://2inc.org
5
  * Description: 電話番号フィールドを出力。
6
- * Version: 1.2.4
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : December 14, 2012
10
- * Modified: December 29, 2013
11
  * License: GPL2
12
  *
13
- * Copyright 2013 Takashi Kitajima (email : inc@2inc.org)
14
  *
15
  * This program is free software; you can redistribute it and/or modify
16
  * it under the terms of the GNU General Public License, version 2, as
@@ -85,4 +85,25 @@ class mw_form_field_tel extends mw_form_field {
85
  $_ret .= $this->Form->separator( $this->atts['name'] );
86
  return $_ret;
87
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
88
  }
3
  * Name: MW Form Field Tel
4
  * URI: http://2inc.org
5
  * Description: 電話番号フィールドを出力。
6
+ * Version: 1.3.0
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : December 14, 2012
10
+ * Modified: March 20, 2014
11
  * License: GPL2
12
  *
13
+ * Copyright 2014 Takashi Kitajima (email : inc@2inc.org)
14
  *
15
  * This program is free software; you can redistribute it and/or modify
16
  * it under the terms of the GNU General Public License, version 2, as
85
  $_ret .= $this->Form->separator( $this->atts['name'] );
86
  return $_ret;
87
  }
88
+
89
+ /**
90
+ * add_mwform_tag_generator
91
+ * フォームタグジェネレーター
92
+ */
93
+ public function mwform_tag_generator_dialog() {
94
+ ?>
95
+ <p>
96
+ <strong>name</strong>
97
+ <input type="text" name="name" />
98
+ </p>
99
+ <p>
100
+ <strong><?php _e( 'Dsiplay error', MWF_Config::DOMAIN ); ?></strong>
101
+ <input type="checkbox" name="show_error" value="false" /> <?php _e( 'Don\'t display error.', MWF_Config::DOMAIN ); ?>
102
+ </p>
103
+ <p>
104
+ <strong><?php _e( 'Convert half alphanumeric', MWF_Config::DOMAIN ); ?></strong>
105
+ <input type="checkbox" name="conv_half_alphanumeric" value="false" /> <?php _e( 'Don\'t Convert.', MWF_Config::DOMAIN ); ?>
106
+ </p>
107
+ <?php
108
+ }
109
  }
form_fields/mw_form_field_text.php CHANGED
@@ -3,11 +3,11 @@
3
  * Name: MW Form Field Text
4
  * URI: http://2inc.org
5
  * Description: テキストフィールドを出力。
6
- * Version: 1.2.5
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : December 14, 2012
10
- * Modified: January 15, 2013
11
  * License: GPL2
12
  *
13
  * Copyright 2014 Takashi Kitajima (email : inc@2inc.org)
@@ -90,4 +90,41 @@ class mw_form_field_text extends mw_form_field {
90
  $_ret .= $this->Form->hidden( $this->atts['name'], $value );
91
  return $_ret;
92
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
93
  }
3
  * Name: MW Form Field Text
4
  * URI: http://2inc.org
5
  * Description: テキストフィールドを出力。
6
+ * Version: 1.3.0
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : December 14, 2012
10
+ * Modified: March 20, 2014
11
  * License: GPL2
12
  *
13
  * Copyright 2014 Takashi Kitajima (email : inc@2inc.org)
90
  $_ret .= $this->Form->hidden( $this->atts['name'], $value );
91
  return $_ret;
92
  }
93
+
94
+ /**
95
+ * add_mwform_tag_generator
96
+ * フォームタグジェネレーター
97
+ */
98
+ public function mwform_tag_generator_dialog() {
99
+ ?>
100
+ <p>
101
+ <strong>name</strong>
102
+ <input type="text" name="name" />
103
+ </p>
104
+ <p>
105
+ <strong>id(<?php _e( 'option', MWF_Config::DOMAIN ); ?>)</strong>
106
+ <input type="text" name="id" />
107
+ </p>
108
+ <p>
109
+ <strong>size(<?php _e( 'option', MWF_Config::DOMAIN ); ?>)</strong>
110
+ <input type="text" name="size" />
111
+ </p>
112
+ <p>
113
+ <strong>maxlength(<?php _e( 'option', MWF_Config::DOMAIN ); ?>)</strong>
114
+ <input type="text" name="maxlength" />
115
+ </p>
116
+ <p>
117
+ <strong><?php _e( 'Default value', MWF_Config::DOMAIN ); ?>(<?php _e( 'option', MWF_Config::DOMAIN ); ?>)</strong>
118
+ <input type="text" name="value" />
119
+ </p>
120
+ <p>
121
+ <strong>placeholder(<?php _e( 'option', MWF_Config::DOMAIN ); ?>)</strong>
122
+ <input type="text" name="placeholder" />
123
+ </p>
124
+ <p>
125
+ <strong><?php _e( 'Dsiplay error', MWF_Config::DOMAIN ); ?></strong>
126
+ <input type="checkbox" name="show_error" value="false" /> <?php _e( 'Don\'t display error.', MWF_Config::DOMAIN ); ?>
127
+ </p>
128
+ <?php
129
+ }
130
  }
form_fields/mw_form_field_textarea.php CHANGED
@@ -3,11 +3,11 @@
3
  * Name: MW Form Field TextArea
4
  * URI: http://2inc.org
5
  * Description: テキストエリアを出力。
6
- * Version: 1.2.5
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : December 14, 2012
10
- * Modified: January 15, 2013
11
  * License: GPL2
12
  *
13
  * Copyright 2014 Takashi Kitajima (email : inc@2inc.org)
@@ -90,4 +90,41 @@ class mw_form_field_textarea extends mw_form_field {
90
  $_ret .= $this->Form->hidden( $this->atts['name'], $value );
91
  return $_ret;
92
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
93
  }
3
  * Name: MW Form Field TextArea
4
  * URI: http://2inc.org
5
  * Description: テキストエリアを出力。
6
+ * Version: 1.3.0
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : December 14, 2012
10
+ * Modified: March 20, 2014
11
  * License: GPL2
12
  *
13
  * Copyright 2014 Takashi Kitajima (email : inc@2inc.org)
90
  $_ret .= $this->Form->hidden( $this->atts['name'], $value );
91
  return $_ret;
92
  }
93
+
94
+ /**
95
+ * add_mwform_tag_generator
96
+ * フォームタグジェネレーター
97
+ */
98
+ public function mwform_tag_generator_dialog() {
99
+ ?>
100
+ <p>
101
+ <strong>name</strong>
102
+ <input type="text" name="name" />
103
+ </p>
104
+ <p>
105
+ <strong>id(<?php _e( 'option', MWF_Config::DOMAIN ); ?>)</strong>
106
+ <input type="text" name="id" />
107
+ </p>
108
+ <p>
109
+ <strong>cols(<?php _e( 'option', MWF_Config::DOMAIN ); ?>)</strong>
110
+ <input type="text" name="cols" />
111
+ </p>
112
+ <p>
113
+ <strong>rows(<?php _e( 'option', MWF_Config::DOMAIN ); ?>)</strong>
114
+ <input type="text" name="rows" />
115
+ </p>
116
+ <p>
117
+ <strong><?php _e( 'Default value', MWF_Config::DOMAIN ); ?>(<?php _e( 'option', MWF_Config::DOMAIN ); ?>)</strong>
118
+ <input type="text" name="value" />
119
+ </p>
120
+ <p>
121
+ <strong>placeholder(<?php _e( 'option', MWF_Config::DOMAIN ); ?>)</strong>
122
+ <input type="text" name="placeholder" />
123
+ </p>
124
+ <p>
125
+ <strong><?php _e( 'Dsiplay error', MWF_Config::DOMAIN ); ?></strong>
126
+ <input type="checkbox" name="show_error" value="false" /> <?php _e( 'Don\'t display error.', MWF_Config::DOMAIN ); ?>
127
+ </p>
128
+ <?php
129
+ }
130
  }
form_fields/mw_form_field_zip.php CHANGED
@@ -3,14 +3,14 @@
3
  * Name: MW Form Field Zip
4
  * URI: http://2inc.org
5
  * Description: 郵便番号フィールドを出力。
6
- * Version: 1.2.4
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : December 14, 2012
10
- * Modified: December 29, 2013
11
  * License: GPL2
12
  *
13
- * Copyright 2013 Takashi Kitajima (email : inc@2inc.org)
14
  *
15
  * This program is free software; you can redistribute it and/or modify
16
  * it under the terms of the GNU General Public License, version 2, as
@@ -85,4 +85,25 @@ class mw_form_field_zip extends mw_form_field {
85
  $_ret .= $this->Form->separator( $this->atts['name'] );
86
  return $_ret;
87
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
88
  }
3
  * Name: MW Form Field Zip
4
  * URI: http://2inc.org
5
  * Description: 郵便番号フィールドを出力。
6
+ * Version: 1.3.0
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : December 14, 2012
10
+ * Modified: March 20, 2014
11
  * License: GPL2
12
  *
13
+ * Copyright 2014 Takashi Kitajima (email : inc@2inc.org)
14
  *
15
  * This program is free software; you can redistribute it and/or modify
16
  * it under the terms of the GNU General Public License, version 2, as
85
  $_ret .= $this->Form->separator( $this->atts['name'] );
86
  return $_ret;
87
  }
88
+
89
+ /**
90
+ * add_mwform_tag_generator
91
+ * フォームタグジェネレーター
92
+ */
93
+ public function mwform_tag_generator_dialog() {
94
+ ?>
95
+ <p>
96
+ <strong>name</strong>
97
+ <input type="text" name="name" /></td>
98
+ </p>
99
+ <p>
100
+ <strong><?php _e( 'Dsiplay error', MWF_Config::DOMAIN ); ?></strong>
101
+ <input type="checkbox" name="show_error" value="false" /> <?php _e( 'Don\'t display error.', MWF_Config::DOMAIN ); ?>
102
+ </p>
103
+ <p>
104
+ <strong><?php _e( 'Convert half alphanumeric', MWF_Config::DOMAIN ); ?></strong>
105
+ <input type="checkbox" name="conv_half_alphanumeric" value="false" /> <?php _e( 'Don\'t Convert.', MWF_Config::DOMAIN ); ?>
106
+ </p>
107
+ <?php
108
+ }
109
  }
js/admin.js CHANGED
@@ -48,4 +48,66 @@ jQuery( function( $ ) {
48
  $( '#mw-wp-form_complete_message_metabox input[id^="qt_mw-wp-form_complete_message_mwform_"]' ).remove();
49
  } );
50
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
51
  } );
48
  $( '#mw-wp-form_complete_message_metabox input[id^="qt_mw-wp-form_complete_message_mwform_"]' ).remove();
49
  } );
50
 
51
+ } );
52
+
53
+ /**
54
+ * フォームタグジェネレータ
55
+ */
56
+ jQuery( function( $ ) {
57
+ function mwform_create_shortcode( dialog_id ) {
58
+ var shortcode = [];
59
+ var shortcode_name = dialog_id.replace( 'dialog-', '' );
60
+
61
+ $( '#' + dialog_id + ':first' ).find( 'input, textarea' ).each( function( i, e ) {
62
+ var val;
63
+ var name = $( e ).attr( 'name' );
64
+
65
+ if ( $( e )[0].tagName.toLowerCase() == 'textarea' ) {
66
+ val = $( e ).val().split( /\r\n|\r|\n/ );
67
+ val = val.join( ',' );
68
+ } else if ( $( e ).attr( 'type' ) === 'checkbox' ) {
69
+ if ( $( e ).prop( 'checked' ) ) {
70
+ val = $( e ).closest( ':checked' ).val();
71
+ }
72
+ } else {
73
+ val = $( e ).val();
74
+ }
75
+
76
+ if ( name == 'name' && !val ) {
77
+ val = shortcode_name + '-' + Math.floor( Math.random() * 1000 )
78
+ }
79
+ if ( val ) {
80
+ var attribute = name + '=\"' + val + '\"';
81
+ shortcode.push( attribute );
82
+ }
83
+ } );
84
+ shortcode = shortcode.join( ' ' );
85
+ if ( shortcode ) {
86
+ var shortcode2 = '[' + shortcode_name + ' ' + shortcode + ']';
87
+ } else {
88
+ var shortcode2 = '[' + shortcode_name + ']';
89
+ }
90
+ return shortcode2;
91
+ }
92
+ $( '.mwform-dialog' ).dialog( {
93
+ bgiframe: true,
94
+ autoOpen: false,
95
+ resizable: true,
96
+ width: 500,
97
+ buttons: {
98
+ 'Insert': function() {
99
+ send_to_editor( mwform_create_shortcode( $( this ).attr( 'id' ) ) );
100
+ $( this ).dialog( 'close' );
101
+ },
102
+ 'Cansel': function() {
103
+ $( this ).dialog( 'close' );
104
+ }
105
+ },
106
+ open: function() {
107
+ }
108
+ } );
109
+ $( '.add-mwform-btn .button' ).click( function() {
110
+ var select = $( '.add-mwform-btn select' ).val();
111
+ $( '#dialog-' + select ).dialog( 'open' );
112
+ } );
113
  } );
languages/mw-wp-form-ja.mo CHANGED
Binary file
languages/mw-wp-form-ja.po CHANGED
@@ -2,10 +2,10 @@
2
  # This file is distributed under the same license as the MW WP Form package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: MW WP Form 1.3.1\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/mw-wp-form\n"
7
- "POT-Creation-Date: 2014-01-16 07:57:31+00:00\n"
8
- "PO-Revision-Date: 2014-01-16 17:02+0900\n"
9
  "Last-Translator: Takashi Kitajima <inc@2inc.org>\n"
10
  "Language-Team: Takashi Kitajima <inc@2inc.org>\n"
11
  "Language: ja\n"
@@ -15,7 +15,7 @@ msgstr ""
15
  "Plural-Forms: nplurals=1; plural=0;\n"
16
  "X-Poedit-SourceCharset: UTF-8\n"
17
  "X-Poedit-Basepath: .\n"
18
- "X-Generator: Poedit 1.5.6\n"
19
  "X-Poedit-KeywordsList: __;_e;_x\n"
20
  "X-Poedit-SearchPath-0: ..\n"
21
 
@@ -28,6 +28,52 @@ msgstr "Akismetエラー"
28
  msgid "Back"
29
  msgstr "戻る"
30
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
  #: form_fields/mw_form_field_button.php:42
32
  msgid "Button"
33
  msgstr "ボタン"
@@ -36,6 +82,59 @@ msgstr "ボタン"
36
  msgid "Checkbox"
37
  msgstr "チェックボックス"
38
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
39
  #: form_fields/mw_form_field_confirm_button.php:42
40
  msgid "Confirm Button"
41
  msgstr "確認ボタン"
@@ -53,6 +152,10 @@ msgstr "日付"
53
  msgid "Error Message"
54
  msgstr "エラーメッセージ"
55
 
 
 
 
 
56
  #: form_fields/mw_form_field_file.php:42
57
  msgid "File"
58
  msgstr "ファイルフィールド"
@@ -65,6 +168,14 @@ msgstr "アップロードしました。"
65
  msgid "Hidden"
66
  msgstr "hiddenフィールド"
67
 
 
 
 
 
 
 
 
 
68
  #: form_fields/mw_form_field_image.php:42
69
  msgid "Image"
70
  msgstr "画像フィールド"
@@ -94,10 +205,26 @@ msgstr "送信する"
94
  msgid "Confirm &amp; Submit"
95
  msgstr "確認・送信"
96
 
97
- #: form_fields/mw_form_field_tel.php:42 system/mw_wp_form_admin_page.php:542
 
 
 
 
 
 
 
 
98
  msgid "Tel"
99
  msgstr "電話番号"
100
 
 
 
 
 
 
 
 
 
101
  #: form_fields/mw_form_field_text.php:42
102
  msgid "Text"
103
  msgstr "テキストフィールド"
@@ -106,7 +233,7 @@ msgstr "テキストフィールド"
106
  msgid "Textarea"
107
  msgstr "テキストエリア"
108
 
109
- #: form_fields/mw_form_field_zip.php:42 system/mw_wp_form_admin_page.php:541
110
  msgid "Zip Code"
111
  msgstr "郵便番号"
112
 
@@ -194,87 +321,87 @@ msgstr "ファイルサイズが大きすぎます。"
194
  msgid "The contents which you input were judged with spam."
195
  msgstr "あなたの入力した内容はスパムと判定されました。"
196
 
197
- #: system/mw_wp_form_admin_page.php:86
198
  msgid "Your contribution is needed for making this plugin better."
199
  msgstr "あなたの貢献があればこのプラグインをもっと良くすることができます。"
200
 
201
- #: system/mw_wp_form_admin_page.php:86
202
  msgid "Donate"
203
  msgstr "寄付する"
204
 
205
- #: system/mw_wp_form_admin_page.php:128
206
  msgid "Add New Form"
207
  msgstr "フォームを追加"
208
 
209
- #: system/mw_wp_form_admin_page.php:129
210
  msgid "Edit Form"
211
  msgstr "フォームを編集"
212
 
213
- #: system/mw_wp_form_admin_page.php:130
214
  msgid "New Form"
215
  msgstr "新しいフォーム"
216
 
217
- #: system/mw_wp_form_admin_page.php:131
218
  msgid "View Form"
219
  msgstr "フォームを表示"
220
 
221
- #: system/mw_wp_form_admin_page.php:132
222
  msgid "Search Forms"
223
  msgstr "フォームを検索"
224
 
225
- #: system/mw_wp_form_admin_page.php:133
226
  msgid "No Forms found"
227
  msgstr "フォームがありません"
228
 
229
- #: system/mw_wp_form_admin_page.php:134
230
  msgid "No Forms found in Trash"
231
  msgstr "ゴミ箱にフォームはありません"
232
 
233
- #: system/mw_wp_form_admin_page.php:154
234
  msgid "Complete Message"
235
  msgstr "完了画面メッセージ"
236
 
237
- #: system/mw_wp_form_admin_page.php:161
238
  msgid "URL Options"
239
  msgstr "URL設定"
240
 
241
- #: system/mw_wp_form_admin_page.php:168
242
  msgid "Validation Rule"
243
  msgstr "バリデーションルール"
244
 
245
- #: system/mw_wp_form_admin_page.php:175
246
  msgid "Form Key"
247
  msgstr "フォーム識別子"
248
 
249
- #: system/mw_wp_form_admin_page.php:182
250
  msgid "Automatic Reply Email Options"
251
  msgstr "自動返信メール設定"
252
 
253
- #: system/mw_wp_form_admin_page.php:189
254
  msgid "Admin Email Options"
255
  msgstr "管理者宛メール設定"
256
 
257
- #: system/mw_wp_form_admin_page.php:196
258
  msgid "settings"
259
  msgstr "設定"
260
 
261
- #: system/mw_wp_form_admin_page.php:205
262
  msgid "Style setting"
263
  msgstr "スタイル設定"
264
 
265
- #: system/mw_wp_form_admin_page.php:325
266
  msgid "Copy and Paste this shortcode."
267
  msgstr "このショートコードをコピー&ペーストしてください。"
268
 
269
- #: system/mw_wp_form_admin_page.php:326
270
  msgid "The key to use with hook is "
271
  msgstr "各フックで使用する修飾子は"
272
 
273
- #: system/mw_wp_form_admin_page.php:340
274
  msgid "Activate Query string of post"
275
  msgstr "URL引数を有効にする"
276
 
277
- #: system/mw_wp_form_admin_page.php:341
278
  msgid ""
279
  "If this field is active, MW WP Form get query string. And get post data from "
280
  "query string \"post_id\". You can use $post's property in editor."
@@ -283,59 +410,59 @@ msgstr ""
283
  "とに投稿を取得します。その投稿($post) のプロパティを使用できるようになりま"
284
  "す。"
285
 
286
- #: system/mw_wp_form_admin_page.php:342
287
  msgid "Example: {ID}, {post_title}, {post_meta} etc..."
288
  msgstr "例:{ID}、{post_title}、{post_meta}など…"
289
 
290
- #: system/mw_wp_form_admin_page.php:345
291
  msgid "Saving contact data in database"
292
  msgstr "問い合わせデータをデータベースに保存"
293
 
294
- #: system/mw_wp_form_admin_page.php:349
295
  msgid "Akismet Setting"
296
  msgstr "Akismet 設定"
297
 
298
- #: system/mw_wp_form_admin_page.php:364
299
  msgid "Input the key to use Akismet."
300
  msgstr "Akismetを使用する項目のキーを入力してください。"
301
 
302
- #: system/mw_wp_form_admin_page.php:389 system/mw_wp_form_admin_page.php:425
303
  msgid "{key} is converted form data."
304
  msgstr "{キー}でそのフォーム項目に変換されます。"
305
 
306
- #: system/mw_wp_form_admin_page.php:392 system/mw_wp_form_admin_page.php:436
307
  msgid "Subject"
308
  msgstr "件名"
309
 
310
- #: system/mw_wp_form_admin_page.php:396 system/mw_wp_form_admin_page.php:440
311
  msgid "Sender"
312
  msgstr "送信者"
313
 
314
- #: system/mw_wp_form_admin_page.php:398 system/mw_wp_form_admin_page.php:403
315
- #: system/mw_wp_form_admin_page.php:433 system/mw_wp_form_admin_page.php:442
316
- #: system/mw_wp_form_admin_page.php:447
317
  msgid "If empty:"
318
  msgstr "未入力の場合:"
319
 
320
- #: system/mw_wp_form_admin_page.php:401 system/mw_wp_form_admin_page.php:445
321
  msgid "From ( E-mail address )"
322
  msgstr "送信元(E-mailアドレス)"
323
 
324
- #: system/mw_wp_form_admin_page.php:406 system/mw_wp_form_admin_page.php:450
325
  msgid "Ccontent"
326
  msgstr "本文"
327
 
328
- #: system/mw_wp_form_admin_page.php:410
329
  msgid "Automatic reply email"
330
  msgstr "自動返信メール"
331
 
332
- #: system/mw_wp_form_admin_page.php:412
333
  msgid ""
334
  "Input the key to use as transmission to automatic reply email. {} is "
335
  "unnecessary."
336
  msgstr "自動返信メールに使用する項目のキーを入力してください。{ }は不要です。"
337
 
338
- #: system/mw_wp_form_admin_page.php:428
339
  msgid ""
340
  "If Admin Email Options is a blank, Automatic Replay Email Options is used as "
341
  "Admin Email Options."
@@ -343,106 +470,110 @@ msgstr ""
343
  "管理者宛メール設定が空のときは自動返信メール設定に管理者宛メール設定が使用さ"
344
  "れます。"
345
 
346
- #: system/mw_wp_form_admin_page.php:431
347
  msgid "To ( E-mail address )"
348
  msgstr "送信先(E-mailアドレス)"
349
 
350
- #: system/mw_wp_form_admin_page.php:466
351
  msgid "Input Page URL"
352
  msgstr "入力画面URL"
353
 
354
- #: system/mw_wp_form_admin_page.php:472
355
  msgid "Confirmation Page URL"
356
  msgstr "確認画面URL"
357
 
358
- #: system/mw_wp_form_admin_page.php:478
359
  msgid "Complete Page URL"
360
  msgstr "完了画面URL"
361
 
362
- #: system/mw_wp_form_admin_page.php:484
363
  msgid "Validation Error Page URL"
364
  msgstr "エラー画面URL"
365
 
366
- #: system/mw_wp_form_admin_page.php:524
367
  msgid "Add Validation rule"
368
  msgstr "バリデーションルールを追加"
369
 
370
- #: system/mw_wp_form_admin_page.php:530
371
  msgid "The key which applies validation"
372
  msgstr "バリデーションを適用する項目"
373
 
374
- #: system/mw_wp_form_admin_page.php:534
375
  msgid "No empty"
376
  msgstr "必須項目"
377
 
378
- #: system/mw_wp_form_admin_page.php:535
379
  msgid "No empty( with checkbox )"
380
  msgstr "必須項目(チェックボックス)"
381
 
382
- #: system/mw_wp_form_admin_page.php:536
383
  msgid "Numeric"
384
  msgstr "半角数字"
385
 
386
- #: system/mw_wp_form_admin_page.php:537
387
  msgid "Alphabet"
388
  msgstr "半角英字"
389
 
390
- #: system/mw_wp_form_admin_page.php:538
391
  msgid "Alphabet and Numeric"
392
  msgstr "半角英数字"
393
 
394
- #: system/mw_wp_form_admin_page.php:539
395
  msgid "Japanese Katakana"
396
  msgstr "カタカナ"
397
 
398
- #: system/mw_wp_form_admin_page.php:540
399
  msgid "Japanese Hiragana"
400
  msgstr "ひらがな"
401
 
402
- #: system/mw_wp_form_admin_page.php:543
403
  msgid "E-mail"
404
  msgstr "メールアドレス"
405
 
406
- #: system/mw_wp_form_admin_page.php:544
407
  msgid "URL"
408
  msgstr ""
409
 
410
- #: system/mw_wp_form_admin_page.php:545
411
  msgid "Date"
412
  msgstr "日付"
413
 
414
- #: system/mw_wp_form_admin_page.php:549
415
  msgid "The key at same value"
416
  msgstr "一致する項目"
417
 
418
- #: system/mw_wp_form_admin_page.php:553
419
  msgid "The range of the number of characters"
420
  msgstr "文字数の範囲"
421
 
422
- #: system/mw_wp_form_admin_page.php:561
423
  msgid "The number of the minimum characters"
424
  msgstr "最小文字数"
425
 
426
- #: system/mw_wp_form_admin_page.php:565
427
  msgid "Permitted Extension"
428
  msgstr "拡張子制限"
429
 
430
- #: system/mw_wp_form_admin_page.php:566
431
  msgid "Example:jpg or jpg,txt,…"
432
  msgstr "例:jpg もしくは jpg,txt…"
433
 
434
- #: system/mw_wp_form_admin_page.php:569
435
  msgid "Permitted file size"
436
  msgstr "サイズ制限"
437
 
438
- #: system/mw_wp_form_admin_page.php:570
439
  msgid "bytes"
440
  msgstr ""
441
 
442
- #: system/mw_wp_form_admin_page.php:586
443
  msgid "Select Style"
444
  msgstr "スタイルを選択"
445
 
 
 
 
 
446
  #: system/mw_wp_form_contact_data_page.php:92
447
  msgid "Edit "
448
  msgstr "編集"
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.4.0\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/mw-wp-form\n"
7
+ "POT-Creation-Date: 2014-03-20 14:55:13+00:00\n"
8
+ "PO-Revision-Date: 2014-03-20 23:57+0900\n"
9
  "Last-Translator: Takashi Kitajima <inc@2inc.org>\n"
10
  "Language-Team: Takashi Kitajima <inc@2inc.org>\n"
11
  "Language: ja\n"
15
  "Plural-Forms: nplurals=1; plural=0;\n"
16
  "X-Poedit-SourceCharset: UTF-8\n"
17
  "X-Poedit-Basepath: .\n"
18
+ "X-Generator: Poedit 1.6.4\n"
19
  "X-Poedit-KeywordsList: __;_e;_x\n"
20
  "X-Poedit-SearchPath-0: ..\n"
21
 
28
  msgid "Back"
29
  msgstr "戻る"
30
 
31
+ #: form_fields/mw_form_field_back_button.php:82
32
+ #: form_fields/mw_form_field_button.php:88
33
+ #: form_fields/mw_form_field_submit.php:88
34
+ msgid "String on the button"
35
+ msgstr "ボタンに表示する文字列"
36
+
37
+ #: form_fields/mw_form_field_back_button.php:82
38
+ #: form_fields/mw_form_field_button.php:88
39
+ #: form_fields/mw_form_field_checkbox.php:104
40
+ #: form_fields/mw_form_field_checkbox.php:108
41
+ #: form_fields/mw_form_field_checkbox.php:117
42
+ #: form_fields/mw_form_field_confirm_button.php:82
43
+ #: form_fields/mw_form_field_datepicker.php:126
44
+ #: form_fields/mw_form_field_datepicker.php:130
45
+ #: form_fields/mw_form_field_datepicker.php:134
46
+ #: form_fields/mw_form_field_datepicker.php:138
47
+ #: form_fields/mw_form_field_file.php:117
48
+ #: form_fields/mw_form_field_file.php:121
49
+ #: form_fields/mw_form_field_hidden.php:98
50
+ #: form_fields/mw_form_field_image.php:118
51
+ #: form_fields/mw_form_field_image.php:122
52
+ #: form_fields/mw_form_field_password.php:103
53
+ #: form_fields/mw_form_field_password.php:107
54
+ #: form_fields/mw_form_field_password.php:111
55
+ #: form_fields/mw_form_field_password.php:115
56
+ #: form_fields/mw_form_field_password.php:119
57
+ #: form_fields/mw_form_field_radio.php:102
58
+ #: form_fields/mw_form_field_radio.php:106
59
+ #: form_fields/mw_form_field_radio.php:115
60
+ #: form_fields/mw_form_field_select.php:102
61
+ #: form_fields/mw_form_field_select.php:106
62
+ #: form_fields/mw_form_field_select.php:115
63
+ #: form_fields/mw_form_field_submit.php:88
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_text.php:117
68
+ #: form_fields/mw_form_field_text.php:121
69
+ #: form_fields/mw_form_field_textarea.php:105
70
+ #: form_fields/mw_form_field_textarea.php:109
71
+ #: form_fields/mw_form_field_textarea.php:113
72
+ #: form_fields/mw_form_field_textarea.php:117
73
+ #: form_fields/mw_form_field_textarea.php:121
74
+ msgid "option"
75
+ msgstr "オプション"
76
+
77
  #: form_fields/mw_form_field_button.php:42
78
  msgid "Button"
79
  msgstr "ボタン"
82
  msgid "Checkbox"
83
  msgstr "チェックボックス"
84
 
85
+ #: form_fields/mw_form_field_checkbox.php:108
86
+ #: form_fields/mw_form_field_radio.php:106
87
+ #: form_fields/mw_form_field_select.php:106
88
+ msgid "Choices"
89
+ msgstr "選択肢"
90
+
91
+ #: form_fields/mw_form_field_checkbox.php:112
92
+ #: form_fields/mw_form_field_error.php:91
93
+ #: form_fields/mw_form_field_radio.php:110
94
+ #: form_fields/mw_form_field_select.php:110
95
+ msgid "Input one line about one item."
96
+ msgstr "1項目につき1行で入力してください。"
97
+
98
+ #: form_fields/mw_form_field_checkbox.php:117
99
+ #: form_fields/mw_form_field_confirm_button.php:82
100
+ #: form_fields/mw_form_field_datepicker.php:138
101
+ #: form_fields/mw_form_field_hidden.php:98
102
+ #: form_fields/mw_form_field_password.php:115
103
+ #: form_fields/mw_form_field_radio.php:115
104
+ #: form_fields/mw_form_field_select.php:115
105
+ #: form_fields/mw_form_field_text.php:117
106
+ #: form_fields/mw_form_field_textarea.php:117
107
+ msgid "Default value"
108
+ msgstr "初期値"
109
+
110
+ #: form_fields/mw_form_field_checkbox.php:121
111
+ #: form_fields/mw_form_field_datepicker.php:142
112
+ #: form_fields/mw_form_field_file.php:125
113
+ #: form_fields/mw_form_field_image.php:126
114
+ #: form_fields/mw_form_field_password.php:123
115
+ #: form_fields/mw_form_field_radio.php:119
116
+ #: form_fields/mw_form_field_select.php:119
117
+ #: form_fields/mw_form_field_tel.php:100
118
+ #: form_fields/mw_form_field_text.php:125
119
+ #: form_fields/mw_form_field_textarea.php:125
120
+ #: form_fields/mw_form_field_zip.php:100
121
+ msgid "Dsiplay error"
122
+ msgstr "エラー表示"
123
+
124
+ #: form_fields/mw_form_field_checkbox.php:122
125
+ #: form_fields/mw_form_field_datepicker.php:143
126
+ #: form_fields/mw_form_field_file.php:126
127
+ #: form_fields/mw_form_field_image.php:127
128
+ #: form_fields/mw_form_field_password.php:124
129
+ #: form_fields/mw_form_field_radio.php:120
130
+ #: form_fields/mw_form_field_select.php:120
131
+ #: form_fields/mw_form_field_tel.php:101
132
+ #: form_fields/mw_form_field_text.php:126
133
+ #: form_fields/mw_form_field_textarea.php:126
134
+ #: form_fields/mw_form_field_zip.php:101
135
+ msgid "Don't display error."
136
+ msgstr "エラーを表示しない"
137
+
138
  #: form_fields/mw_form_field_confirm_button.php:42
139
  msgid "Confirm Button"
140
  msgstr "確認ボタン"
152
  msgid "Error Message"
153
  msgstr "エラーメッセージ"
154
 
155
+ #: form_fields/mw_form_field_error.php:87
156
+ msgid "name of the element which wants to display error"
157
+ msgstr "エラーを表示したい要素のname属性"
158
+
159
  #: form_fields/mw_form_field_file.php:42
160
  msgid "File"
161
  msgstr "ファイルフィールド"
168
  msgid "Hidden"
169
  msgstr "hiddenフィールド"
170
 
171
+ #: form_fields/mw_form_field_hidden.php:102
172
+ msgid "Display"
173
+ msgstr "表示する"
174
+
175
+ #: form_fields/mw_form_field_hidden.php:103
176
+ msgid "Display hidden value."
177
+ msgstr "hiddenの値を表示"
178
+
179
  #: form_fields/mw_form_field_image.php:42
180
  msgid "Image"
181
  msgstr "画像フィールド"
205
  msgid "Confirm &amp; Submit"
206
  msgstr "確認・送信"
207
 
208
+ #: form_fields/mw_form_field_submit_button.php:93
209
+ msgid "String on the confirm button"
210
+ msgstr "確認ボタンに表示する文字列"
211
+
212
+ #: form_fields/mw_form_field_submit_button.php:97
213
+ msgid "String on the submit button"
214
+ msgstr "送信ボタンに表示する文字列"
215
+
216
+ #: form_fields/mw_form_field_tel.php:42 system/mw_wp_form_admin_page.php:548
217
  msgid "Tel"
218
  msgstr "電話番号"
219
 
220
+ #: form_fields/mw_form_field_tel.php:104 form_fields/mw_form_field_zip.php:104
221
+ msgid "Convert half alphanumeric"
222
+ msgstr "半角英数字に変換"
223
+
224
+ #: form_fields/mw_form_field_tel.php:105 form_fields/mw_form_field_zip.php:105
225
+ msgid "Don't Convert."
226
+ msgstr "変換しない"
227
+
228
  #: form_fields/mw_form_field_text.php:42
229
  msgid "Text"
230
  msgstr "テキストフィールド"
233
  msgid "Textarea"
234
  msgstr "テキストエリア"
235
 
236
+ #: form_fields/mw_form_field_zip.php:42 system/mw_wp_form_admin_page.php:547
237
  msgid "Zip Code"
238
  msgstr "郵便番号"
239
 
321
  msgid "The contents which you input were judged with spam."
322
  msgstr "あなたの入力した内容はスパムと判定されました。"
323
 
324
+ #: system/mw_wp_form_admin_page.php:87
325
  msgid "Your contribution is needed for making this plugin better."
326
  msgstr "あなたの貢献があればこのプラグインをもっと良くすることができます。"
327
 
328
+ #: system/mw_wp_form_admin_page.php:87
329
  msgid "Donate"
330
  msgstr "寄付する"
331
 
332
+ #: system/mw_wp_form_admin_page.php:129
333
  msgid "Add New Form"
334
  msgstr "フォームを追加"
335
 
336
+ #: system/mw_wp_form_admin_page.php:130
337
  msgid "Edit Form"
338
  msgstr "フォームを編集"
339
 
340
+ #: system/mw_wp_form_admin_page.php:131
341
  msgid "New Form"
342
  msgstr "新しいフォーム"
343
 
344
+ #: system/mw_wp_form_admin_page.php:132
345
  msgid "View Form"
346
  msgstr "フォームを表示"
347
 
348
+ #: system/mw_wp_form_admin_page.php:133
349
  msgid "Search Forms"
350
  msgstr "フォームを検索"
351
 
352
+ #: system/mw_wp_form_admin_page.php:134
353
  msgid "No Forms found"
354
  msgstr "フォームがありません"
355
 
356
+ #: system/mw_wp_form_admin_page.php:135
357
  msgid "No Forms found in Trash"
358
  msgstr "ゴミ箱にフォームはありません"
359
 
360
+ #: system/mw_wp_form_admin_page.php:155
361
  msgid "Complete Message"
362
  msgstr "完了画面メッセージ"
363
 
364
+ #: system/mw_wp_form_admin_page.php:162
365
  msgid "URL Options"
366
  msgstr "URL設定"
367
 
368
+ #: system/mw_wp_form_admin_page.php:169
369
  msgid "Validation Rule"
370
  msgstr "バリデーションルール"
371
 
372
+ #: system/mw_wp_form_admin_page.php:176
373
  msgid "Form Key"
374
  msgstr "フォーム識別子"
375
 
376
+ #: system/mw_wp_form_admin_page.php:183
377
  msgid "Automatic Reply Email Options"
378
  msgstr "自動返信メール設定"
379
 
380
+ #: system/mw_wp_form_admin_page.php:190
381
  msgid "Admin Email Options"
382
  msgstr "管理者宛メール設定"
383
 
384
+ #: system/mw_wp_form_admin_page.php:197
385
  msgid "settings"
386
  msgstr "設定"
387
 
388
+ #: system/mw_wp_form_admin_page.php:206
389
  msgid "Style setting"
390
  msgstr "スタイル設定"
391
 
392
+ #: system/mw_wp_form_admin_page.php:331
393
  msgid "Copy and Paste this shortcode."
394
  msgstr "このショートコードをコピー&ペーストしてください。"
395
 
396
+ #: system/mw_wp_form_admin_page.php:332
397
  msgid "The key to use with hook is "
398
  msgstr "各フックで使用する修飾子は"
399
 
400
+ #: system/mw_wp_form_admin_page.php:346
401
  msgid "Activate Query string of post"
402
  msgstr "URL引数を有効にする"
403
 
404
+ #: system/mw_wp_form_admin_page.php:347
405
  msgid ""
406
  "If this field is active, MW WP Form get query string. And get post data from "
407
  "query string \"post_id\". You can use $post's property in editor."
410
  "とに投稿を取得します。その投稿($post) のプロパティを使用できるようになりま"
411
  "す。"
412
 
413
+ #: system/mw_wp_form_admin_page.php:348
414
  msgid "Example: {ID}, {post_title}, {post_meta} etc..."
415
  msgstr "例:{ID}、{post_title}、{post_meta}など…"
416
 
417
+ #: system/mw_wp_form_admin_page.php:351
418
  msgid "Saving contact data in database"
419
  msgstr "問い合わせデータをデータベースに保存"
420
 
421
+ #: system/mw_wp_form_admin_page.php:355
422
  msgid "Akismet Setting"
423
  msgstr "Akismet 設定"
424
 
425
+ #: system/mw_wp_form_admin_page.php:370
426
  msgid "Input the key to use Akismet."
427
  msgstr "Akismetを使用する項目のキーを入力してください。"
428
 
429
+ #: system/mw_wp_form_admin_page.php:395 system/mw_wp_form_admin_page.php:431
430
  msgid "{key} is converted form data."
431
  msgstr "{キー}でそのフォーム項目に変換されます。"
432
 
433
+ #: system/mw_wp_form_admin_page.php:398 system/mw_wp_form_admin_page.php:442
434
  msgid "Subject"
435
  msgstr "件名"
436
 
437
+ #: system/mw_wp_form_admin_page.php:402 system/mw_wp_form_admin_page.php:446
438
  msgid "Sender"
439
  msgstr "送信者"
440
 
441
+ #: system/mw_wp_form_admin_page.php:404 system/mw_wp_form_admin_page.php:409
442
+ #: system/mw_wp_form_admin_page.php:439 system/mw_wp_form_admin_page.php:448
443
+ #: system/mw_wp_form_admin_page.php:453
444
  msgid "If empty:"
445
  msgstr "未入力の場合:"
446
 
447
+ #: system/mw_wp_form_admin_page.php:407 system/mw_wp_form_admin_page.php:451
448
  msgid "From ( E-mail address )"
449
  msgstr "送信元(E-mailアドレス)"
450
 
451
+ #: system/mw_wp_form_admin_page.php:412 system/mw_wp_form_admin_page.php:456
452
  msgid "Ccontent"
453
  msgstr "本文"
454
 
455
+ #: system/mw_wp_form_admin_page.php:416
456
  msgid "Automatic reply email"
457
  msgstr "自動返信メール"
458
 
459
+ #: system/mw_wp_form_admin_page.php:418
460
  msgid ""
461
  "Input the key to use as transmission to automatic reply email. {} is "
462
  "unnecessary."
463
  msgstr "自動返信メールに使用する項目のキーを入力してください。{ }は不要です。"
464
 
465
+ #: system/mw_wp_form_admin_page.php:434
466
  msgid ""
467
  "If Admin Email Options is a blank, Automatic Replay Email Options is used as "
468
  "Admin Email Options."
470
  "管理者宛メール設定が空のときは自動返信メール設定に管理者宛メール設定が使用さ"
471
  "れます。"
472
 
473
+ #: system/mw_wp_form_admin_page.php:437
474
  msgid "To ( E-mail address )"
475
  msgstr "送信先(E-mailアドレス)"
476
 
477
+ #: system/mw_wp_form_admin_page.php:472
478
  msgid "Input Page URL"
479
  msgstr "入力画面URL"
480
 
481
+ #: system/mw_wp_form_admin_page.php:478
482
  msgid "Confirmation Page URL"
483
  msgstr "確認画面URL"
484
 
485
+ #: system/mw_wp_form_admin_page.php:484
486
  msgid "Complete Page URL"
487
  msgstr "完了画面URL"
488
 
489
+ #: system/mw_wp_form_admin_page.php:490
490
  msgid "Validation Error Page URL"
491
  msgstr "エラー画面URL"
492
 
493
+ #: system/mw_wp_form_admin_page.php:530
494
  msgid "Add Validation rule"
495
  msgstr "バリデーションルールを追加"
496
 
497
+ #: system/mw_wp_form_admin_page.php:536
498
  msgid "The key which applies validation"
499
  msgstr "バリデーションを適用する項目"
500
 
501
+ #: system/mw_wp_form_admin_page.php:540
502
  msgid "No empty"
503
  msgstr "必須項目"
504
 
505
+ #: system/mw_wp_form_admin_page.php:541
506
  msgid "No empty( with checkbox )"
507
  msgstr "必須項目(チェックボックス)"
508
 
509
+ #: system/mw_wp_form_admin_page.php:542
510
  msgid "Numeric"
511
  msgstr "半角数字"
512
 
513
+ #: system/mw_wp_form_admin_page.php:543
514
  msgid "Alphabet"
515
  msgstr "半角英字"
516
 
517
+ #: system/mw_wp_form_admin_page.php:544
518
  msgid "Alphabet and Numeric"
519
  msgstr "半角英数字"
520
 
521
+ #: system/mw_wp_form_admin_page.php:545
522
  msgid "Japanese Katakana"
523
  msgstr "カタカナ"
524
 
525
+ #: system/mw_wp_form_admin_page.php:546
526
  msgid "Japanese Hiragana"
527
  msgstr "ひらがな"
528
 
529
+ #: system/mw_wp_form_admin_page.php:549
530
  msgid "E-mail"
531
  msgstr "メールアドレス"
532
 
533
+ #: system/mw_wp_form_admin_page.php:550
534
  msgid "URL"
535
  msgstr ""
536
 
537
+ #: system/mw_wp_form_admin_page.php:551
538
  msgid "Date"
539
  msgstr "日付"
540
 
541
+ #: system/mw_wp_form_admin_page.php:555
542
  msgid "The key at same value"
543
  msgstr "一致する項目"
544
 
545
+ #: system/mw_wp_form_admin_page.php:559
546
  msgid "The range of the number of characters"
547
  msgstr "文字数の範囲"
548
 
549
+ #: system/mw_wp_form_admin_page.php:567
550
  msgid "The number of the minimum characters"
551
  msgstr "最小文字数"
552
 
553
+ #: system/mw_wp_form_admin_page.php:571
554
  msgid "Permitted Extension"
555
  msgstr "拡張子制限"
556
 
557
+ #: system/mw_wp_form_admin_page.php:572
558
  msgid "Example:jpg or jpg,txt,…"
559
  msgstr "例:jpg もしくは jpg,txt…"
560
 
561
+ #: system/mw_wp_form_admin_page.php:575
562
  msgid "Permitted file size"
563
  msgstr "サイズ制限"
564
 
565
+ #: system/mw_wp_form_admin_page.php:576
566
  msgid "bytes"
567
  msgstr ""
568
 
569
+ #: system/mw_wp_form_admin_page.php:592
570
  msgid "Select Style"
571
  msgstr "スタイルを選択"
572
 
573
+ #: system/mw_wp_form_admin_page.php:628
574
+ msgid "Add form tag"
575
+ msgstr "フォームタグを追加"
576
+
577
  #: system/mw_wp_form_contact_data_page.php:92
578
  msgid "Edit "
579
  msgstr "編集"
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.3.1\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/mw-wp-form\n"
7
- "POT-Creation-Date: 2014-01-16 07:57:31+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -14,7 +14,7 @@ msgstr ""
14
  "Plural-Forms: nplurals=1; plural=0;\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "X-Poedit-Basepath: .\n"
17
- "X-Generator: Poedit 1.5.7\n"
18
  "X-Poedit-KeywordsList: __;_e\n"
19
  "X-Poedit-SearchPath-0: ..\n"
20
 
@@ -27,6 +27,52 @@ msgstr ""
27
  msgid "Back"
28
  msgstr ""
29
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
30
  #: form_fields/mw_form_field_button.php:42
31
  msgid "Button"
32
  msgstr ""
@@ -35,6 +81,57 @@ msgstr ""
35
  msgid "Checkbox"
36
  msgstr ""
37
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
  #: form_fields/mw_form_field_confirm_button.php:42
39
  msgid "Confirm Button"
40
  msgstr ""
@@ -52,6 +149,10 @@ msgstr ""
52
  msgid "Error Message"
53
  msgstr ""
54
 
 
 
 
 
55
  #: form_fields/mw_form_field_file.php:42
56
  msgid "File"
57
  msgstr ""
@@ -64,6 +165,14 @@ msgstr ""
64
  msgid "Hidden"
65
  msgstr ""
66
 
 
 
 
 
 
 
 
 
67
  #: form_fields/mw_form_field_image.php:42
68
  msgid "Image"
69
  msgstr ""
@@ -93,10 +202,26 @@ msgstr ""
93
  msgid "Confirm &amp; Submit"
94
  msgstr ""
95
 
96
- #: form_fields/mw_form_field_tel.php:42 system/mw_wp_form_admin_page.php:542
 
 
 
 
 
 
 
 
97
  msgid "Tel"
98
  msgstr ""
99
 
 
 
 
 
 
 
 
 
100
  #: form_fields/mw_form_field_text.php:42
101
  msgid "Text"
102
  msgstr ""
@@ -105,7 +230,7 @@ msgstr ""
105
  msgid "Textarea"
106
  msgstr ""
107
 
108
- #: form_fields/mw_form_field_zip.php:42 system/mw_wp_form_admin_page.php:541
109
  msgid "Zip Code"
110
  msgstr ""
111
 
@@ -193,250 +318,248 @@ msgstr ""
193
  msgid "The contents which you input were judged with spam."
194
  msgstr ""
195
 
196
- #: system/mw_wp_form_admin_page.php:86
197
  msgid "Your contribution is needed for making this plugin better."
198
  msgstr ""
199
 
200
- #: system/mw_wp_form_admin_page.php:86
201
  msgid "Donate"
202
  msgstr ""
203
 
204
- #: system/mw_wp_form_admin_page.php:128
205
  msgid "Add New Form"
206
  msgstr ""
207
 
208
- #: system/mw_wp_form_admin_page.php:129
209
  msgid "Edit Form"
210
  msgstr ""
211
 
212
- #: system/mw_wp_form_admin_page.php:130
213
  msgid "New Form"
214
  msgstr ""
215
 
216
- #: system/mw_wp_form_admin_page.php:131
217
  msgid "View Form"
218
  msgstr ""
219
 
220
- #: system/mw_wp_form_admin_page.php:132
221
  msgid "Search Forms"
222
  msgstr ""
223
 
224
- #: system/mw_wp_form_admin_page.php:133
225
  msgid "No Forms found"
226
  msgstr ""
227
 
228
- #: system/mw_wp_form_admin_page.php:134
229
  msgid "No Forms found in Trash"
230
  msgstr ""
231
 
232
- #: system/mw_wp_form_admin_page.php:154
233
  msgid "Complete Message"
234
  msgstr ""
235
 
236
- #: system/mw_wp_form_admin_page.php:161
237
  msgid "URL Options"
238
  msgstr ""
239
 
240
- #: system/mw_wp_form_admin_page.php:168
241
  msgid "Validation Rule"
242
  msgstr ""
243
 
244
- #: system/mw_wp_form_admin_page.php:175
245
  msgid "Form Key"
246
  msgstr ""
247
 
248
- #: system/mw_wp_form_admin_page.php:182
249
  msgid "Automatic Reply Email Options"
250
  msgstr ""
251
 
252
- #: system/mw_wp_form_admin_page.php:189
253
  msgid "Admin Email Options"
254
  msgstr ""
255
 
256
- #: system/mw_wp_form_admin_page.php:196
257
  msgid "settings"
258
  msgstr ""
259
 
260
- #: system/mw_wp_form_admin_page.php:205
261
  msgid "Style setting"
262
  msgstr ""
263
 
264
- #: system/mw_wp_form_admin_page.php:325
265
  msgid "Copy and Paste this shortcode."
266
  msgstr ""
267
 
268
- #: system/mw_wp_form_admin_page.php:326
269
  msgid "The key to use with hook is "
270
  msgstr ""
271
 
272
- #: system/mw_wp_form_admin_page.php:340
273
  msgid "Activate Query string of post"
274
  msgstr ""
275
 
276
- #: system/mw_wp_form_admin_page.php:341
277
- msgid ""
278
- "If this field is active, MW WP Form get query string. And get post data from "
279
- "query string \"post_id\". You can use $post's property in editor."
280
  msgstr ""
281
 
282
- #: system/mw_wp_form_admin_page.php:342
283
  msgid "Example: {ID}, {post_title}, {post_meta} etc..."
284
  msgstr ""
285
 
286
- #: system/mw_wp_form_admin_page.php:345
287
  msgid "Saving contact data in database"
288
  msgstr ""
289
 
290
- #: system/mw_wp_form_admin_page.php:349
291
  msgid "Akismet Setting"
292
  msgstr ""
293
 
294
- #: system/mw_wp_form_admin_page.php:364
295
  msgid "Input the key to use Akismet."
296
  msgstr ""
297
 
298
- #: system/mw_wp_form_admin_page.php:389 system/mw_wp_form_admin_page.php:425
299
  msgid "{key} is converted form data."
300
  msgstr ""
301
 
302
- #: system/mw_wp_form_admin_page.php:392 system/mw_wp_form_admin_page.php:436
303
  msgid "Subject"
304
  msgstr ""
305
 
306
- #: system/mw_wp_form_admin_page.php:396 system/mw_wp_form_admin_page.php:440
307
  msgid "Sender"
308
  msgstr ""
309
 
310
- #: system/mw_wp_form_admin_page.php:398 system/mw_wp_form_admin_page.php:403
311
- #: system/mw_wp_form_admin_page.php:433 system/mw_wp_form_admin_page.php:442
312
- #: system/mw_wp_form_admin_page.php:447
313
  msgid "If empty:"
314
  msgstr ""
315
 
316
- #: system/mw_wp_form_admin_page.php:401 system/mw_wp_form_admin_page.php:445
317
  msgid "From ( E-mail address )"
318
  msgstr ""
319
 
320
- #: system/mw_wp_form_admin_page.php:406 system/mw_wp_form_admin_page.php:450
321
  msgid "Ccontent"
322
  msgstr ""
323
 
324
- #: system/mw_wp_form_admin_page.php:410
325
  msgid "Automatic reply email"
326
  msgstr ""
327
 
328
- #: system/mw_wp_form_admin_page.php:412
329
- msgid ""
330
- "Input the key to use as transmission to automatic reply email. {} is "
331
- "unnecessary."
332
  msgstr ""
333
 
334
- #: system/mw_wp_form_admin_page.php:428
335
- msgid ""
336
- "If Admin Email Options is a blank, Automatic Replay Email Options is used as "
337
- "Admin Email Options."
338
  msgstr ""
339
 
340
- #: system/mw_wp_form_admin_page.php:431
341
  msgid "To ( E-mail address )"
342
  msgstr ""
343
 
344
- #: system/mw_wp_form_admin_page.php:466
345
  msgid "Input Page URL"
346
  msgstr ""
347
 
348
- #: system/mw_wp_form_admin_page.php:472
349
  msgid "Confirmation Page URL"
350
  msgstr ""
351
 
352
- #: system/mw_wp_form_admin_page.php:478
353
  msgid "Complete Page URL"
354
  msgstr ""
355
 
356
- #: system/mw_wp_form_admin_page.php:484
357
  msgid "Validation Error Page URL"
358
  msgstr ""
359
 
360
- #: system/mw_wp_form_admin_page.php:524
361
  msgid "Add Validation rule"
362
  msgstr ""
363
 
364
- #: system/mw_wp_form_admin_page.php:530
365
  msgid "The key which applies validation"
366
  msgstr ""
367
 
368
- #: system/mw_wp_form_admin_page.php:534
369
  msgid "No empty"
370
  msgstr ""
371
 
372
- #: system/mw_wp_form_admin_page.php:535
373
  msgid "No empty( with checkbox )"
374
  msgstr ""
375
 
376
- #: system/mw_wp_form_admin_page.php:536
377
  msgid "Numeric"
378
  msgstr ""
379
 
380
- #: system/mw_wp_form_admin_page.php:537
381
  msgid "Alphabet"
382
  msgstr ""
383
 
384
- #: system/mw_wp_form_admin_page.php:538
385
  msgid "Alphabet and Numeric"
386
  msgstr ""
387
 
388
- #: system/mw_wp_form_admin_page.php:539
389
  msgid "Japanese Katakana"
390
  msgstr ""
391
 
392
- #: system/mw_wp_form_admin_page.php:540
393
  msgid "Japanese Hiragana"
394
  msgstr ""
395
 
396
- #: system/mw_wp_form_admin_page.php:543
397
  msgid "E-mail"
398
  msgstr ""
399
 
400
- #: system/mw_wp_form_admin_page.php:544
401
  msgid "URL"
402
  msgstr ""
403
 
404
- #: system/mw_wp_form_admin_page.php:545
405
  msgid "Date"
406
  msgstr ""
407
 
408
- #: system/mw_wp_form_admin_page.php:549
409
  msgid "The key at same value"
410
  msgstr ""
411
 
412
- #: system/mw_wp_form_admin_page.php:553
413
  msgid "The range of the number of characters"
414
  msgstr ""
415
 
416
- #: system/mw_wp_form_admin_page.php:561
417
  msgid "The number of the minimum characters"
418
  msgstr ""
419
 
420
- #: system/mw_wp_form_admin_page.php:565
421
  msgid "Permitted Extension"
422
  msgstr ""
423
 
424
- #: system/mw_wp_form_admin_page.php:566
425
  msgid "Example:jpg or jpg,txt,…"
426
  msgstr ""
427
 
428
- #: system/mw_wp_form_admin_page.php:569
429
  msgid "Permitted file size"
430
  msgstr ""
431
 
432
- #: system/mw_wp_form_admin_page.php:570
433
  msgid "bytes"
434
  msgstr ""
435
 
436
- #: system/mw_wp_form_admin_page.php:586
437
  msgid "Select Style"
438
  msgstr ""
439
 
 
 
 
 
440
  #: system/mw_wp_form_contact_data_page.php:92
441
  msgid "Edit "
442
  msgstr ""
@@ -476,7 +599,6 @@ msgstr ""
476
  #: system/mw_wp_form_file.php:152
477
  msgid "Uploaded from "
478
  msgstr ""
479
-
480
  #. Plugin Name of the plugin/theme
481
  msgid "MW WP Form"
482
  msgstr ""
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.4.0\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/mw-wp-form\n"
7
+ "POT-Creation-Date: 2014-03-20 14:55:13+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
14
  "Plural-Forms: nplurals=1; plural=0;\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "X-Poedit-Basepath: .\n"
17
+ "X-Generator: Poedit 1.6.4\n"
18
  "X-Poedit-KeywordsList: __;_e\n"
19
  "X-Poedit-SearchPath-0: ..\n"
20
 
27
  msgid "Back"
28
  msgstr ""
29
 
30
+ #: form_fields/mw_form_field_back_button.php:82
31
+ #: form_fields/mw_form_field_button.php:88
32
+ #: form_fields/mw_form_field_submit.php:88
33
+ msgid "String on the button"
34
+ msgstr ""
35
+
36
+ #: form_fields/mw_form_field_back_button.php:82
37
+ #: form_fields/mw_form_field_button.php:88
38
+ #: form_fields/mw_form_field_checkbox.php:104
39
+ #: form_fields/mw_form_field_checkbox.php:108
40
+ #: form_fields/mw_form_field_checkbox.php:117
41
+ #: form_fields/mw_form_field_confirm_button.php:82
42
+ #: form_fields/mw_form_field_datepicker.php:126
43
+ #: form_fields/mw_form_field_datepicker.php:130
44
+ #: form_fields/mw_form_field_datepicker.php:134
45
+ #: form_fields/mw_form_field_datepicker.php:138
46
+ #: form_fields/mw_form_field_file.php:117
47
+ #: form_fields/mw_form_field_file.php:121
48
+ #: form_fields/mw_form_field_hidden.php:98
49
+ #: form_fields/mw_form_field_image.php:118
50
+ #: form_fields/mw_form_field_image.php:122
51
+ #: form_fields/mw_form_field_password.php:103
52
+ #: form_fields/mw_form_field_password.php:107
53
+ #: form_fields/mw_form_field_password.php:111
54
+ #: form_fields/mw_form_field_password.php:115
55
+ #: form_fields/mw_form_field_password.php:119
56
+ #: form_fields/mw_form_field_radio.php:102
57
+ #: form_fields/mw_form_field_radio.php:106
58
+ #: form_fields/mw_form_field_radio.php:115
59
+ #: form_fields/mw_form_field_select.php:102
60
+ #: form_fields/mw_form_field_select.php:106
61
+ #: form_fields/mw_form_field_select.php:115
62
+ #: form_fields/mw_form_field_submit.php:88
63
+ #: form_fields/mw_form_field_text.php:105
64
+ #: form_fields/mw_form_field_text.php:109
65
+ #: form_fields/mw_form_field_text.php:113
66
+ #: form_fields/mw_form_field_text.php:117
67
+ #: form_fields/mw_form_field_text.php:121
68
+ #: form_fields/mw_form_field_textarea.php:105
69
+ #: form_fields/mw_form_field_textarea.php:109
70
+ #: form_fields/mw_form_field_textarea.php:113
71
+ #: form_fields/mw_form_field_textarea.php:117
72
+ #: form_fields/mw_form_field_textarea.php:121
73
+ msgid "option"
74
+ msgstr ""
75
+
76
  #: form_fields/mw_form_field_button.php:42
77
  msgid "Button"
78
  msgstr ""
81
  msgid "Checkbox"
82
  msgstr ""
83
 
84
+ #: form_fields/mw_form_field_checkbox.php:108
85
+ #: form_fields/mw_form_field_radio.php:106
86
+ #: form_fields/mw_form_field_select.php:106
87
+ msgid "Choices"
88
+ msgstr ""
89
+
90
+ #: form_fields/mw_form_field_checkbox.php:112
91
+ #: form_fields/mw_form_field_error.php:91
92
+ #: form_fields/mw_form_field_radio.php:110
93
+ #: form_fields/mw_form_field_select.php:110
94
+ msgid "Input one line about one item."
95
+ msgstr ""
96
+
97
+ #: form_fields/mw_form_field_checkbox.php:117
98
+ #: form_fields/mw_form_field_confirm_button.php:82
99
+ #: form_fields/mw_form_field_datepicker.php:138
100
+ #: form_fields/mw_form_field_hidden.php:98
101
+ #: form_fields/mw_form_field_password.php:115
102
+ #: form_fields/mw_form_field_radio.php:115
103
+ #: form_fields/mw_form_field_select.php:115
104
+ #: form_fields/mw_form_field_text.php:117
105
+ #: form_fields/mw_form_field_textarea.php:117
106
+ msgid "Default value"
107
+ msgstr ""
108
+
109
+ #: form_fields/mw_form_field_checkbox.php:121
110
+ #: form_fields/mw_form_field_datepicker.php:142
111
+ #: form_fields/mw_form_field_file.php:125
112
+ #: form_fields/mw_form_field_image.php:126
113
+ #: form_fields/mw_form_field_password.php:123
114
+ #: form_fields/mw_form_field_radio.php:119
115
+ #: form_fields/mw_form_field_select.php:119
116
+ #: form_fields/mw_form_field_tel.php:100 form_fields/mw_form_field_text.php:125
117
+ #: form_fields/mw_form_field_textarea.php:125
118
+ #: form_fields/mw_form_field_zip.php:100
119
+ msgid "Dsiplay error"
120
+ msgstr ""
121
+
122
+ #: form_fields/mw_form_field_checkbox.php:122
123
+ #: form_fields/mw_form_field_datepicker.php:143
124
+ #: form_fields/mw_form_field_file.php:126
125
+ #: form_fields/mw_form_field_image.php:127
126
+ #: form_fields/mw_form_field_password.php:124
127
+ #: form_fields/mw_form_field_radio.php:120
128
+ #: form_fields/mw_form_field_select.php:120
129
+ #: form_fields/mw_form_field_tel.php:101 form_fields/mw_form_field_text.php:126
130
+ #: form_fields/mw_form_field_textarea.php:126
131
+ #: form_fields/mw_form_field_zip.php:101
132
+ msgid "Don't display error."
133
+ msgstr ""
134
+
135
  #: form_fields/mw_form_field_confirm_button.php:42
136
  msgid "Confirm Button"
137
  msgstr ""
149
  msgid "Error Message"
150
  msgstr ""
151
 
152
+ #: form_fields/mw_form_field_error.php:87
153
+ msgid "name of the element which wants to display error"
154
+ msgstr ""
155
+
156
  #: form_fields/mw_form_field_file.php:42
157
  msgid "File"
158
  msgstr ""
165
  msgid "Hidden"
166
  msgstr ""
167
 
168
+ #: form_fields/mw_form_field_hidden.php:102
169
+ msgid "Display"
170
+ msgstr ""
171
+
172
+ #: form_fields/mw_form_field_hidden.php:103
173
+ msgid "Display hidden value."
174
+ msgstr ""
175
+
176
  #: form_fields/mw_form_field_image.php:42
177
  msgid "Image"
178
  msgstr ""
202
  msgid "Confirm &amp; Submit"
203
  msgstr ""
204
 
205
+ #: form_fields/mw_form_field_submit_button.php:93
206
+ msgid "String on the confirm button"
207
+ msgstr ""
208
+
209
+ #: form_fields/mw_form_field_submit_button.php:97
210
+ msgid "String on the submit button"
211
+ msgstr ""
212
+
213
+ #: form_fields/mw_form_field_tel.php:42 system/mw_wp_form_admin_page.php:548
214
  msgid "Tel"
215
  msgstr ""
216
 
217
+ #: form_fields/mw_form_field_tel.php:104 form_fields/mw_form_field_zip.php:104
218
+ msgid "Convert half alphanumeric"
219
+ msgstr ""
220
+
221
+ #: form_fields/mw_form_field_tel.php:105 form_fields/mw_form_field_zip.php:105
222
+ msgid "Don't Convert."
223
+ msgstr ""
224
+
225
  #: form_fields/mw_form_field_text.php:42
226
  msgid "Text"
227
  msgstr ""
230
  msgid "Textarea"
231
  msgstr ""
232
 
233
+ #: form_fields/mw_form_field_zip.php:42 system/mw_wp_form_admin_page.php:547
234
  msgid "Zip Code"
235
  msgstr ""
236
 
318
  msgid "The contents which you input were judged with spam."
319
  msgstr ""
320
 
321
+ #: system/mw_wp_form_admin_page.php:87
322
  msgid "Your contribution is needed for making this plugin better."
323
  msgstr ""
324
 
325
+ #: system/mw_wp_form_admin_page.php:87
326
  msgid "Donate"
327
  msgstr ""
328
 
329
+ #: system/mw_wp_form_admin_page.php:129
330
  msgid "Add New Form"
331
  msgstr ""
332
 
333
+ #: system/mw_wp_form_admin_page.php:130
334
  msgid "Edit Form"
335
  msgstr ""
336
 
337
+ #: system/mw_wp_form_admin_page.php:131
338
  msgid "New Form"
339
  msgstr ""
340
 
341
+ #: system/mw_wp_form_admin_page.php:132
342
  msgid "View Form"
343
  msgstr ""
344
 
345
+ #: system/mw_wp_form_admin_page.php:133
346
  msgid "Search Forms"
347
  msgstr ""
348
 
349
+ #: system/mw_wp_form_admin_page.php:134
350
  msgid "No Forms found"
351
  msgstr ""
352
 
353
+ #: system/mw_wp_form_admin_page.php:135
354
  msgid "No Forms found in Trash"
355
  msgstr ""
356
 
357
+ #: system/mw_wp_form_admin_page.php:155
358
  msgid "Complete Message"
359
  msgstr ""
360
 
361
+ #: system/mw_wp_form_admin_page.php:162
362
  msgid "URL Options"
363
  msgstr ""
364
 
365
+ #: system/mw_wp_form_admin_page.php:169
366
  msgid "Validation Rule"
367
  msgstr ""
368
 
369
+ #: system/mw_wp_form_admin_page.php:176
370
  msgid "Form Key"
371
  msgstr ""
372
 
373
+ #: system/mw_wp_form_admin_page.php:183
374
  msgid "Automatic Reply Email Options"
375
  msgstr ""
376
 
377
+ #: system/mw_wp_form_admin_page.php:190
378
  msgid "Admin Email Options"
379
  msgstr ""
380
 
381
+ #: system/mw_wp_form_admin_page.php:197
382
  msgid "settings"
383
  msgstr ""
384
 
385
+ #: system/mw_wp_form_admin_page.php:206
386
  msgid "Style setting"
387
  msgstr ""
388
 
389
+ #: system/mw_wp_form_admin_page.php:331
390
  msgid "Copy and Paste this shortcode."
391
  msgstr ""
392
 
393
+ #: system/mw_wp_form_admin_page.php:332
394
  msgid "The key to use with hook is "
395
  msgstr ""
396
 
397
+ #: system/mw_wp_form_admin_page.php:346
398
  msgid "Activate Query string of post"
399
  msgstr ""
400
 
401
+ #: system/mw_wp_form_admin_page.php:347
402
+ msgid "If this field is active, MW WP Form get query string. And get post data from query string \"post_id\". You can use $post's property in editor."
 
 
403
  msgstr ""
404
 
405
+ #: system/mw_wp_form_admin_page.php:348
406
  msgid "Example: {ID}, {post_title}, {post_meta} etc..."
407
  msgstr ""
408
 
409
+ #: system/mw_wp_form_admin_page.php:351
410
  msgid "Saving contact data in database"
411
  msgstr ""
412
 
413
+ #: system/mw_wp_form_admin_page.php:355
414
  msgid "Akismet Setting"
415
  msgstr ""
416
 
417
+ #: system/mw_wp_form_admin_page.php:370
418
  msgid "Input the key to use Akismet."
419
  msgstr ""
420
 
421
+ #: system/mw_wp_form_admin_page.php:395 system/mw_wp_form_admin_page.php:431
422
  msgid "{key} is converted form data."
423
  msgstr ""
424
 
425
+ #: system/mw_wp_form_admin_page.php:398 system/mw_wp_form_admin_page.php:442
426
  msgid "Subject"
427
  msgstr ""
428
 
429
+ #: system/mw_wp_form_admin_page.php:402 system/mw_wp_form_admin_page.php:446
430
  msgid "Sender"
431
  msgstr ""
432
 
433
+ #: system/mw_wp_form_admin_page.php:404 system/mw_wp_form_admin_page.php:409
434
+ #: system/mw_wp_form_admin_page.php:439 system/mw_wp_form_admin_page.php:448
435
+ #: system/mw_wp_form_admin_page.php:453
436
  msgid "If empty:"
437
  msgstr ""
438
 
439
+ #: system/mw_wp_form_admin_page.php:407 system/mw_wp_form_admin_page.php:451
440
  msgid "From ( E-mail address )"
441
  msgstr ""
442
 
443
+ #: system/mw_wp_form_admin_page.php:412 system/mw_wp_form_admin_page.php:456
444
  msgid "Ccontent"
445
  msgstr ""
446
 
447
+ #: system/mw_wp_form_admin_page.php:416
448
  msgid "Automatic reply email"
449
  msgstr ""
450
 
451
+ #: system/mw_wp_form_admin_page.php:418
452
+ msgid "Input the key to use as transmission to automatic reply email. {} is unnecessary."
 
 
453
  msgstr ""
454
 
455
+ #: system/mw_wp_form_admin_page.php:434
456
+ msgid "If Admin Email Options is a blank, Automatic Replay Email Options is used as Admin Email Options."
 
 
457
  msgstr ""
458
 
459
+ #: system/mw_wp_form_admin_page.php:437
460
  msgid "To ( E-mail address )"
461
  msgstr ""
462
 
463
+ #: system/mw_wp_form_admin_page.php:472
464
  msgid "Input Page URL"
465
  msgstr ""
466
 
467
+ #: system/mw_wp_form_admin_page.php:478
468
  msgid "Confirmation Page URL"
469
  msgstr ""
470
 
471
+ #: system/mw_wp_form_admin_page.php:484
472
  msgid "Complete Page URL"
473
  msgstr ""
474
 
475
+ #: system/mw_wp_form_admin_page.php:490
476
  msgid "Validation Error Page URL"
477
  msgstr ""
478
 
479
+ #: system/mw_wp_form_admin_page.php:530
480
  msgid "Add Validation rule"
481
  msgstr ""
482
 
483
+ #: system/mw_wp_form_admin_page.php:536
484
  msgid "The key which applies validation"
485
  msgstr ""
486
 
487
+ #: system/mw_wp_form_admin_page.php:540
488
  msgid "No empty"
489
  msgstr ""
490
 
491
+ #: system/mw_wp_form_admin_page.php:541
492
  msgid "No empty( with checkbox )"
493
  msgstr ""
494
 
495
+ #: system/mw_wp_form_admin_page.php:542
496
  msgid "Numeric"
497
  msgstr ""
498
 
499
+ #: system/mw_wp_form_admin_page.php:543
500
  msgid "Alphabet"
501
  msgstr ""
502
 
503
+ #: system/mw_wp_form_admin_page.php:544
504
  msgid "Alphabet and Numeric"
505
  msgstr ""
506
 
507
+ #: system/mw_wp_form_admin_page.php:545
508
  msgid "Japanese Katakana"
509
  msgstr ""
510
 
511
+ #: system/mw_wp_form_admin_page.php:546
512
  msgid "Japanese Hiragana"
513
  msgstr ""
514
 
515
+ #: system/mw_wp_form_admin_page.php:549
516
  msgid "E-mail"
517
  msgstr ""
518
 
519
+ #: system/mw_wp_form_admin_page.php:550
520
  msgid "URL"
521
  msgstr ""
522
 
523
+ #: system/mw_wp_form_admin_page.php:551
524
  msgid "Date"
525
  msgstr ""
526
 
527
+ #: system/mw_wp_form_admin_page.php:555
528
  msgid "The key at same value"
529
  msgstr ""
530
 
531
+ #: system/mw_wp_form_admin_page.php:559
532
  msgid "The range of the number of characters"
533
  msgstr ""
534
 
535
+ #: system/mw_wp_form_admin_page.php:567
536
  msgid "The number of the minimum characters"
537
  msgstr ""
538
 
539
+ #: system/mw_wp_form_admin_page.php:571
540
  msgid "Permitted Extension"
541
  msgstr ""
542
 
543
+ #: system/mw_wp_form_admin_page.php:572
544
  msgid "Example:jpg or jpg,txt,…"
545
  msgstr ""
546
 
547
+ #: system/mw_wp_form_admin_page.php:575
548
  msgid "Permitted file size"
549
  msgstr ""
550
 
551
+ #: system/mw_wp_form_admin_page.php:576
552
  msgid "bytes"
553
  msgstr ""
554
 
555
+ #: system/mw_wp_form_admin_page.php:592
556
  msgid "Select Style"
557
  msgstr ""
558
 
559
+ #: system/mw_wp_form_admin_page.php:628
560
+ msgid "Add form tag"
561
+ msgstr ""
562
+
563
  #: system/mw_wp_form_contact_data_page.php:92
564
  msgid "Edit "
565
  msgstr ""
599
  #: system/mw_wp_form_file.php:152
600
  msgid "Uploaded from "
601
  msgstr ""
 
602
  #. Plugin Name of the plugin/theme
603
  msgid "MW WP Form"
604
  msgstr ""
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.3.3
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : September 25, 2012
10
- * Modified: February 24, 2014
11
  * Text Domain: mw-wp-form
12
  * Domain Path: /languages/
13
  * License: GPL2
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.4.0
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : September 25, 2012
10
+ * Modified: March 20, 2014
11
  * Text Domain: mw-wp-form
12
  * Domain Path: /languages/
13
  * License: GPL2
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.amazon.co.jp/registry/wishlist/39ANKRNSTNW40
4
  Tags: plugin, form, confirm, preview, shortcode
5
  Requires at least: 3.4
6
  Tested up to: 3.8.0
7
- Stable tag: 1.3.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -47,6 +47,9 @@ Do you have questions or issues with MW WP Form? Use these support channels appr
47
 
48
  == Changelog ==
49
 
 
 
 
50
  = 1.3.3 =
51
  * Buf fix : Fix param $rule in mwform_error_message_mw-wp-form-xxx filter hook.
52
  * Buf fix : Fix param $rule in mwform_error_message_html filter hook.
4
  Tags: plugin, form, confirm, preview, shortcode
5
  Requires at least: 3.4
6
  Tested up to: 3.8.0
7
+ Stable tag: 1.4.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
47
 
48
  == Changelog ==
49
 
50
+ = 1.4.0 =
51
+ * Added : Add form tag generator.
52
+
53
  = 1.3.3 =
54
  * Buf fix : Fix param $rule in mwform_error_message_mw-wp-form-xxx filter hook.
55
  * Buf fix : Fix param $rule in mwform_error_message_html filter hook.
system/mw_form_field.php CHANGED
@@ -3,11 +3,11 @@
3
  * Name: MW Form Field
4
  * URI: http://2inc.org
5
  * Description: フォームフィールドの抽象クラス
6
- * Version: 1.3.7
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : December 14, 2012
10
- * Modified: February 24, 2014
11
  * License: GPL2
12
  *
13
  * Copyright 2014 Takashi Kitajima (email : inc@2inc.org)
@@ -74,6 +74,7 @@ abstract class mw_form_field {
74
  $this->defaults = $this->setDefaults();
75
  add_action( 'mwform_add_shortcode', array( $this, 'add_shortcode' ), 10, 4 );
76
  add_action( 'mwform_add_qtags', array( $this, '_add_qtags' ) );
 
77
  }
78
 
79
  /**
@@ -93,10 +94,10 @@ abstract class mw_form_field {
93
  */
94
  protected function set_qtags( $id, $display, $arg1, $arg2 = '' ) {
95
  $this->qtags = array(
96
- 'id' => $id,
97
- 'display' => $display,
98
- 'arg1' => $arg1,
99
- 'arg2' => $arg2,
100
  );
101
  }
102
 
@@ -224,6 +225,45 @@ abstract class mw_form_field {
224
  );
225
  <?php
226
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
227
  }
228
 
229
 
3
  * Name: MW Form Field
4
  * URI: http://2inc.org
5
  * Description: フォームフィールドの抽象クラス
6
+ * Version: 1.5.0
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : December 14, 2012
10
+ * Modified: March 20, 2014
11
  * License: GPL2
12
  *
13
  * Copyright 2014 Takashi Kitajima (email : inc@2inc.org)
74
  $this->defaults = $this->setDefaults();
75
  add_action( 'mwform_add_shortcode', array( $this, 'add_shortcode' ), 10, 4 );
76
  add_action( 'mwform_add_qtags', array( $this, '_add_qtags' ) );
77
+ $this->_add_mwform_tag_generator();
78
  }
79
 
80
  /**
94
  */
95
  protected function set_qtags( $id, $display, $arg1, $arg2 = '' ) {
96
  $this->qtags = array(
97
+ 'id' => $id,
98
+ 'display' => $display,
99
+ 'arg1' => $arg1,
100
+ 'arg2' => $arg2,
101
  );
102
  }
103
 
225
  );
226
  <?php
227
  }
228
+
229
+ /**
230
+ * _add_mwform_tag_generator
231
+ * フォームタグジェネレータのタグ選択肢とダイアログを設定
232
+ */
233
+ protected function _add_mwform_tag_generator() {
234
+ add_action( 'mwform_tag_generator_dialog', array( $this, 'add_mwform_tag_generator' ) );
235
+ add_action( 'mwform_tag_generator_option', array( $this, 'mwform_tag_generator_option' ) );
236
+ }
237
+
238
+ /**
239
+ * add_mwform_tag_generator
240
+ * タグジェネレータのダイアログ枠を出力
241
+ */
242
+ public function add_mwform_tag_generator() {
243
+ ?>
244
+ <div id="dialog-<?php echo esc_attr( $this->shortcode_name ); ?>" class="mwform-dialog" title="<?php echo esc_attr( $this->shortcode_name ); ?>">
245
+ <form>
246
+ <?php $this->mwform_tag_generator_dialog(); ?>
247
+ </form>
248
+ </div>
249
+ <?php
250
+ }
251
+
252
+ /**
253
+ * add_mwform_tag_generator
254
+ * タグジェネレータのダイアログを出力。各フォーム項目クラスでオーバーライド
255
+ */
256
+ protected function mwform_tag_generator_dialog() {}
257
+
258
+ /**
259
+ * mwform_tag_generator_option
260
+ * フォームタグ挿入ボタンのセレクトボックスに選択項目を追加
261
+ */
262
+ public function mwform_tag_generator_option() {
263
+ ?>
264
+ <option value="<?php echo esc_attr( $this->shortcode_name ); ?>"><?php echo esc_attr( $this->qtags['display'] ); ?></option>
265
+ <?php
266
+ }
267
  }
268
 
269
 
system/mw_wp_form_admin_page.php CHANGED
@@ -3,11 +3,11 @@
3
  * Name: MW WP Form Admin Page
4
  * URI: http://2inc.org
5
  * Description: 管理画面クラス
6
- * Version: 1.7.6
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : February 21, 2013
10
- * Modified: January 15, 2013
11
  * License: GPL2
12
  *
13
  * Copyright 2014 Takashi Kitajima (email : inc@2inc.org)
@@ -35,14 +35,15 @@ class MW_WP_Form_Admin_Page {
35
  * __construct
36
  */
37
  public function __construct() {
38
- add_action( 'admin_print_styles', array( $this, 'admin_style' ) );
39
- add_action( 'admin_print_scripts', array( $this, 'admin_scripts' ) );
40
  add_action( 'admin_head', array( $this, 'add_meta_box' ) );
41
  add_action( 'admin_head', array( $this, 'add_tinymce' ) );
42
  add_action( 'save_post', array( $this, 'save_post' ) );
43
  add_action( 'admin_print_footer_scripts', array( $this, 'add_quicktag' ) );
44
  add_action( 'current_screen', array( $this, 'current_screen' ) );
45
  add_filter( 'default_content', array( $this, 'default_content' ) );
 
46
  }
47
 
48
  /**
@@ -247,6 +248,11 @@ class MW_WP_Form_Admin_Page {
247
  $url = plugin_dir_url( __FILE__ );
248
  wp_register_script( MWF_Config::DOMAIN . '-admin', $url . '../js/admin.js' );
249
  wp_enqueue_script( MWF_Config::DOMAIN . '-admin' );
 
 
 
 
 
250
  }
251
  }
252
 
@@ -604,5 +610,24 @@ class MW_WP_Form_Admin_Page {
604
  }
605
  return true;
606
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
607
  }
608
  ?>
3
  * Name: MW WP Form Admin Page
4
  * URI: http://2inc.org
5
  * Description: 管理画面クラス
6
+ * Version: 1.8.0
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : February 21, 2013
10
+ * Modified: March 20, 2014
11
  * License: GPL2
12
  *
13
  * Copyright 2014 Takashi Kitajima (email : inc@2inc.org)
35
  * __construct
36
  */
37
  public function __construct() {
38
+ add_action( 'admin_enqueue_scripts', array( $this, 'admin_style' ) );
39
+ add_action( 'admin_enqueue_scripts', array( $this, 'admin_scripts' ) );
40
  add_action( 'admin_head', array( $this, 'add_meta_box' ) );
41
  add_action( 'admin_head', array( $this, 'add_tinymce' ) );
42
  add_action( 'save_post', array( $this, 'save_post' ) );
43
  add_action( 'admin_print_footer_scripts', array( $this, 'add_quicktag' ) );
44
  add_action( 'current_screen', array( $this, 'current_screen' ) );
45
  add_filter( 'default_content', array( $this, 'default_content' ) );
46
+ add_action( 'edit_form_after_title', array( $this, 'add_tag_generator' ) );
47
  }
48
 
49
  /**
248
  $url = plugin_dir_url( __FILE__ );
249
  wp_register_script( MWF_Config::DOMAIN . '-admin', $url . '../js/admin.js' );
250
  wp_enqueue_script( MWF_Config::DOMAIN . '-admin' );
251
+ wp_enqueue_script( 'jquery-ui-dialog' );
252
+
253
+ global $wp_scripts;
254
+ $ui = $wp_scripts->query( 'jquery-ui-core' );
255
+ wp_enqueue_style( 'jquery.ui', '//ajax.googleapis.com/ajax/libs/jqueryui/' . $ui->ver . '/themes/smoothness/jquery-ui.min.css', array(), $ui->ver );
256
  }
257
  }
258
 
610
  }
611
  return true;
612
  }
613
+
614
+ /**
615
+ * add_tag_generator
616
+ * タグジェネレータを出力
617
+ */
618
+ public function add_tag_generator() {
619
+ $post_type = get_post_type();
620
+ if ( $post_type !== MWF_Config::NAME )
621
+ return;
622
+ do_action( 'mwform_tag_generator_dialog' );
623
+ ?>
624
+ <div class="add-mwform-btn">
625
+ <select>
626
+ <?php do_action( 'mwform_tag_generator_option' ); ?>
627
+ </select>
628
+ <span class="button"><?php _e( 'Add form tag', MWF_Config::DOMAIN ); ?></span>
629
+ </div>
630
+ <?php
631
+ }
632
  }
633
  ?>