Contact Form 7 - Version 1.7.5

Version Description

Download this release

Release Info

Developer takayukister
Plugin Icon 128x128 Contact Form 7
Version 1.7.5
Comparing to
See all releases

Code changes from version 1.7.4 to 1.7.5

README.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Contact Form 7 ===
2
  Contributors: takayukister
3
- Donate link: http://takayukister.chipin.com/contact-form-7
4
  Tags: contact form, email, ajax, captcha, akismet
5
  Requires at least: 2.2
6
  Tested up to: 2.4-bleeding
7
- Stable tag: 1.7.4
8
 
9
  Just another contact form plugin. Simple but flexible.
10
 
1
  === Contact Form 7 ===
2
  Contributors: takayukister
3
+ Donate link: http://takayukister.chipin.com/contact-form-7-20
4
  Tags: contact form, email, ajax, captcha, akismet
5
  Requires at least: 2.2
6
  Tested up to: 2.4-bleeding
7
+ Stable tag: 1.7.5
8
 
9
  Just another contact form plugin. Simple but flexible.
10
 
contact-form-7.js CHANGED
@@ -1,7 +1,6 @@
1
  jQuery(document).ready(function() {
2
  jQuery('div.wpcf7 > form').ajaxForm({
3
  beforeSubmit: beforeSubmit,
4
- url: _wpcf7.ajaxUrl,
5
  dataType: 'json',
6
  success: processJson
7
  });
@@ -15,6 +14,9 @@ jQuery(document).ready(function() {
15
  function beforeSubmit(formData, jqForm, options) {
16
  clearResponseOutput();
17
  jQuery('img.ajax-loader', jqForm[0]).css({ visibility: 'visible' });
 
 
 
18
  return true;
19
  }
20
 
1
  jQuery(document).ready(function() {
2
  jQuery('div.wpcf7 > form').ajaxForm({
3
  beforeSubmit: beforeSubmit,
 
4
  dataType: 'json',
5
  success: processJson
6
  });
14
  function beforeSubmit(formData, jqForm, options) {
15
  clearResponseOutput();
16
  jQuery('img.ajax-loader', jqForm[0]).css({ visibility: 'visible' });
17
+
18
+ formData.push({name: '_wpcf7_is_ajax_call', value: 1});
19
+
20
  return true;
21
  }
22
 
languages/wpcf7-ja.mo CHANGED
Binary file
languages/wpcf7-ja.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: WP Contact Form 7\n"
4
  "POT-Creation-Date: \n"
5
- "PO-Revision-Date: 2007-12-30 20:07+0900\n"
6
  "Last-Translator: Takayuki Miyoshi <takayukister@gmail.com>\n"
7
  "Language-Team: Takayuki Miyoshi <takayukister@gmail.com>\n"
8
  "MIME-Version: 1.0\n"
@@ -11,8 +11,9 @@ msgstr ""
11
  "X-Poedit-Language: Japanese\n"
12
  "X-Poedit-Country: JAPAN\n"
13
  "X-Poedit-SourceCharset: utf-8\n"
14
- "X-Poedit-KeywordsList: __;_e\n"
15
  "X-Poedit-Basepath: ../..\n"
 
16
  "X-Poedit-SearchPath-0: contact-form-7\n"
17
 
18
  #: contact-form-7/wp-contact-form-7.php:251
@@ -77,148 +78,152 @@ msgid "Allow multiple selections?"
77
  msgstr "複数選択を可能にしますか?"
78
 
79
  #: contact-form-7/wp-contact-form-7.php:365
 
 
 
 
80
  msgid "Make checkboxes exclusive?"
81
  msgstr "チェックボックスを排他化しますか?"
82
 
83
- #: contact-form-7/wp-contact-form-7.php:366
84
  msgid "Choices"
85
  msgstr "選択項目"
86
 
87
- #: contact-form-7/wp-contact-form-7.php:367
88
  msgid "Label"
89
  msgstr "ラベル"
90
 
91
- #: contact-form-7/wp-contact-form-7.php:368
92
  msgid "Default value"
93
  msgstr "デフォルト値"
94
 
95
- #: contact-form-7/wp-contact-form-7.php:369
96
  msgid "Akismet"
97
  msgstr "Akismet"
98
 
99
- #: contact-form-7/wp-contact-form-7.php:370
100
  msgid "This field requires author's name"
101
  msgstr "送信者の名前の入力を要求する項目"
102
 
103
- #: contact-form-7/wp-contact-form-7.php:371
104
  msgid "This field requires author's URL"
105
  msgstr "送信者の URL の入力を要求する項目"
106
 
107
- #: contact-form-7/wp-contact-form-7.php:372
108
  msgid "This field requires author's email address"
109
  msgstr "送信者のメールアドレスの入力を要求する項目"
110
 
111
- #: contact-form-7/wp-contact-form-7.php:373
112
  msgid "Copy and paste this code into the form"
113
  msgstr "次のコードをコピーしてフォームにペーストして下さい。"
114
 
115
- #: contact-form-7/wp-contact-form-7.php:374
116
  msgid "Foreground color"
117
  msgstr "文字色"
118
 
119
- #: contact-form-7/wp-contact-form-7.php:375
120
  msgid "Background color"
121
  msgstr "背景色"
122
 
123
- #: contact-form-7/wp-contact-form-7.php:376
124
  msgid "Image size"
125
  msgstr "画像サイズ"
126
 
127
- #: contact-form-7/wp-contact-form-7.php:377
128
  msgid "Small"
129
  msgstr "小"
130
 
131
- #: contact-form-7/wp-contact-form-7.php:378
132
  msgid "Medium"
133
  msgstr "中"
134
 
135
- #: contact-form-7/wp-contact-form-7.php:379
136
  msgid "Large"
137
  msgstr "大"
138
 
139
- #: contact-form-7/wp-contact-form-7.php:380
140
  msgid "Image settings"
141
  msgstr "画像の設定"
142
 
143
- #: contact-form-7/wp-contact-form-7.php:381
144
  msgid "Input field settings"
145
  msgstr "入力項目の設定"
146
 
147
- #: contact-form-7/wp-contact-form-7.php:382
148
  msgid "For image"
149
  msgstr "画像"
150
 
151
- #: contact-form-7/wp-contact-form-7.php:383
152
  msgid "For input field"
153
  msgstr "入力項目"
154
 
155
- #: contact-form-7/wp-contact-form-7.php:384
156
  msgid "* One choice per line."
157
  msgstr "* 1行ごとに分けて入力してください。"
158
 
159
- #: contact-form-7/wp-contact-form-7.php:403
160
  msgid "Contact form created."
161
  msgstr "コンタクトフォームが作成されました。"
162
 
163
- #: contact-form-7/wp-contact-form-7.php:406
164
  msgid "Contact form saved."
165
  msgstr "コンタクトフォームが保存されました。"
166
 
167
- #: contact-form-7/wp-contact-form-7.php:409
168
  msgid "Contact form deleted."
169
  msgstr "コンタクトフォームが削除されました。"
170
 
171
- #: contact-form-7/wp-contact-form-7.php:416
172
  msgid "Untitled"
173
  msgstr "無題"
174
 
175
- #: contact-form-7/wp-contact-form-7.php:440
176
  msgid "Your Name"
177
  msgstr "お名前"
178
 
179
- #: contact-form-7/wp-contact-form-7.php:440
180
- #: contact-form-7/wp-contact-form-7.php:442
181
  msgid "(required)"
182
  msgstr "(必須)"
183
 
184
- #: contact-form-7/wp-contact-form-7.php:442
185
  msgid "Your Email"
186
  msgstr "メールアドレス"
187
 
188
- #: contact-form-7/wp-contact-form-7.php:444
189
  msgid "Subject"
190
  msgstr "題名"
191
 
192
- #: contact-form-7/wp-contact-form-7.php:446
193
  msgid "Your Message"
194
  msgstr "メッセージ本文"
195
 
196
- #: contact-form-7/wp-contact-form-7.php:448
197
- #: contact-form-7/wp-contact-form-7.php:901
198
  msgid "Send"
199
  msgstr "送信"
200
 
201
- #: contact-form-7/wp-contact-form-7.php:477
202
  msgid "Your message was sent successfully. Thanks."
203
  msgstr "あなたのメッセージは送信されました。ありがとうございました。"
204
 
205
- #: contact-form-7/wp-contact-form-7.php:479
206
  msgid "Failed to send your message. Please try later or contact administrator by other way."
207
  msgstr "メッセージの送信に失敗しました。間をおいてもう一度お試しいただくか、別の手段で管理者にお問い合わせ下さい。"
208
 
209
- #: contact-form-7/wp-contact-form-7.php:481
210
  msgid "Validation errors occurred. Please confirm the fields and submit it again."
211
  msgstr "入力内容に不備があります。確認してもう一度送信してください。"
212
 
213
- #: contact-form-7/wp-contact-form-7.php:483
214
  msgid "Email address seems invalid."
215
  msgstr "メールアドレスの形式が正しくないようです。"
216
 
217
- #: contact-form-7/wp-contact-form-7.php:485
218
  msgid "Please fill the required field."
219
  msgstr "必須項目に記入もれがあります。"
220
 
221
- #: contact-form-7/wp-contact-form-7.php:487
222
  msgid "Your entered code is incorrect."
223
  msgstr "入力されたコードが正しくありません。"
224
 
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: Contact Form 7\n"
4
  "POT-Creation-Date: \n"
5
+ "PO-Revision-Date: 2008-01-25 15:01+0900\n"
6
  "Last-Translator: Takayuki Miyoshi <takayukister@gmail.com>\n"
7
  "Language-Team: Takayuki Miyoshi <takayukister@gmail.com>\n"
8
  "MIME-Version: 1.0\n"
11
  "X-Poedit-Language: Japanese\n"
12
  "X-Poedit-Country: JAPAN\n"
13
  "X-Poedit-SourceCharset: utf-8\n"
14
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_c\n"
15
  "X-Poedit-Basepath: ../..\n"
16
+ "Plural-Forms: nplurals=1; plural=0;\n"
17
  "X-Poedit-SearchPath-0: contact-form-7\n"
18
 
19
  #: contact-form-7/wp-contact-form-7.php:251
78
  msgstr "複数選択を可能にしますか?"
79
 
80
  #: contact-form-7/wp-contact-form-7.php:365
81
+ msgid "Insert a blank item as the first option?"
82
+ msgstr "先頭に空の項目を挿入しますか?"
83
+
84
+ #: contact-form-7/wp-contact-form-7.php:366
85
  msgid "Make checkboxes exclusive?"
86
  msgstr "チェックボックスを排他化しますか?"
87
 
88
+ #: contact-form-7/wp-contact-form-7.php:367
89
  msgid "Choices"
90
  msgstr "選択項目"
91
 
92
+ #: contact-form-7/wp-contact-form-7.php:368
93
  msgid "Label"
94
  msgstr "ラベル"
95
 
96
+ #: contact-form-7/wp-contact-form-7.php:369
97
  msgid "Default value"
98
  msgstr "デフォルト値"
99
 
100
+ #: contact-form-7/wp-contact-form-7.php:370
101
  msgid "Akismet"
102
  msgstr "Akismet"
103
 
104
+ #: contact-form-7/wp-contact-form-7.php:371
105
  msgid "This field requires author's name"
106
  msgstr "送信者の名前の入力を要求する項目"
107
 
108
+ #: contact-form-7/wp-contact-form-7.php:372
109
  msgid "This field requires author's URL"
110
  msgstr "送信者の URL の入力を要求する項目"
111
 
112
+ #: contact-form-7/wp-contact-form-7.php:373
113
  msgid "This field requires author's email address"
114
  msgstr "送信者のメールアドレスの入力を要求する項目"
115
 
116
+ #: contact-form-7/wp-contact-form-7.php:374
117
  msgid "Copy and paste this code into the form"
118
  msgstr "次のコードをコピーしてフォームにペーストして下さい。"
119
 
120
+ #: contact-form-7/wp-contact-form-7.php:375
121
  msgid "Foreground color"
122
  msgstr "文字色"
123
 
124
+ #: contact-form-7/wp-contact-form-7.php:376
125
  msgid "Background color"
126
  msgstr "背景色"
127
 
128
+ #: contact-form-7/wp-contact-form-7.php:377
129
  msgid "Image size"
130
  msgstr "画像サイズ"
131
 
132
+ #: contact-form-7/wp-contact-form-7.php:378
133
  msgid "Small"
134
  msgstr "小"
135
 
136
+ #: contact-form-7/wp-contact-form-7.php:379
137
  msgid "Medium"
138
  msgstr "中"
139
 
140
+ #: contact-form-7/wp-contact-form-7.php:380
141
  msgid "Large"
142
  msgstr "大"
143
 
144
+ #: contact-form-7/wp-contact-form-7.php:381
145
  msgid "Image settings"
146
  msgstr "画像の設定"
147
 
148
+ #: contact-form-7/wp-contact-form-7.php:382
149
  msgid "Input field settings"
150
  msgstr "入力項目の設定"
151
 
152
+ #: contact-form-7/wp-contact-form-7.php:383
153
  msgid "For image"
154
  msgstr "画像"
155
 
156
+ #: contact-form-7/wp-contact-form-7.php:384
157
  msgid "For input field"
158
  msgstr "入力項目"
159
 
160
+ #: contact-form-7/wp-contact-form-7.php:385
161
  msgid "* One choice per line."
162
  msgstr "* 1行ごとに分けて入力してください。"
163
 
164
+ #: contact-form-7/wp-contact-form-7.php:404
165
  msgid "Contact form created."
166
  msgstr "コンタクトフォームが作成されました。"
167
 
168
+ #: contact-form-7/wp-contact-form-7.php:407
169
  msgid "Contact form saved."
170
  msgstr "コンタクトフォームが保存されました。"
171
 
172
+ #: contact-form-7/wp-contact-form-7.php:410
173
  msgid "Contact form deleted."
174
  msgstr "コンタクトフォームが削除されました。"
175
 
176
+ #: contact-form-7/wp-contact-form-7.php:417
177
  msgid "Untitled"
178
  msgstr "無題"
179
 
180
+ #: contact-form-7/wp-contact-form-7.php:441
181
  msgid "Your Name"
182
  msgstr "お名前"
183
 
184
+ #: contact-form-7/wp-contact-form-7.php:441
185
+ #: contact-form-7/wp-contact-form-7.php:443
186
  msgid "(required)"
187
  msgstr "(必須)"
188
 
189
+ #: contact-form-7/wp-contact-form-7.php:443
190
  msgid "Your Email"
191
  msgstr "メールアドレス"
192
 
193
+ #: contact-form-7/wp-contact-form-7.php:445
194
  msgid "Subject"
195
  msgstr "題名"
196
 
197
+ #: contact-form-7/wp-contact-form-7.php:447
198
  msgid "Your Message"
199
  msgstr "メッセージ本文"
200
 
201
+ #: contact-form-7/wp-contact-form-7.php:449
202
+ #: contact-form-7/wp-contact-form-7.php:893
203
  msgid "Send"
204
  msgstr "送信"
205
 
206
+ #: contact-form-7/wp-contact-form-7.php:478
207
  msgid "Your message was sent successfully. Thanks."
208
  msgstr "あなたのメッセージは送信されました。ありがとうございました。"
209
 
210
+ #: contact-form-7/wp-contact-form-7.php:480
211
  msgid "Failed to send your message. Please try later or contact administrator by other way."
212
  msgstr "メッセージの送信に失敗しました。間をおいてもう一度お試しいただくか、別の手段で管理者にお問い合わせ下さい。"
213
 
214
+ #: contact-form-7/wp-contact-form-7.php:482
215
  msgid "Validation errors occurred. Please confirm the fields and submit it again."
216
  msgstr "入力内容に不備があります。確認してもう一度送信してください。"
217
 
218
+ #: contact-form-7/wp-contact-form-7.php:484
219
  msgid "Email address seems invalid."
220
  msgstr "メールアドレスの形式が正しくないようです。"
221
 
222
+ #: contact-form-7/wp-contact-form-7.php:486
223
  msgid "Please fill the required field."
224
  msgstr "必須項目に記入もれがあります。"
225
 
226
+ #: contact-form-7/wp-contact-form-7.php:488
227
  msgid "Your entered code is incorrect."
228
  msgstr "入力されたコードが正しくありません。"
229
 
languages/wpcf7.pot CHANGED
@@ -2,15 +2,16 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Contact Form 7\n"
4
  "POT-Creation-Date: 2007-10-24 13:47+0900\n"
5
- "PO-Revision-Date: 2007-12-30 20:05+0900\n"
6
  "Last-Translator: Takayuki Miyoshi <takayukister@gmail.com>\n"
7
  "Language-Team: \n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
  "X-Poedit-SourceCharset: utf-8\n"
12
- "X-Poedit-KeywordsList: __;_e\n"
13
  "X-Poedit-Basepath: ../..\n"
 
14
  "X-Poedit-SearchPath-0: contact-form-7\n"
15
 
16
  #: contact-form-7/wp-contact-form-7.php:251
@@ -75,148 +76,152 @@ msgid "Allow multiple selections?"
75
  msgstr ""
76
 
77
  #: contact-form-7/wp-contact-form-7.php:365
78
- msgid "Make checkboxes exclusive?"
79
  msgstr ""
80
 
81
  #: contact-form-7/wp-contact-form-7.php:366
82
- msgid "Choices"
83
  msgstr ""
84
 
85
  #: contact-form-7/wp-contact-form-7.php:367
86
- msgid "Label"
87
  msgstr ""
88
 
89
  #: contact-form-7/wp-contact-form-7.php:368
90
- msgid "Default value"
91
  msgstr ""
92
 
93
  #: contact-form-7/wp-contact-form-7.php:369
94
- msgid "Akismet"
95
  msgstr ""
96
 
97
  #: contact-form-7/wp-contact-form-7.php:370
98
- msgid "This field requires author's name"
99
  msgstr ""
100
 
101
  #: contact-form-7/wp-contact-form-7.php:371
102
- msgid "This field requires author's URL"
103
  msgstr ""
104
 
105
  #: contact-form-7/wp-contact-form-7.php:372
106
- msgid "This field requires author's email address"
107
  msgstr ""
108
 
109
  #: contact-form-7/wp-contact-form-7.php:373
110
- msgid "Copy and paste this code into the form"
111
  msgstr ""
112
 
113
  #: contact-form-7/wp-contact-form-7.php:374
114
- msgid "Foreground color"
115
  msgstr ""
116
 
117
  #: contact-form-7/wp-contact-form-7.php:375
118
- msgid "Background color"
119
  msgstr ""
120
 
121
  #: contact-form-7/wp-contact-form-7.php:376
122
- msgid "Image size"
123
  msgstr ""
124
 
125
  #: contact-form-7/wp-contact-form-7.php:377
126
- msgid "Small"
127
  msgstr ""
128
 
129
  #: contact-form-7/wp-contact-form-7.php:378
130
- msgid "Medium"
131
  msgstr ""
132
 
133
  #: contact-form-7/wp-contact-form-7.php:379
134
- msgid "Large"
135
  msgstr ""
136
 
137
  #: contact-form-7/wp-contact-form-7.php:380
138
- msgid "Image settings"
139
  msgstr ""
140
 
141
  #: contact-form-7/wp-contact-form-7.php:381
142
- msgid "Input field settings"
143
  msgstr ""
144
 
145
  #: contact-form-7/wp-contact-form-7.php:382
146
- msgid "For image"
147
  msgstr ""
148
 
149
  #: contact-form-7/wp-contact-form-7.php:383
150
- msgid "For input field"
151
  msgstr ""
152
 
153
  #: contact-form-7/wp-contact-form-7.php:384
 
 
 
 
154
  msgid "* One choice per line."
155
  msgstr ""
156
 
157
- #: contact-form-7/wp-contact-form-7.php:403
158
  msgid "Contact form created."
159
  msgstr ""
160
 
161
- #: contact-form-7/wp-contact-form-7.php:406
162
  msgid "Contact form saved."
163
  msgstr ""
164
 
165
- #: contact-form-7/wp-contact-form-7.php:409
166
  msgid "Contact form deleted."
167
  msgstr ""
168
 
169
- #: contact-form-7/wp-contact-form-7.php:416
170
  msgid "Untitled"
171
  msgstr ""
172
 
173
- #: contact-form-7/wp-contact-form-7.php:440
174
  msgid "Your Name"
175
  msgstr ""
176
 
177
- #: contact-form-7/wp-contact-form-7.php:440
178
- #: contact-form-7/wp-contact-form-7.php:442
179
  msgid "(required)"
180
  msgstr ""
181
 
182
- #: contact-form-7/wp-contact-form-7.php:442
183
  msgid "Your Email"
184
  msgstr ""
185
 
186
- #: contact-form-7/wp-contact-form-7.php:444
187
  msgid "Subject"
188
  msgstr ""
189
 
190
- #: contact-form-7/wp-contact-form-7.php:446
191
  msgid "Your Message"
192
  msgstr ""
193
 
194
- #: contact-form-7/wp-contact-form-7.php:448
195
- #: contact-form-7/wp-contact-form-7.php:901
196
  msgid "Send"
197
  msgstr ""
198
 
199
- #: contact-form-7/wp-contact-form-7.php:477
200
  msgid "Your message was sent successfully. Thanks."
201
  msgstr ""
202
 
203
- #: contact-form-7/wp-contact-form-7.php:479
204
  msgid "Failed to send your message. Please try later or contact administrator by other way."
205
  msgstr ""
206
 
207
- #: contact-form-7/wp-contact-form-7.php:481
208
  msgid "Validation errors occurred. Please confirm the fields and submit it again."
209
  msgstr ""
210
 
211
- #: contact-form-7/wp-contact-form-7.php:483
212
  msgid "Email address seems invalid."
213
  msgstr ""
214
 
215
- #: contact-form-7/wp-contact-form-7.php:485
216
  msgid "Please fill the required field."
217
  msgstr ""
218
 
219
- #: contact-form-7/wp-contact-form-7.php:487
220
  msgid "Your entered code is incorrect."
221
  msgstr ""
222
 
2
  msgstr ""
3
  "Project-Id-Version: Contact Form 7\n"
4
  "POT-Creation-Date: 2007-10-24 13:47+0900\n"
5
+ "PO-Revision-Date: 2008-01-25 15:01+0900\n"
6
  "Last-Translator: Takayuki Miyoshi <takayukister@gmail.com>\n"
7
  "Language-Team: \n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
  "X-Poedit-SourceCharset: utf-8\n"
12
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_c\n"
13
  "X-Poedit-Basepath: ../..\n"
14
+ "Plural-Forms: nplurals=1; plural=0;\n"
15
  "X-Poedit-SearchPath-0: contact-form-7\n"
16
 
17
  #: contact-form-7/wp-contact-form-7.php:251
76
  msgstr ""
77
 
78
  #: contact-form-7/wp-contact-form-7.php:365
79
+ msgid "Insert a blank item as the first option?"
80
  msgstr ""
81
 
82
  #: contact-form-7/wp-contact-form-7.php:366
83
+ msgid "Make checkboxes exclusive?"
84
  msgstr ""
85
 
86
  #: contact-form-7/wp-contact-form-7.php:367
87
+ msgid "Choices"
88
  msgstr ""
89
 
90
  #: contact-form-7/wp-contact-form-7.php:368
91
+ msgid "Label"
92
  msgstr ""
93
 
94
  #: contact-form-7/wp-contact-form-7.php:369
95
+ msgid "Default value"
96
  msgstr ""
97
 
98
  #: contact-form-7/wp-contact-form-7.php:370
99
+ msgid "Akismet"
100
  msgstr ""
101
 
102
  #: contact-form-7/wp-contact-form-7.php:371
103
+ msgid "This field requires author's name"
104
  msgstr ""
105
 
106
  #: contact-form-7/wp-contact-form-7.php:372
107
+ msgid "This field requires author's URL"
108
  msgstr ""
109
 
110
  #: contact-form-7/wp-contact-form-7.php:373
111
+ msgid "This field requires author's email address"
112
  msgstr ""
113
 
114
  #: contact-form-7/wp-contact-form-7.php:374
115
+ msgid "Copy and paste this code into the form"
116
  msgstr ""
117
 
118
  #: contact-form-7/wp-contact-form-7.php:375
119
+ msgid "Foreground color"
120
  msgstr ""
121
 
122
  #: contact-form-7/wp-contact-form-7.php:376
123
+ msgid "Background color"
124
  msgstr ""
125
 
126
  #: contact-form-7/wp-contact-form-7.php:377
127
+ msgid "Image size"
128
  msgstr ""
129
 
130
  #: contact-form-7/wp-contact-form-7.php:378
131
+ msgid "Small"
132
  msgstr ""
133
 
134
  #: contact-form-7/wp-contact-form-7.php:379
135
+ msgid "Medium"
136
  msgstr ""
137
 
138
  #: contact-form-7/wp-contact-form-7.php:380
139
+ msgid "Large"
140
  msgstr ""
141
 
142
  #: contact-form-7/wp-contact-form-7.php:381
143
+ msgid "Image settings"
144
  msgstr ""
145
 
146
  #: contact-form-7/wp-contact-form-7.php:382
147
+ msgid "Input field settings"
148
  msgstr ""
149
 
150
  #: contact-form-7/wp-contact-form-7.php:383
151
+ msgid "For image"
152
  msgstr ""
153
 
154
  #: contact-form-7/wp-contact-form-7.php:384
155
+ msgid "For input field"
156
+ msgstr ""
157
+
158
+ #: contact-form-7/wp-contact-form-7.php:385
159
  msgid "* One choice per line."
160
  msgstr ""
161
 
162
+ #: contact-form-7/wp-contact-form-7.php:404
163
  msgid "Contact form created."
164
  msgstr ""
165
 
166
+ #: contact-form-7/wp-contact-form-7.php:407
167
  msgid "Contact form saved."
168
  msgstr ""
169
 
170
+ #: contact-form-7/wp-contact-form-7.php:410
171
  msgid "Contact form deleted."
172
  msgstr ""
173
 
174
+ #: contact-form-7/wp-contact-form-7.php:417
175
  msgid "Untitled"
176
  msgstr ""
177
 
178
+ #: contact-form-7/wp-contact-form-7.php:441
179
  msgid "Your Name"
180
  msgstr ""
181
 
182
+ #: contact-form-7/wp-contact-form-7.php:441
183
+ #: contact-form-7/wp-contact-form-7.php:443
184
  msgid "(required)"
185
  msgstr ""
186
 
187
+ #: contact-form-7/wp-contact-form-7.php:443
188
  msgid "Your Email"
189
  msgstr ""
190
 
191
+ #: contact-form-7/wp-contact-form-7.php:445
192
  msgid "Subject"
193
  msgstr ""
194
 
195
+ #: contact-form-7/wp-contact-form-7.php:447
196
  msgid "Your Message"
197
  msgstr ""
198
 
199
+ #: contact-form-7/wp-contact-form-7.php:449
200
+ #: contact-form-7/wp-contact-form-7.php:893
201
  msgid "Send"
202
  msgstr ""
203
 
204
+ #: contact-form-7/wp-contact-form-7.php:478
205
  msgid "Your message was sent successfully. Thanks."
206
  msgstr ""
207
 
208
+ #: contact-form-7/wp-contact-form-7.php:480
209
  msgid "Failed to send your message. Please try later or contact administrator by other way."
210
  msgstr ""
211
 
212
+ #: contact-form-7/wp-contact-form-7.php:482
213
  msgid "Validation errors occurred. Please confirm the fields and submit it again."
214
  msgstr ""
215
 
216
+ #: contact-form-7/wp-contact-form-7.php:484
217
  msgid "Email address seems invalid."
218
  msgstr ""
219
 
220
+ #: contact-form-7/wp-contact-form-7.php:486
221
  msgid "Please fill the required field."
222
  msgstr ""
223
 
224
+ #: contact-form-7/wp-contact-form-7.php:488
225
  msgid "Your entered code is incorrect."
226
  msgstr ""
227
 
wp-contact-form-7.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Contact Form 7
4
  Plugin URI: http://ideasilo.wordpress.com/2007/04/30/contact-form-7/
5
  Description: Just another contact form plugin. Simple but flexible.
6
  Author: Takayuki Miyoshi
7
- Version: 1.7.4
8
  Author URI: http://ideasilo.wordpress.com/
9
  */
10
 
@@ -41,8 +41,8 @@ class tam_contact_form_seven {
41
  add_action('init', array(&$this, 'init_switch'), 11);
42
  add_filter('the_content', array(&$this, 'the_content_filter'), 9);
43
  add_filter('widget_text', array(&$this, 'widget_text_filter'));
44
- remove_filter('the_content', 'wpautop');
45
- add_filter('the_content', array(&$this, 'wpautop_substitute'));
46
  }
47
 
48
  // Original wpautop function has harmful effect on formatting of form elements.
@@ -82,7 +82,7 @@ class tam_contact_form_seven {
82
  }
83
 
84
  function init_switch() {
85
- if ('POST' == $_SERVER['REQUEST_METHOD'] && isset($_GET['wpcf7']) && 'json' == $_GET['wpcf7']) {
86
  $this->ajax_json_echo();
87
  exit();
88
  } elseif (! is_admin()) {
@@ -362,6 +362,7 @@ var _wpcf7 = {
362
  tagName: "<?php echo js_escape(__('Name', 'wpcf7')); ?>",
363
  isRequiredField: "<?php echo js_escape(__('Required field?', 'wpcf7')); ?>",
364
  allowsMultipleSelections: "<?php echo js_escape(__('Allow multiple selections?', 'wpcf7')); ?>",
 
365
  makeCheckboxesExclusive: "<?php echo js_escape(__('Make checkboxes exclusive?', 'wpcf7')); ?>",
366
  menuChoices: "<?php echo js_escape(__('Choices', 'wpcf7')); ?>",
367
  label: "<?php echo js_escape(__('Label', 'wpcf7')); ?>",
@@ -669,19 +670,7 @@ var _wpcf7 = {
669
  echo '<link rel="stylesheet" href="' . $stylesheet_url . '" type="text/css" />';
670
 
671
  $javascript_url = get_option('siteurl') . '/wp-content/plugins/contact-form-7/contact-form-7.js';
672
-
673
- $url = parse_url($_SERVER['REQUEST_URI']);
674
- if (empty($url['query']))
675
- $override_url = $url['path'] . '?wpcf7=json';
676
- else
677
- $override_url = $url['path'] . '?' . $url['query'] . '&wpcf7=json';
678
-
679
  ?>
680
- <script type="text/javascript">
681
- //<![CDATA[
682
- var _wpcf7 = { ajaxUrl: '<?php echo $override_url; ?>' };
683
- //]]>
684
- </script>
685
  <script type='text/javascript' src='<?php echo $javascript_url; ?>'></script>
686
  <?php
687
  }
@@ -817,8 +806,11 @@ var _wpcf7 = { ajaxUrl: '<?php echo $override_url; ?>' };
817
  break;
818
  case 'select':
819
  $multiple = (preg_grep('%^multiple$%', $options)) ? true : false;
820
- if ($empty_select = empty($values))
821
- array_push($values, '---');
 
 
 
822
  $html = '';
823
  foreach ($values as $key => $value) {
824
  $selected = '';
4
  Plugin URI: http://ideasilo.wordpress.com/2007/04/30/contact-form-7/
5
  Description: Just another contact form plugin. Simple but flexible.
6
  Author: Takayuki Miyoshi
7
+ Version: 1.7.5
8
  Author URI: http://ideasilo.wordpress.com/
9
  */
10
 
41
  add_action('init', array(&$this, 'init_switch'), 11);
42
  add_filter('the_content', array(&$this, 'the_content_filter'), 9);
43
  add_filter('widget_text', array(&$this, 'widget_text_filter'));
44
+ if (remove_filter('the_content', 'wpautop'))
45
+ add_filter('the_content', array(&$this, 'wpautop_substitute'));
46
  }
47
 
48
  // Original wpautop function has harmful effect on formatting of form elements.
82
  }
83
 
84
  function init_switch() {
85
+ if ('POST' == $_SERVER['REQUEST_METHOD'] && $_POST['_wpcf7_is_ajax_call']) {
86
  $this->ajax_json_echo();
87
  exit();
88
  } elseif (! is_admin()) {
362
  tagName: "<?php echo js_escape(__('Name', 'wpcf7')); ?>",
363
  isRequiredField: "<?php echo js_escape(__('Required field?', 'wpcf7')); ?>",
364
  allowsMultipleSelections: "<?php echo js_escape(__('Allow multiple selections?', 'wpcf7')); ?>",
365
+ insertFirstBlankOption: "<?php echo js_escape(__('Insert a blank item as the first option?', 'wpcf7')); ?>",
366
  makeCheckboxesExclusive: "<?php echo js_escape(__('Make checkboxes exclusive?', 'wpcf7')); ?>",
367
  menuChoices: "<?php echo js_escape(__('Choices', 'wpcf7')); ?>",
368
  label: "<?php echo js_escape(__('Label', 'wpcf7')); ?>",
670
  echo '<link rel="stylesheet" href="' . $stylesheet_url . '" type="text/css" />';
671
 
672
  $javascript_url = get_option('siteurl') . '/wp-content/plugins/contact-form-7/contact-form-7.js';
 
 
 
 
 
 
 
673
  ?>
 
 
 
 
 
674
  <script type='text/javascript' src='<?php echo $javascript_url; ?>'></script>
675
  <?php
676
  }
806
  break;
807
  case 'select':
808
  $multiple = (preg_grep('%^multiple$%', $options)) ? true : false;
809
+ $include_blank = preg_grep('%^include_blank$%', $options);
810
+
811
+ if ($empty_select = empty($values) || $include_blank)
812
+ array_unshift($values, '---');
813
+
814
  $html = '';
815
  foreach ($values as $key => $value) {
816
  $selected = '';
wpcf7-admin.js CHANGED
@@ -146,7 +146,7 @@ function tgPane(pane, tagType) {
146
  });
147
  });
148
  tgInputs.tagName.css({ 'border-color': '#555' });
149
- jQuery.each([ 'isRequiredField', 'allowsMultipleSelections', 'makeCheckboxesExclusive',
150
  'akismetAuthor', 'akismetAuthorEmail', 'akismetAuthorUrl',
151
  'imageSizeSmall', 'imageSizeMedium', 'imageSizeLarge' ], function(i, n) {
152
  tgInputs[n] = jQuery('<input type="checkbox" />');
@@ -248,10 +248,13 @@ function tgPane(pane, tagType) {
248
  ));
249
 
250
  if ('menu' == tagType) {
 
 
 
251
  table2.append(tgTr(
252
  jQuery('<span>' + _wpcf7.l10n.menuChoices + '<br /></span>').append(tgInputs.menuChoices)
253
  .append('<br /><span style="font-size: smaller">' + _wpcf7.l10n.oneChoicePerLine + '</span>'),
254
- jQuery('<span>&nbsp;' + _wpcf7.l10n.allowsMultipleSelections + '</span>').prepend(tgInputs.allowsMultipleSelections).prepend('<br />')
255
  ));
256
  } else if ('checkboxes' == tagType) {
257
  table2.append(tgTr(
@@ -468,6 +471,8 @@ function tgCreateTag(tagType, tgInputs, trigger) {
468
  var options = [];
469
  if (tgInputs.allowsMultipleSelections.is(':checked'))
470
  options.push('multiple');
 
 
471
  if (tgInputs.makeCheckboxesExclusive.is(':checked'))
472
  options.push('exclusive');
473
  if (tgInputs.tagId.val())
146
  });
147
  });
148
  tgInputs.tagName.css({ 'border-color': '#555' });
149
+ jQuery.each([ 'isRequiredField', 'allowsMultipleSelections', 'insertFirstBlankOption', 'makeCheckboxesExclusive',
150
  'akismetAuthor', 'akismetAuthorEmail', 'akismetAuthorUrl',
151
  'imageSizeSmall', 'imageSizeMedium', 'imageSizeLarge' ], function(i, n) {
152
  tgInputs[n] = jQuery('<input type="checkbox" />');
248
  ));
249
 
250
  if ('menu' == tagType) {
251
+ var menuOpt1 = jQuery('<span>&nbsp;' + _wpcf7.l10n.allowsMultipleSelections + '</span>').prepend(tgInputs.allowsMultipleSelections).prepend('<br />');
252
+ var menuOpt2 = jQuery('<span>&nbsp;' + _wpcf7.l10n.insertFirstBlankOption + '</span>').prepend(tgInputs.insertFirstBlankOption).prepend('<br />');
253
+
254
  table2.append(tgTr(
255
  jQuery('<span>' + _wpcf7.l10n.menuChoices + '<br /></span>').append(tgInputs.menuChoices)
256
  .append('<br /><span style="font-size: smaller">' + _wpcf7.l10n.oneChoicePerLine + '</span>'),
257
+ menuOpt1.append(menuOpt2)
258
  ));
259
  } else if ('checkboxes' == tagType) {
260
  table2.append(tgTr(
471
  var options = [];
472
  if (tgInputs.allowsMultipleSelections.is(':checked'))
473
  options.push('multiple');
474
+ if (tgInputs.insertFirstBlankOption.is(':checked'))
475
+ options.push('include_blank');
476
  if (tgInputs.makeCheckboxesExclusive.is(':checked'))
477
  options.push('exclusive');
478
  if (tgInputs.tagId.val())