Contact Form 7 - Version 1.6

Version Description

Download this release

Release Info

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

Code changes from version 1.5 to 1.6

README.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: takayukister
3
Tags: contact form, email, ajax
4
Requires at least: 2.2
5
Tested up to: 2.3
6
- Stable tag: 1.5
7
8
Just another contact form plugin. Simple but flexible.
9
@@ -32,6 +32,7 @@ Contact Form 7 has been translated into the following languages.
32
33
* Brazilian Portuguese, by [Leonardo Pinheiro](http://www.eletrikabarbarella.com.br/)
34
* Catalan, by [Jordi Sancho](http://www.qasolutions.net/blog)
35
* French, by [Jillij](http://www.jillij.com/)
36
* German, by [Marcel Spitau](http://blog.spitau.de)
37
* Italian, by [Bruno](http://www.brunosalzano.com)
3
Tags: contact form, email, ajax
4
Requires at least: 2.2
5
Tested up to: 2.3
6
+ Stable tag: 1.6
7
8
Just another contact form plugin. Simple but flexible.
9
32
33
* Brazilian Portuguese, by [Leonardo Pinheiro](http://www.eletrikabarbarella.com.br/)
34
* Catalan, by [Jordi Sancho](http://www.qasolutions.net/blog)
35
+ * Dutch, by [Chris Devriese](http://www.100it.be/)
36
* French, by [Jillij](http://www.jillij.com/)
37
* German, by [Marcel Spitau](http://blog.spitau.de)
38
* Italian, by [Bruno](http://www.brunosalzano.com)
admin-stylesheet.css CHANGED
@@ -1,68 +1,67 @@
1
- ul.cfmenu {
2
- padding: 2em 0 3px;
3
- border-bottom: 1px solid #777;
4
- }
5
ul.cfmenu li {
6
- display: inline;
7
- list-style: none;
8
- margin: 1em 0.5em;
9
- }
10
- ul.cfmenu li.current {
11
- padding: 4px;
12
- border: 1px solid #777;
13
- border-bottom: 1px solid #fff;
14
- font-weight: bolder;
15
}
16
- ul.cfmenu li.add-new {
17
- margin-left: 1em;
18
- color: #eba80e;
19
}
20
- ul.cfmenu li.add-new a {
21
- color: #eba80e;
22
}
23
- ul.cfmenu a {
24
- border-bottom: none;
25
- color: #454545;
26
}
27
- ul.cfmenu a:hover {
28
- border-bottom: 1px solid #0e98ea;
29
}
30
- div.cfdiv {
31
margin: 0;
32
- padding: 24px;
33
}
34
- input.cfsave {
35
- font-weight: bold;
36
}
37
- input.cfdelete:hover {
38
- background: #ce0000;
39
- color: #fff;
40
}
41
- p.important {
42
- color: #eba80e;
43
}
44
- span.notice {
45
- color: #ed2b68;
46
}
47
input#contact-form-anchor-text {
48
- margin-left: 1em;
49
color: #333;
50
- background: #fff;
51
- border: 1px solid #eba80e;
52
- font-family: monospace;
53
}
54
div.fieldset {
55
- margin: 1.5em 0;
56
}
57
div.fieldset div.legend {
58
font-weight: bolder;
59
margin-bottom: 0.5em;
60
}
61
input.wide {
62
- width: 99%;
63
}
64
textarea {
65
- width: 99%;
66
}
67
label.disabled {
68
color: #777;
@@ -70,50 +69,51 @@ label.disabled {
70
p.submit {
71
margin: 0 24px;
72
}
73
- input.quick-button {
74
- background: #fff url( images/fade-butt.png ) repeat-x 0 -2px;
75
- margin: 3px 0;
76
- padding: 1px 0;
77
- }
78
- div#quick-panel {
79
- display: none;
80
- margin: 0 0 4px;
81
- padding: 4px;
82
- width: 99%;
83
- }
84
- div#quick-panel div.close {
85
- float: right;
86
- font-size: 8pt;
87
- font-weight: bold;
88
- border: 1px solid #999;
89
- background: #bbb;
90
- color: #fff;
91
- padding: 1px 3px;
92
- cursor: pointer;
93
- }
94
- div#quick-panel input, div#quick-panel textarea {
95
background: #fff;
96
- width: 200px;
97
}
98
- div#quick-panel input.inline-opt {
99
- width: 1em;
100
- vertical-align: middle;
101
}
102
- div#quick-panel input.qp-button {
103
- background: #fff url( images/fade-butt.png ) repeat-x 0 -2px;
104
- margin: 3px 1px 2px;
105
- padding: 2px;
106
}
107
- div#quick-panel input.required {
108
- border: 1px solid #777;
109
}
110
- div#quick-panel table tr {
111
vertical-align: top;
112
}
113
- div#quick-panel table th {
114
- text-align: right;
115
- padding-left: 1em;
116
- }
117
- div#quick-panel table td {
118
- text-align: left;
119
}
1
ul.cfmenu li {
2
+ display: inline;
3
+ margin-right: 1em;
4
}
5
+ ul.cfmenu li.addnew {
6
+ margin-left: 1.5em;
7
}
8
+ ul.cfmenu li.addnew a {
9
+ color: #e6255b;
10
}
11
+ div.relative {
12
+ position: relative;
13
}
14
+ div.cfdiv {
15
+ margin: 0;
16
+ padding: 20px;
17
}
18
+ div.delete-link {
19
+ position: absolute;
20
+ top: 0;
21
+ right: 0;
22
margin: 0;
23
+ padding: 0;
24
}
25
+ div.delete-link input {
26
+ border: none;
27
+ background-color: #fff;
28
+ color: #e6255b;
29
+ cursor: pointer;
30
}
31
+ input#wpcf7-title {
32
+ color: #555;
33
+ background-color: #fff;
34
+ border: none;
35
+ font: bold 20px serif;
36
+ cursor: pointer;
37
}
38
+ input.cfsave {
39
+ font-weight: bold;
40
}
41
+ p.tagcode {
42
+ color: #333;
43
}
44
input#contact-form-anchor-text {
45
color: #333;
46
+ background: #fff3f3;
47
+ border: 1px solid #fff;
48
+ width: 96%;
49
}
50
div.fieldset {
51
+ margin: 2em 0;
52
}
53
div.fieldset div.legend {
54
font-weight: bolder;
55
margin-bottom: 0.5em;
56
}
57
+ div.fieldset div.mail-field {
58
+ margin: 0.3em 0;
59
+ }
60
input.wide {
61
+ width: 96%;
62
}
63
textarea {
64
+ width: 96%;
65
}
66
label.disabled {
67
color: #777;
69
p.submit {
70
margin: 0 24px;
71
}
72
+ div.tag-generator {
73
+ position: relative;
74
background: #fff;
75
+ padding: 5px 0 5px 1px;
76
}
77
+ div.tg-pane {
78
+ border: 1px solid #999;
79
+ background: #fff;
80
+ margin: 1ex 0 0;
81
+ padding: 10px;
82
}
83
+ div.tg-pane table {
84
+ width: 70%;
85
+ margin: 0 0 0.7em 0;
86
}
87
+ div.tg-pane table caption {
88
+ text-align: left;
89
+ padding: 0 0 0.2em 0;
90
+ font-weight: bolder;
91
+ color: #777;
92
}
93
+ div.tg-pane table td {
94
vertical-align: top;
95
+ width: 40%;
96
}
97
+ div.tg-pane input.tag {
98
+ border: 1px solid #fff;
99
+ color: #333;
100
+ background-color: #fff3f3;
101
+ }
102
+ div.tg-dropdown {
103
+ position: absolute;
104
+ top: 26px;
105
+ left: 0;
106
+ z-index: 10;
107
+ border: 1px solid #ddd;
108
+ }
109
+ span.tg-closebutton {
110
+ color: #777;
111
+ font: bold 16px monospace;
112
+ padding: 1px 4px;
113
+ cursor: pointer;
114
+ }
115
+ div.tg-panetitle {
116
+ font: bold 132% sans-serif;
117
+ margin: 0 0 10px;
118
+ color: #777;
119
}
images/dropdown.gif ADDED
Binary file
includes/admin-panel.php CHANGED
@@ -4,420 +4,89 @@
4
<div class="wrap">
5
<h2><?php _e('Contact Form 7', 'wpcf7'); ?></h2>
6
<ul class="cfmenu">
7
- <?php foreach ($contact_forms as $key => $cf) : if (! $cf['initial']) : ?>
8
- <li class="<?php if ($key == $current) echo 'current' ?>">
9
- <?php if ($key == $current) : ?>
10
- <?php echo $cf['title']; ?>
11
- <?php else : ?>
12
- <a href="<?php echo $base_url . '&contactform=' . $key; ?>"><?php echo $cf['title']; ?></a>
13
- <?php endif; ?>
14
- </li>
15
- <?php endif; endforeach; ?>
16
-
17
- <li class="add-new <?php if ($initial) echo 'current' ?>">
18
- <?php if ($initial) : ?>
19
- <?php _e('Add new', 'wpcf7'); ?>
20
- <?php else : ?>
21
- <a href="<?php echo $base_url . '&contactform=new'; ?>">
22
- <?php _e('Add new', 'wpcf7'); ?>
23
- </a>
24
- <?php endif; ?>
25
- </li>
26
</ul>
27
- <?php $cf = stripslashes_deep($contact_forms[$current]); ?>
28
- <div class="cfdiv">
29
-
30
- <form method="post" action="<?php echo $base_url . '&contactform=' . $current; ?>" id="wpcf7-admin-form-element">
31
- <input type="hidden" name="wpcf7-id" value="<?php echo $current; ?>" />
32
33
- <div class="fieldset">
34
- <label for="wpcf7-title"><?php _e('Title', 'wpcf7'); ?></label>
35
- <input type="text" id="wpcf7-title" name="wpcf7-title" size="40" value="<?php echo htmlspecialchars($cf['title']); ?>" onchange="wpcf7UpdateAnchor(this.value);" />
36
-
37
- <?php if (! $initial) : ?>
38
- <p class="important">
39
- <?php _e('Copy and paste this code into your post content.', 'wpcf7'); ?> &raquo;
40
- <input type="text" id="contact-form-anchor-text" size="50" onfocus="this.select();" readonly="readonly" />
41
- </p>
42
- <?php endif; ?>
43
- </div>
44
45
- <div class="fieldset"><div class="legend"><?php _e('Form content', 'wpcf7'); ?></div>
46
<textarea id="wpcf7-form" name="wpcf7-form" cols="100" rows="16"><?php echo htmlspecialchars($cf['form']); ?></textarea>
47
- <input type="button" value="text" class="quick-button" onclick="wpcf7QuickPanel('text');" style="background-color: #cee4d4;" />
48
- <input type="button" value="text*" class="quick-button" onclick="wpcf7QuickPanel('text*');" style="background-color: #cee4d4;" />
49
- <input type="button" value="email" class="quick-button" onclick="wpcf7QuickPanel('email');" style="background-color: #e6edb4;" />
50
- <input type="button" value="email*" class="quick-button" onclick="wpcf7QuickPanel('email*');" style="background-color: #e6edb4;" />
51
- <input type="button" value="textarea" class="quick-button" onclick="wpcf7QuickPanel('textarea');" style="background-color: #bfe7e5;" />
52
- <input type="button" value="textarea*" class="quick-button" onclick="wpcf7QuickPanel('textarea*');" style="background-color: #bfe7e5;" />
53
- <input type="button" value="select" class="quick-button" onclick="wpcf7QuickPanel('select');" style="background-color: #cbd5e8;" />
54
- <input type="button" value="captchac" class="quick-button" onclick="wpcf7QuickPanel('captchac');" style="background-color: #d5e8cb;" />
55
- <input type="button" value="captchar" class="quick-button" onclick="wpcf7QuickPanel('captchar');" style="background-color: #d5e8cb;" />
56
- <input type="button" value="submit" class="quick-button" onclick="wpcf7QuickPanel('submit');" style="background-color: #e5d6c2;" />
57
- <div id="quick-panel"></div>
58
</div>
59
60
- <div class="fieldset"><div class="legend"><?php _e('Mail template', 'wpcf7'); ?></div>
61
- <label for="wpcf7-mail-subject"><?php _e('Subject field:', 'wpcf7'); ?></label><br />
62
- <input type="text" id="wpcf7-mail-subject" name="wpcf7-mail-subject" class="wide" size="70" value="<?php echo htmlspecialchars($cf['mail']['subject']); ?>" /><br />
63
- <label for="wpcf7-mail-sender"><?php _e('Sender field:', 'wpcf7'); ?></label><br />
64
- <input type="text" id="wpcf7-mail-sender" name="wpcf7-mail-sender" class="wide" size="70" value="<?php echo htmlspecialchars($cf['mail']['sender']); ?>" /><br />
65
- <label for="wpcf7-mail-body"><?php _e('Message body:', 'wpcf7'); ?></label><br />
66
- <textarea id="wpcf7-mail-body" name="wpcf7-mail-body" cols="100" rows="16"><?php echo htmlspecialchars($cf['mail']['body']); ?></textarea>
67
</div>
68
69
- <div class="fieldset"><div class="legend"><?php _e('Options', 'wpcf7'); ?></div>
70
- <label for="wpcf7-options-recipient"><?php _e('Recipient address:', 'wpcf7'); ?></label><br />
71
- <input type="text" id="wpcf7-options-recipient" name="wpcf7-options-recipient" class="wide" size="70" value="<?php echo htmlspecialchars($cf['options']['recipient']); ?>" />
72
</div>
73
74
<p class="submit">
75
<input type="submit" class="cfsave" name="wpcf7-save" value="<?php _e('Save', 'wpcf7'); ?>" />
76
- <?php wp_nonce_field('wpcf7-save_' . $current); ?>
77
</p>
78
-
79
- <p class="submit" style="text-align: left;">
80
- <?php if (! $cf['initial']) : ?>
81
- <?php $delete_nonce = wp_create_nonce('wpcf7-delete_' . $current); ?>
82
- <input type="submit" name="wpcf7-delete" class="cfdelete" value="<?php _e('Delete this contact form', 'wpcf7'); ?>"
83
- <?php echo "onclick=\"if (confirm('" . js_escape(__("You are about to delete this contact form.\n 'Cancel' to stop, 'OK' to delete.", 'wpcf7')) . "')) {this.form._wpnonce.value = '$delete_nonce'; return true;} return false;\""; ?> />
84
- <?php endif; ?>
85
- </p>
86
- </form>
87
-
88
- <script type="text/javascript">
89
- //<![CDATA[
90
91
- function wpcf7ValidateType(type) {
92
- var valid_types = /^(text[*]?|email[*]?|textarea[*]?|select|captcha[cr]|submit)#x2F;;
93
- return valid_types.test(type);
94
- }
95
-
96
- function wpcf7QuickPanel(type) {
97
- var quick_panel = document.getElementById('quick-panel');
98
- if (! quick_panel) return;
99
-
100
- if (! wpcf7ValidateType(type)) return;
101
-
102
- // Style
103
- switch (type) {
104
- case 'text':
105
- case 'text*':
106
- quick_panel.style.backgroundColor = '#cee4d4';
107
- break;
108
- case 'email':
109
- case 'email*':
110
- quick_panel.style.backgroundColor = '#e6edb4';
111
- break;
112
- case 'textarea':
113
- case 'textarea*':
114
- quick_panel.style.backgroundColor = '#bfe7e5';
115
- break;
116
- case 'select':
117
- quick_panel.style.backgroundColor = '#cbd5e8';
118
- break;
119
- case 'captchac':
120
- case 'captchar':
121
- quick_panel.style.backgroundColor = '#d5e8cb';
122
- break;
123
- case 'submit':
124
- quick_panel.style.backgroundColor = '#e5d6c2';
125
- break;
126
- }
127
-
128
- quick_panel.innerHTML = '<div class="close" style="float: right;"><span onclick="document.getElementById(\'quick-panel\').style.display = \'none\';">&#215;</span></div>';
129
- quick_panel.innerHTML += '<div style="text-align: center; font-weight: bold; color: #555;"><code>[' + type + ']</code></div>';
130
- quick_panel.innerHTML += '<input type="hidden" name="qp-type" value="' + type + '" />';
131
-
132
- switch (type) {
133
- case 'text':
134
- case 'text*':
135
- case 'email':
136
- case 'email*':
137
- var akismet_option = '<th><?php echo js_escape(__('Akismet', 'wpcf7')); ?></th><td>'
138
- + '<input type="radio" name="qp-akismet" onchange="wpcf7CreateTag();" value="author" class="inline-opt" /> <?php echo js_escape(__("Check this field as sender&#39;s name", 'wpcf7')); ?><br />'
139
- + '<input type="radio" name="qp-akismet" onchange="wpcf7CreateTag();" value="author_email" class="inline-opt" /> <?php echo js_escape(__("Check this field as sender&#39;s email", 'wpcf7')); ?><br />'
140
- + '<input type="radio" name="qp-akismet" onchange="wpcf7CreateTag();" value="author_url" class="inline-opt" /> <?php echo js_escape(__("Check this field as sender&#39;s URL", 'wpcf7')); ?><br />'
141
- + '<input type="radio" name="qp-akismet" onchange="wpcf7CreateTag();" value="none" checked="checked" class="inline-opt" /> <?php echo js_escape(__("Don&#39;t check this field with Akismet", 'wpcf7')); ?></td>';
142
- quick_panel.innerHTML += '<table><tbody>'
143
- + '<tr><th>name=</th><td><input type="text" name="qp-name" id="qp-name" class="required" value="edit-me" onchange="wpcf7CreateTag();" /></td></tr>'
144
- + '<tr><th>id=</th><td><input type="text" name="qp-id" onchange="wpcf7CreateTag();" /></td>'
145
- + '<th>class=</th><td><input type="text" name="qp-class" onchange="wpcf7CreateTag();" /></td></tr>'
146
- + '<tr><th>size=</th><td><input type="text" name="qp-size" onchange="wpcf7CreateTag();" /></td>'
147
- + '<th>maxlength=</th><td><input type="text" name="qp-maxlength" onchange="wpcf7CreateTag();" /></td></tr>'
148
- + '<tr><th><?php echo js_escape(__('Default value', 'wpcf7')); ?></th><td><input type="text" name="qp-default" onchange="wpcf7CreateTag();" /></td>'
149
- + akismet_option
150
- + '</tr>'
151
- + '</tbody></table>';
152
- break;
153
- case 'textarea':
154
- case 'textarea*':
155
- quick_panel.innerHTML += '<table><tbody>'
156
- + '<tr><th>name=</th><td><input type="text" name="qp-name" id="qp-name" class="required" value="edit-me" onchange="wpcf7CreateTag();" /></td></tr>'
157
- + '<tr><th>id=</th><td><input type="text" name="qp-id" onchange="wpcf7CreateTag();" /></td>'
158
- + '<th>class=</th><td><input type="text" name="qp-class" onchange="wpcf7CreateTag();" /></td></tr>'
159
- + '<tr><th>cols=</th><td><input type="text" name="qp-cols" onchange="wpcf7CreateTag();" /></td>'
160
- + '<th>rows=</th><td><input type="text" name="qp-rows" onchange="wpcf7CreateTag();" /></td></tr>'
161
- + '<tr><th><?php echo js_escape(__('Default value', 'wpcf7')); ?></th><td><input type="text" name="qp-default" onchange="wpcf7CreateTag();" /></td></tr>'
162
- + '</tbody></table>';
163
- break;
164
- case 'select':
165
- quick_panel.innerHTML += '<table><tbody>'
166
- + '<tr><th>name=</th><td><input type="text" name="qp-name" id="qp-name" class="required" value="edit-me" onchange="wpcf7CreateTag();" /></td></tr>'
167
- + '<tr><th>id=</th><td><input type="text" name="qp-id" onchange="wpcf7CreateTag();" /></td>'
168
- + '<th>class=</th><td><input type="text" name="qp-class" onchange="wpcf7CreateTag();" /></td></tr>'
169
- + '<tr><th><?php echo js_escape(__('Choices', 'wpcf7')); ?></th><td><textarea name="qp-default" onchange="wpcf7CreateTag();" rows="6"></textarea><br />'
170
- + '<span style="font-size: smaller;"><?php echo js_escape(__('* One choice per line.', 'wpcf7')); ?></span></td></tr>'
171
- + '</tbody></table>';
172
- break;
173
- case 'captchac':
174
- quick_panel.innerHTML += '<table><tbody>'
175
- + '<tr><th>name=</th><td><input type="text" name="qp-name" id="qp-name" class="required" value="edit-me" onchange="wpcf7CreateTag();" /></td></tr>'
176
- + '<tr><th>id=</th><td><input type="text" name="qp-id" onchange="wpcf7CreateTag();" /></td>'
177
- + '<th>class=</th><td><input type="text" name="qp-class" onchange="wpcf7CreateTag();" /></td></tr>'
178
- + '<tr><th><?php echo js_escape(__('Foreground color', 'wpcf7')); ?></th><td><input type="text" name="qp-fgc" onchange="wpcf7CreateTag();" /></td>'
179
- + '<th><?php echo js_escape(__('Background color', 'wpcf7')); ?></th><td><input type="text" name="qp-bgc" onchange="wpcf7CreateTag();" /></td></tr>'
180
- + '<tr><th><?php echo js_escape(__('Image size', 'wpcf7')); ?></th>'
181
- + '<td><select name="qp-isize" onchange="wpcf7CreateTag();"><option value="">--</option>'
182
- + '<option value="s"><?php echo js_escape(__('Small', 'wpcf7')); ?></option>'
183
- + '<option value="m"><?php echo js_escape(__('Medium', 'wpcf7')); ?></option>'
184
- + '<option value="l"><?php echo js_escape(__('Large', 'wpcf7')); ?></option></select></td></tr>'
185
- + '</tbody></table>';
186
- break;
187
- case 'captchar':
188
- quick_panel.innerHTML += '<table><tbody>'
189
- + '<tr><th>name=</th><td><input type="text" name="qp-name" id="qp-name" class="required" value="edit-me" onchange="wpcf7CreateTag();" /></td></tr>'
190
- + '<tr><th>id=</th><td><input type="text" name="qp-id" onchange="wpcf7CreateTag();" /></td>'
191
- + '<th>class=</th><td><input type="text" name="qp-class" onchange="wpcf7CreateTag();" /></td></tr>'
192
- + '<tr><th>size=</th><td><input type="text" name="qp-size" onchange="wpcf7CreateTag();" /></td>'
193
- + '<th>maxlength=</th><td><input type="text" name="qp-maxlength" onchange="wpcf7CreateTag();" /></td></tr>'
194
- + '<tr><th><?php echo js_escape(__('Default value', 'wpcf7')); ?></th><td><input type="text" name="qp-default" onchange="wpcf7CreateTag();" /></td></tr>'
195
- + '</tbody></table>';
196
- break;
197
- case 'submit':
198
- quick_panel.innerHTML += '<table><tbody>'
199
- + '<tr><th><?php echo js_escape(__('Label', 'wpcf7')); ?></th><td><input type="text" name="qp-label" onchange="wpcf7CreateTag();" /></td></tr>'
200
- + '</tbody></table>';
201
- break;
202
- }
203
-
204
- quick_panel.innerHTML += '<div style="margin: 10px 0 0; text-align: center;">'
205
- + '<input type="text" name="qp-insert" style="width: 80%; border: none; font-family: monospace;" tabindex="32767" /> '
206
- + '<input type="button" value="<?php echo js_escape(__('Insert', 'wpcf7')); ?>" class="qp-button" onclick="wpcf7InsertTag(this.form.elements[\'qp-insert\'].value);" style="width: auto;" />'
207
- + '</div>';
208
- quick_panel.style.display = 'block';
209
- wpcf7CreateTag();
210
- var qp_name = document.getElementById('qp-name');
211
- if (qp_name)
212
- qp_name.focus();
213
- }
214
-
215
- function wpcf7CreateTag() {
216
- var form = document.getElementById('wpcf7-admin-form-element');
217
- if (! form) return;
218
-
219
- var insert = form.elements['qp-insert'];
220
- if (! insert) return;
221
-
222
- var type = form.elements['qp-type'];
223
- if (! type) return;
224
-
225
- type = type.value;
226
- if (! wpcf7ValidateType(type)) return;
227
-
228
- var tag = '[' + type;
229
-
230
- if ('submit' == type) {
231
- var label = form.elements['qp-label'];
232
- if (label && '' != label.value)
233
- tag += ' ' + wpcf7WrapQuote(label.value);
234
- } else {
235
- var name = form.elements['qp-name'];
236
- if (name) {
237
- name.value = name.value.replace(/[^0-9a-zA-Z:._-]/g, '');
238
- name.value = name.value.replace(/^[^a-zA-Z]+/, '');
239
- if ('' == name.value)
240
- name.value = type.replace(/[*]#x2F;, '') + '_' + Math.floor(Math.random() * 1000);
241
- tag += ' ' + name.value;
242
- }
243
-
244
- switch (type) {
245
- case 'text':
246
- case 'text*':
247
- case 'email':
248
- case 'email*':
249
- case 'captchar':
250
- var size = form.elements['qp-size'];
251
- if (size)
252
- size.value = wpcf7Integer(size.value);
253
- var maxlength = form.elements['qp-maxlength'];
254
- if (maxlength)
255
- maxlength.value = wpcf7Integer(maxlength.value);
256
- if (size && '' != size.value && maxlength && '' != maxlength.value) {
257
- tag += ' ' + size.value + '/' + maxlength.value;
258
- } else if (size && '' != size.value) {
259
- tag += ' ' + size.value + '/';
260
- } else if (maxlength && '' != maxlength.value) {
261
- tag += ' ' + '/' + maxlength.value;
262
- }
263
- break;
264
- case 'textarea':
265
- case 'textarea*':
266
- var cols = form.elements['qp-cols'];
267
- if (cols)
268
- cols.value = wpcf7Integer(cols.value);
269
- var rows = form.elements['qp-rows'];
270
- if (rows)
271
- rows.value = wpcf7Integer(rows.value);
272
- if (cols && '' != cols.value && rows && '' != rows.value) {
273
- tag += ' ' + cols.value + 'x' + rows.value;
274
- } else if (cols && '' != cols.value) {
275
- tag += ' ' + cols.value + 'x';
276
- } else if (rows && '' != rows.value) {
277
- tag += ' ' + 'x' + rows.value;
278
- }
279
- break;
280
- }
281
-
282
- var id = form.elements['qp-id'];
283
- if (id) {
284
- id.value = wpcf7Cdata(id.value);
285
- if ('' != id.value) {
286
- tag += ' id:' + id.value;
287
- }
288
- }
289
-
290
- var klass = form.elements['qp-class'];
291
- if (klass) {
292
- var klass_list = klass.value.split(' ');
293
- for (var i = 0; i < klass_list.length; i++) {
294
- var klass_value = wpcf7Cdata(klass_list[i]);
295
- if ('' != klass_value) {
296
- tag += ' class:' + klass_value;
297
- }
298
- }
299
- }
300
-
301
- var akismet = form.elements['qp-akismet'];
302
- if (akismet) {
303
- for (var i = 0; i < akismet.length; i++) {
304
- var ak = akismet[i];
305
- if (ak.checked) {
306
- switch (ak.value) {
307
- case 'author':
308
- tag += ' akismet:author';
309
- break;
310
- case 'author_email':
311
- tag += ' akismet:author_email';
312
- break;
313
- case 'author_url':
314
- tag += ' akismet:author_url';
315
- break;
316
- }
317
- break;
318
- }
319
- }
320
- }
321
-
322
- var image_size = form.elements['qp-isize'];
323
- if (image_size) {
324
- switch (image_size.value) {
325
- case 's':
326
- tag += ' size:s';
327
- break;
328
- case 'm':
329
- tag += ' size:m';
330
- break;
331
- case 'l':
332
- tag += ' size:l';
333
- break;
334
- }
335
- }
336
-
337
- var fgc = form.elements['qp-fgc'];
338
- if (fgc) {
339
- var fgc_v = wpcf7Cdata(fgc.value);
340
- if (fgc_v)
341
- tag += ' fg:#' + fgc_v;
342
- }
343
-
344
- var bgc = form.elements['qp-bgc'];
345
- if (bgc) {
346
- var bgc_v = wpcf7Cdata(bgc.value);
347
- if (bgc_v)
348
- tag += ' bg:#' + bgc_v;
349
- }
350
-
351
- var default_value = form.elements['qp-default'];
352
- if (default_value && '' != default_value.value) {
353
- var default_values = default_value.value.split("\n");
354
- for (var i = 0; i < default_values.length; i++) {
355
- default_values[i] = default_values[i].replace(/^\s+/, '').replace(/\s+#x2F;, '');
356
- if ('' != default_values[i])
357
- tag += ' ' + wpcf7WrapQuote(default_values[i]);
358
- }
359
- }
360
- }
361
-
362
- tag += ']';
363
- insert.value = tag;
364
- }
365
-
366
- function wpcf7Integer(str) {
367
- return str.replace(/[^0-9]/g, '');
368
- }
369
-
370
- function wpcf7Cdata(str) {
371
- return str.replace(/[^-0-9a-zA-Z_]/g, '');
372
- }
373
-
374
- function wpcf7WrapQuote(str) {
375
- if (-1 == str.indexOf('"'))
376
- return '"' + str + '"';
377
- else if (-1 == str.indexOf("'"))
378
- return "'" + str + "'";
379
- else
380
- return '"' + str.replace('"', '') + '"';
381
- }
382
-
383
- function wpcf7InsertTag(tag) {
384
- var f = document.getElementById('wpcf7-form');
385
- if (! f) return;
386
-
387
- if (document.selection) {
388
- f.focus();
389
- var sel = document.selection.createRange();
390
- sel.text = tag;
391
- f.focus();
392
- } else if (f.selectionStart || f.selectionStart == '0') {
393
- var startPos = f.selectionStart;
394
- var endPos = f.selectionEnd;
395
- var cursorPos = endPos;
396
- var scrollTop = f.scrollTop;
397
- f.value = f.value.substring(0, startPos) + tag + f.value.substring(endPos, f.value.length);
398
- cursorPos = startPos + tag.length;
399
- f.focus();
400
- f.selectionStart = cursorPos;
401
- f.selectionEnd = cursorPos;
402
- f.scrollTop = scrollTop;
403
- } else {
404
- f.value += tag;
405
- }
406
- }
407
-
408
- function wpcf7UpdateAnchor(title) {
409
- if (title == null) title = document.getElementById('wpcf7-title').value;
410
- var anchor = document.getElementById('contact-form-anchor-text');
411
- if (anchor) {
412
- title = title.replace(/-+/g, '-');
413
- title = title.replace(/["'\[\]<>]/g, '');
414
- anchor.value = '[contact-form <?php echo $current; ?> "' + title + '"]';
415
- }
416
- }
417
-
418
- wpcf7UpdateAnchor();
419
- //]]>
420
- </script>
421
-
422
- </div>
423
- </div>
4
<div class="wrap">
5
<h2><?php _e('Contact Form 7', 'wpcf7'); ?></h2>
6
<ul class="cfmenu">
7
+ <?php foreach ($contact_forms as $k => $v) : ?>
8
+ <li><?php if ($k == $current) echo '&raquo; '; ?>
9
+ <a href="<?php echo $base_url . '?page=' . $page . '&contactform=' . $k ?>">
10
+ <?php echo $v['title']; ?></a></li>
11
+ <?php endforeach; ?>
12
+ <li class="addnew">
13
+ <?php if ($unsaved) echo '&raquo; '; ?>
14
+ <a href="<?php echo $base_url . '?page=' . $page . '&contactform=new'; ?>">
15
+ <?php _e('Add new', 'wpcf7'); ?></a></li>
16
</ul>
17
+ </div>
18
+ <?php if ($cf) : ?>
19
+ <div class="wrap relative">
20
+ <form method="post" action="<?php echo $base_url . '?page=' . $page . '&contactform=' . $current; ?>" id="wpcf7-admin-form-element">
21
+ <?php wp_nonce_field('wpcf7-save_' . $current); ?>
22
+ <input type="hidden" id="wpcf7-id" name="wpcf7-id" value="<?php echo $current; ?>" />
23
+ <input type="text" id="wpcf7-title" name="wpcf7-title" size="40" value="<?php echo htmlspecialchars($cf['title']); ?>" />
24
25
+ <div class="cfdiv">
26
+ <?php if (! $unsaved) : ?>
27
+ <p class="tagcode">
28
+ <?php _e('Copy and paste this code into your post content.', 'wpcf7'); ?><br />
29
+ <input type="text" id="contact-form-anchor-text" onfocus="this.select();" readonly="readonly" />
30
+ </p>
31
+ <?php endif; ?>
32
33
+ <div class="fieldset" id="form-content-fieldset"><div class="legend"><?php _e('Form', 'wpcf7'); ?></div>
34
<textarea id="wpcf7-form" name="wpcf7-form" cols="100" rows="16"><?php echo htmlspecialchars($cf['form']); ?></textarea>
35
</div>
36
37
+ <div class="fieldset"><div class="legend"><?php _e('Mail', 'wpcf7'); ?></div>
38
+ <div class="mail-field">
39
+ <label for="wpcf7-mail-recipient"><?php _e('To:', 'wpcf7'); ?></label><br />
40
+ <input type="text" id="wpcf7-mail-recipient" name="wpcf7-mail-recipient" class="wide" size="70" value="<?php echo htmlspecialchars($cf['mail']['recipient']); ?>" />
41
+ </div>
42
+ <div class="mail-field">
43
+ <label for="wpcf7-mail-sender"><?php _e('From:', 'wpcf7'); ?></label><br />
44
+ <input type="text" id="wpcf7-mail-sender" name="wpcf7-mail-sender" class="wide" size="70" value="<?php echo htmlspecialchars($cf['mail']['sender']); ?>" />
45
+ </div>
46
+ <div class="mail-field">
47
+ <label for="wpcf7-mail-subject"><?php _e('Subject:', 'wpcf7'); ?></label><br />
48
+ <input type="text" id="wpcf7-mail-subject" name="wpcf7-mail-subject" class="wide" size="70" value="<?php echo htmlspecialchars($cf['mail']['subject']); ?>" />
49
+ </div>
50
+ <div class="mail-field">
51
+ <label for="wpcf7-mail-body"><?php _e('Message body:', 'wpcf7'); ?></label><br />
52
+ <textarea id="wpcf7-mail-body" name="wpcf7-mail-body" cols="100" rows="16"><?php echo htmlspecialchars($cf['mail']['body']); ?></textarea>
53
+ </div>
54
</div>
55
56
+ <div class="fieldset"><div class="legend"><?php _e('Mail (2)', 'wpcf7'); ?></div>
57
+ <input type="checkbox" id="wpcf7-mail-2-active" name="wpcf7-mail-2-active" value="1"<?php echo ($cf['mail_2']['active']) ? ' checked="checked"' : ''; ?> />
58
+ <label for="wpcf7-mail-2-active"><?php _e('Use mail (2)', 'wpcf7'); ?></label>
59
+ <div class="mail-field">
60
+ <label for="wpcf7-mail-2-recipient"><?php _e('To:', 'wpcf7'); ?></label><br />
61
+ <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']); ?>" />
62
+ </div>
63
+ <div class="mail-field">
64
+ <label for="wpcf7-mail-2-sender"><?php _e('From:', 'wpcf7'); ?></label><br />
65
+ <input type="text" id="wpcf7-mail-2-sender" name="wpcf7-mail-2-sender" class="wide" size="70" value="<?php echo htmlspecialchars($cf['mail_2']['sender']); ?>" />
66
+ </div>
67
+ <div class="mail-field">
68
+ <label for="wpcf7-mail-2-subject"><?php _e('Subject:', 'wpcf7'); ?></label><br />
69
+ <input type="text" id="wpcf7-mail-2-subject" name="wpcf7-mail-2-subject" class="wide" size="70" value="<?php echo htmlspecialchars($cf['mail_2']['subject']); ?>" />
70
+ </div>
71
+ <div class="mail-field">
72
+ <label for="wpcf7-mail-2-body"><?php _e('Message body:', 'wpcf7'); ?></label><br />
73
+ <textarea id="wpcf7-mail-2-body" name="wpcf7-mail-2-body" cols="100" rows="16"><?php echo htmlspecialchars($cf['mail_2']['body']); ?></textarea>
74
+ </div>
75
</div>
76
77
+ <input type="hidden" id="wpcf7-options-recipient" name="wpcf7-options-recipient" value="<?php echo htmlspecialchars($cf['options']['recipient']); ?>" />
78
+
79
<p class="submit">
80
<input type="submit" class="cfsave" name="wpcf7-save" value="<?php _e('Save', 'wpcf7'); ?>" />
81
</p>
82
+ </div>
83
84
+ <?php if (! $unsaved) : ?>
85
+ <div class="delete-link"><?php $delete_nonce = wp_create_nonce('wpcf7-delete_' . $current); ?>
86
+ <input type="submit" name="wpcf7-delete" value="<?php _e('Delete this contact form', 'wpcf7'); ?>"
87
+ <?php echo "onclick=\"if (confirm('" . js_escape(__("You are about to delete this contact form.\n 'Cancel' to stop, 'OK' to delete.", 'wpcf7')) . "')) {this.form._wpnonce.value = '$delete_nonce'; return true;} return false;\""; ?> />
88
+ </div>
89
+ <?php endif; ?>
90
+ </form>
91
+ </div>
92
+ <?php endif; ?>
languages/wpcf7-de_DE.mo CHANGED
Binary file
languages/wpcf7-de_DE.po CHANGED
@@ -4,89 +4,89 @@ msgid ""
4
msgstr ""
5
"Project-Id-Version: wpcf7-de_DE\n"
6
"POT-Creation-Date: \n"
7
- "PO-Revision-Date: 2007-09-13 14:30+0200\n"
8
"Last-Translator: Marcel Spitau <marcel.spitau@mawspitau.de>\n"
9
"Language-Team: deutsch\n"
10
"MIME-Version: 1.0\n"
11
"Content-Type: text/plain; charset=UTF-8\n"
12
"Content-Transfer-Encoding: 8bit\n"
13
- "X-Poedit-Language: Japanese\n"
14
- "X-Poedit-Country: JAPAN\n"
15
"X-Poedit-SourceCharset: utf-8\n"
16
"X-Poedit-KeywordsList: __;_e\n"
17
"X-Poedit-Basepath: ../..\n"
18
"X-Poedit-SearchPath-0: contact-form-7\n"
19
"X-Generator: KBabel 1.11.4\n"
20
21
- #: contact-form-7/wp-contact-form-7.php:128
22
- #: contact-form-7/wp-contact-form-7.php:201
23
msgid "Contact form"
24
msgstr "Kontaktformular"
25
26
- #: contact-form-7/wp-contact-form-7.php:157
27
#: contact-form-7/includes/admin-panel.php:5
28
msgid "Contact Form 7"
29
msgstr "Contact Form 7"
30
31
- #: contact-form-7/wp-contact-form-7.php:177
32
#, php-format
33
msgid "Contact form \"%s\" deleted. "
34
msgstr "Kontaktformular Nr. \"%s\" gelöscht."
35
36
- #: contact-form-7/wp-contact-form-7.php:193
37
#, php-format
38
msgid "Contact form \"%s\" saved. "
39
msgstr "Kontaktformular Nr. \"%s\" gespeichert."
40
41
- #: contact-form-7/wp-contact-form-7.php:222
42
msgid "Your Name"
43
msgstr "Ihr Name"
44
45
- #: contact-form-7/wp-contact-form-7.php:222
46
- #: contact-form-7/wp-contact-form-7.php:224
47
msgid "(required)"
48
msgstr "(Pflichtfeld)"
49
50
- #: contact-form-7/wp-contact-form-7.php:224
51
msgid "Your Email"
52
msgstr "Ihre E-Mail"
53
54
- #: contact-form-7/wp-contact-form-7.php:226
55
msgid "Subject"
56
msgstr "Betreff"
57
58
- #: contact-form-7/wp-contact-form-7.php:228
59
msgid "Your Message"
60
msgstr "Ihre Nachricht"
61
62
- #: contact-form-7/wp-contact-form-7.php:230
63
- #: contact-form-7/wp-contact-form-7.php:593
64
msgid "Send"
65
msgstr "Senden"
66
67
- #: contact-form-7/wp-contact-form-7.php:249
68
msgid "Your message was sent successfully. Thanks."
69
msgstr "Ihre Nachricht wurde erfolgreich versendet. Vielen Dank!"
70
71
- #: contact-form-7/wp-contact-form-7.php:251
72
msgid "Failed to send your message. Please try later or contact administrator by other way."
73
msgstr "Das Versenden der E-Mail war fehlerhaft. Bitte versuchen Sie es nocheinmal zu einem späteren Zeitpunkt oder informieren Sie den Adminstrator."
74
75
- #: contact-form-7/wp-contact-form-7.php:324
76
- #: contact-form-7/wp-contact-form-7.php:424
77
msgid "Validation errors occurred. Please confirm the fields and submit it again."
78
msgstr "Fehler beim Ausfüllen des Formulars. Bitte überprüfen Sie Ihre Eingabe und drücken Sie nochmals auf versenden."
79
80
#: contact-form-7/wp-contact-form-7.php:351
81
- #: contact-form-7/wp-contact-form-7.php:358
82
- #: contact-form-7/wp-contact-form-7.php:409
83
msgid "Please fill the required field."
84
msgstr "Bitte füllen Sie die Pflichtfelder aus."
85
86
- #: contact-form-7/wp-contact-form-7.php:361
87
- #: contact-form-7/wp-contact-form-7.php:402
88
- msgid "Email address seems invalid."
89
- msgstr "Ungültige Eingabe der E-Mail-Adresse."
90
91
#: contact-form-7/includes/admin-panel.php:19
92
#: contact-form-7/includes/admin-panel.php:22
@@ -105,39 +105,39 @@ msgstr "Kopieren Sie diesen Code und fügen Sie in Ihren Artikel oder die Seite
105
msgid "Form content"
106
msgstr "Formularinhalt"
107
108
- #: contact-form-7/includes/admin-panel.php:58
109
msgid "Mail template"
110
msgstr "Vorlage für die E-Mail"
111
112
- #: contact-form-7/includes/admin-panel.php:59
113
msgid "Subject field:"
114
msgstr "Betrefffeld:"
115
116
- #: contact-form-7/includes/admin-panel.php:61
117
msgid "Sender field:"
118
msgstr "Absenderfeld:"
119
120
- #: contact-form-7/includes/admin-panel.php:63
121
msgid "Message body:"
122
msgstr "Nachrichtentext:"
123
124
- #: contact-form-7/includes/admin-panel.php:67
125
msgid "Options"
126
msgstr "Optionen"
127
128
- #: contact-form-7/includes/admin-panel.php:68
129
msgid "Recipient address:"
130
msgstr "Empfänger Adresse:"
131
132
- #: contact-form-7/includes/admin-panel.php:73
133
msgid "Save"
134
msgstr "Speichern"
135
136
- #: contact-form-7/includes/admin-panel.php:80
137
msgid "Delete this contact form"
138
msgstr "Dieses Kontaktformular löschen."
139
140
- #: contact-form-7/includes/admin-panel.php:81
141
msgid ""
142
"You are about to delete this contact form.\n"
143
" 'Cancel' to stop, 'OK' to delete."
@@ -146,23 +146,68 @@ msgstr ""
146
"'Abbrechen' um zu stoppen und 'OK' um zu löschen"
147
148
#: contact-form-7/includes/admin-panel.php:137
149
#: contact-form-7/includes/admin-panel.php:148
150
msgid "Default value"
151
msgstr "Standardwert"
152
153
- #: contact-form-7/includes/admin-panel.php:156
154
msgid "Choices"
155
msgstr "Möglichkeiten"
156
157
- #: contact-form-7/includes/admin-panel.php:157
158
msgid "* One choice per line."
159
- msgstr "* Eine Möglichkeit in einer Zeile"
160
161
- #: contact-form-7/includes/admin-panel.php:162
162
msgid "Label"
163
msgstr "Etikett"
164
165
- #: contact-form-7/includes/admin-panel.php:169
166
msgid "Insert"
167
msgstr "Einfügen"
168
4
msgstr ""
5
"Project-Id-Version: wpcf7-de_DE\n"
6
"POT-Creation-Date: \n"
7
+ "PO-Revision-Date: 2007-10-09 10:16+0200\n"
8
"Last-Translator: Marcel Spitau <marcel.spitau@mawspitau.de>\n"
9
"Language-Team: deutsch\n"
10
"MIME-Version: 1.0\n"
11
"Content-Type: text/plain; charset=UTF-8\n"
12
"Content-Transfer-Encoding: 8bit\n"
13
+ "X-Poedit-Language: German\n"
14
+ "X-Poedit-Country: GERMANY\n"
15
"X-Poedit-SourceCharset: utf-8\n"
16
"X-Poedit-KeywordsList: __;_e\n"
17
"X-Poedit-Basepath: ../..\n"
18
"X-Poedit-SearchPath-0: contact-form-7\n"
19
"X-Generator: KBabel 1.11.4\n"
20
21
+ #: contact-form-7/wp-contact-form-7.php:224
22
+ #: contact-form-7/wp-contact-form-7.php:297
23
msgid "Contact form"
24
msgstr "Kontaktformular"
25
26
+ #: contact-form-7/wp-contact-form-7.php:253
27
#: contact-form-7/includes/admin-panel.php:5
28
msgid "Contact Form 7"
29
msgstr "Contact Form 7"
30
31
+ #: contact-form-7/wp-contact-form-7.php:273
32
#, php-format
33
msgid "Contact form \"%s\" deleted. "
34
msgstr "Kontaktformular Nr. \"%s\" gelöscht."
35
36
+ #: contact-form-7/wp-contact-form-7.php:289
37
#, php-format
38
msgid "Contact form \"%s\" saved. "
39
msgstr "Kontaktformular Nr. \"%s\" gespeichert."
40
41
+ #: contact-form-7/wp-contact-form-7.php:318
42
msgid "Your Name"
43
msgstr "Ihr Name"
44
45
+ #: contact-form-7/wp-contact-form-7.php:318
46
+ #: contact-form-7/wp-contact-form-7.php:320
47
msgid "(required)"
48
msgstr "(Pflichtfeld)"
49
50
+ #: contact-form-7/wp-contact-form-7.php:320
51
msgid "Your Email"
52
msgstr "Ihre E-Mail"
53
54
+ #: contact-form-7/wp-contact-form-7.php:322
55
msgid "Subject"
56
msgstr "Betreff"
57
58
+ #: contact-form-7/wp-contact-form-7.php:324
59
msgid "Your Message"
60
msgstr "Ihre Nachricht"
61
62
+ #: contact-form-7/wp-contact-form-7.php:326
63
+ #: contact-form-7/wp-contact-form-7.php:738
64
msgid "Send"
65
msgstr "Senden"
66
67
+ #: contact-form-7/wp-contact-form-7.php:345
68
msgid "Your message was sent successfully. Thanks."
69
msgstr "Ihre Nachricht wurde erfolgreich versendet. Vielen Dank!"
70
71
+ #: contact-form-7/wp-contact-form-7.php:347
72
msgid "Failed to send your message. Please try later or contact administrator by other way."
73
msgstr "Das Versenden der E-Mail war fehlerhaft. Bitte versuchen Sie es nocheinmal zu einem späteren Zeitpunkt oder informieren Sie den Adminstrator."
74
75
+ #: contact-form-7/wp-contact-form-7.php:349
76
msgid "Validation errors occurred. Please confirm the fields and submit it again."
77
msgstr "Fehler beim Ausfüllen des Formulars. Bitte überprüfen Sie Ihre Eingabe und drücken Sie nochmals auf versenden."
78
79
#: contact-form-7/wp-contact-form-7.php:351
80
+ msgid "Email address seems invalid."
81
+ msgstr "Die E-Mail-Adresse macht einen ungültigen Eindruck."
82
+
83
+ #: contact-form-7/wp-contact-form-7.php:353
84
msgid "Please fill the required field."
85
msgstr "Bitte füllen Sie die Pflichtfelder aus."
86
87
+ #: contact-form-7/wp-contact-form-7.php:355
88
+ msgid "Your entered code is incorrect."
89
+ msgstr "Der von Ihnen eingetippte Code ist ungültig."
90
91
#: contact-form-7/includes/admin-panel.php:19
92
#: contact-form-7/includes/admin-panel.php:22
105
msgid "Form content"
106
msgstr "Formularinhalt"
107
108
+ #: contact-form-7/includes/admin-panel.php:60
109
msgid "Mail template"
110
msgstr "Vorlage für die E-Mail"
111
112
+ #: contact-form-7/includes/admin-panel.php:61
113
msgid "Subject field:"
114
msgstr "Betrefffeld:"
115
116
+ #: contact-form-7/includes/admin-panel.php:63
117
msgid "Sender field:"
118
msgstr "Absenderfeld:"
119
120
+ #: contact-form-7/includes/admin-panel.php:65
121
msgid "Message body:"
122
msgstr "Nachrichtentext:"
123
124
+ #: contact-form-7/includes/admin-panel.php:69
125
msgid "Options"
126
msgstr "Optionen"
127
128
+ #: contact-form-7/includes/admin-panel.php:70
129
msgid "Recipient address:"
130
msgstr "Empfänger Adresse:"
131
132
+ #: contact-form-7/includes/admin-panel.php:75
133
msgid "Save"
134
msgstr "Speichern"
135
136
+ #: contact-form-7/includes/admin-panel.php:82
137
msgid "Delete this contact form"
138
msgstr "Dieses Kontaktformular löschen."
139
140
+ #: contact-form-7/includes/admin-panel.php:83
141
msgid ""
142
"You are about to delete this contact form.\n"
143
" 'Cancel' to stop, 'OK' to delete."
146
"'Abbrechen' um zu stoppen und 'OK' um zu löschen"
147
148
#: contact-form-7/includes/admin-panel.php:137
149
+ msgid "Akismet"
150
+ msgstr "Akismet"
151
+
152
+ #: contact-form-7/includes/admin-panel.php:138
153
+ msgid "Check this field as sender&#39;s name"
154
+ msgstr "Dieses Feld als 'Name des Versenders' überprüfen"
155
+
156
+ #: contact-form-7/includes/admin-panel.php:139
157
+ msgid "Check this field as sender&#39;s email"
158
+ msgstr "Dieses Feld als 'E-Mail des Versenders' überprüfen"
159
+
160
+ #: contact-form-7/includes/admin-panel.php:140
161
+ msgid "Check this field as sender&#39;s URL"
162
+ msgstr "Dieses Feld als 'URL des Versenders' überprüfen"
163
+
164
+ #: contact-form-7/includes/admin-panel.php:141
165
+ msgid "Don&#39;t check this field with Akismet"
166
+ msgstr "Dieses Feld nicht mit Askimet überprüfen"
167
+
168
#: contact-form-7/includes/admin-panel.php:148
169
+ #: contact-form-7/includes/admin-panel.php:161
170
+ #: contact-form-7/includes/admin-panel.php:194
171
msgid "Default value"
172
msgstr "Standardwert"
173
174
+ #: contact-form-7/includes/admin-panel.php:169
175
msgid "Choices"
176
msgstr "Möglichkeiten"
177
178
+ #: contact-form-7/includes/admin-panel.php:170
179
msgid "* One choice per line."
180
+ msgstr "* Eine Möglichkeit pro Zeile"
181
+
182
+ #: contact-form-7/includes/admin-panel.php:178
183
+ msgid "Foreground color"
184
+ msgstr "Vordergrundfarbe"
185
186
+ #: contact-form-7/includes/admin-panel.php:179
187
+ msgid "Background color"
188
+ msgstr "Hintergrundfarbe"
189
+
190
+ #: contact-form-7/includes/admin-panel.php:180
191
+ msgid "Image size"
192
+ msgstr "Bildgröße"
193
+
194
+ #: contact-form-7/includes/admin-panel.php:182
195
+ msgid "Small"
196
+ msgstr "klein"
197
+
198
+ #: contact-form-7/includes/admin-panel.php:183
199
+ msgid "Medium"
200
+ msgstr "mittel"
201
+
202
+ #: contact-form-7/includes/admin-panel.php:184
203
+ msgid "Large"
204
+ msgstr "groß"
205
+
206
+ #: contact-form-7/includes/admin-panel.php:199
207
msgid "Label"
208
msgstr "Etikett"
209
210
+ #: contact-form-7/includes/admin-panel.php:206
211
msgid "Insert"
212
msgstr "Einfügen"
213
languages/wpcf7-ja.mo CHANGED
Binary file
languages/wpcf7-ja.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
msgstr ""
3
"Project-Id-Version: WP Contact Form 7\n"
4
"POT-Creation-Date: \n"
5
- "PO-Revision-Date: 2007-09-29 23:08+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"
@@ -15,126 +15,250 @@ msgstr ""
15
"X-Poedit-Basepath: ../..\n"
16
"X-Poedit-SearchPath-0: contact-form-7\n"
17
18
- #: contact-form-7/wp-contact-form-7.php:224
19
- #: contact-form-7/wp-contact-form-7.php:297
20
msgid "Contact form"
21
msgstr "コンタクトフォーム"
22
23
- #: contact-form-7/wp-contact-form-7.php:253
24
#: contact-form-7/includes/admin-panel.php:5
25
msgid "Contact Form 7"
26
msgstr "Contact Form 7"
27
28
- #: contact-form-7/wp-contact-form-7.php:273
29
- #, php-format
30
- msgid "Contact form \"%s\" deleted. "
31
- msgstr "コンタクトフォーム \"%s\" が削除されました。"
32
33
- #: contact-form-7/wp-contact-form-7.php:289
34
- #, php-format
35
- msgid "Contact form \"%s\" saved. "
36
- msgstr "コンタクトフォーム \"%s\" が保存されました。"
37
38
- #: contact-form-7/wp-contact-form-7.php:318
39
msgid "Your Name"
40
msgstr "お名前"
41
42
- #: contact-form-7/wp-contact-form-7.php:318
43
- #: contact-form-7/wp-contact-form-7.php:320
44
msgid "(required)"
45
msgstr "(必須)"
46
47
- #: contact-form-7/wp-contact-form-7.php:320
48
msgid "Your Email"
49
msgstr "メールアドレス"
50
51
- #: contact-form-7/wp-contact-form-7.php:322
52
msgid "Subject"
53
msgstr "題名"
54
55
- #: contact-form-7/wp-contact-form-7.php:324
56
msgid "Your Message"
57
msgstr "メッセージ本文"
58
59
- #: contact-form-7/wp-contact-form-7.php:326
60
- #: contact-form-7/wp-contact-form-7.php:738
61
msgid "Send"
62
msgstr "送信"
63
64
- #: contact-form-7/wp-contact-form-7.php:345
65
msgid "Your message was sent successfully. Thanks."
66
msgstr "あなたのメッセージは送信されました。ありがとうございました。"
67
68
- #: contact-form-7/wp-contact-form-7.php:347
69
msgid "Failed to send your message. Please try later or contact administrator by other way."
70
msgstr "メッセージの送信に失敗しました。間をおいてもう一度お試しいただくか、別の手段で管理者にお問い合わせ下さい。"
71
72
- #: contact-form-7/wp-contact-form-7.php:349
73
msgid "Validation errors occurred. Please confirm the fields and submit it again."
74
msgstr "入力内容に不備があります。確認してもう一度送信してください。"
75
76
- #: contact-form-7/wp-contact-form-7.php:351
77
msgid "Email address seems invalid."
78
msgstr "メールアドレスの形式が正しくないようです。"
79
80
- #: contact-form-7/wp-contact-form-7.php:353
81
msgid "Please fill the required field."
82
msgstr "必須項目に記入もれがあります。"
83
84
- #: contact-form-7/wp-contact-form-7.php:355
85
msgid "Your entered code is incorrect."
86
msgstr "入力されたコードが正しくありません。"
87
88
- #: contact-form-7/includes/admin-panel.php:19
89
- #: contact-form-7/includes/admin-panel.php:22
90
msgid "Add new"
91
msgstr "新規追加"
92
93
- #: contact-form-7/includes/admin-panel.php:34
94
- msgid "Title"
95
- msgstr "タイトル"
96
-
97
- #: contact-form-7/includes/admin-panel.php:39
98
msgid "Copy and paste this code into your post content."
99
msgstr "次のコードをコピーして投稿の本文中にペーストして下さい。"
100
101
- #: contact-form-7/includes/admin-panel.php:45
102
- msgid "Form content"
103
- msgstr "フォームの内容"
104
105
- #: contact-form-7/includes/admin-panel.php:60
106
- msgid "Mail template"
107
- msgstr "メールのテンプレート"
108
109
- #: contact-form-7/includes/admin-panel.php:61
110
- msgid "Subject field:"
111
- msgstr "題名欄:"
112
113
- #: contact-form-7/includes/admin-panel.php:63
114
- msgid "Sender field:"
115
- msgstr "送信者欄:"
116
117
- #: contact-form-7/includes/admin-panel.php:65
118
msgid "Message body:"
119
msgstr "メッセージ本文:"
120
121
- #: contact-form-7/includes/admin-panel.php:69
122
- msgid "Options"
123
- msgstr "オプション"
124
125
- #: contact-form-7/includes/admin-panel.php:70
126
- msgid "Recipient address:"
127
- msgstr "受信者アドレス:"
128
129
- #: contact-form-7/includes/admin-panel.php:75
130
msgid "Save"
131
msgstr "保存"
132
133
- #: contact-form-7/includes/admin-panel.php:82
134
msgid "Delete this contact form"
135
msgstr "このコンタクトフォームを削除"
136
137
- #: contact-form-7/includes/admin-panel.php:83
138
msgid ""
139
"You are about to delete this contact form.\n"
140
" 'Cancel' to stop, 'OK' to delete."
@@ -142,69 +266,3 @@ msgstr ""
142
"このコンタクトフォームを削除しようとしています。\n"
143
" 'キャンセル' で中止、 'OK' で削除します。"
144
145
- #: contact-form-7/includes/admin-panel.php:137
146
- msgid "Akismet"
147
- msgstr "Akismet"
148
-
149
- #: contact-form-7/includes/admin-panel.php:138
150
- msgid "Check this field as sender&#39;s name"
151
- msgstr "このフィールドを送信者の名前としてチェックする"
152
-
153
- #: contact-form-7/includes/admin-panel.php:139
154
- msgid "Check this field as sender&#39;s email"
155
- msgstr "このフィールドを送信者のメールアドレスとしてチェックする"
156
-
157
- #: contact-form-7/includes/admin-panel.php:140
158
- msgid "Check this field as sender&#39;s URL"
159
- msgstr "このフィールドを送信者の URL としてチェックする"
160
-
161
- #: contact-form-7/includes/admin-panel.php:141
162
- msgid "Don&#39;t check this field with Akismet"
163
- msgstr "このフィールドは Akismet のチェックの対象としない"
164
-
165
- #: contact-form-7/includes/admin-panel.php:148
166
- #: contact-form-7/includes/admin-panel.php:161
167
- #: contact-form-7/includes/admin-panel.php:194
168
- msgid "Default value"
169
- msgstr "デフォルト値"
170
-
171
- #: contact-form-7/includes/admin-panel.php:169
172
- msgid "Choices"
173
- msgstr "選択項目"
174
-
175
- #: contact-form-7/includes/admin-panel.php:170
176
- msgid "* One choice per line."
177
- msgstr "* 1行ごとに分けて入力してください。"
178
-
179
- #: contact-form-7/includes/admin-panel.php:178
180
- msgid "Foreground color"
181
- msgstr "文字色"
182
-
183
- #: contact-form-7/includes/admin-panel.php:179
184
- msgid "Background color"
185
- msgstr "背景色"
186
-
187
- #: contact-form-7/includes/admin-panel.php:180
188
- msgid "Image size"
189
- msgstr "画像サイズ"
190
-
191
- #: contact-form-7/includes/admin-panel.php:182
192
- msgid "Small"
193
- msgstr "小"
194
-
195
- #: contact-form-7/includes/admin-panel.php:183
196
- msgid "Medium"
197
- msgstr "中"
198
-
199
- #: contact-form-7/includes/admin-panel.php:184
200
- msgid "Large"
201
- msgstr "大"
202
-
203
- #: contact-form-7/includes/admin-panel.php:199
204
- msgid "Label"
205
- msgstr "ラベル"
206
-
207
- #: contact-form-7/includes/admin-panel.php:206
208
- msgid "Insert"
209
- msgstr "挿入"
210
-
2
msgstr ""
3
"Project-Id-Version: WP Contact Form 7\n"
4
"POT-Creation-Date: \n"
5
+ "PO-Revision-Date: 2007-10-16 15: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"
15
"X-Poedit-Basepath: ../..\n"
16
"X-Poedit-SearchPath-0: contact-form-7\n"
17
18
+ #: contact-form-7/wp-contact-form-7.php:235
19
msgid "Contact form"
20
msgstr "コンタクトフォーム"
21
22
+ #: contact-form-7/wp-contact-form-7.php:320
23
#: contact-form-7/includes/admin-panel.php:5
24
msgid "Contact Form 7"
25
msgstr "Contact Form 7"
26
27
+ #: contact-form-7/wp-contact-form-7.php:336
28
+ msgid "optional"
29
+ msgstr "オプション"
30
+
31
+ #: contact-form-7/wp-contact-form-7.php:337
32
+ msgid "Generate Tag"
33
+ msgstr "タグの作成"
34
+
35
+ #: contact-form-7/wp-contact-form-7.php:338
36
+ msgid "Text field"
37
+ msgstr "テキスト項目"
38
+
39
+ #: contact-form-7/wp-contact-form-7.php:339
40
+ msgid "Email field"
41
+ msgstr "メールアドレス項目"
42
+
43
+ #: contact-form-7/wp-contact-form-7.php:340
44
+ msgid "Text area"
45
+ msgstr "テキストエリア"
46
+
47
+ #: contact-form-7/wp-contact-form-7.php:341
48
+ msgid "Drop-down menu"
49
+ msgstr "ドロップダウン・メニュー"
50
+
51
+ #: contact-form-7/wp-contact-form-7.php:342
52
+ msgid "CAPTCHA"
53
+ msgstr "CAPTCHA"
54
+
55
+ #: contact-form-7/wp-contact-form-7.php:343
56
+ msgid "Submit button"
57
+ msgstr "送信ボタン"
58
+
59
+ #: contact-form-7/wp-contact-form-7.php:344
60
+ msgid "Name"
61
+ msgstr "名前"
62
+
63
+ #: contact-form-7/wp-contact-form-7.php:345
64
+ msgid "Required field?"
65
+ msgstr "必須入力の項目ですか?"
66
+
67
+ #: contact-form-7/wp-contact-form-7.php:346
68
+ msgid "Choices"
69
+ msgstr "選択項目"
70
+
71
+ #: contact-form-7/wp-contact-form-7.php:347
72
+ msgid "Label"
73
+ msgstr "ラベル"
74
+
75
+ #: contact-form-7/wp-contact-form-7.php:348
76
+ msgid "Default value"
77
+ msgstr "デフォルト値"
78
+
79
+ #: contact-form-7/wp-contact-form-7.php:349
80
+ msgid "Akismet"
81
+ msgstr "Akismet"
82
+
83
+ #: contact-form-7/wp-contact-form-7.php:350
84
+ msgid "This field requires author's name"
85
+ msgstr "送信者の名前の入力を要求する項目"
86
+
87
+ #: contact-form-7/wp-contact-form-7.php:351
88
+ msgid "This field requires author's URL"
89
+ msgstr "送信者の URL の入力を要求する項目"
90
+
91
+ #: contact-form-7/wp-contact-form-7.php:352
92
+ msgid "This field requires author's email address"
93
+ msgstr "送信者のメールアドレスの入力を要求する項目"
94
+
95
+ #: contact-form-7/wp-contact-form-7.php:353
96
+ msgid "Copy and paste this code into the form"
97
+ msgstr "次のコードをコピーしてフォームにペーストして下さい。"
98
+
99
+ #: contact-form-7/wp-contact-form-7.php:354
100
+ msgid "Foreground color"
101
+ msgstr "文字色"
102
+
103
+ #: contact-form-7/wp-contact-form-7.php:355
104
+ msgid "Background color"
105
+ msgstr "背景色"
106
+
107
+ #: contact-form-7/wp-contact-form-7.php:356
108
+ msgid "Image size"
109
+ msgstr "画像サイズ"
110
+
111
+ #: contact-form-7/wp-contact-form-7.php:357
112
+ msgid "Small"
113
+ msgstr "小"
114
+
115
+ #: contact-form-7/wp-contact-form-7.php:358
116
+ msgid "Medium"
117
+ msgstr "中"
118
+
119
+ #: contact-form-7/wp-contact-form-7.php:359
120
+ msgid "Large"
121
+ msgstr "大"
122
+
123
+ #: contact-form-7/wp-contact-form-7.php:360
124
+ msgid "Image settings"
125
+ msgstr "画像の設定"
126
+
127
+ #: contact-form-7/wp-contact-form-7.php:361
128
+ msgid "Input field settings"
129
+ msgstr "入力項目の設定"
130
+
131
+ #: contact-form-7/wp-contact-form-7.php:362
132
+ msgid "For image"
133
+ msgstr "画像"
134
+
135
+ #: contact-form-7/wp-contact-form-7.php:363
136
+ msgid "For input field"
137
+ msgstr "入力項目"
138
+
139
+ #: contact-form-7/wp-contact-form-7.php:364
140
+ msgid "* One choice per line."
141
+ msgstr "* 1行ごとに分けて入力してください。"
142
+
143
+ #: contact-form-7/wp-contact-form-7.php:383
144
+ msgid "Contact form created."
145
+ msgstr "コンタクトフォームが作成されました。"
146
+
147
+ #: contact-form-7/wp-contact-form-7.php:386
148
+ msgid "Contact form saved."
149
+ msgstr "コンタクトフォームが保存されました。"
150
151
+ #: contact-form-7/wp-contact-form-7.php:389
152
+ msgid "Contact form deleted."
153
+ msgstr "コンタクトフォームが削除されました。"
154
155
+ #: contact-form-7/wp-contact-form-7.php:396
156
+ msgid "Untitled"
157
+ msgstr "無題"
158
+
159
+ #: contact-form-7/wp-contact-form-7.php:420
160
msgid "Your Name"
161
msgstr "お名前"
162
163
+ #: contact-form-7/wp-contact-form-7.php:420
164
+ #: contact-form-7/wp-contact-form-7.php:422
165
msgid "(required)"
166
msgstr "(必須)"
167
168
+ #: contact-form-7/wp-contact-form-7.php:422
169
msgid "Your Email"
170
msgstr "メールアドレス"
171
172
+ #: contact-form-7/wp-contact-form-7.php:424
173
msgid "Subject"
174
msgstr "題名"
175
176
+ #: contact-form-7/wp-contact-form-7.php:426
177
msgid "Your Message"
178
msgstr "メッセージ本文"
179
180
+ #: contact-form-7/wp-contact-form-7.php:428
181
+ #: contact-form-7/wp-contact-form-7.php:795
182
msgid "Send"
183
msgstr "送信"
184
185
+ #: contact-form-7/wp-contact-form-7.php:457
186
msgid "Your message was sent successfully. Thanks."
187
msgstr "あなたのメッセージは送信されました。ありがとうございました。"
188
189
+ #: contact-form-7/wp-contact-form-7.php:459
190
msgid "Failed to send your message. Please try later or contact administrator by other way."
191
msgstr "メッセージの送信に失敗しました。間をおいてもう一度お試しいただくか、別の手段で管理者にお問い合わせ下さい。"
192
193
+ #: contact-form-7/wp-contact-form-7.php:461
194
msgid "Validation errors occurred. Please confirm the fields and submit it again."
195
msgstr "入力内容に不備があります。確認してもう一度送信してください。"
196
197
+ #: contact-form-7/wp-contact-form-7.php:463
198
msgid "Email address seems invalid."
199
msgstr "メールアドレスの形式が正しくないようです。"
200
201
+ #: contact-form-7/wp-contact-form-7.php:465
202
msgid "Please fill the required field."
203
msgstr "必須項目に記入もれがあります。"
204
205
+ #: contact-form-7/wp-contact-form-7.php:467
206
msgid "Your entered code is incorrect."
207
msgstr "入力されたコードが正しくありません。"
208
209
+ #: contact-form-7/includes/admin-panel.php:15
210
msgid "Add new"
211
msgstr "新規追加"
212
213
+ #: contact-form-7/includes/admin-panel.php:28
214
msgid "Copy and paste this code into your post content."
215
msgstr "次のコードをコピーして投稿の本文中にペーストして下さい。"
216
217
+ #: contact-form-7/includes/admin-panel.php:33
218
+ msgid "Form"
219
+ msgstr "フォーム"
220
221
+ #: contact-form-7/includes/admin-panel.php:37
222
+ msgid "Mail"
223
+ msgstr "メール"
224
225
+ #: contact-form-7/includes/admin-panel.php:38
226
+ #: contact-form-7/includes/admin-panel.php:51
227
+ msgid "To:"
228
+ msgstr "宛先:"
229
230
+ #: contact-form-7/includes/admin-panel.php:40
231
+ #: contact-form-7/includes/admin-panel.php:53
232
+ msgid "From:"
233
+ msgstr "差出人:"
234
235
+ #: contact-form-7/includes/admin-panel.php:42
236
+ #: contact-form-7/includes/admin-panel.php:55
237
+ msgid "Subject:"
238
+ msgstr "件名:"
239
+
240
+ #: contact-form-7/includes/admin-panel.php:44
241
+ #: contact-form-7/includes/admin-panel.php:57
242
msgid "Message body:"
243
msgstr "メッセージ本文:"
244
245
+ #: contact-form-7/includes/admin-panel.php:48
246
+ msgid "Mail (2)"
247
+ msgstr "メール (2)"
248
249
+ #: contact-form-7/includes/admin-panel.php:50
250
+ msgid "Use mail (2)"
251
+ msgstr "メール (2) を使う"
252
253
+ #: contact-form-7/includes/admin-panel.php:64
254
msgid "Save"
255
msgstr "保存"
256
257
+ #: contact-form-7/includes/admin-panel.php:70
258
msgid "Delete this contact form"
259
msgstr "このコンタクトフォームを削除"
260
261
+ #: contact-form-7/includes/admin-panel.php:71
262
msgid ""
263
"You are about to delete this contact form.\n"
264
" 'Cancel' to stop, 'OK' to delete."
266
"このコンタクトフォームを削除しようとしています。\n"
267
" 'キャンセル' で中止、 'OK' で削除します。"
268
languages/wpcf7-nl_NL.mo ADDED
Binary file
languages/wpcf7-nl_NL.po ADDED
@@ -0,0 +1,168 @@
1
+ # translation of wpcf7-de_DE.po to deutsch
2
+ # Marcel Spitau <marcel.spitau@mawspitau.de>, 2007.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: wpcf7-du_DU\n"
6
+ "POT-Creation-Date: \n"
7
+ "PO-Revision-Date: 2007-10-17 08:56+0100\n"
8
+ "Last-Translator: Chris Devriese <chris.devriese@100it.be>\n"
9
+ "Language-Team: Nederlands\n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Poedit-Language: Japanese\n"
14
+ "X-Poedit-Country: JAPAN\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-KeywordsList: __;_e\n"
17
+ "X-Poedit-Basepath: ../..\n"
18
+ "X-Generator: KBabel 1.11.4\n"
19
+ "X-Poedit-SearchPath-0: contact-form-7\n"
20
+
21
+ #: contact-form-7/wp-contact-form-7.php:128
22
+ #: contact-form-7/wp-contact-form-7.php:201
23
+ msgid "Contact form"
24
+ msgstr "Contactformulier"
25
+
26
+ #: contact-form-7/wp-contact-form-7.php:157
27
+ #: contact-form-7/includes/admin-panel.php:5
28
+ msgid "Contact Form 7"
29
+ msgstr "Contact Form 7"
30
+
31
+ #: contact-form-7/wp-contact-form-7.php:177
32
+ #, php-format
33
+ msgid "Contact form \"%s\" deleted. "
34
+ msgstr "Contactformulier Nr. \"%s\" gewist."
35
+
36
+ #: contact-form-7/wp-contact-form-7.php:193
37
+ #, php-format
38
+ msgid "Contact form \"%s\" saved. "
39
+ msgstr "Contactformulier Nr. \"%s\" bewaard."
40
+
41
+ #: contact-form-7/wp-contact-form-7.php:222
42
+ msgid "Your Name"
43
+ msgstr "Uw naam"
44
+
45
+ #: contact-form-7/wp-contact-form-7.php:222
46
+ #: contact-form-7/wp-contact-form-7.php:224
47
+ msgid "(required)"
48
+ msgstr "(Noodzakelijk)"
49
+
50
+ #: contact-form-7/wp-contact-form-7.php:224
51
+ msgid "Your Email"
52
+ msgstr "Uw E-Mail"
53
+
54
+ #: contact-form-7/wp-contact-form-7.php:226
55
+ msgid "Subject"
56
+ msgstr "Onderwerp"
57
+
58
+ #: contact-form-7/wp-contact-form-7.php:228
59
+ msgid "Your Message"
60
+ msgstr "Uw bericht"
61
+
62
+ #: contact-form-7/wp-contact-form-7.php:230
63
+ #: contact-form-7/wp-contact-form-7.php:593
64
+ msgid "Send"
65
+ msgstr "Verstuur"
66
+
67
+ #: contact-form-7/wp-contact-form-7.php:249
68
+ msgid "Your message was sent successfully. Thanks."
69
+ msgstr "Uw bericht werd succesvol verzonden. Bedankt."
70
+
71
+ #: contact-form-7/wp-contact-form-7.php:251
72
+ msgid "Failed to send your message. Please try later or contact administrator by other way."
73
+ msgstr "Uw bericht kon niet worden verzonden. Gelieve op een later moment opnieuw te proberen of de beheerder te contacteren."
74
+
75
+ #: contact-form-7/wp-contact-form-7.php:324
76
+ #: contact-form-7/wp-contact-form-7.php:424
77
+ msgid "Validation errors occurred. Please confirm the fields and submit it again."
78
+ msgstr "Validatiefouten opgetreden. Controleer de nodige invulvelden en verstuur opnieuw"
79
+
80
+ #: contact-form-7/wp-contact-form-7.php:351
81
+ #: contact-form-7/wp-contact-form-7.php:358
82
+ #: contact-form-7/wp-contact-form-7.php:409
83
+ msgid "Please fill the required field."
84
+ msgstr "Gelieve het nodige veld in te vullen"
85
+
86
+ #: contact-form-7/wp-contact-form-7.php:361
87
+ #: contact-form-7/wp-contact-form-7.php:402
88
+ msgid "Email address seems invalid."
89
+ msgstr "Uw emailadres lijkt niet geldig."
90
+
91
+ #: contact-form-7/includes/admin-panel.php:19
92
+ #: contact-form-7/includes/admin-panel.php:22
93
+ msgid "Add new"
94
+ msgstr "Nieuw formulier toevoegen"
95
+
96
+ #: contact-form-7/includes/admin-panel.php:34
97
+ msgid "Title"
98
+ msgstr "Titel"
99
+
100
+ #: contact-form-7/includes/admin-panel.php:39
101
+ msgid "Copy and paste this code into your post content."
102
+ msgstr "Kopieer en plak deze code in uw bericht."
103
+
104
+ #: contact-form-7/includes/admin-panel.php:45
105
+ msgid "Form content"
106
+ msgstr "formulierinhoud"
107
+
108
+ #: contact-form-7/includes/admin-panel.php:58
109
+ msgid "Mail template"
110
+ msgstr "Email sjabloon"
111
+
112
+ #: contact-form-7/includes/admin-panel.php:59
113
+ msgid "Subject field:"
114
+ msgstr "Onderwerp:"
115
+
116
+ #: contact-form-7/includes/admin-panel.php:61
117
+ msgid "Sender field:"
118
+ msgstr "Afzender:"
119
+
120
+ #: contact-form-7/includes/admin-panel.php:63
121
+ msgid "Message body:"
122
+ msgstr "Bericht:"
123
+
124
+ #: contact-form-7/includes/admin-panel.php:67
125
+ msgid "Options"
126
+ msgstr "Opties"
127
+
128
+ #: contact-form-7/includes/admin-panel.php:68
129
+ msgid "Recipient address:"
130
+ msgstr "Ontvanger adres:"
131
+
132
+ #: contact-form-7/includes/admin-panel.php:73
133
+ msgid "Save"
134
+ msgstr "Bewaren"
135
+
136
+ #: contact-form-7/includes/admin-panel.php:80
137
+ msgid "Delete this contact form"
138
+ msgstr "Dit formulier wissen"
139
+
140
+ #: contact-form-7/includes/admin-panel.php:81
141
+ msgid ""
142
+ "You are about to delete this contact form.\n"
143
+ " 'Cancel' to stop, 'OK' to delete."
144
+ msgstr ""
145
+ "U gaat dit contactformulier wissen.\n"
146
+ "'Onderbreken' om te stoppen, 'OK' om te wissen."
147
+
148
+ #: contact-form-7/includes/admin-panel.php:137
149
+ #: contact-form-7/includes/admin-panel.php:148
150
+ msgid "Default value"
151
+ msgstr "standaard waarde"
152
+
153
+ #: contact-form-7/includes/admin-panel.php:156
154
+ msgid "Choices"
155
+ msgstr "Keuzes"
156
+
157
+ #: contact-form-7/includes/admin-panel.php:157
158
+ msgid "* One choice per line."
159
+ msgstr "* Een keuze per lijn"
160
+
161
+ #: contact-form-7/includes/admin-panel.php:162
162
+ msgid "Label"
163
+ msgstr "Etiket"
164
+
165
+ #: contact-form-7/includes/admin-panel.php:169
166
+ msgid "Insert"
167
+ msgstr "Invoegen"
168
+
screenshot-1.png CHANGED
Binary file
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.5
8
Author URI: http://ideasilo.wordpress.com/
9
*/
10
@@ -35,7 +35,7 @@ class tam_contact_form_seven {
35
add_action('activate_' . strtr(plugin_basename(__FILE__), '\\', '/'), array(&$this, 'set_initial'));
36
add_action('init', array(&$this, 'load_plugin_textdomain'));
37
add_action('admin_menu', array(&$this, 'add_pages'));
38
- add_action('admin_head', array(&$this, 'admin_page_stylesheet'));
39
add_action('wp_head', array(&$this, 'wp_head'));
40
add_action('wp_print_scripts', array(&$this, 'load_js'));
41
add_action('init', array(&$this, 'init_switch'), 11);
@@ -127,14 +127,28 @@ class tam_contact_form_seven {
127
}
128
129
function mail($contact_form) {
130
$regex = '/\[\s*([a-zA-Z][0-9a-zA-Z:._-]*)\s*\]/';
131
$callback = create_function('$matches', 'if (isset($_POST[$matches[1]])) return stripslashes($_POST[$matches[1]]); else return $matches[0];');
132
$mail_subject = preg_replace_callback($regex, $callback, $contact_form['mail']['subject']);
133
$mail_sender = preg_replace_callback($regex, $callback, $contact_form['mail']['sender']);
134
$mail_body = preg_replace_callback($regex, $callback, $contact_form['mail']['body']);
135
$mail_headers = "From: $mail_sender\n"
136
. "Content-Type: text/plain; charset=\"" . get_option('blog_charset') . "\"\n";
137
- if (@wp_mail($contact_form['options']['recipient'], $mail_subject, $mail_body, $mail_headers)) {
138
return true;
139
} else {
140
return false;
@@ -244,60 +258,150 @@ class tam_contact_form_seven {
244
update_option('wpcf7', $wpcf7);
245
}
246
247
/* Admin panel */
248
249
function add_pages() {
250
add_options_page(__('Contact Form 7', 'wpcf7'), __('Contact Form 7', 'wpcf7'), 'manage_options', __FILE__, array(&$this, 'option_page'));
251
}
252
253
- function admin_page_stylesheet() {
254
global $plugin_page;
255
256
if (isset($plugin_page) && $plugin_page == plugin_basename(__FILE__)) {
257
$admin_stylesheet_url = get_option('siteurl') . '/wp-content/plugins/contact-form-7/admin-stylesheet.css';
258
echo '<link rel="stylesheet" href="' . $admin_stylesheet_url . '" type="text/css" />';
259
}
260
}
261
262
function option_page() {
263
- $base_url = $_SERVER['PHP_SELF'] . '?page=' . plugin_basename(__FILE__);
264
$contact_forms = $this->contact_forms();
265
266
$id = $_POST['wpcf7-id'];
267
268
- if (isset($_POST['wpcf7-delete'])) {
269
- check_admin_referer('wpcf7-delete_' . $id);
270
- $updated_message = sprintf(__('Contact form "%s" deleted. ', 'wpcf7'), $contact_forms[$id]['title']);
271
- unset($contact_forms[$id]);
272
- $this->update_contact_forms($contact_forms);
273
- } elseif (isset($_POST['wpcf7-save'])) {
274
- check_admin_referer('wpcf7-save_' . $id);
275
- $title = trim($_POST['wpcf7-title']);
276
- $form = trim($_POST['wpcf7-form']);
277
- $mail_subject = trim($_POST['wpcf7-mail-subject']);
278
- $mail_sender = trim($_POST['wpcf7-mail-sender']);
279
- $mail_body = trim($_POST['wpcf7-mail-body']);
280
- $options_recipient = trim($_POST['wpcf7-options-recipient']);
281
-
282
- $mail = array('subject' => $mail_subject, 'sender' => $mail_sender, 'body' => $mail_body);
283
- $options = array('recipient' => $options_recipient);
284
-
285
- $contact_forms[$id] = compact('title', 'form', 'mail', 'options');
286
- $updated_message = sprintf(__('Contact form "%s" saved. ', 'wpcf7'), $contact_forms[$id]['title']);
287
- $this->update_contact_forms($contact_forms);
288
}
289
-
290
- if ('new' == $_GET['contactform'] || 0 == count($contact_forms)) {
291
- $initial = true;
292
- $contact_forms[] = array();
293
- $current = max(array_keys($contact_forms));
294
- $contact_forms[$current] = $this->default_pack(__('Contact form', 'wpcf7') . ' ' . $current, true);
295
- } else {
296
$current = (int) $_GET['contactform'];
297
- if (! array_key_exists($current, $contact_forms))
298
- $current = min(array_keys($contact_forms));
299
}
300
-
301
include 'includes/admin-panel.php';
302
}
303
@@ -305,6 +409,7 @@ class tam_contact_form_seven {
305
$cf = array('title' => $title,
306
'form' => $this->default_form_template(),
307
'mail' => $this->default_mail_template(),
308
'options' => $this->default_options_template());
309
if ($initial)
310
$cf['initial'] = true;
@@ -328,11 +433,21 @@ class tam_contact_form_seven {
328
$subject = '[your-subject]';
329
$sender = '[your-name] <[your-email]>';
330
$body = '[your-message]';
331
- return compact('subject', 'sender', 'body');
332
}
333
334
function default_options_template() {
335
- $recipient = get_option('admin_email');
336
return compact('recipient');
337
}
338
@@ -511,13 +626,18 @@ class tam_contact_form_seven {
511
512
?>
513
<script type="text/javascript">
514
var _wpcf7 = { ajaxUrl: '<?php echo $override_url; ?>' };
515
</script>
516
<script type='text/javascript' src='<?php echo $javascript_url; ?>'></script>
517
<?php
518
}
519
520
function load_js() {
521
if (! is_admin())
522
wp_enqueue_script('jquery-form', '/wp-includes/js/jquery/jquery.form.js', array('jquery'), '1.0.3');
523
}
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.6
8
Author URI: http://ideasilo.wordpress.com/
9
*/
10
35
add_action('activate_' . strtr(plugin_basename(__FILE__), '\\', '/'), array(&$this, 'set_initial'));
36
add_action('init', array(&$this, 'load_plugin_textdomain'));
37
add_action('admin_menu', array(&$this, 'add_pages'));
38
+ add_action('admin_head', array(&$this, 'admin_head'));
39
add_action('wp_head', array(&$this, 'wp_head'));
40
add_action('wp_print_scripts', array(&$this, 'load_js'));
41
add_action('init', array(&$this, 'init_switch'), 11);
127
}
128
129
function mail($contact_form) {
130
+ $contact_form = $this->upgrade_160($contact_form);
131
$regex = '/\[\s*([a-zA-Z][0-9a-zA-Z:._-]*)\s*\]/';
132
$callback = create_function('$matches', 'if (isset($_POST[$matches[1]])) return stripslashes($_POST[$matches[1]]); else return $matches[0];');
133
$mail_subject = preg_replace_callback($regex, $callback, $contact_form['mail']['subject']);
134
$mail_sender = preg_replace_callback($regex, $callback, $contact_form['mail']['sender']);
135
$mail_body = preg_replace_callback($regex, $callback, $contact_form['mail']['body']);
136
+ $mail_recipient = preg_replace_callback($regex, $callback, $contact_form['mail']['recipient']);
137
$mail_headers = "From: $mail_sender\n"
138
. "Content-Type: text/plain; charset=\"" . get_option('blog_charset') . "\"\n";
139
+ if (@wp_mail($mail_recipient, $mail_subject, $mail_body, $mail_headers)) {
140
+
141
+ // Mail 2
142
+ if ($contact_form['mail_2']['active']) {
143
+ $mail_2_subject = preg_replace_callback($regex, $callback, $contact_form['mail_2']['subject']);
144
+ $mail_2_sender = preg_replace_callback($regex, $callback, $contact_form['mail_2']['sender']);
145
+ $mail_2_body = preg_replace_callback($regex, $callback, $contact_form['mail_2']['body']);
146
+ $mail_2_recipient = preg_replace_callback($regex, $callback, $contact_form['mail_2']['recipient']);
147
+ $mail_2_headers = "From: $mail_2_sender\n"
148
+ . "Content-Type: text/plain; charset=\"" . get_option('blog_charset') . "\"\n";
149
+ @wp_mail($mail_2_recipient, $mail_2_subject, $mail_2_body, $mail_2_headers);
150
+ }
151
+
152
return true;
153
} else {
154
return false;
258
update_option('wpcf7', $wpcf7);
259
}
260
261
+ function upgrade_160($contact_form) {
262
+ if (! isset($contact_form['mail']['recipient']))
263
+ $contact_form['mail']['recipient'] = $contact_form['options']['recipient'];
264
+ return $contact_form;
265
+ }
266
+
267
/* Admin panel */
268
269
function add_pages() {
270
+ $base_url = get_option('siteurl') . '/wp-admin/options-general.php';
271
+ $page = plugin_basename(__FILE__);
272
+ $contact_forms = $this->contact_forms();
273
+
274
+ if (isset($_POST['wpcf7-save'])) {
275
+ $id = $_POST['wpcf7-id'];
276
+ check_admin_referer('wpcf7-save_' . $id);
277
+
278
+ $title = trim($_POST['wpcf7-title']);
279
+ $form = trim($_POST['wpcf7-form']);
280
+ $mail = array(
281
+ 'subject' => trim($_POST['wpcf7-mail-subject']),
282
+ 'sender' => trim($_POST['wpcf7-mail-sender']),
283
+ 'body' => trim($_POST['wpcf7-mail-body']),
284
+ 'recipient' => trim($_POST['wpcf7-mail-recipient'])
285
+ );
286
+ $mail_2 = array(
287
+ 'active' => (1 == $_POST['wpcf7-mail-2-active']) ? true : false,
288
+ 'subject' => trim($_POST['wpcf7-mail-2-subject']),
289
+ 'sender' => trim($_POST['wpcf7-mail-2-sender']),
290
+ 'body' => trim($_POST['wpcf7-mail-2-body']),
291
+ 'recipient' => trim($_POST['wpcf7-mail-2-recipient'])
292
+ );
293
+ $options = array(
294
+ 'recipient' => trim($_POST['wpcf7-options-recipient']) // For backward compatibility.
295
+ );
296
+
297
+ if (array_key_exists($id, $contact_forms)) {
298
+ $contact_forms[$id] = compact('title', 'form', 'mail', 'mail_2', 'options');
299
+ $redirect_to = $base_url . '?page=' . $page . '&contactform=' . $id . '&message=saved';
300
+ } else {
301
+ $key = (empty($contact_forms)) ? 1 : max(array_keys($contact_forms)) + 1;
302
+ $contact_forms[$key] = compact('title', 'form', 'mail', 'mail_2', 'options');
303
+ $redirect_to = $base_url . '?page=' . $page . '&contactform=' . $key . '&message=created';
304
+ }
305
+ $this->update_contact_forms($contact_forms);
306
+
307
+ wp_redirect($redirect_to);
308
+ exit();
309
+ } elseif (isset($_POST['wpcf7-delete'])) {
310
+ $id = $_POST['wpcf7-id'];
311
+ check_admin_referer('wpcf7-delete_' . $id);
312
+
313
+ unset($contact_forms[$id]);
314
+ $this->update_contact_forms($contact_forms);
315
+
316
+ wp_redirect($base_url . '?page=' . $page . '&message=deleted');
317
+ exit();
318
+ }
319
+
320
add_options_page(__('Contact Form 7', 'wpcf7'), __('Contact Form 7', 'wpcf7'), 'manage_options', __FILE__, array(&$this, 'option_page'));
321
}
322
323
+ function admin_head() {
324
global $plugin_page;
325
326
if (isset($plugin_page) && $plugin_page == plugin_basename(__FILE__)) {
327
$admin_stylesheet_url = get_option('siteurl') . '/wp-content/plugins/contact-form-7/admin-stylesheet.css';
328
echo '<link rel="stylesheet" href="' . $admin_stylesheet_url . '" type="text/css" />';
329
+
330
+ $javascript_url = get_option('siteurl') . '/wp-content/plugins/contact-form-7/wpcf7-admin.js';
331
+ ?>
332
+ <script type="text/javascript">
333
+ //<![CDATA[
334
+ var _wpcf7 = {
335
+ l10n: {
336
+ optional: "<?php echo js_escape(__('optional', 'wpcf7')); ?>",
337
+ generateTag: "<?php echo js_escape(__('Generate Tag', 'wpcf7')); ?>",
338
+ textField: "<?php echo js_escape(__('Text field', 'wpcf7')); ?>",
339
+ emailField: "<?php echo js_escape(__('Email field', 'wpcf7')); ?>",
340
+ textArea: "<?php echo js_escape(__('Text area', 'wpcf7')); ?>",
341
+ menu: "<?php echo js_escape(__('Drop-down menu', 'wpcf7')); ?>",
342
+ captcha: "<?php echo js_escape(__('CAPTCHA', 'wpcf7')); ?>",
343
+ submit: "<?php echo js_escape(__('Submit button', 'wpcf7')); ?>",
344
+ tagName: "<?php echo js_escape(__('Name', 'wpcf7')); ?>",
345
+ isRequiredField: "<?php echo js_escape(__('Required field?', 'wpcf7')); ?>",
346
+ menuChoices: "<?php echo js_escape(__('Choices', 'wpcf7')); ?>",
347
+ label: "<?php echo js_escape(__('Label', 'wpcf7')); ?>",
348
+ defaultValue: "<?php echo js_escape(__('Default value', 'wpcf7')); ?>",
349
+ akismet: "<?php echo js_escape(__('Akismet', 'wpcf7')); ?>",
350
+ akismetAuthor: "<?php echo js_escape(__("This field requires author's name", 'wpcf7')); ?>",
351
+ akismetAuthorUrl: "<?php echo js_escape(__("This field requires author's URL", 'wpcf7')); ?>",
352
+ akismetAuthorEmail: "<?php echo js_escape(__("This field requires author's email address", 'wpcf7')); ?>",
353
+ generatedTag: "<?php echo js_escape(__("Copy and paste this code into the form", 'wpcf7')); ?>",
354
+ fgColor: "<?php echo js_escape(__("Foreground color", 'wpcf7')); ?>",
355
+ bgColor: "<?php echo js_escape(__("Background color", 'wpcf7')); ?>",
356
+ imageSize: "<?php echo js_escape(__("Image size", 'wpcf7')); ?>",
357
+ imageSizeSmall: "<?php echo js_escape(__("Small", 'wpcf7')); ?>",
358
+ imageSizeMedium: "<?php echo js_escape(__("Medium", 'wpcf7')); ?>",
359
+ imageSizeLarge: "<?php echo js_escape(__("Large", 'wpcf7')); ?>",
360
+ imageSettings: "<?php echo js_escape(__("Image settings", 'wpcf7')); ?>",
361
+ inputFieldSettings: "<?php echo js_escape(__("Input field settings", 'wpcf7')); ?>",
362
+ tagForImage: "<?php echo js_escape(__("For image", 'wpcf7')); ?>",
363
+ tagForInputField: "<?php echo js_escape(__("For input field", 'wpcf7')); ?>",
364
+ oneChoicePerLine: "<?php echo js_escape(__("* One choice per line.", 'wpcf7')); ?>"
365
+ }
366
+ };
367
+ //]]>
368
+ </script>
369
+ <script type='text/javascript' src='<?php echo $javascript_url; ?>'></script>
370
+ <?php
371
}
372
}
373
374
function option_page() {
375
+ $base_url = get_option('siteurl') . '/wp-admin/options-general.php';
376
+ $page = plugin_basename(__FILE__);
377
$contact_forms = $this->contact_forms();
378
379
$id = $_POST['wpcf7-id'];
380
381
+ switch ($_GET['message']) {
382
+ case 'created':
383
+ $updated_message = __('Contact form created.', 'wpcf7');
384
+ break;
385
+ case 'saved':
386
+ $updated_message = __('Contact form saved.', 'wpcf7');
387
+ break;
388
+ case 'deleted':
389
+ $updated_message = __('Contact form deleted.', 'wpcf7');
390
+ break;
391
}
392
+
393
+ if ('new' == $_GET['contactform']) {
394
+ $unsaved = true;
395
+ $current = -1;
396
+ $cf = $this->default_pack(__('Untitled', 'wpcf7'), true);
397
+ } elseif (array_key_exists($_GET['contactform'], $contact_forms)) {
398
$current = (int) $_GET['contactform'];
399
+ $cf = stripslashes_deep($contact_forms[$current]);
400
+ $cf = $this->upgrade_160($cf);
401
+ } else {
402
+ $cf = null;
403
}
404
+
405
include 'includes/admin-panel.php';
406
}
407
409
$cf = array('title' => $title,
410
'form' => $this->default_form_template(),
411
'mail' => $this->default_mail_template(),
412
+ 'mail_2' => $this->default_mail_2_template(),
413
'options' => $this->default_options_template());
414
if ($initial)
415
$cf['initial'] = true;
433
$subject = '[your-subject]';
434
$sender = '[your-name] <[your-email]>';
435
$body = '[your-message]';
436
+ $recipient = get_option('admin_email');
437
+ return compact('subject', 'sender', 'body', 'recipient');
438
+ }
439
+
440
+ function default_mail_2_template() {
441
+ $active = false;
442
+ $subject = '[your-subject]';
443
+ $sender = '[your-name] <[your-email]>';
444
+ $body = '[your-message]';
445
+ $recipient = '[your-email]';
446
+ return compact('active', 'subject', 'sender', 'body', 'recipient');
447
}
448
449
function default_options_template() {
450
+ $recipient = get_option('admin_email'); // For backward compatibility.
451
return compact('recipient');
452
}
453
626
627
?>
628
<script type="text/javascript">
629
+ //<![CDATA[
630
var _wpcf7 = { ajaxUrl: '<?php echo $override_url; ?>' };
631
+ //]]>
632
</script>
633
<script type='text/javascript' src='<?php echo $javascript_url; ?>'></script>
634
<?php
635
}
636
637
function load_js() {
638
+ global $pagenow;
639
+ if (is_admin() && 'options-general.php' == $pagenow && plugin_basename(__FILE__) == $_GET['page'])
640
+ wp_enqueue_script('jquery');
641
if (! is_admin())
642
wp_enqueue_script('jquery-form', '/wp-includes/js/jquery/jquery.form.js', array('jquery'), '1.0.3');
643
}
wpcf7-admin.js ADDED
@@ -0,0 +1,518 @@