Contact Form 7 - Version 1.8.1

Version Description

Download this release

Release Info

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

Code changes from version 1.8.0.4 to 1.8.1

README.txt CHANGED
@@ -3,8 +3,8 @@ 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.7-hemorrhage
7
- Stable tag: 1.8.0.4
8
9
Just another contact form plugin. Simple but flexible.
10
@@ -16,6 +16,7 @@ Contact Form 7 can manage multiple contact forms, plus you can customize the for
16
17
Since being published in August 2007, Contact Form 7 has been translated into a number of languages. Our thanks and appreciation must go to the following for their contributions:
18
19
* Brazilian Portuguese (pt_BR) - [Leonardo Pinheiro](http://www.eletrikabarbarella.com.br/) (updated by Henrique Vianna)
20
* Bulgarian (bg_BG) - [Iliyan Darganov](http://www.darganov.com/)
21
* Catalan (ca_ES) - [Jordi Sancho](http://www.qasolutions.net/blog)
@@ -40,7 +41,7 @@ Since being published in August 2007, Contact Form 7 has been translated into a
40
* Portuguese (pt_PT) - [Hugo Baeta](http://hugobaeta.com)
41
* Russian (ru_RU) - [Dmitry Volotovich](http://www.volnov.com)
42
* Romanian (ro) - [Stas Sushkov](http://stas.nerd.ro/ascii/)
43
- * Slovene (sl_SI) - Mihael Simonič
44
* Spanish (es_ES) - [Jordi Sancho](http://www.qasolutions.net/blog)
45
(updated by [Vladimir Prieto](http://vladimir.prie.to/) and [Federico Mikaelian](http://www.fedemika.com.ar/))
46
* Swedish (sv_SE) - [Fredrik Jonsson](http://www.fredda-o-ac.se/)
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.7-beta2
7
+ Stable tag: 1.8.1
8
9
Just another contact form plugin. Simple but flexible.
10
16
17
Since being published in August 2007, Contact Form 7 has been translated into a number of languages. Our thanks and appreciation must go to the following for their contributions:
18
19
+ * Albanian (sq) - [Olgi Zenullari](http://www.olgizenullari.com/)
20
* Brazilian Portuguese (pt_BR) - [Leonardo Pinheiro](http://www.eletrikabarbarella.com.br/) (updated by Henrique Vianna)
21
* Bulgarian (bg_BG) - [Iliyan Darganov](http://www.darganov.com/)
22
* Catalan (ca_ES) - [Jordi Sancho](http://www.qasolutions.net/blog)
41
* Portuguese (pt_PT) - [Hugo Baeta](http://hugobaeta.com)
42
* Russian (ru_RU) - [Dmitry Volotovich](http://www.volnov.com)
43
* Romanian (ro) - [Stas Sushkov](http://stas.nerd.ro/ascii/)
44
+ * Slovene (sl_SI) - [Mihael Simonič](http://smihael.bplaced.net)
45
* Spanish (es_ES) - [Jordi Sancho](http://www.qasolutions.net/blog)
46
(updated by [Vladimir Prieto](http://vladimir.prie.to/) and [Federico Mikaelian](http://www.fedemika.com.ar/))
47
* Swedish (sv_SE) - [Fredrik Jonsson](http://www.fredda-o-ac.se/)
admin-stylesheet.css CHANGED
@@ -47,9 +47,16 @@ div.fieldset div.legend {
47
font-weight: bolder;
48
margin-bottom: 0.5em;
49
}
50
- div.fieldset div.mail-field {
51
margin: 0.3em 0;
52
}
53
input.wide {
54
width: 96%;
55
}
@@ -106,4 +113,4 @@ div.tg-panetitle {
106
font: bold 132% sans-serif;
107
margin: 0 0 10px;
108
color: #777;
109
- }
47
font-weight: bolder;
48
margin-bottom: 0.5em;
49
}
50
+ div.fieldset div.mail-field, div.fieldset div.message-field {
51
margin: 0.3em 0;
52
}
53
+ span#message-fields-toggle-switch {
54
+ margin-left: 1em;
55
+ font-weight: normal;
56
+ font-size: smaller;
57
+ color: #2583ad;
58
+ cursor: pointer;
59
+ }
60
input.wide {
61
width: 96%;
62
}
113
font: bold 132% sans-serif;
114
margin: 0 0 10px;
115
color: #777;
116
+ }
includes/admin-panel.php CHANGED
@@ -17,7 +17,7 @@
17
<?php endif; ?>
18
</ul>
19
</div>
20
-
21
<?php if ($cf) : ?>
22
<?php $disabled = ($this->has_edit_cap()) ? '' : ' disabled="disabled"'; ?>
23
<div class="wrap relative">
@@ -61,6 +61,8 @@
61
<div class="fieldset"><div class="legend"><?php _e('Mail (2)', 'wpcf7'); ?></div>
62
<input type="checkbox" id="wpcf7-mail-2-active" name="wpcf7-mail-2-active" value="1"<?php echo ($cf['mail_2']['active']) ? ' checked="checked"' : ''; ?> />
63
<label for="wpcf7-mail-2-active"><?php _e('Use mail (2)', 'wpcf7'); ?></label>
64
<div class="mail-field">
65
<label for="wpcf7-mail-2-recipient"><?php _e('To:', 'wpcf7'); ?></label><br />
66
<input type="text" id="wpcf7-mail-2-recipient" name="wpcf7-mail-2-recipient" class="wide" size="70" value="<?php echo htmlspecialchars($cf['mail_2']['recipient']); ?>" />
@@ -77,8 +79,51 @@
77
<label for="wpcf7-mail-2-body"><?php _e('Message body:', 'wpcf7'); ?></label><br />
78
<textarea id="wpcf7-mail-2-body" name="wpcf7-mail-2-body" cols="100" rows="16"><?php echo htmlspecialchars($cf['mail_2']['body']); ?></textarea>
79
</div>
80
</div>
81
82
<input type="hidden" id="wpcf7-options-recipient" name="wpcf7-options-recipient" value="<?php echo htmlspecialchars($cf['options']['recipient']); ?>" />
83
84
<div>
@@ -95,4 +140,6 @@
95
<?php endif; ?>
96
</form>
97
</div>
98
- <?php endif; ?>
17
<?php endif; ?>
18
</ul>
19
</div>
20
+ <?php if (version_compare($wp_version, '2.7-alpha', '>=')) : ?><br class="clear" /><?php endif; ?>
21
<?php if ($cf) : ?>
22
<?php $disabled = ($this->has_edit_cap()) ? '' : ' disabled="disabled"'; ?>
23
<div class="wrap relative">
61
<div class="fieldset"><div class="legend"><?php _e('Mail (2)', 'wpcf7'); ?></div>
62
<input type="checkbox" id="wpcf7-mail-2-active" name="wpcf7-mail-2-active" value="1"<?php echo ($cf['mail_2']['active']) ? ' checked="checked"' : ''; ?> />
63
<label for="wpcf7-mail-2-active"><?php _e('Use mail (2)', 'wpcf7'); ?></label>
64
+
65
+ <div id="mail-2-fields">
66
<div class="mail-field">
67
<label for="wpcf7-mail-2-recipient"><?php _e('To:', 'wpcf7'); ?></label><br />
68
<input type="text" id="wpcf7-mail-2-recipient" name="wpcf7-mail-2-recipient" class="wide" size="70" value="<?php echo htmlspecialchars($cf['mail_2']['recipient']); ?>" />
79
<label for="wpcf7-mail-2-body"><?php _e('Message body:', 'wpcf7'); ?></label><br />
80
<textarea id="wpcf7-mail-2-body" name="wpcf7-mail-2-body" cols="100" rows="16"><?php echo htmlspecialchars($cf['mail_2']['body']); ?></textarea>
81
</div>
82
+ </div>
83
</div>
84
85
+ <div class="fieldset">
86
+ <div class="legend">
87
+ <?php _e('Messages', 'wpcf7'); ?>
88
+ <span id="message-fields-toggle-switch"></span>
89
+ </div>
90
+
91
+ <div id="message-fields">
92
+ <div class="message-field">
93
+ <label for="wpcf7-message-mail-sent-ok"><em># <?php _e("Sender's message was sent successfully", 'wpcf7'); ?></em></label><br />
94
+ <input type="text" id="wpcf7-message-mail-sent-ok" name="wpcf7-message-mail-sent-ok" class="wide" size="70" value="<?php echo htmlspecialchars($cf['messages']['mail_sent_ok']); ?>" />
95
+ </div>
96
+ <div class="message-field">
97
+ <label for="wpcf7-message-mail-sent-ng"><em># <?php _e("Sender's message was failed to send", 'wpcf7'); ?></em></label><br />
98
+ <input type="text" id="wpcf7-message-mail-sent-ng" name="wpcf7-message-mail-sent-ng" class="wide" size="70" value="<?php echo htmlspecialchars($cf['messages']['mail_sent_ng']); ?>" />
99
+ </div>
100
+ <div class="message-field">
101
+ <label for="wpcf7-message-akismet-says-spam"><em># <?php _e("Akismet judged the sending activity as spamming", 'wpcf7'); ?></em></label><br />
102
+ <input type="text" id="wpcf7-message-akismet-says-spam" name="wpcf7-message-akismet-says-spam" class="wide" size="70" value="<?php echo htmlspecialchars($cf['messages']['akismet_says_spam']); ?>" />
103
+ </div>
104
+ <div class="message-field">
105
+ <label for="wpcf7-message-validation-error"><em># <?php _e("Validation errors occurred", 'wpcf7'); ?></em></label><br />
106
+ <input type="text" id="wpcf7-message-validation-error" name="wpcf7-message-validation-error" class="wide" size="70" value="<?php echo htmlspecialchars($cf['messages']['validation_error']); ?>" />
107
+ </div>
108
+ <div class="message-field" style="margin-top: 1em;">
109
+ <label for="wpcf7-message-invalid-required"><em># <?php _e("There is a field that sender is needed to fill in", 'wpcf7'); ?></em></label><br />
110
+ <input type="text" id="wpcf7-message-invalid-required" name="wpcf7-message-invalid-required" class="wide" size="70" value="<?php echo htmlspecialchars($cf['messages']['invalid_required']); ?>" />
111
+ </div>
112
+ <div class="message-field">
113
+ <label for="wpcf7-message-invalid-email"><em># <?php _e("Email address that sender entered is invalid", 'wpcf7'); ?></em></label><br />
114
+ <input type="text" id="wpcf7-message-invalid-email" name="wpcf7-message-invalid-email" class="wide" size="70" value="<?php echo htmlspecialchars($cf['messages']['invalid_email']); ?>" />
115
+ </div>
116
+ <div class="message-field">
117
+ <label for="wpcf7-message-accept-terms"><em># <?php _e("There is a field of term that sender is needed to accept", 'wpcf7'); ?></em></label><br />
118
+ <input type="text" id="wpcf7-message-accept-terms" name="wpcf7-message-accept-terms" class="wide" size="70" value="<?php echo htmlspecialchars($cf['messages']['accept_terms']); ?>" />
119
+ </div>
120
+ <div class="message-field">
121
+ <label for="wpcf7-message-captcha-not-match"><em># <?php _e("The code that sender entered does not match the CAPTCHA", 'wpcf7'); ?></em></label><br />
122
+ <input type="text" id="wpcf7-message-captcha-not-match" name="wpcf7-message-captcha-not-match" class="wide" size="70" value="<?php echo htmlspecialchars($cf['messages']['captcha_not_match']); ?>" />
123
+ </div>
124
+ </div>
125
+ </div>
126
+
127
<input type="hidden" id="wpcf7-options-recipient" name="wpcf7-options-recipient" value="<?php echo htmlspecialchars($cf['options']['recipient']); ?>" />
128
129
<div>
140
<?php endif; ?>
141
</form>
142
</div>
143
+ <?php endif; ?>
144
+
145
+ <?php if (version_compare($wp_version, '2.7-alpha', '>=')) : ?><br class="clear" /><?php endif; ?>
languages/wpcf7-ja.mo CHANGED
Binary file
languages/wpcf7-ja.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
msgstr ""
3
"Project-Id-Version: Contact Form 7\n"
4
"Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2008-08-10 18:56+0900\n"
6
- "PO-Revision-Date: 2008-08-10 18:57+0900\n"
7
"Last-Translator: Takayuki Miyoshi <takayukister@gmail.com>\n"
8
"Language-Team: Takayuki Miyoshi <takayukister@gmail.com>\n"
9
"MIME-Version: 1.0\n"
@@ -17,234 +17,243 @@ msgstr ""
17
"Plural-Forms: nplurals=1; plural=0;\n"
18
"X-Poedit-SearchPath-0: contact-form-7\n"
19
20
- #: contact-form-7/wp-contact-form-7.php:309
21
msgid "Contact form"
22
msgstr "コンタクトフォーム"
23
24
- #: contact-form-7/wp-contact-form-7.php:403
25
#: contact-form-7/includes/admin-panel.php:5
26
msgid "Contact Form 7"
27
msgstr "Contact Form 7"
28
29
- #: contact-form-7/wp-contact-form-7.php:419
30
msgid "optional"
31
msgstr "オプション"
32
33
- #: contact-form-7/wp-contact-form-7.php:420
34
msgid "Generate Tag"
35
msgstr "タグの作成"
36
37
- #: contact-form-7/wp-contact-form-7.php:421
38
msgid "Text field"
39
msgstr "テキスト項目"
40
41
- #: contact-form-7/wp-contact-form-7.php:422
42
msgid "Email field"
43
msgstr "メールアドレス項目"
44
45
- #: contact-form-7/wp-contact-form-7.php:423
46
msgid "Text area"
47
msgstr "テキストエリア"
48
49
- #: contact-form-7/wp-contact-form-7.php:424
50
msgid "Drop-down menu"
51
msgstr "ドロップダウン・メニュー"
52
53
- #: contact-form-7/wp-contact-form-7.php:425
54
msgid "Checkboxes"
55
msgstr "チェックボックス"
56
57
- #: contact-form-7/wp-contact-form-7.php:426
58
msgid "Radio buttons"
59
msgstr "ラジオボタン"
60
61
- #: contact-form-7/wp-contact-form-7.php:427
62
msgid "Acceptance"
63
msgstr "承諾の確認"
64
65
- #: contact-form-7/wp-contact-form-7.php:428
66
msgid "Make this checkbox checked by default?"
67
msgstr "初期状態でチェックボックスにチェックを入れますか?"
68
69
- #: contact-form-7/wp-contact-form-7.php:429
70
msgid "Make this checkbox work inversely?"
71
msgstr "チェックボックスを反転させますか?"
72
73
- #: contact-form-7/wp-contact-form-7.php:430
74
msgid "* That means visitor who accepts the term unchecks it."
75
msgstr "* つまり、利用者には条項に承諾する場合にチェックボックスのチェックをはずしてもらいます。"
76
77
- #: contact-form-7/wp-contact-form-7.php:431
78
msgid "CAPTCHA"
79
msgstr "CAPTCHA"
80
81
- #: contact-form-7/wp-contact-form-7.php:432
82
msgid "Submit button"
83
msgstr "送信ボタン"
84
85
- #: contact-form-7/wp-contact-form-7.php:433
86
msgid "Name"
87
msgstr "名前"
88
89
- #: contact-form-7/wp-contact-form-7.php:434
90
msgid "Required field?"
91
msgstr "必須入力の項目ですか?"
92
93
- #: contact-form-7/wp-contact-form-7.php:435
94
msgid "Allow multiple selections?"
95
msgstr "複数選択を可能にしますか?"
96
97
- #: contact-form-7/wp-contact-form-7.php:436
98
msgid "Insert a blank item as the first option?"
99
msgstr "先頭に空の項目を挿入しますか?"
100
101
- #: contact-form-7/wp-contact-form-7.php:437
102
msgid "Make checkboxes exclusive?"
103
msgstr "チェックボックスを排他化しますか?"
104
105
- #: contact-form-7/wp-contact-form-7.php:438
106
msgid "Choices"
107
msgstr "選択項目"
108
109
- #: contact-form-7/wp-contact-form-7.php:439
110
msgid "Label"
111
msgstr "ラベル"
112
113
- #: contact-form-7/wp-contact-form-7.php:440
114
msgid "Default value"
115
msgstr "デフォルト値"
116
117
- #: contact-form-7/wp-contact-form-7.php:441
118
msgid "Akismet"
119
msgstr "Akismet"
120
121
- #: contact-form-7/wp-contact-form-7.php:442
122
msgid "This field requires author's name"
123
msgstr "送信者の名前の入力を要求する項目"
124
125
- #: contact-form-7/wp-contact-form-7.php:443
126
msgid "This field requires author's URL"
127
msgstr "送信者の URL の入力を要求する項目"
128
129
- #: contact-form-7/wp-contact-form-7.php:444
130
msgid "This field requires author's email address"
131
msgstr "送信者のメールアドレスの入力を要求する項目"
132
133
- #: contact-form-7/wp-contact-form-7.php:445
134
msgid "Copy and paste this code into the form"
135
msgstr "次のコードをコピーしてフォームにペーストして下さい。"
136
137
- #: contact-form-7/wp-contact-form-7.php:446
138
msgid "Foreground color"
139
msgstr "文字色"
140
141
- #: contact-form-7/wp-contact-form-7.php:447
142
msgid "Background color"
143
msgstr "背景色"
144
145
- #: contact-form-7/wp-contact-form-7.php:448
146
msgid "Image size"
147
msgstr "画像サイズ"
148
149
- #: contact-form-7/wp-contact-form-7.php:449
150
msgid "Small"
151
msgstr "小"
152
153
- #: contact-form-7/wp-contact-form-7.php:450
154
msgid "Medium"
155
msgstr "中"
156
157
- #: contact-form-7/wp-contact-form-7.php:451
158
msgid "Large"
159
msgstr "大"
160
161
- #: contact-form-7/wp-contact-form-7.php:452
162
msgid "Image settings"
163
msgstr "画像の設定"
164
165
- #: contact-form-7/wp-contact-form-7.php:453
166
msgid "Input field settings"
167
msgstr "入力項目の設定"
168
169
- #: contact-form-7/wp-contact-form-7.php:454
170
msgid "For image"
171
msgstr "画像"
172
173
- #: contact-form-7/wp-contact-form-7.php:455
174
msgid "For input field"
175
msgstr "入力項目"
176
177
- #: contact-form-7/wp-contact-form-7.php:456
178
msgid "* One choice per line."
179
msgstr "* 1行ごとに分けて入力してください。"
180
181
- #: contact-form-7/wp-contact-form-7.php:483
182
msgid "Contact form created."
183
msgstr "コンタクトフォームが作成されました。"
184
185
- #: contact-form-7/wp-contact-form-7.php:486
186
msgid "Contact form saved."
187
msgstr "コンタクトフォームが保存されました。"
188
189
- #: contact-form-7/wp-contact-form-7.php:489
190
msgid "Contact form deleted."
191
msgstr "コンタクトフォームが削除されました。"
192
193
- #: contact-form-7/wp-contact-form-7.php:496
194
msgid "Untitled"
195
msgstr "無題"
196
197
- #: contact-form-7/wp-contact-form-7.php:522
198
msgid "Your Name"
199
msgstr "お名前"
200
201
- #: contact-form-7/wp-contact-form-7.php:522
202
- #: contact-form-7/wp-contact-form-7.php:524
203
msgid "(required)"
204
msgstr "(必須)"
205
206
- #: contact-form-7/wp-contact-form-7.php:524
207
msgid "Your Email"
208
msgstr "メールアドレス"
209
210
- #: contact-form-7/wp-contact-form-7.php:526
211
msgid "Subject"
212
msgstr "題名"
213
214
- #: contact-form-7/wp-contact-form-7.php:528
215
msgid "Your Message"
216
msgstr "メッセージ本文"
217
218
- #: contact-form-7/wp-contact-form-7.php:530
219
- #: contact-form-7/wp-contact-form-7.php:1046
220
msgid "Send"
221
msgstr "送信"
222
223
- #: contact-form-7/wp-contact-form-7.php:559
224
msgid "Your message was sent successfully. Thanks."
225
msgstr "あなたのメッセージは送信されました。ありがとうございました。"
226
227
- #: contact-form-7/wp-contact-form-7.php:561
228
msgid "Failed to send your message. Please try later or contact administrator by other way."
229
msgstr "メッセージの送信に失敗しました。間をおいてもう一度お試しいただくか、別の手段で管理者にお問い合わせ下さい。"
230
231
- #: contact-form-7/wp-contact-form-7.php:563
232
msgid "Validation errors occurred. Please confirm the fields and submit it again."
233
msgstr "入力内容に不備があります。確認してもう一度送信してください。"
234
235
- #: contact-form-7/wp-contact-form-7.php:565
236
msgid "Please accept the terms to proceed."
237
msgstr "進めるには条項の承諾が必要です。"
238
239
- #: contact-form-7/wp-contact-form-7.php:567
240
msgid "Email address seems invalid."
241
msgstr "メールアドレスの形式が正しくないようです。"
242
243
- #: contact-form-7/wp-contact-form-7.php:569
244
msgid "Please fill the required field."
245
msgstr "必須項目に記入もれがあります。"
246
247
- #: contact-form-7/wp-contact-form-7.php:571
248
msgid "Your entered code is incorrect."
249
msgstr "入力されたコードが正しくありません。"
250
@@ -265,22 +274,22 @@ msgid "Mail"
265
msgstr "メール"
266
267
#: contact-form-7/includes/admin-panel.php:44
268
- #: contact-form-7/includes/admin-panel.php:65
269
msgid "To:"
270
msgstr "宛先:"
271
272
#: contact-form-7/includes/admin-panel.php:48
273
- #: contact-form-7/includes/admin-panel.php:69
274
msgid "From:"
275
msgstr "差出人:"
276
277
#: contact-form-7/includes/admin-panel.php:52
278
- #: contact-form-7/includes/admin-panel.php:73
279
msgid "Subject:"
280
msgstr "件名:"
281
282
#: contact-form-7/includes/admin-panel.php:56
283
- #: contact-form-7/includes/admin-panel.php:77
284
msgid "Message body:"
285
msgstr "メッセージ本文:"
286
@@ -292,15 +301,51 @@ msgstr "メール (2)"
292
msgid "Use mail (2)"
293
msgstr "メール (2) を使う"
294
295
- #: contact-form-7/includes/admin-panel.php:85
296
msgid "Save"
297
msgstr "保存"
298
299
- #: contact-form-7/includes/admin-panel.php:92
300
msgid "Delete this contact form"
301
msgstr "このコンタクトフォームを削除"
302
303
- #: contact-form-7/includes/admin-panel.php:93
304
msgid ""
305
"You are about to delete this contact form.\n"
306
" 'Cancel' to stop, 'OK' to delete."
2
msgstr ""
3
"Project-Id-Version: Contact Form 7\n"
4
"Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2008-11-08 23:29+0900\n"
6
+ "PO-Revision-Date: 2008-11-08 23:31+0900\n"
7
"Last-Translator: Takayuki Miyoshi <takayukister@gmail.com>\n"
8
"Language-Team: Takayuki Miyoshi <takayukister@gmail.com>\n"
9
"MIME-Version: 1.0\n"
17
"Plural-Forms: nplurals=1; plural=0;\n"
18
"X-Poedit-SearchPath-0: contact-form-7\n"
19
20
+ #: contact-form-7/wp-contact-form-7.php:323
21
msgid "Contact form"
22
msgstr "コンタクトフォーム"
23
24
+ #: contact-form-7/wp-contact-form-7.php:456
25
#: contact-form-7/includes/admin-panel.php:5
26
msgid "Contact Form 7"
27
msgstr "Contact Form 7"
28
29
+ #: contact-form-7/wp-contact-form-7.php:494
30
msgid "optional"
31
msgstr "オプション"
32
33
+ #: contact-form-7/wp-contact-form-7.php:495
34
msgid "Generate Tag"
35
msgstr "タグの作成"
36
37
+ #: contact-form-7/wp-contact-form-7.php:496
38
msgid "Text field"
39
msgstr "テキスト項目"
40
41
+ #: contact-form-7/wp-contact-form-7.php:497
42
msgid "Email field"
43
msgstr "メールアドレス項目"
44
45
+ #: contact-form-7/wp-contact-form-7.php:498
46
msgid "Text area"
47
msgstr "テキストエリア"
48
49
+ #: contact-form-7/wp-contact-form-7.php:499
50
msgid "Drop-down menu"
51
msgstr "ドロップダウン・メニュー"
52
53
+ #: contact-form-7/wp-contact-form-7.php:500
54
msgid "Checkboxes"
55
msgstr "チェックボックス"
56
57
+ #: contact-form-7/wp-contact-form-7.php:501
58
msgid "Radio buttons"
59
msgstr "ラジオボタン"
60
61
+ #: contact-form-7/wp-contact-form-7.php:502
62
msgid "Acceptance"
63
msgstr "承諾の確認"
64
65
+ #: contact-form-7/wp-contact-form-7.php:503
66
msgid "Make this checkbox checked by default?"
67
msgstr "初期状態でチェックボックスにチェックを入れますか?"
68
69
+ #: contact-form-7/wp-contact-form-7.php:504
70
msgid "Make this checkbox work inversely?"
71
msgstr "チェックボックスを反転させますか?"
72
73
+ #: contact-form-7/wp-contact-form-7.php:505
74
msgid "* That means visitor who accepts the term unchecks it."
75
msgstr "* つまり、利用者には条項に承諾する場合にチェックボックスのチェックをはずしてもらいます。"
76
77
+ #: contact-form-7/wp-contact-form-7.php:506
78
msgid "CAPTCHA"
79
msgstr "CAPTCHA"
80
81
+ #: contact-form-7/wp-contact-form-7.php:507
82
msgid "Submit button"
83
msgstr "送信ボタン"
84
85
+ #: contact-form-7/wp-contact-form-7.php:508
86
msgid "Name"
87
msgstr "名前"
88
89
+ #: contact-form-7/wp-contact-form-7.php:509
90
msgid "Required field?"
91
msgstr "必須入力の項目ですか?"
92
93
+ #: contact-form-7/wp-contact-form-7.php:510
94
msgid "Allow multiple selections?"
95
msgstr "複数選択を可能にしますか?"
96
97
+ #: contact-form-7/wp-contact-form-7.php:511
98
msgid "Insert a blank item as the first option?"
99
msgstr "先頭に空の項目を挿入しますか?"
100
101
+ #: contact-form-7/wp-contact-form-7.php:512
102
msgid "Make checkboxes exclusive?"
103
msgstr "チェックボックスを排他化しますか?"
104
105
+ #: contact-form-7/wp-contact-form-7.php:513
106
msgid "Choices"
107
msgstr "選択項目"
108
109
+ #: contact-form-7/wp-contact-form-7.php:514
110
msgid "Label"
111
msgstr "ラベル"
112
113
+ #: contact-form-7/wp-contact-form-7.php:515
114
msgid "Default value"
115
msgstr "デフォルト値"
116
117
+ #: contact-form-7/wp-contact-form-7.php:516
118
msgid "Akismet"
119
msgstr "Akismet"
120
121
+ #: contact-form-7/wp-contact-form-7.php:517
122
msgid "This field requires author's name"
123
msgstr "送信者の名前の入力を要求する項目"
124
125
+ #: contact-form-7/wp-contact-form-7.php:518
126
msgid "This field requires author's URL"
127
msgstr "送信者の URL の入力を要求する項目"
128
129
+ #: contact-form-7/wp-contact-form-7.php:519
130
msgid "This field requires author's email address"
131
msgstr "送信者のメールアドレスの入力を要求する項目"
132
133
+ #: contact-form-7/wp-contact-form-7.php:520
134
msgid "Copy and paste this code into the form"
135
msgstr "次のコードをコピーしてフォームにペーストして下さい。"
136
137
+ #: contact-form-7/wp-contact-form-7.php:521
138
msgid "Foreground color"
139
msgstr "文字色"
140
141
+ #: contact-form-7/wp-contact-form-7.php:522
142
msgid "Background color"
143
msgstr "背景色"
144
145
+ #: contact-form-7/wp-contact-form-7.php:523
146
msgid "Image size"
147
msgstr "画像サイズ"
148
149
+ #: contact-form-7/wp-contact-form-7.php:524
150
msgid "Small"
151
msgstr "小"
152
153
+ #: contact-form-7/wp-contact-form-7.php:525
154
msgid "Medium"
155
msgstr "中"
156
157
+ #: contact-form-7/wp-contact-form-7.php:526
158
msgid "Large"
159
msgstr "大"
160
161
+ #: contact-form-7/wp-contact-form-7.php:527
162
msgid "Image settings"
163
msgstr "画像の設定"
164
165
+ #: contact-form-7/wp-contact-form-7.php:528
166
msgid "Input field settings"
167
msgstr "入力項目の設定"
168
169
+ #: contact-form-7/wp-contact-form-7.php:529
170
msgid "For image"
171
msgstr "画像"
172
173
+ #: contact-form-7/wp-contact-form-7.php:530
174
msgid "For input field"
175
msgstr "入力項目"
176
177
+ #: contact-form-7/wp-contact-form-7.php:531
178
msgid "* One choice per line."
179
msgstr "* 1行ごとに分けて入力してください。"
180
181
+ #: contact-form-7/wp-contact-form-7.php:532
182
+ msgid "Show"
183
+ msgstr "表示"
184
+
185
+ #: contact-form-7/wp-contact-form-7.php:533
186
+ msgid "Hide"
187
+ msgstr "非表示"
188
+
189
+ #: contact-form-7/wp-contact-form-7.php:559
190
msgid "Contact form created."
191
msgstr "コンタクトフォームが作成されました。"
192
193
+ #: contact-form-7/wp-contact-form-7.php:562
194
msgid "Contact form saved."
195
msgstr "コンタクトフォームが保存されました。"
196
197
+ #: contact-form-7/wp-contact-form-7.php:565
198
msgid "Contact form deleted."
199
msgstr "コンタクトフォームが削除されました。"
200
201
+ #: contact-form-7/wp-contact-form-7.php:576
202
msgid "Untitled"
203
msgstr "無題"
204
205
+ #: contact-form-7/wp-contact-form-7.php:603
206
msgid "Your Name"
207
msgstr "お名前"
208
209
+ #: contact-form-7/wp-contact-form-7.php:603
210
+ #: contact-form-7/wp-contact-form-7.php:605
211
msgid "(required)"
212
msgstr "(必須)"
213
214
+ #: contact-form-7/wp-contact-form-7.php:605
215
msgid "Your Email"
216
msgstr "メールアドレス"
217
218
+ #: contact-form-7/wp-contact-form-7.php:607
219
msgid "Subject"
220
msgstr "題名"
221
222
+ #: contact-form-7/wp-contact-form-7.php:609
223
msgid "Your Message"
224
msgstr "メッセージ本文"
225
226
+ #: contact-form-7/wp-contact-form-7.php:611
227
+ #: contact-form-7/wp-contact-form-7.php:1158
228
msgid "Send"
229
msgstr "送信"
230
231
+ #: contact-form-7/wp-contact-form-7.php:659
232
msgid "Your message was sent successfully. Thanks."
233
msgstr "あなたのメッセージは送信されました。ありがとうございました。"
234
235
+ #: contact-form-7/wp-contact-form-7.php:661
236
+ #: contact-form-7/wp-contact-form-7.php:663
237
msgid "Failed to send your message. Please try later or contact administrator by other way."
238
msgstr "メッセージの送信に失敗しました。間をおいてもう一度お試しいただくか、別の手段で管理者にお問い合わせ下さい。"
239
240
+ #: contact-form-7/wp-contact-form-7.php:665
241
msgid "Validation errors occurred. Please confirm the fields and submit it again."
242
msgstr "入力内容に不備があります。確認してもう一度送信してください。"
243
244
+ #: contact-form-7/wp-contact-form-7.php:667
245
msgid "Please accept the terms to proceed."
246
msgstr "進めるには条項の承諾が必要です。"
247
248
+ #: contact-form-7/wp-contact-form-7.php:669
249
msgid "Email address seems invalid."
250
msgstr "メールアドレスの形式が正しくないようです。"
251
252
+ #: contact-form-7/wp-contact-form-7.php:671
253
msgid "Please fill the required field."
254
msgstr "必須項目に記入もれがあります。"
255
256
+ #: contact-form-7/wp-contact-form-7.php:673
257
msgid "Your entered code is incorrect."
258
msgstr "入力されたコードが正しくありません。"
259
274
msgstr "メール"
275
276
#: contact-form-7/includes/admin-panel.php:44
277
+ #: contact-form-7/includes/admin-panel.php:67
278
msgid "To:"
279
msgstr "宛先:"
280
281
#: contact-form-7/includes/admin-panel.php:48
282
+ #: contact-form-7/includes/admin-panel.php:71
283
msgid "From:"
284
msgstr "差出人:"
285
286
#: contact-form-7/includes/admin-panel.php:52
287
+ #: contact-form-7/includes/admin-panel.php:75
288
msgid "Subject:"
289
msgstr "件名:"
290
291
#: contact-form-7/includes/admin-panel.php:56
292
+ #: contact-form-7/includes/admin-panel.php:79
293
msgid "Message body:"
294
msgstr "メッセージ本文:"
295
301
msgid "Use mail (2)"
302
msgstr "メール (2) を使う"
303
304
+ #: contact-form-7/includes/admin-panel.php:87
305
+ msgid "Messages"
306
+ msgstr "メッセージ"
307
+
308
+ #: contact-form-7/includes/admin-panel.php:93
309
+ msgid "Sender's message was sent successfully"
310
+ msgstr "メッセージが正常に送信された"
311
+
312
+ #: contact-form-7/includes/admin-panel.php:97
313
+ msgid "Sender's message was failed to send"
314
+ msgstr "メッセージの送信に失敗した"
315
+
316
+ #: contact-form-7/includes/admin-panel.php:101
317
+ msgid "Akismet judged the sending activity as spamming"
318
+ msgstr "Akismet によりスパム行為と判定された"
319
+
320
+ #: contact-form-7/includes/admin-panel.php:105
321
+ msgid "Validation errors occurred"
322
+ msgstr "入力内容に不備が見つかった"
323
+
324
+ #: contact-form-7/includes/admin-panel.php:109
325
+ msgid "There is a field of term that sender is needed to accept"
326
+ msgstr "承諾が必要な項目が承諾されていない"
327
+
328
+ #: contact-form-7/includes/admin-panel.php:113
329
+ msgid "Email address that sender entered is invalid"
330
+ msgstr "入力されたメールアドレスの形式が正しくない"
331
+
332
+ #: contact-form-7/includes/admin-panel.php:117
333
+ msgid "There is a field that sender is needed to fill in"
334
+ msgstr "入力必須の項目が入力されていない"
335
+
336
+ #: contact-form-7/includes/admin-panel.php:121
337
+ msgid "The code that sender entered does not match the CAPTCHA"
338
+ msgstr "入力されたコードが CAPTCHA に適合していない"
339
+
340
+ #: contact-form-7/includes/admin-panel.php:130
341
msgid "Save"
342
msgstr "保存"
343
344
+ #: contact-form-7/includes/admin-panel.php:137
345
msgid "Delete this contact form"
346
msgstr "このコンタクトフォームを削除"
347
348
+ #: contact-form-7/includes/admin-panel.php:138
349
msgid ""
350
"You are about to delete this contact form.\n"
351
" 'Cancel' to stop, 'OK' to delete."
languages/wpcf7-sq.mo ADDED
Binary file
languages/wpcf7-sq.po ADDED
@@ -0,0 +1,305 @@
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: wpcf7-lv_LV\n"
4
+ "POT-Creation-Date: \n"
5
+ "PO-Revision-Date: 2008-11-02 21:09+0900\n"
6
+ "Last-Translator: Takayuki Miyoshi <takayukister@gmail.com>\n"
7
+ "Language-Team: Kleofass.lv <spam@kleofass.lv>\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-Language: Latvian\n"
12
+ "X-Poedit-Country: LATVIA\n"
13
+ "X-Poedit-SourceCharset: utf-8\n"
14
+
15
+ #: contact-form-7/wp-contact-form-7.php:271
16
+ msgid "Contact form"
17
+ msgstr "Form Kontakti"
18
+
19
+ #: contact-form-7/wp-contact-form-7.php:356
20
+ #: contact-form-7/includes/admin-panel.php:5
21
+ msgid "Contact Form 7"
22
+ msgstr "Form Kontakti 7"
23
+
24
+ #: contact-form-7/wp-contact-form-7.php:372
25
+ msgid "optional"
26
+ msgstr "opsionale"
27
+
28
+ #: contact-form-7/wp-contact-form-7.php:373
29
+ msgid "Generate Tag"
30
+ msgstr "Gjenero Etiketë"
31
+
32
+ #: contact-form-7/wp-contact-form-7.php:374
33
+ msgid "Text field"
34
+ msgstr "Fusha e tekstit"
35
+
36
+ #: contact-form-7/wp-contact-form-7.php:375
37
+ msgid "Email field"
38
+ msgstr "Fusha e tekstit"
39
+
40
+ #: contact-form-7/wp-contact-form-7.php:376
41
+ msgid "Text area"
42
+ msgstr "Hapësira e tekstit"
43
+
44
+ #: contact-form-7/wp-contact-form-7.php:377
45
+ msgid "Drop-down menu"
46
+ msgstr "Menu Drop-Down"
47
+
48
+ #: contact-form-7/wp-contact-form-7.php:378
49
+ msgid "Checkboxes"
50
+ msgstr "Kuti Zgjedhje"
51
+
52
+ #: contact-form-7/wp-contact-form-7.php:379
53
+ msgid "Radio buttons"
54
+ msgstr "Butona Radio"
55
+
56
+ #: contact-form-7/wp-contact-form-7.php:380
57
+ msgid "Acceptance"
58
+ msgstr "Pranim"
59
+
60
+ #: contact-form-7/wp-contact-form-7.php:381
61
+ msgid "Make this checkbox checked by default?"
62
+ msgstr "Bëje këtë kuti te zgjedhur që në fillim?"
63
+
64
+ #: contact-form-7/wp-contact-form-7.php:382
65
+ msgid "Make this checkbox work inversely?"
66
+ msgstr "Bëje këte kuti te punojë në të kundërt?"
67
+
68
+ #: contact-form-7/wp-contact-form-7.php:383
69
+ msgid "* That means visitor who accepts the term unchecks it."
70
+ msgstr "* Kjo do të thotë që vizitori që pranon ktë term nuk e zgjedh atë"
71
+
72
+ #: contact-form-7/wp-contact-form-7.php:384
73
+ msgid "CAPTCHA"
74
+ msgstr "CAPTCHA"
75
+
76
+ #: contact-form-7/wp-contact-form-7.php:385
77
+ msgid "Submit button"
78
+ msgstr "Butoni i Pranimit"
79
+
80
+ #: contact-form-7/wp-contact-form-7.php:386
81
+ msgid "Name"
82
+ msgstr "Emri"
83
+
84
+ #: contact-form-7/wp-contact-form-7.php:387
85
+ msgid "Required field?"
86
+ msgstr "Fusha të domosdoshme"
87
+
88
+ #: contact-form-7/wp-contact-form-7.php:388
89
+ msgid "Allow multiple selections?"
90
+ msgstr "Lejo zgjedhje të shumta"
91
+
92
+ #: contact-form-7/wp-contact-form-7.php:389
93
+ msgid "Insert a blank item as the first option?"
94
+ msgstr "Vendos një gjë bosh si opsionin e parë?"
95
+
96
+ #: contact-form-7/wp-contact-form-7.php:390
97
+ msgid "Make checkboxes exclusive?"
98
+ msgstr "Beji kutitë e zgjedhjeve eksluzive?"
99
+
100
+ #: contact-form-7/wp-contact-form-7.php:391
101
+ msgid "Choices"
102
+ msgstr "Zgjedhje"
103
+
104
+ #: contact-form-7/wp-contact-form-7.php:392
105
+ msgid "Label"
106
+ msgstr "Etiketë"
107
+
108
+ #: contact-form-7/wp-contact-form-7.php:393
109
+ msgid "Default value"
110
+ msgstr "Vlera fillestare"
111
+
112
+ #: contact-form-7/wp-contact-form-7.php:394
113
+ msgid "Akismet"
114
+ msgstr "Akismet"
115
+
116
+ #: contact-form-7/wp-contact-form-7.php:395
117
+ msgid "This field requires author's name"
118
+ msgstr "Kjo fushë kërkon emrin e autorit"
119
+
120
+ #: contact-form-7/wp-contact-form-7.php:396
121
+ msgid "This field requires author's URL"
122
+ msgstr "Kjo fushë kërkon URL-në e autorit"
123
+
124
+ #: contact-form-7/wp-contact-form-7.php:397
125
+ msgid "This field requires author's email address"
126
+ msgstr "Kjo fushë kërkon adresen e autorit"
127
+
128
+ #: contact-form-7/wp-contact-form-7.php:398
129
+ msgid "Copy and paste this code into the form"
130
+ msgstr "Kopjo dhe ngjit këte kod tek forma"
131
+
132
+ #: contact-form-7/wp-contact-form-7.php:399
133
+ msgid "Foreground color"
134
+ msgstr "Ngjyra e Forgroundit"
135
+
136
+ #: contact-form-7/wp-contact-form-7.php:400
137
+ msgid "Background color"
138
+ msgstr "Ngjyra e Backgroundit"
139
+
140
+ #: contact-form-7/wp-contact-form-7.php:401
141
+ msgid "Image size"
142
+ msgstr "Madhësia e imazhit"
143
+
144
+ #: contact-form-7/wp-contact-form-7.php:402
145
+ msgid "Small"
146
+ msgstr "E vogël"
147
+
148
+ #: contact-form-7/wp-contact-form-7.php:403
149
+ msgid "Medium"
150
+ msgstr "Mesatare"
151
+
152
+ #: contact-form-7/wp-contact-form-7.php:404
153
+ msgid "Large"
154
+ msgstr "E madhe"
155
+
156
+ #: contact-form-7/wp-contact-form-7.php:405
157
+ msgid "Image settings"
158
+ msgstr "Konfigurimi i Imazhit"
159
+
160
+ #: contact-form-7/wp-contact-form-7.php:406
161
+ msgid "Input field settings"
162
+ msgstr "Konfigurimi i Fushave Te Vendosjes"
163
+
164
+ #: contact-form-7/wp-contact-form-7.php:407
165
+ msgid "For image"
166
+ msgstr "Për Imazh"
167
+
168
+ #: contact-form-7/wp-contact-form-7.php:408
169
+ msgid "For input field"
170
+ msgstr "Per fushen qe do vendosi"
171
+
172
+ #: contact-form-7/wp-contact-form-7.php:409
173
+ msgid "* One choice per line."
174
+ msgstr "* Një zgjedhje për cdo rresht"
175
+
176
+ #: contact-form-7/wp-contact-form-7.php:428
177
+ msgid "Contact form created."
178
+ msgstr "Forma e Kontaktit u krijua"
179
+
180
+ #: contact-form-7/wp-contact-form-7.php:431
181
+ msgid "Contact form saved."
182
+ msgstr "Forma e kontaktit u ruajt"
183
+
184
+ #: contact-form-7/wp-contact-form-7.php:434
185
+ msgid "Contact form deleted."
186
+ msgstr "Forma e kontaktit u fshi"
187
+
188
+ #: contact-form-7/wp-contact-form-7.php:441
189
+ msgid "Untitled"
190
+ msgstr "Pa Titull"
191
+
192
+ #: contact-form-7/wp-contact-form-7.php:465
193
+ msgid "Your Name"
194
+ msgstr "Emri Jot"
195
+
196
+ #: contact-form-7/wp-contact-form-7.php:465
197
+ #: contact-form-7/wp-contact-form-7.php:467
198
+ msgid "(required)"
199
+ msgstr "(e domosdoshme)"
200
+
201
+ #: contact-form-7/wp-contact-form-7.php:467
202
+ msgid "Your Email"
203
+ msgstr "Adresa Jote"
204
+
205
+ #: contact-form-7/wp-contact-form-7.php:469
206
+ msgid "Subject"
207
+ msgstr "Subjekti"
208
+
209
+ #: contact-form-7/wp-contact-form-7.php:471
210
+ msgid "Your Message"
211
+ msgstr "Mesazhi Juaj"
212
+
213
+ #: contact-form-7/wp-contact-form-7.php:473
214
+ #: contact-form-7/wp-contact-form-7.php:956
215
+ msgid "Send"
216
+ msgstr "Dergo"
217
+
218
+ #: contact-form-7/wp-contact-form-7.php:502
219
+ msgid "Your message was sent successfully. Thanks."
220
+ msgstr "Mesazhi juaj u dërgua me sukses. Faleminderit"
221
+
222
+ #: contact-form-7/wp-contact-form-7.php:504
223
+ msgid "Failed to send your message. Please try later or contact administrator by other way."
224
+ msgstr "Gabim në dërgimin e mesazhit tuaj. Ju lutem provojeni përsëri ose kontaktoni administratorin"
225
+
226
+ #: contact-form-7/wp-contact-form-7.php:506
227
+ msgid "Validation errors occurred. Please confirm the fields and submit it again."
228
+ msgstr "Disa gabime ndodhën. Ju lutem konfirmoni të gjitha fushat dhe provojeni përsëri"
229
+
230
+ #: contact-form-7/wp-contact-form-7.php:508
231
+ msgid "Please accept the terms to proceed."
232
+ msgstr "Ju lutem pranoni rregullat për të vazhduar"
233
+
234
+ #: contact-form-7/wp-contact-form-7.php:510
235
+ msgid "Email address seems invalid."
236
+ msgstr "Adresa e emailit nuk është e sakt"
237
+
238
+ #: contact-form-7/wp-contact-form-7.php:512
239
+ msgid "Please fill the required field."
240
+ msgstr "Ju lutem plotësoni fushat e domosdoshme"
241
+
242
+ #: contact-form-7/wp-contact-form-7.php:514
243
+ msgid "Your entered code is incorrect."
244
+ msgstr "Kodi që futët është gabim"
245
+
246
+ #: contact-form-7/includes/admin-panel.php:15
247
+ msgid "Add new"
248
+ msgstr "Shto të Re"
249
+
250
+ #: contact-form-7/includes/admin-panel.php:28
251
+ msgid "Copy and paste this code into your post content."
252
+ msgstr "Kopjo dhe ngjit këtë kod në përmbajtjen e postimit tënd"
253
+
254
+ #: contact-form-7/includes/admin-panel.php:33
255
+ msgid "Form"
256
+ msgstr "Formë"
257
+
258
+ #: contact-form-7/includes/admin-panel.php:37
259
+ msgid "Mail"
260
+ msgstr "Email"
261
+
262
+ #: contact-form-7/includes/admin-panel.php:39
263
+ #: contact-form-7/includes/admin-panel.php:60
264
+ msgid "To:"
265
+ msgstr "Për"
266
+
267
+ #: contact-form-7/includes/admin-panel.php:43
268
+ #: contact-form-7/includes/admin-panel.php:64
269
+ msgid "From:"
270
+ msgstr "Nga:"
271
+
272
+ #: contact-form-7/includes/admin-panel.php:47
273
+ #: contact-form-7/includes/admin-panel.php:68
274
+ msgid "Subject:"
275
+ msgstr "Subjekti"
276
+
277
+ #: contact-form-7/includes/admin-panel.php:51
278
+ #: contact-form-7/includes/admin-panel.php:72
279
+ msgid "Message body:"
280
+ msgstr "Mesazhi"
281
+
282
+ #: contact-form-7/includes/admin-panel.php:56
283
+ msgid "Mail (2)"
284
+ msgstr "Email (2)"
285
+
286
+ #: contact-form-7/includes/admin-panel.php:58
287
+ msgid "Use mail (2)"
288
+ msgstr "Përdor email (2)"
289
+
290
+ #: contact-form-7/includes/admin-panel.php:80
291
+ msgid "Save"
292
+ msgstr "Ruaj"
293
+
294
+ #: contact-form-7/includes/admin-panel.php:86
295
+ msgid "Delete this contact form"
296
+ msgstr "Fshijë këte form kontakti"
297
+
298
+ #: contact-form-7/includes/admin-panel.php:87
299
+ msgid ""
300
+ "You are about to delete this contact form.\n"
301
+ " 'Cancel' to stop, 'OK' to delete."
302
+ msgstr ""
303
+ "Jeni duke fshirë këtë form kontakti.\n"
304
+ " 'Anullo' ose 'OK' per ta fshirë"
305
+
languages/wpcf7.pot CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
msgstr ""
3
"Project-Id-Version: Contact Form 7\n"
4
"Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2008-08-10 18:56+0900\n"
6
- "PO-Revision-Date: 2008-08-10 18:56+0900\n"
7
"Last-Translator: Takayuki Miyoshi <takayukister@gmail.com>\n"
8
"Language-Team: \n"
9
"MIME-Version: 1.0\n"
@@ -15,234 +15,243 @@ msgstr ""
15
"Plural-Forms: nplurals=1; plural=0;\n"
16
"X-Poedit-SearchPath-0: contact-form-7\n"
17
18
- #: contact-form-7/wp-contact-form-7.php:309
19
msgid "Contact form"
20
msgstr ""
21
22
- #: contact-form-7/wp-contact-form-7.php:403
23
#: contact-form-7/includes/admin-panel.php:5
24
msgid "Contact Form 7"
25
msgstr ""
26
27
- #: contact-form-7/wp-contact-form-7.php:419
28
msgid "optional"
29
msgstr ""
30
31
- #: contact-form-7/wp-contact-form-7.php:420
32
msgid "Generate Tag"
33
msgstr ""
34
35
- #: contact-form-7/wp-contact-form-7.php:421
36
msgid "Text field"
37
msgstr ""
38
39
- #: contact-form-7/wp-contact-form-7.php:422
40
msgid "Email field"
41
msgstr ""
42
43
- #: contact-form-7/wp-contact-form-7.php:423
44
msgid "Text area"
45
msgstr ""
46
47
- #: contact-form-7/wp-contact-form-7.php:424
48
msgid "Drop-down menu"
49
msgstr ""
50
51
- #: contact-form-7/wp-contact-form-7.php:425
52
msgid "Checkboxes"
53
msgstr ""
54
55
- #: contact-form-7/wp-contact-form-7.php:426
56
msgid "Radio buttons"
57
msgstr ""
58
59
- #: contact-form-7/wp-contact-form-7.php:427
60
msgid "Acceptance"
61
msgstr ""
62
63
- #: contact-form-7/wp-contact-form-7.php:428
64
msgid "Make this checkbox checked by default?"
65
msgstr ""
66
67
- #: contact-form-7/wp-contact-form-7.php:429
68
msgid "Make this checkbox work inversely?"
69
msgstr ""
70
71
- #: contact-form-7/wp-contact-form-7.php:430
72
msgid "* That means visitor who accepts the term unchecks it."
73
msgstr ""
74
75
- #: contact-form-7/wp-contact-form-7.php:431
76
msgid "CAPTCHA"
77
msgstr ""
78
79
- #: contact-form-7/wp-contact-form-7.php:432
80
msgid "Submit button"
81
msgstr ""
82
83
- #: contact-form-7/wp-contact-form-7.php:433
84
msgid "Name"
85
msgstr ""
86
87
- #: contact-form-7/wp-contact-form-7.php:434
88
msgid "Required field?"
89
msgstr ""
90
91
- #: contact-form-7/wp-contact-form-7.php:435
92
msgid "Allow multiple selections?"
93
msgstr ""
94
95
- #: contact-form-7/wp-contact-form-7.php:436
96
msgid "Insert a blank item as the first option?"
97
msgstr ""
98
99
- #: contact-form-7/wp-contact-form-7.php:437
100
msgid "Make checkboxes exclusive?"
101
msgstr ""
102
103
- #: contact-form-7/wp-contact-form-7.php:438
104
msgid "Choices"
105
msgstr ""
106
107
- #: contact-form-7/wp-contact-form-7.php:439
108
msgid "Label"
109
msgstr ""
110
111
- #: contact-form-7/wp-contact-form-7.php:440
112
msgid "Default value"
113
msgstr ""
114
115
- #: contact-form-7/wp-contact-form-7.php:441
116
msgid "Akismet"
117
msgstr ""
118
119
- #: contact-form-7/wp-contact-form-7.php:442
120
msgid "This field requires author's name"
121
msgstr ""
122
123
- #: contact-form-7/wp-contact-form-7.php:443
124
msgid "This field requires author's URL"
125
msgstr ""
126
127
- #: contact-form-7/wp-contact-form-7.php:444
128
msgid "This field requires author's email address"
129
msgstr ""
130
131
- #: contact-form-7/wp-contact-form-7.php:445
132
msgid "Copy and paste this code into the form"
133
msgstr ""
134
135
- #: contact-form-7/wp-contact-form-7.php:446
136
msgid "Foreground color"
137
msgstr ""
138
139
- #: contact-form-7/wp-contact-form-7.php:447
140
msgid "Background color"
141
msgstr ""
142
143
- #: contact-form-7/wp-contact-form-7.php:448
144
msgid "Image size"
145
msgstr ""
146
147
- #: contact-form-7/wp-contact-form-7.php:449
148
msgid "Small"
149
msgstr ""
150
151
- #: contact-form-7/wp-contact-form-7.php:450
152
msgid "Medium"
153
msgstr ""
154
155
- #: contact-form-7/wp-contact-form-7.php:451
156
msgid "Large"
157
msgstr ""
158
159
- #: contact-form-7/wp-contact-form-7.php:452
160
msgid "Image settings"
161
msgstr ""
162
163
- #: contact-form-7/wp-contact-form-7.php:453
164
msgid "Input field settings"
165
msgstr ""
166
167
- #: contact-form-7/wp-contact-form-7.php:454
168
msgid "For image"
169
msgstr ""
170
171
- #: contact-form-7/wp-contact-form-7.php:455
172
msgid "For input field"
173
msgstr ""
174
175
- #: contact-form-7/wp-contact-form-7.php:456
176
msgid "* One choice per line."
177
msgstr ""
178
179
- #: contact-form-7/wp-contact-form-7.php:483
180
msgid "Contact form created."
181
msgstr ""
182
183
- #: contact-form-7/wp-contact-form-7.php:486
184
msgid "Contact form saved."
185
msgstr ""
186
187
- #: contact-form-7/wp-contact-form-7.php:489
188
msgid "Contact form deleted."
189
msgstr ""
190
191
- #: contact-form-7/wp-contact-form-7.php:496
192
msgid "Untitled"
193
msgstr ""
194
195
- #: contact-form-7/wp-contact-form-7.php:522
196
msgid "Your Name"
197
msgstr ""
198
199
- #: contact-form-7/wp-contact-form-7.php:522
200
- #: contact-form-7/wp-contact-form-7.php:524
201
msgid "(required)"
202
msgstr ""
203
204
- #: contact-form-7/wp-contact-form-7.php:524
205
msgid "Your Email"
206
msgstr ""
207
208
- #: contact-form-7/wp-contact-form-7.php:526
209
msgid "Subject"
210
msgstr ""
211
212
- #: contact-form-7/wp-contact-form-7.php:528
213
msgid "Your Message"
214
msgstr ""
215
216
- #: contact-form-7/wp-contact-form-7.php:530
217
- #: contact-form-7/wp-contact-form-7.php:1046
218
msgid "Send"
219
msgstr ""
220
221
- #: contact-form-7/wp-contact-form-7.php:559
222
msgid "Your message was sent successfully. Thanks."
223
msgstr ""
224
225
- #: contact-form-7/wp-contact-form-7.php:561
226
msgid "Failed to send your message. Please try later or contact administrator by other way."
227
msgstr ""
228
229
- #: contact-form-7/wp-contact-form-7.php:563
230
msgid "Validation errors occurred. Please confirm the fields and submit it again."
231
msgstr ""
232
233
- #: contact-form-7/wp-contact-form-7.php:565
234
msgid "Please accept the terms to proceed."
235
msgstr ""
236
237
- #: contact-form-7/wp-contact-form-7.php:567
238
msgid "Email address seems invalid."
239
msgstr ""
240
241
- #: contact-form-7/wp-contact-form-7.php:569
242
msgid "Please fill the required field."
243
msgstr ""
244
245
- #: contact-form-7/wp-contact-form-7.php:571
246
msgid "Your entered code is incorrect."
247
msgstr ""
248
@@ -263,22 +272,22 @@ msgid "Mail"
263
msgstr ""
264
265
#: contact-form-7/includes/admin-panel.php:44
266
- #: contact-form-7/includes/admin-panel.php:65
267
msgid "To:"
268
msgstr ""
269
270
#: contact-form-7/includes/admin-panel.php:48
271
- #: contact-form-7/includes/admin-panel.php:69
272
msgid "From:"
273
msgstr ""
274
275
#: contact-form-7/includes/admin-panel.php:52
276
- #: contact-form-7/includes/admin-panel.php:73
277
msgid "Subject:"
278
msgstr ""
279
280
#: contact-form-7/includes/admin-panel.php:56
281
- #: contact-form-7/includes/admin-panel.php:77
282
msgid "Message body:"
283
msgstr ""
284
@@ -290,15 +299,51 @@ msgstr ""
290
msgid "Use mail (2)"
291
msgstr ""
292
293
- #: contact-form-7/includes/admin-panel.php:85
294
msgid "Save"
295
msgstr ""
296
297
- #: contact-form-7/includes/admin-panel.php:92
298
msgid "Delete this contact form"
299
msgstr ""
300
301
- #: contact-form-7/includes/admin-panel.php:93
302
msgid ""
303
"You are about to delete this contact form.\n"
304
" 'Cancel' to stop, 'OK' to delete."
2
msgstr ""
3
"Project-Id-Version: Contact Form 7\n"
4
"Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2008-11-08 23:29+0900\n"
6
+ "PO-Revision-Date: 2008-11-08 23:29+0900\n"
7
"Last-Translator: Takayuki Miyoshi <takayukister@gmail.com>\n"
8
"Language-Team: \n"
9
"MIME-Version: 1.0\n"
15
"Plural-Forms: nplurals=1; plural=0;\n"
16
"X-Poedit-SearchPath-0: contact-form-7\n"
17
18
+ #: contact-form-7/wp-contact-form-7.php:323
19
msgid "Contact form"
20
msgstr ""
21
22
+ #: contact-form-7/wp-contact-form-7.php:456
23
#: contact-form-7/includes/admin-panel.php:5
24
msgid "Contact Form 7"
25
msgstr ""
26
27
+ #: contact-form-7/wp-contact-form-7.php:494
28
msgid "optional"
29
msgstr ""
30
31
+ #: contact-form-7/wp-contact-form-7.php:495
32
msgid "Generate Tag"
33
msgstr ""
34
35
+ #: contact-form-7/wp-contact-form-7.php:496
36
msgid "Text field"
37
msgstr ""
38
39
+ #: contact-form-7/wp-contact-form-7.php:497
40
msgid "Email field"
41
msgstr ""
42
43
+ #: contact-form-7/wp-contact-form-7.php:498
44
msgid "Text area"
45
msgstr ""
46
47
+ #: contact-form-7/wp-contact-form-7.php:499
48
msgid "Drop-down menu"
49
msgstr ""
50
51
+ #: contact-form-7/wp-contact-form-7.php:500
52
msgid "Checkboxes"
53
msgstr ""
54
55
+ #: contact-form-7/wp-contact-form-7.php:501
56
msgid "Radio buttons"
57
msgstr ""
58
59
+ #: contact-form-7/wp-contact-form-7.php:502
60
msgid "Acceptance"
61
msgstr ""
62
63
+ #: contact-form-7/wp-contact-form-7.php:503
64
msgid "Make this checkbox checked by default?"
65
msgstr ""
66
67
+ #: contact-form-7/wp-contact-form-7.php:504
68
msgid "Make this checkbox work inversely?"
69
msgstr ""
70
71
+ #: contact-form-7/wp-contact-form-7.php:505
72
msgid "* That means visitor who accepts the term unchecks it."
73
msgstr ""
74
75
+ #: contact-form-7/wp-contact-form-7.php:506
76
msgid "CAPTCHA"
77
msgstr ""
78
79
+ #: contact-form-7/wp-contact-form-7.php:507
80
msgid "Submit button"
81
msgstr ""
82
83
+ #: contact-form-7/wp-contact-form-7.php:508
84
msgid "Name"
85
msgstr ""
86
87
+ #: contact-form-7/wp-contact-form-7.php:509
88
msgid "Required field?"
89
msgstr ""
90
91
+ #: contact-form-7/wp-contact-form-7.php:510
92
msgid "Allow multiple selections?"
93
msgstr ""
94
95
+ #: contact-form-7/wp-contact-form-7.php:511
96
msgid "Insert a blank item as the first option?"
97
msgstr ""
98
99
+ #: contact-form-7/wp-contact-form-7.php:512
100
msgid "Make checkboxes exclusive?"
101
msgstr ""
102
103
+ #: contact-form-7/wp-contact-form-7.php:513
104
msgid "Choices"
105
msgstr ""
106
107
+ #: contact-form-7/wp-contact-form-7.php:514
108
msgid "Label"
109
msgstr ""
110
111
+ #: contact-form-7/wp-contact-form-7.php:515
112
msgid "Default value"
113
msgstr ""
114
115
+ #: contact-form-7/wp-contact-form-7.php:516
116
msgid "Akismet"
117
msgstr ""
118
119
+ #: contact-form-7/wp-contact-form-7.php:517
120
msgid "This field requires author's name"
121
msgstr ""
122
123
+ #: contact-form-7/wp-contact-form-7.php:518
124
msgid "This field requires author's URL"
125
msgstr ""
126
127
+ #: contact-form-7/wp-contact-form-7.php:519
128
msgid "This field requires author's email address"
129
msgstr ""
130
131
+ #: contact-form-7/wp-contact-form-7.php:520
132
msgid "Copy and paste this code into the form"
133
msgstr ""
134
135
+ #: contact-form-7/wp-contact-form-7.php:521
136
msgid "Foreground color"
137
msgstr ""
138
139
+ #: contact-form-7/wp-contact-form-7.php:522
140
msgid "Background color"
141
msgstr ""
142
143
+ #: contact-form-7/wp-contact-form-7.php:523
144
msgid "Image size"
145
msgstr ""
146
147
+ #: contact-form-7/wp-contact-form-7.php:524
148
msgid "Small"
149
msgstr ""
150
151
+ #: contact-form-7/wp-contact-form-7.php:525
152
msgid "Medium"
153
msgstr ""
154
155
+ #: contact-form-7/wp-contact-form-7.php:526
156
msgid "Large"
157
msgstr ""
158
159
+ #: contact-form-7/wp-contact-form-7.php:527
160
msgid "Image settings"
161
msgstr ""
162
163
+ #: contact-form-7/wp-contact-form-7.php:528
164
msgid "Input field settings"
165
msgstr ""
166
167
+ #: contact-form-7/wp-contact-form-7.php:529
168
msgid "For image"
169
msgstr ""
170
171
+ #: contact-form-7/wp-contact-form-7.php:530
172
msgid "For input field"
173
msgstr ""
174
175
+ #: contact-form-7/wp-contact-form-7.php:531
176
msgid "* One choice per line."
177
msgstr ""
178
179
+ #: contact-form-7/wp-contact-form-7.php:532
180
+ msgid "Show"
181
+ msgstr ""
182
+
183
+ #: contact-form-7/wp-contact-form-7.php:533
184
+ msgid "Hide"
185
+ msgstr ""
186
+
187
+ #: contact-form-7/wp-contact-form-7.php:559
188
msgid "Contact form created."
189
msgstr ""
190
191
+ #: contact-form-7/wp-contact-form-7.php:562
192
msgid "Contact form saved."
193
msgstr ""
194
195
+ #: contact-form-7/wp-contact-form-7.php:565
196
msgid "Contact form deleted."
197
msgstr ""
198
199
+ #: contact-form-7/wp-contact-form-7.php:576
200
msgid "Untitled"
201
msgstr ""
202
203
+ #: contact-form-7/wp-contact-form-7.php:603
204
msgid "Your Name"
205
msgstr ""
206
207
+ #: contact-form-7/wp-contact-form-7.php:603
208
+ #: contact-form-7/wp-contact-form-7.php:605
209
msgid "(required)"
210
msgstr ""
211
212
+ #: contact-form-7/wp-contact-form-7.php:605
213
msgid "Your Email"
214
msgstr ""
215
216
+ #: contact-form-7/wp-contact-form-7.php:607
217
msgid "Subject"
218
msgstr ""
219
220
+ #: contact-form-7/wp-contact-form-7.php:609
221
msgid "Your Message"
222
msgstr ""
223
224
+ #: contact-form-7/wp-contact-form-7.php:611
225
+ #: contact-form-7/wp-contact-form-7.php:1158
226
msgid "Send"
227
msgstr ""
228
229
+ #: contact-form-7/wp-contact-form-7.php:659
230
msgid "Your message was sent successfully. Thanks."
231
msgstr ""
232
233
+ #: contact-form-7/wp-contact-form-7.php:661
234
+ #: contact-form-7/wp-contact-form-7.php:663
235
msgid "Failed to send your message. Please try later or contact administrator by other way."
236
msgstr ""
237
238
+ #: contact-form-7/wp-contact-form-7.php:665
239
msgid "Validation errors occurred. Please confirm the fields and submit it again."
240
msgstr ""
241
242
+ #: contact-form-7/wp-contact-form-7.php:667
243
msgid "Please accept the terms to proceed."
244
msgstr ""
245
246
+ #: contact-form-7/wp-contact-form-7.php:669
247
msgid "Email address seems invalid."
248
msgstr ""
249
250
+ #: contact-form-7/wp-contact-form-7.php:671
251
msgid "Please fill the required field."
252
msgstr ""
253
254
+ #: contact-form-7/wp-contact-form-7.php:673
255
msgid "Your entered code is incorrect."
256
msgstr ""
257
272
msgstr ""
273
274
#: contact-form-7/includes/admin-panel.php:44
275
+ #: contact-form-7/includes/admin-panel.php:67
276
msgid "To:"
277
msgstr ""
278
279
#: contact-form-7/includes/admin-panel.php:48
280
+ #: contact-form-7/includes/admin-panel.php:71
281
msgid "From:"
282
msgstr ""
283
284
#: contact-form-7/includes/admin-panel.php:52
285
+ #: contact-form-7/includes/admin-panel.php:75
286
msgid "Subject:"
287
msgstr ""
288
289
#: contact-form-7/includes/admin-panel.php:56
290
+ #: contact-form-7/includes/admin-panel.php:79
291
msgid "Message body:"
292
msgstr ""
293
299
msgid "Use mail (2)"
300
msgstr ""
301
302
+ #: contact-form-7/includes/admin-panel.php:87
303
+ msgid "Messages"
304
+ msgstr ""
305
+
306
+ #: contact-form-7/includes/admin-panel.php:93
307
+ msgid "Sender's message was sent successfully"
308
+ msgstr ""
309
+
310
+ #: contact-form-7/includes/admin-panel.php:97
311
+ msgid "Sender's message was failed to send"
312
+ msgstr ""
313
+
314
+ #: contact-form-7/includes/admin-panel.php:101
315
+ msgid "Akismet judged the sending activity as spamming"
316
+ msgstr ""
317
+
318
+ #: contact-form-7/includes/admin-panel.php:105
319
+ msgid "Validation errors occurred"
320
+ msgstr ""
321
+
322
+ #: contact-form-7/includes/admin-panel.php:109
323
+ msgid "There is a field of term that sender is needed to accept"
324
+ msgstr ""
325
+
326
+ #: contact-form-7/includes/admin-panel.php:113
327
+ msgid "Email address that sender entered is invalid"
328
+ msgstr ""
329
+
330
+ #: contact-form-7/includes/admin-panel.php:117
331
+ msgid "There is a field that sender is needed to fill in"
332
+ msgstr ""
333
+
334
+ #: contact-form-7/includes/admin-panel.php:121
335
+ msgid "The code that sender entered does not match the CAPTCHA"
336
+ msgstr ""
337
+
338
+ #: contact-form-7/includes/admin-panel.php:130
339
msgid "Save"
340
msgstr ""
341
342
+ #: contact-form-7/includes/admin-panel.php:137
343
msgid "Delete this contact form"
344
msgstr ""
345
346
+ #: contact-form-7/includes/admin-panel.php:138
347
msgid ""
348
"You are about to delete this contact form.\n"
349
" 'Cancel' to stop, 'OK' to delete."
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.8.0.4
8
Author URI: http://ideasilo.wordpress.com/
9
*/
10
@@ -25,7 +25,7 @@ Author URI: http://ideasilo.wordpress.com/
25
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
26
*/
27
28
- define('WPCF7_VERSION', '1.8.0.4');
29
30
function wpcf7_version() {
31
return WPCF7_VERSION;
@@ -51,6 +51,9 @@ if (! defined('WPCF7_CAPTCHA_TMP_DIR'))
51
if (! defined('WPCF7_CAPTCHA_TMP_URL'))
52
define('WPCF7_CAPTCHA_TMP_URL', WP_CONTENT_URL . '/uploads/wpcf7_captcha');
53
54
if (! function_exists('wpcf7_read_capability')) {
55
function wpcf7_read_capability() { return 'edit_posts'; }
56
}
@@ -75,7 +78,7 @@ class tam_contact_form_seven {
75
add_action('init', array(&$this, 'init_switch'), 11);
76
add_filter('the_content', array(&$this, 'the_content_filter'), 9);
77
add_filter('widget_text', array(&$this, 'widget_text_filter'));
78
- if (remove_filter('the_content', 'wpautop'))
79
add_filter('the_content', array(&$this, 'wpautop_substitute'));
80
}
81
@@ -92,7 +95,11 @@ class tam_contact_form_seven {
92
$pee = preg_replace('|\s*</embed>\s*|', '</embed>', $pee);
93
}
94
$pee = preg_replace("/\n\n+/", "\n\n", $pee); // take care of duplicates
95
- $pee = preg_replace('/\n?(.+?)(?:\n\s*\n|\z)/s', "<p>$1</p>\n", $pee); // make paragraphs, including one at the end
96
$pee = preg_replace('|<p>\s*?</p>|', '', $pee); // under certain strange conditions it could create a P of entirely whitespace
97
$pee = preg_replace('!<p>([^<]+)\s*?(</(?:div|address|form)[^>]*>)!', "<p>$1</p>$2", $pee);
98
$pee = preg_replace( '|<p>|', "$1<p>", $pee );
@@ -157,22 +164,22 @@ class tam_contact_form_seven {
157
$invalids[] = '{ into: "span.wpcf7-form-control-wrap.' . $name . '", message: "' . js_escape($reason) . '" }';
158
}
159
$invalids = '[' . join(', ', $invalids) . ']';
160
- echo '{ mailSent: 0, message: "' . js_escape($this->message('validation_error')) . '", into: "#' . $unit_tag . '", invalids: ' . $invalids . ', captcha: ' . $captcha . ' }';
161
} elseif (! $this->acceptance($cf)) { // Not accepted terms
162
- echo '{ mailSent: 0, message: "' . js_escape($this->message('accept_terms')) . '", into: "#' . $unit_tag . '", captcha: ' . $captcha . ' }';
163
} elseif ($this->akismet($cf)) { // Spam!
164
- echo '{ mailSent: 0, message: "' . js_escape($this->message('mail_sent_ng')) . '", into: "#' . $unit_tag . '", spam: 1, captcha: ' . $captcha . ' }';
165
} elseif ($this->mail($cf)) {
166
- echo '{ mailSent: 1, message: "' . js_escape($this->message('mail_sent_ok')) . '", into: "#' . $unit_tag . '", captcha: ' . $captcha . ' }';
167
} else {
168
- echo '{ mailSent: 0, message: "' . js_escape($this->message('mail_sent_ng')) . '", into: "#' . $unit_tag . '", captcha: ' . $captcha . ' }';
169
}
170
}
171
}
172
}
173
174
function mail($contact_form) {
175
- $contact_form = $this->upgrade_160($contact_form);
176
$regex = '/\[\s*([a-zA-Z][0-9a-zA-Z:._-]*)\s*\]/';
177
$callback = array(&$this, 'mail_callback');
178
$mail_subject = preg_replace_callback($regex, $callback, $contact_form['mail']['subject']);
@@ -207,6 +214,11 @@ class tam_contact_form_seven {
207
$submitted = join(', ', $submitted);
208
return stripslashes($submitted);
209
} else {
210
return $matches[0];
211
}
212
}
@@ -338,20 +350,49 @@ class tam_contact_form_seven {
338
$wpcf7['contact_forms'] = $contact_forms;
339
update_option('wpcf7', $wpcf7);
340
}
341
342
function upgrade_160($contact_form) {
343
if (! isset($contact_form['mail']['recipient']))
344
$contact_form['mail']['recipient'] = $contact_form['options']['recipient'];
345
return $contact_form;
346
}
347
348
/* Admin panel */
349
350
function add_pages() {
351
if (function_exists('admin_url')) {
352
- $base_url = admin_url('edit.php');
353
} else {
354
- $base_url = get_option('siteurl') . '/wp-admin/edit.php';
355
}
356
$page = str_replace('\\', '%5C', plugin_basename(__FILE__));
357
$contact_forms = $this->contact_forms();
@@ -375,16 +416,26 @@ class tam_contact_form_seven {
375
'body' => trim($_POST['wpcf7-mail-2-body']),
376
'recipient' => trim($_POST['wpcf7-mail-2-recipient'])
377
);
378
$options = array(
379
'recipient' => trim($_POST['wpcf7-options-recipient']) // For backward compatibility.
380
);
381
382
if (array_key_exists($id, $contact_forms)) {
383
- $contact_forms[$id] = compact('title', 'form', 'mail', 'mail_2', 'options');
384
$redirect_to = $base_url . '?page=' . $page . '&contactform=' . $id . '&message=saved';
385
} else {
386
$key = (empty($contact_forms)) ? 1 : max(array_keys($contact_forms)) + 1;
387
- $contact_forms[$key] = compact('title', 'form', 'mail', 'mail_2', 'options');
388
$redirect_to = $base_url . '?page=' . $page . '&contactform=' . $key . '&message=created';
389
}
390
$this->update_contact_forms($contact_forms);
@@ -414,17 +465,26 @@ class tam_contact_form_seven {
414
415
$javascript_url = WPCF7_PLUGIN_URL . '/wpcf7-admin.js';
416
417
- /* default styles for backward compatibility */
418
- if (version_compare($wp_version, '2.5', '<')) : // Using old WordPress
419
- ?>
420
- <style type="text/css">
421
- .subsubsub { list-style: none; margin: 14px 0 8px 0; padding: 0; white-space: nowrap; font-size: 12px; }
422
- .subsubsub a { line-height: 200%; padding: 3px; text-decoration: none; }
423
- .subsubsub a.current { font-weight: bold; background: none; border: none;}
424
- .subsubsub li { display: inline; margin: 0; padding: 0; }
425
- </style>
426
- <?php
427
- endif;
428
429
?>
430
<script type="text/javascript">
@@ -468,7 +528,9 @@ var _wpcf7 = {
468
inputFieldSettings: "<?php echo js_escape(__("Input field settings", 'wpcf7')); ?>",
469
tagForImage: "<?php echo js_escape(__("For image", 'wpcf7')); ?>",
470
tagForInputField: "<?php echo js_escape(__("For input field", 'wpcf7')); ?>",
471
- oneChoicePerLine: "<?php echo js_escape(__("* One choice per line.", 'wpcf7')); ?>"
472
}
473
};
474
//]]>
@@ -483,15 +545,14 @@ var _wpcf7 = {
483
}
484
485
function management_page() {
486
if (function_exists('admin_url')) {
487
- $base_url = admin_url('edit.php');
488
} else {
489
- $base_url = get_option('siteurl') . '/wp-admin/edit.php';
490
}
491
$page = plugin_basename(__FILE__);
492
- $contact_forms = $this->contact_forms();
493
-
494
- $id = $_POST['wpcf7-id'];
495
496
switch ($_GET['message']) {
497
case 'created':
@@ -504,6 +565,10 @@ var _wpcf7 = {
504
$updated_message = __('Contact form deleted.', 'wpcf7');
505
break;
506
}
507
508
if ('new' == $_GET['contactform']) {
509
$unsaved = true;
@@ -512,11 +577,11 @@ var _wpcf7 = {
512
} elseif (array_key_exists($_GET['contactform'], $contact_forms)) {
513
$current = (int) $_GET['contactform'];
514
$cf = stripslashes_deep($contact_forms[$current]);
515
- $cf = $this->upgrade_160($cf);
516
} else {
517
$current = (int) array_shift(array_keys($contact_forms));
518
$cf = stripslashes_deep($contact_forms[$current]);
519
- $cf = $this->upgrade_160($cf);
520
}
521
522
require_once WPCF7_PLUGIN_DIR . '/includes/admin-panel.php';
@@ -527,6 +592,7 @@ var _wpcf7 = {
527
'form' => $this->default_form_template(),
528
'mail' => $this->default_mail_template(),
529
'mail_2' => $this->default_mail_2_template(),
530
'options' => $this->default_options_template());
531
if ($initial)
532
$cf['initial'] = true;
@@ -563,17 +629,38 @@ var _wpcf7 = {
563
return compact('active', 'subject', 'sender', 'body', 'recipient');
564
}
565
566
function default_options_template() {
567
$recipient = get_option('admin_email'); // For backward compatibility.
568
return compact('recipient');
569
}
570
571
- function message($status) {
572
switch ($status) {
573
case 'mail_sent_ok':
574
return __('Your message was sent successfully. Thanks.', 'wpcf7');
575
case 'mail_sent_ng':
576
return __('Failed to send your message. Please try later or contact administrator by other way.', 'wpcf7');
577
case 'validation_error':
578
return __('Validation errors occurred. Please confirm the fields and submit it again.', 'wpcf7');
579
case 'accept_terms':
@@ -599,13 +686,13 @@ var _wpcf7 = {
599
if (! $validation['valid']) {
600
$_POST['_wpcf7_validation_errors'] = array('id' => $id, 'messages' => $validation['reason']);
601
} elseif (! $this->acceptance($cf)) { // Not accepted terms
602
- $_POST['_wpcf7_mail_sent'] = array('id' => $id, 'ok' => false, 'message' => $this->message('accept_terms'));
603
} elseif ($this->akismet($cf)) { // Spam!
604
- $_POST['_wpcf7_mail_sent'] = array('id' => $id, 'ok' => false, 'message' => $this->message('mail_sent_ng'), 'spam' => true);
605
} elseif ($this->mail($cf)) {
606
- $_POST['_wpcf7_mail_sent'] = array('id' => $id, 'ok' => true, 'message' => $this->message('mail_sent_ok'));
607
} else {
608
- $_POST['_wpcf7_mail_sent'] = array('id' => $id, 'ok' => false, 'message' => $this->message('mail_sent_ng'));
609
}
610
}
611
}
@@ -680,7 +767,7 @@ var _wpcf7 = {
680
}
681
} elseif (isset($_POST['_wpcf7_validation_errors']) && $_POST['_wpcf7_validation_errors']['id'] == $id) {
682
$class .= ' wpcf7-validation-errors';
683
- $content = $this->message('validation_error');
684
}
685
}
686
@@ -707,7 +794,7 @@ var _wpcf7 = {
707
// Before validation corrections
708
if (preg_match('/^(?:text|email|captchar|textarea)[*]?#x2F;', $type))
709
$_POST[$name] = (string) $_POST[$name];
710
-
711
if (preg_match('/^(?:text|email)[*]?#x2F;', $type))
712
$_POST[$name] = trim(strtr($_POST[$name], "\n", " "));
713
@@ -732,7 +819,7 @@ var _wpcf7 = {
732
if (preg_match('/^(?:text|textarea)[*]#x2F;', $type)) {
733
if (! isset($_POST[$name]) || '' == $_POST[$name]) {
734
$valid = false;
735
- $reason[$name] = $this->message('invalid_required');
736
}
737
}
738
@@ -748,17 +835,17 @@ var _wpcf7 = {
748
! is_array($_POST[$name]) && '---' == $_POST[$name] ||
749
is_array($_POST[$name]) && 1 == count($_POST[$name]) && '---' == $_POST[$name][0]) {
750
$valid = false;
751
- $reason[$name] = $this->message('invalid_required');
752
}
753
}
754
755
if (preg_match('/^email[*]?#x2F;', $type)) {
756
if ('*' == substr($type, -1) && (! isset($_POST[$name]) || '' == $_POST[$name])) {
757
$valid = false;
758
- $reason[$name] = $this->message('invalid_required');
759
} elseif (isset($_POST[$name]) && '' != $_POST[$name] && ! is_email($_POST[$name])) {
760
$valid = false;
761
- $reason[$name] = $this->message('invalid_email');
762
}
763
}
764
@@ -766,7 +853,7 @@ var _wpcf7 = {
766
$captchac = '_wpcf7_captcha_challenge_' . $name;
767
if (! $this->check_captcha($_POST[$captchac], $_POST[$name])) {
768
$valid = false;
769
- $reason[$name] = $this->message('captcha_not_match');
770
}
771
$this->remove_captcha($_POST[$captchac]);
772
}
@@ -805,7 +892,7 @@ var _wpcf7 = {
805
806
function load_js() {
807
global $pagenow;
808
- if (is_admin() && 'edit.php' == $pagenow && false !== strpos($_GET['page'], 'contact-form-7'))
809
wp_enqueue_script('jquery');
810
if (! is_admin())
811
wp_enqueue_script('jquery-form', '/wp-includes/js/jquery/jquery.form.js', array('jquery'), '1.0.3');
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.8.1
8
Author URI: http://ideasilo.wordpress.com/
9
*/
10
25
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
26
*/
27
28
+ define('WPCF7_VERSION', '1.8.1');
29
30
function wpcf7_version() {
31
return WPCF7_VERSION;
51
if (! defined('WPCF7_CAPTCHA_TMP_URL'))
52
define('WPCF7_CAPTCHA_TMP_URL', WP_CONTENT_URL . '/uploads/wpcf7_captcha');
53
54
+ if (! defined('WPCF7_SUBSTITUTE_WPAUTOP'))
55
+ define('WPCF7_SUBSTITUTE_WPAUTOP', true);
56
+
57
if (! function_exists('wpcf7_read_capability')) {
58
function wpcf7_read_capability() { return 'edit_posts'; }
59
}
78
add_action('init', array(&$this, 'init_switch'), 11);
79
add_filter('the_content', array(&$this, 'the_content_filter'), 9);
80
add_filter('widget_text', array(&$this, 'widget_text_filter'));
81
+ if (WPCF7_SUBSTITUTE_WPAUTOP && remove_filter('the_content', 'wpautop'))
82
add_filter('the_content', array(&$this, 'wpautop_substitute'));
83
}
84
95
$pee = preg_replace('|\s*</embed>\s*|', '</embed>', $pee);
96
}
97
$pee = preg_replace("/\n\n+/", "\n\n", $pee); // take care of duplicates
98
+ // make paragraphs, including one at the end
99
+ $pees = preg_split('/\n\s*\n/', $pee, -1, PREG_SPLIT_NO_EMPTY);
100
+ $pee = '';
101
+ foreach ( $pees as $tinkle )
102
+ $pee .= '<p>' . trim($tinkle, "\n") . "</p>\n";
103
$pee = preg_replace('|<p>\s*?</p>|', '', $pee); // under certain strange conditions it could create a P of entirely whitespace
104
$pee = preg_replace('!<p>([^<]+)\s*?(</(?:div|address|form)[^>]*>)!', "<p>$1</p>$2", $pee);
105
$pee = preg_replace( '|<p>|', "$1<p>", $pee );
164
$invalids[] = '{ into: "span.wpcf7-form-control-wrap.' . $name . '", message: "' . js_escape($reason) . '" }';
165
}
166
$invalids = '[' . join(', ', $invalids) . ']';
167
+ echo '{ mailSent: 0, message: "' . js_escape($this->message($cf, 'validation_error')) . '", into: "#' . $unit_tag . '", invalids: ' . $invalids . ', captcha: ' . $captcha . ' }';
168
} elseif (! $this->acceptance($cf)) { // Not accepted terms
169
+ echo '{ mailSent: 0, message: "' . js_escape($this->message($cf, 'accept_terms')) . '", into: "#' . $unit_tag . '", captcha: ' . $captcha . ' }';
170
} elseif ($this->akismet($cf)) { // Spam!
171
+ echo '{ mailSent: 0, message: "' . js_escape($this->message($cf, 'akismet_says_spam')) . '", into: "#' . $unit_tag . '", spam: 1, captcha: ' . $captcha . ' }';
172
} elseif ($this->mail($cf)) {
173
+ echo '{ mailSent: 1, message: "' . js_escape($this->message($cf, 'mail_sent_ok')) . '", into: "#' . $unit_tag . '", captcha: ' . $captcha . ' }';
174
} else {
175
+ echo '{ mailSent: 0, message: "' . js_escape($this->message($cf, 'mail_sent_ng')) . '", into: "#' . $unit_tag . '", captcha: ' . $captcha . ' }';
176
}
177
}
178
}
179
}
180
181
function mail($contact_form) {
182
+ $contact_form = $this->upgrade($contact_form);
183
$regex = '/\[\s*([a-zA-Z][0-9a-zA-Z:._-]*)\s*\]/';
184
$callback = array(&$this, 'mail_callback');
185
$mail_subject = preg_replace_callback($regex, $callback, $contact_form['mail']['subject']);
214
$submitted = join(', ', $submitted);
215
return stripslashes($submitted);
216
} else {
217
+
218
+ // Special [wpcf7.remote_ip] tag
219
+ if ('wpcf7.remote_ip' == $matches[1])
220
+ return preg_replace('/[^0-9., ]/', '', $_SERVER['REMOTE_ADDR']);
221
+
222
return $matches[0];
223
}
224
}
350
$wpcf7['contact_forms'] = $contact_forms;
351
update_option('wpcf7', $wpcf7);
352
}
353
+
354
+ function upgrade($contact_form) {
355
+ $contact_form = $this->upgrade_160($contact_form);
356
+ $contact_form = $this->upgrade_181($contact_form);
357
+ return $contact_form;
358
+ }
359
360
function upgrade_160($contact_form) {
361
if (! isset($contact_form['mail']['recipient']))
362
$contact_form['mail']['recipient'] = $contact_form['options']['recipient'];
363
return $contact_form;
364
}
365
+
366
+ function upgrade_181($contact_form) {
367
+ if (! isset($contact_form['messages']))
368
+ $contact_form['messages'] = array(
369
+ 'mail_sent_ok' => $this->default_message('mail_sent_ok'),
370
+ 'mail_sent_ng' => $this->default_message('mail_sent_ng'),
371
+ 'akismet_says_spam' => $this->default_message('akismet_says_spam'),
372
+ 'validation_error' => $this->default_message('validation_error'),
373
+ 'accept_terms' => $this->default_message('accept_terms'),
374
+ 'invalid_email' => $this->default_message('invalid_email'),
375
+ 'invalid_required' => $this->default_message('invalid_required'),
376
+ 'captcha_not_match' => $this->default_message('captcha_not_match')
377
+ );
378
+ return $contact_form;
379
+ }
380
381
/* Admin panel */
382
383
+ function admin_menu_parent() {
384
+ global $wp_version;
385
+ if (version_compare($wp_version, '2.7-alpha', '>='))
386
+ return 'import.php';
387
+ else
388
+ return 'edit.php';
389
+ }
390
+
391
function add_pages() {
392
if (function_exists('admin_url')) {
393
+ $base_url = admin_url($this->admin_menu_parent());
394
} else {
395
+ $base_url = get_option('siteurl') . '/wp-admin/' . $this->admin_menu_parent();
396
}
397
$page = str_replace('\\', '%5C', plugin_basename(__FILE__));
398
$contact_forms = $this->contact_forms();
416
'body' => trim($_POST['wpcf7-mail-2-body']),
417
'recipient' => trim($_POST['wpcf7-mail-2-recipient'])
418
);
419
+ $messages = array(
420
+ 'mail_sent_ok' => trim($_POST['wpcf7-message-mail-sent-ok']),
421
+ 'mail_sent_ng' => trim($_POST['wpcf7-message-mail-sent-ng']),
422
+ 'akismet_says_spam' => trim($_POST['wpcf7-message-akismet-says-spam']),
423
+ 'validation_error' => trim($_POST['wpcf7-message-validation-error']),
424
+ 'accept_terms' => trim($_POST['wpcf7-message-accept-terms']),
425
+ 'invalid_email' => trim($_POST['wpcf7-message-invalid-email']),
426
+ 'invalid_required' => trim($_POST['wpcf7-message-invalid-required']),
427
+ 'captcha_not_match' => trim($_POST['wpcf7-message-captcha-not-match'])
428
+ );
429
$options = array(
430
'recipient' => trim($_POST['wpcf7-options-recipient']) // For backward compatibility.
431
);
432
433
if (array_key_exists($id, $contact_forms)) {
434
+ $contact_forms[$id] = compact('title', 'form', 'mail', 'mail_2', 'messages', 'options');
435
$redirect_to = $base_url . '?page=' . $page . '&contactform=' . $id . '&message=saved';
436
} else {
437
$key = (empty($contact_forms)) ? 1 : max(array_keys($contact_forms)) + 1;
438
+ $contact_forms[$key] = compact('title', 'form', 'mail', 'mail_2', 'messages', 'options');
439
$redirect_to = $base_url . '?page=' . $page . '&contactform=' . $key . '&message=created';
440
}
441
$this->update_contact_forms($contact_forms);
465
466
$javascript_url = WPCF7_PLUGIN_URL . '/wpcf7-admin.js';
467
468
+ /* default styles for backward compatibility */
469
+ if (version_compare($wp_version, '2.5', '<')) : // Using old WordPress
470
+ ?>
471
+ <style type="text/css">
472
+ .subsubsub { list-style: none; margin: 14px 0 8px 0; padding: 0; white-space: nowrap; font-size: 12px; }
473
+ .subsubsub a { line-height: 200%; padding: 3px; text-decoration: none; }
474
+ .subsubsub a.current { font-weight: bold; background: none; border: none;}
475
+ .subsubsub li { display: inline; margin: 0; padding: 0; }
476
+ </style>
477
+ <?php
478
+ endif;
479
+
480
+ /* looks little bit more WP 2.7 fashion */
481
+ if (version_compare($wp_version, '2.7-alpha', '>=')) : // Using WordPress 2.7 or latar
482
+ ?>
483
+ <style type="text/css">
484
+ input#contact-form-anchor-text { -moz-border-radius: 6px; -khtml-border-radius: 6px; -webkit-border-radius: 6px; border-radius: 6px; }
485
+ </style>
486
+ <?php
487
+ endif;
488
489
?>
490
<script type="text/javascript">
528
inputFieldSettings: "<?php echo js_escape(__("Input field settings", 'wpcf7')); ?>",
529
tagForImage: "<?php echo js_escape(__("For image", 'wpcf7')); ?>",
530
tagForInputField: "<?php echo js_escape(__("For input field", 'wpcf7')); ?>",
531
+ oneChoicePerLine: "<?php echo js_escape(__("* One choice per line.", 'wpcf7')); ?>",
532
+ show: "<?php echo js_escape(__("Show", 'wpcf7')); ?>",
533
+ hide: "<?php echo js_escape(__("Hide", 'wpcf7')); ?>"
534
}
535
};
536
//]]>
545
}
546
547
function management_page() {
548
+ global $wp_version;
549
+
550
if (function_exists('admin_url')) {
551
+ $base_url = admin_url($this->admin_menu_parent());
552
} else {
553
+ $base_url = get_option('siteurl') . '/wp-admin/' . $this->admin_menu_parent();
554
}
555
$page = plugin_basename(__FILE__);
556
557
switch ($_GET['message']) {
558
case 'created':
565
$updated_message = __('Contact form deleted.', 'wpcf7');
566
break;
567
}
568
+
569
+ $contact_forms = $this->contact_forms();
570
+
571
+ $id = $_POST['wpcf7-id'];
572
573
if ('new' == $_GET['contactform']) {
574
$unsaved = true;
577
} elseif (array_key_exists($_GET['contactform'], $contact_forms)) {
578
$current = (int) $_GET['contactform'];
579
$cf = stripslashes_deep($contact_forms[$current]);
580
+ $cf = $this->upgrade($cf);
581
} else {
582
$current = (int) array_shift(array_keys($contact_forms));
583
$cf = stripslashes_deep($contact_forms[$current]);
584
+ $cf = $this->upgrade($cf);
585
}
586
587
require_once WPCF7_PLUGIN_DIR . '/includes/admin-panel.php';
592
'form' => $this->default_form_template(),
593
'mail' => $this->default_mail_template(),
594
'mail_2' => $this->default_mail_2_template(),
595
+ 'messages' => $this->default_messages_template(),
596
'options' => $this->default_options_template());
597
if ($initial)
598
$cf['initial'] = true;
629
return compact('active', 'subject', 'sender', 'body', 'recipient');
630
}
631
632
+ function default_messages_template() {
633
+ $mail_sent_ok = $this->default_message('mail_sent_ok');
634
+ $mail_sent_ng = $this->default_message('mail_sent_ng');
635
+ $akismet_says_spam = $this->default_message('akismet_says_spam');
636
+ $validation_error = $this->default_message('validation_error');
637
+ $accept_terms = $this->default_message('accept_terms');
638
+ $invalid_email = $this->default_message('invalid_email');
639
+ $invalid_required = $this->default_message('invalid_required');
640
+ $captcha_not_match = $this->default_message('captcha_not_match');
641
+ return compact('mail_sent_ok', 'mail_sent_ng', 'akismet_says_spam', 'validation_error', 'accept_terms', 'invalid_email', 'invalid_required', 'captcha_not_match');
642
+ }
643
+
644
function default_options_template() {
645
$recipient = get_option('admin_email'); // For backward compatibility.
646
return compact('recipient');
647
}
648
649
+ function message($contact_form, $status) {
650
+ if (! isset($contact_form['messages']) || ! isset($contact_form['messages'][$status]))
651
+ return $this->default_message($status);
652
+
653
+ return $contact_form['messages'][$status];
654
+ }
655
+
656
+ function default_message($status) {
657
switch ($status) {
658
case 'mail_sent_ok':
659
return __('Your message was sent successfully. Thanks.', 'wpcf7');
660
case 'mail_sent_ng':
661
return __('Failed to send your message. Please try later or contact administrator by other way.', 'wpcf7');
662
+ case 'akismet_says_spam':
663
+ return __('Failed to send your message. Please try later or contact administrator by other way.', 'wpcf7');
664
case 'validation_error':
665
return __('Validation errors occurred. Please confirm the fields and submit it again.', 'wpcf7');
666
case 'accept_terms':
686
if (! $validation['valid']) {
687
$_POST['_wpcf7_validation_errors'] = array('id' => $id, 'messages' => $validation['reason']);
688
} elseif (! $this->acceptance($cf)) { // Not accepted terms
689
+ $_POST['_wpcf7_mail_sent'] = array('id' => $id, 'ok' => false, 'message' => $this->message($cf, 'accept_terms'));
690
} elseif ($this->akismet($cf)) { // Spam!
691
+ $_POST['_wpcf7_mail_sent'] = array('id' => $id, 'ok' => false, 'message' => $this->message($cf, 'akismet_says_spam'), 'spam' => true);
692
} elseif ($this->mail($cf)) {
693
+ $_POST['_wpcf7_mail_sent'] = array('id' => $id, 'ok' => true, 'message' => $this->message($cf, 'mail_sent_ok'));
694
} else {
695
+ $_POST['_wpcf7_mail_sent'] = array('id' => $id, 'ok' => false, 'message' => $this->message($cf, 'mail_sent_ng'));
696
}
697
}
698
}
767
}
768
} elseif (isset($_POST['_wpcf7_validation_errors']) && $_POST['_wpcf7_validation_errors']['id'] == $id) {
769
$class .= ' wpcf7-validation-errors';
770
+ $content = $this->message($cf, 'validation_error');
771
}
772
}
773
794
// Before validation corrections
795
if (preg_match('/^(?:text|email|captchar|textarea)[*]?#x2F;', $type))
796
$_POST[$name] = (string) $_POST[$name];
797
+
798
if (preg_match('/^(?:text|email)[*]?#x2F;', $type))
799
$_POST[$name] = trim(strtr($_POST[$name], "\n", " "));
800
819
if (preg_match('/^(?:text|textarea)[*]#x2F;', $type)) {
820
if (! isset($_POST[$name]) || '' == $_POST[$name]) {
821
$valid = false;
822
+ $reason[$name] = $this->message($contact_form, 'invalid_required');
823
}
824
}
825
835
! is_array($_POST[$name]) && '---' == $_POST[$name] ||
836
is_array($_POST[$name]) && 1 == count($_POST[$name]) && '---' == $_POST[$name][0]) {
837
$valid = false;
838
+ $reason[$name] = $this->message($contact_form, 'invalid_required');
839
}
840
}
841
842
if (preg_match('/^email[*]?#x2F;', $type)) {
843
if ('*' == substr($type, -1) && (! isset($_POST[$name]) || '' == $_POST[$name])) {
844
$valid = false;
845
+ $reason[$name] = $this->message($contact_form, 'invalid_required');
846
} elseif (isset($_POST[$name]) && '' != $_POST[$name] && ! is_email($_POST[$name])) {
847
$valid = false;
848
+ $reason[$name] = $this->message($contact_form, 'invalid_email');
849
}
850
}
851
853
$captchac = '_wpcf7_captcha_challenge_' . $name;
854
if (! $this->check_captcha($_POST[$captchac], $_POST[$name])) {
855
$valid = false;
856
+ $reason[$name] = $this->message($contact_form, 'captcha_not_match');
857
}
858
$this->remove_captcha($_POST[$captchac]);
859
}
892
893
function load_js() {
894
global $pagenow;
895
+ if (is_admin() && $this->admin_menu_parent() == $pagenow && false !== strpos($_GET['page'], 'contact-form-7'))
896
wp_enqueue_script('jquery');
897
if (! is_admin())
898
wp_enqueue_script('jquery-form', '/wp-includes/js/jquery/jquery.form.js', array('jquery'), '1.0.3');
wpcf7-admin.js CHANGED
@@ -44,6 +44,32 @@ jQuery(document).ready(function() {
44
});
45
46
updateTag();
47
});
48
49
function updateTag() {
44
});
45
46
updateTag();
47
+
48
+ if (! jQuery('#wpcf7-mail-2-active').is(':checked'))
49
+ jQuery('#mail-2-fields').hide();
50
+
51
+ jQuery('#wpcf7-mail-2-active').click(function() {
52
+ if (jQuery('#wpcf7-mail-2-active').is(':checked')) {
53
+ if (jQuery('#mail-2-fields').is(':hidden'))
54
+ jQuery('#mail-2-fields').slideDown('fast');
55
+ } else {
56
+ if (jQuery('#mail-2-fields').is(':visible'))
57
+ jQuery('#mail-2-fields').hide('fast');
58
+ }
59
+ });
60
+
61
+ jQuery('#message-fields-toggle-switch').text(_wpcf7.l10n.show);
62
+ jQuery('#message-fields').hide();
63
+
64
+ jQuery('#message-fields-toggle-switch').click(function() {
65
+ if (jQuery('#message-fields').is(':hidden')) {
66
+ jQuery('#message-fields').slideDown('fast');
67
+ jQuery('#message-fields-toggle-switch').text(_wpcf7.l10n.hide);
68
+ } else {
69
+ jQuery('#message-fields').hide('fast');
70
+ jQuery('#message-fields-toggle-switch').text(_wpcf7.l10n.show);
71
+ }
72
+ });
73
});
74
75
function updateTag() {