Contact Form 7 - Version 1.4.1

Version Description

Download this release

Release Info

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

Code changes from version 1.4 to 1.4.1

README.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: takayukister
3
  Tags: contact form, email, ajax
4
  Requires at least: 2.2
5
- Tested up to: 2.3-beta2
6
- Stable tag: 1.4
7
 
8
  Just another contact form plugin. Simple but flexible.
9
 
@@ -20,8 +20,10 @@ Just another contact form plugin. Simple but flexible.
20
 
21
  Thank you for your contribution.
22
 
 
23
  * Italian, by [Bruno](http://www.brunosalzano.com)
24
  * Japanese, by [Takayuki Miyoshi](http://ideasilo.wordpress.com) (plugin author)
 
25
 
26
  If you have translated Contact Form 7 in your language, please let me know and send me [gettext .po and .mo files](http://codex.wordpress.org/Translating_WordPress).
27
 
2
  Contributors: takayukister
3
  Tags: contact form, email, ajax
4
  Requires at least: 2.2
5
+ Tested up to: 2.3-beta3
6
+ Stable tag: 1.4.1
7
 
8
  Just another contact form plugin. Simple but flexible.
9
 
20
 
21
  Thank you for your contribution.
22
 
23
+ * Catalan, by Jordi Sancho
24
  * Italian, by [Bruno](http://www.brunosalzano.com)
25
  * Japanese, by [Takayuki Miyoshi](http://ideasilo.wordpress.com) (plugin author)
26
+ * Spanish, by Jordi Sancho
27
 
28
  If you have translated Contact Form 7 in your language, please let me know and send me [gettext .po and .mo files](http://codex.wordpress.org/Translating_WordPress).
29
 
languages/wpcf7-ca_ES.mo ADDED
Binary file
languages/wpcf7-ca_ES.po ADDED
@@ -0,0 +1,165 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: WP Contact Form 7\n"
4
+ "POT-Creation-Date: \n"
5
+ "PO-Revision-Date: 2007-09-10 18:53+0100\n"
6
+ "Last-Translator: QA Solutions.NET <qasolutions.js@gmail.com>\n"
7
+ "Language-Team: Takayuki Miyoshi <takayukister@gmail.com>\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: Japanese\n"
12
+ "X-Poedit-Country: JAPAN\n"
13
+ "X-Poedit-SourceCharset: utf-8\n"
14
+ "X-Poedit-KeywordsList: __;_e\n"
15
+ "X-Poedit-Basepath: ../..\n"
16
+ "X-Poedit-SearchPath-0: contact-form-7\n"
17
+
18
+ #: contact-form-7/wp-contact-form-7.php:128
19
+ #: contact-form-7/wp-contact-form-7.php:201
20
+ msgid "Contact form"
21
+ msgstr "Formulari de contacte"
22
+
23
+ #: contact-form-7/wp-contact-form-7.php:157
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:177
29
+ #, php-format
30
+ msgid "Contact form \"%s\" deleted. "
31
+ msgstr "Formulari de contacte \"%s\" esborrat. "
32
+
33
+ #: contact-form-7/wp-contact-form-7.php:193
34
+ #, php-format
35
+ msgid "Contact form \"%s\" saved. "
36
+ msgstr "Formulari de contacte \"%s\" guardat. "
37
+
38
+ #: contact-form-7/wp-contact-form-7.php:222
39
+ msgid "Your Name"
40
+ msgstr "El teu nom"
41
+
42
+ #: contact-form-7/wp-contact-form-7.php:222
43
+ #: contact-form-7/wp-contact-form-7.php:224
44
+ msgid "(required)"
45
+ msgstr "(necesari)"
46
+
47
+ #: contact-form-7/wp-contact-form-7.php:224
48
+ msgid "Your Email"
49
+ msgstr "El teu email"
50
+
51
+ #: contact-form-7/wp-contact-form-7.php:226
52
+ msgid "Subject"
53
+ msgstr "Assumpte"
54
+
55
+ #: contact-form-7/wp-contact-form-7.php:228
56
+ msgid "Your Message"
57
+ msgstr "El teu missatge"
58
+
59
+ #: contact-form-7/wp-contact-form-7.php:230
60
+ #: contact-form-7/wp-contact-form-7.php:593
61
+ msgid "Send"
62
+ msgstr "Enviar"
63
+
64
+ #: contact-form-7/wp-contact-form-7.php:249
65
+ msgid "Your message was sent successfully. Thanks."
66
+ msgstr "El teu missatge s'ha enviat correctament. Mercés"
67
+
68
+ #: contact-form-7/wp-contact-form-7.php:251
69
+ msgid "Failed to send your message. Please try later or contact administrator by other way."
70
+ msgstr "Error en enviar el missatge. Si us plau prova-ho més tard o contacta amb l'administrador d'un altra manera"
71
+
72
+ #: contact-form-7/wp-contact-form-7.php:324
73
+ #: contact-form-7/wp-contact-form-7.php:424
74
+ msgid "Validation errors occurred. Please confirm the fields and submit it again."
75
+ msgstr "Errors de validació. Si us plau confirma els camps i envia el formulari un altre cop"
76
+
77
+ #: contact-form-7/wp-contact-form-7.php:351
78
+ #: contact-form-7/wp-contact-form-7.php:358
79
+ #: contact-form-7/wp-contact-form-7.php:409
80
+ msgid "Please fill the required field."
81
+ msgstr "Si us plau omple els camps necesaris"
82
+
83
+ #: contact-form-7/wp-contact-form-7.php:361
84
+ #: contact-form-7/wp-contact-form-7.php:402
85
+ msgid "Email address seems invalid."
86
+ msgstr "l'adreça d'email sembla incorrecte"
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 "Afegir un nou"
92
+
93
+ #: contact-form-7/includes/admin-panel.php:34
94
+ msgid "Title"
95
+ msgstr "Títol"
96
+
97
+ #: contact-form-7/includes/admin-panel.php:39
98
+ msgid "Copy and paste this code into your post content."
99
+ msgstr "Copia i pegar aques codi en el contingut de la teva entrada"
100
+
101
+ #: contact-form-7/includes/admin-panel.php:45
102
+ msgid "Form content"
103
+ msgstr "Contingut del formulari"
104
+
105
+ #: contact-form-7/includes/admin-panel.php:58
106
+ msgid "Mail template"
107
+ msgstr "Plantilla d'email"
108
+
109
+ #: contact-form-7/includes/admin-panel.php:59
110
+ msgid "Subject field:"
111
+ msgstr "Camp d'assumpte:"
112
+
113
+ #: contact-form-7/includes/admin-panel.php:61
114
+ msgid "Sender field:"
115
+ msgstr "Camp de remitent:"
116
+
117
+ #: contact-form-7/includes/admin-panel.php:63
118
+ msgid "Message body:"
119
+ msgstr "Cos del missatge:"
120
+
121
+ #: contact-form-7/includes/admin-panel.php:67
122
+ msgid "Options"
123
+ msgstr "Opcions"
124
+
125
+ #: contact-form-7/includes/admin-panel.php:68
126
+ msgid "Recipient address:"
127
+ msgstr "Adreça del destinatari:"
128
+
129
+ #: contact-form-7/includes/admin-panel.php:73
130
+ msgid "Save"
131
+ msgstr "Guardar"
132
+
133
+ #: contact-form-7/includes/admin-panel.php:80
134
+ msgid "Delete this contact form"
135
+ msgstr "Esborar aquest formulari de contacte"
136
+
137
+ #: contact-form-7/includes/admin-panel.php:81
138
+ msgid ""
139
+ "You are about to delete this contact form.\n"
140
+ " 'Cancel' to stop, 'OK' to delete."
141
+ msgstr ""
142
+ "El formulari de contacte serà esborrat.\n"
143
+ " 'Cancel·lar' per anular, 'OK' per confirmar."
144
+
145
+ #: contact-form-7/includes/admin-panel.php:137
146
+ #: contact-form-7/includes/admin-panel.php:148
147
+ msgid "Default value"
148
+ msgstr "Valor per defecte"
149
+
150
+ #: contact-form-7/includes/admin-panel.php:156
151
+ msgid "Choices"
152
+ msgstr "Opcions"
153
+
154
+ #: contact-form-7/includes/admin-panel.php:157
155
+ msgid "* One choice per line."
156
+ msgstr "* Una opció per línia"
157
+
158
+ #: contact-form-7/includes/admin-panel.php:162
159
+ msgid "Label"
160
+ msgstr "Etiqueta"
161
+
162
+ #: contact-form-7/includes/admin-panel.php:169
163
+ msgid "Insert"
164
+ msgstr "Inserir "
165
+
languages/wpcf7-es_ES.mo ADDED
Binary file
languages/wpcf7-es_ES.po ADDED
@@ -0,0 +1,165 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: WP Contact Form 7\n"
4
+ "POT-Creation-Date: \n"
5
+ "PO-Revision-Date: 2007-09-10 20:43+0100\n"
6
+ "Last-Translator: QA Solutions.NET <qasolutions.js@gmail.com>\n"
7
+ "Language-Team: Takayuki Miyoshi <takayukister@gmail.com>\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: Japanese\n"
12
+ "X-Poedit-Country: JAPAN\n"
13
+ "X-Poedit-SourceCharset: utf-8\n"
14
+ "X-Poedit-KeywordsList: __;_e\n"
15
+ "X-Poedit-Basepath: ../..\n"
16
+ "X-Poedit-SearchPath-0: contact-form-7\n"
17
+
18
+ #: contact-form-7/wp-contact-form-7.php:128
19
+ #: contact-form-7/wp-contact-form-7.php:201
20
+ msgid "Contact form"
21
+ msgstr "Formulario de contacto"
22
+
23
+ #: contact-form-7/wp-contact-form-7.php:157
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:177
29
+ #, php-format
30
+ msgid "Contact form \"%s\" deleted. "
31
+ msgstr "Formulario de contacto \"%s\" eliminado. "
32
+
33
+ #: contact-form-7/wp-contact-form-7.php:193
34
+ #, php-format
35
+ msgid "Contact form \"%s\" saved. "
36
+ msgstr "Formulario de contacto \"%s\" guardado. "
37
+
38
+ #: contact-form-7/wp-contact-form-7.php:222
39
+ msgid "Your Name"
40
+ msgstr "Tu nombre"
41
+
42
+ #: contact-form-7/wp-contact-form-7.php:222
43
+ #: contact-form-7/wp-contact-form-7.php:224
44
+ msgid "(required)"
45
+ msgstr "(obligatorio)"
46
+
47
+ #: contact-form-7/wp-contact-form-7.php:224
48
+ msgid "Your Email"
49
+ msgstr "Tu email"
50
+
51
+ #: contact-form-7/wp-contact-form-7.php:226
52
+ msgid "Subject"
53
+ msgstr "Asunto"
54
+
55
+ #: contact-form-7/wp-contact-form-7.php:228
56
+ msgid "Your Message"
57
+ msgstr "Tu mensaje"
58
+
59
+ #: contact-form-7/wp-contact-form-7.php:230
60
+ #: contact-form-7/wp-contact-form-7.php:593
61
+ msgid "Send"
62
+ msgstr "Enviar"
63
+
64
+ #: contact-form-7/wp-contact-form-7.php:249
65
+ msgid "Your message was sent successfully. Thanks."
66
+ msgstr "Tu mensaje se ha enviado correctamente. Muchas Gracias"
67
+
68
+ #: contact-form-7/wp-contact-form-7.php:251
69
+ msgid "Failed to send your message. Please try later or contact administrator by other way."
70
+ msgstr "Error al enviar el mensaje. Por favor pruébalo más tarde o contacta con el admisnitrador por otro medio"
71
+
72
+ #: contact-form-7/wp-contact-form-7.php:324
73
+ #: contact-form-7/wp-contact-form-7.php:424
74
+ msgid "Validation errors occurred. Please confirm the fields and submit it again."
75
+ msgstr "Error de validación. por favor confirma los campos i envía el formulario de nuevo"
76
+
77
+ #: contact-form-7/wp-contact-form-7.php:351
78
+ #: contact-form-7/wp-contact-form-7.php:358
79
+ #: contact-form-7/wp-contact-form-7.php:409
80
+ msgid "Please fill the required field."
81
+ msgstr "Por favor cumplimenta los campos necesarios"
82
+
83
+ #: contact-form-7/wp-contact-form-7.php:361
84
+ #: contact-form-7/wp-contact-form-7.php:402
85
+ msgid "Email address seems invalid."
86
+ msgstr "El email parece incorrecto"
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 "Añadir nuevo"
92
+
93
+ #: contact-form-7/includes/admin-panel.php:34
94
+ msgid "Title"
95
+ msgstr "Título"
96
+
97
+ #: contact-form-7/includes/admin-panel.php:39
98
+ msgid "Copy and paste this code into your post content."
99
+ msgstr "Copia i pega este código dentro del contenido de tu post"
100
+
101
+ #: contact-form-7/includes/admin-panel.php:45
102
+ msgid "Form content"
103
+ msgstr "Contenido del formulario"
104
+
105
+ #: contact-form-7/includes/admin-panel.php:58
106
+ msgid "Mail template"
107
+ msgstr "Plantilla del email"
108
+
109
+ #: contact-form-7/includes/admin-panel.php:59
110
+ msgid "Subject field:"
111
+ msgstr "Campo de asunto:"
112
+
113
+ #: contact-form-7/includes/admin-panel.php:61
114
+ msgid "Sender field:"
115
+ msgstr "Campo de remitente:"
116
+
117
+ #: contact-form-7/includes/admin-panel.php:63
118
+ msgid "Message body:"
119
+ msgstr "Cuerp del mensaje:"
120
+
121
+ #: contact-form-7/includes/admin-panel.php:67
122
+ msgid "Options"
123
+ msgstr "Opciones"
124
+
125
+ #: contact-form-7/includes/admin-panel.php:68
126
+ msgid "Recipient address:"
127
+ msgstr "Dirección del destinatario:"
128
+
129
+ #: contact-form-7/includes/admin-panel.php:73
130
+ msgid "Save"
131
+ msgstr "Guardar"
132
+
133
+ #: contact-form-7/includes/admin-panel.php:80
134
+ msgid "Delete this contact form"
135
+ msgstr "Borrar este formulario de contacto"
136
+
137
+ #: contact-form-7/includes/admin-panel.php:81
138
+ msgid ""
139
+ "You are about to delete this contact form.\n"
140
+ " 'Cancel' to stop, 'OK' to delete."
141
+ msgstr ""
142
+ "El formulario de contacto será eliminado.\n"
143
+ " 'Cancelar' para anular, 'OK' para confirmar."
144
+
145
+ #: contact-form-7/includes/admin-panel.php:137
146
+ #: contact-form-7/includes/admin-panel.php:148
147
+ msgid "Default value"
148
+ msgstr "Valor por defecto"
149
+
150
+ #: contact-form-7/includes/admin-panel.php:156
151
+ msgid "Choices"
152
+ msgstr "Opciones"
153
+
154
+ #: contact-form-7/includes/admin-panel.php:157
155
+ msgid "* One choice per line."
156
+ msgstr "* Una opción por línea"
157
+
158
+ #: contact-form-7/includes/admin-panel.php:162
159
+ msgid "Label"
160
+ msgstr "Etiqueta"
161
+
162
+ #: contact-form-7/includes/admin-panel.php:169
163
+ msgid "Insert"
164
+ msgstr "Insertar"
165
+
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.4
8
  Author URI: http://ideasilo.wordpress.com/
9
  */
10
 
@@ -136,8 +136,10 @@ class tam_contact_form_seven {
136
  $author_email = $_POST[$fe['name']];
137
  if (preg_grep('%^akismet:author_url$%', $fe['options']) && '' == $author_url)
138
  $author_url = $_POST[$fe['name']];
139
- if (preg_grep('%^akismet:content$%', $fe['options']) && '' == $content)
140
- $content = $_POST[$fe['name']];
 
 
141
  }
142
 
143
  $c['blog'] = get_option('home');
@@ -145,6 +147,8 @@ class tam_contact_form_seven {
145
  $c['user_agent'] = $_SERVER['HTTP_USER_AGENT'];
146
  $c['referrer'] = $_SERVER['HTTP_REFERER'];
147
  $c['comment_type'] = 'contactform7';
 
 
148
  if ('' != $author)
149
  $c['comment_author'] = $author;
150
  if ('' != $author_email)
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.4.1
8
  Author URI: http://ideasilo.wordpress.com/
9
  */
10
 
136
  $author_email = $_POST[$fe['name']];
137
  if (preg_grep('%^akismet:author_url$%', $fe['options']) && '' == $author_url)
138
  $author_url = $_POST[$fe['name']];
139
+
140
+ if ('' != $content)
141
+ $content .= "\n\n";
142
+ $content .= $_POST[$fe['name']];
143
  }
144
 
145
  $c['blog'] = get_option('home');
147
  $c['user_agent'] = $_SERVER['HTTP_USER_AGENT'];
148
  $c['referrer'] = $_SERVER['HTTP_REFERER'];
149
  $c['comment_type'] = 'contactform7';
150
+ if ($permalink = get_permalink())
151
+ $c['permalink'] = $permalink;
152
  if ('' != $author)
153
  $c['comment_author'] = $author;
154
  if ('' != $author_email)