Contact Form 7 - Version 1.4.4

Version Description

Download this release

Release Info

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

Code changes from version 1.4.3 to 1.4.4

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-beta3
6
- Stable tag: 1.4.3
7
 
8
  Just another contact form plugin. Simple but flexible.
9
 
@@ -16,11 +16,12 @@ Just another contact form plugin. Simple but flexible.
16
  * Client side validation and AJAX submitting with jQuery Form Plugin.
17
  * Spam filtering with Akismet.
18
 
19
- #### Localization Included
20
 
21
  Thank you for your contribution.
22
 
23
  * Catalan, by [Jordi Sancho](http://www.qasolutions.net/blog)
 
24
  * German, by [Marcel Spitau](http://blog.spitau.de)
25
  * Italian, by [Bruno](http://www.brunosalzano.com)
26
  * Japanese, by [Takayuki Miyoshi](http://ideasilo.wordpress.com) (plugin author)
@@ -34,6 +35,13 @@ If you have translated Contact Form 7 in your language, please let me know and s
34
  1. Upload whole `contact-form-7` folder to the `/wp-content/plugins/` directory
35
  1. Activate the plugin through the 'Plugins' menu in WordPress
36
 
 
 
 
 
 
 
 
37
  == Screenshots ==
38
 
39
  1. screenshot-1.png
3
  Tags: contact form, email, ajax
4
  Requires at least: 2.2
5
  Tested up to: 2.3-beta3
6
+ Stable tag: 1.4.4
7
 
8
  Just another contact form plugin. Simple but flexible.
9
 
16
  * Client side validation and AJAX submitting with jQuery Form Plugin.
17
  * Spam filtering with Akismet.
18
 
19
+ = Localization Included =
20
 
21
  Thank you for your contribution.
22
 
23
  * Catalan, by [Jordi Sancho](http://www.qasolutions.net/blog)
24
+ * French, by [Jillij](http://www.jillij.com/)
25
  * German, by [Marcel Spitau](http://blog.spitau.de)
26
  * Italian, by [Bruno](http://www.brunosalzano.com)
27
  * Japanese, by [Takayuki Miyoshi](http://ideasilo.wordpress.com) (plugin author)
35
  1. Upload whole `contact-form-7` folder to the `/wp-content/plugins/` directory
36
  1. Activate the plugin through the 'Plugins' menu in WordPress
37
 
38
+ == Frequently Asked Questions ==
39
+
40
+ = Akismet says all messages are spam. What's wrong? =
41
+
42
+ There are settings you need to do as well as checking in "Apply Akismet spam filter" checkbox.
43
+ In the meantime, see this [release announcement](http://ideasilo.wordpress.com/2007/09/07/contact-form-7-14/).
44
+
45
  == Screenshots ==
46
 
47
  1. screenshot-1.png
languages/wpcf7-fr_FR.mo ADDED
Binary file
languages/wpcf7-fr_FR.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-15 11:36+0100\n"
6
+ "Last-Translator: Jérôme Lecoq <admin@jillij.com>\n"
7
+ "Language-Team: jillij <admin@jillij.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: French\n"
12
+ "X-Poedit-Country: FRANCE\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 "Formulaire de contact"
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 "Formulaire de contact \"%s\" supprimé."
32
+
33
+ #: contact-form-7/wp-contact-form-7.php:193
34
+ #, php-format
35
+ msgid "Contact form \"%s\" saved. "
36
+ msgstr "Formulaire de contact \"%s\" sauvegardé."
37
+
38
+ #: contact-form-7/wp-contact-form-7.php:222
39
+ msgid "Your Name"
40
+ msgstr "Votre 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 "(obligatoire)"
46
+
47
+ #: contact-form-7/wp-contact-form-7.php:224
48
+ msgid "Your Email"
49
+ msgstr "Votre Email"
50
+
51
+ #: contact-form-7/wp-contact-form-7.php:226
52
+ msgid "Subject"
53
+ msgstr "Sujet"
54
+
55
+ #: contact-form-7/wp-contact-form-7.php:228
56
+ msgid "Your Message"
57
+ msgstr "Votre Message"
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 "Envoyer"
63
+
64
+ #: contact-form-7/wp-contact-form-7.php:249
65
+ msgid "Your message was sent successfully. Thanks."
66
+ msgstr "Votre message a bien été envoyé. Merci."
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 "Erreur lors de l'envoi du message. Veuillez réessayez plus tard ou contactez l'administrateur d'une autre manière."
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 "Erreur de validation. Veuillez vérifier les champs et resoumettre."
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 "Veuillez remplir les champs requis."
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'adresse Email semble invalide."
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 "Ajouter un nouveau"
92
+
93
+ #: contact-form-7/includes/admin-panel.php:34
94
+ msgid "Title"
95
+ msgstr "Titre"
96
+
97
+ #: contact-form-7/includes/admin-panel.php:39
98
+ msgid "Copy and paste this code into your post content."
99
+ msgstr "Copiez-collez ce code dans le contenu de votre post."
100
+
101
+ #: contact-form-7/includes/admin-panel.php:45
102
+ msgid "Form content"
103
+ msgstr "Contenu du formulaire"
104
+
105
+ #: contact-form-7/includes/admin-panel.php:58
106
+ msgid "Mail template"
107
+ msgstr "Template du message"
108
+
109
+ #: contact-form-7/includes/admin-panel.php:59
110
+ msgid "Subject field:"
111
+ msgstr "Champ sujet:"
112
+
113
+ #: contact-form-7/includes/admin-panel.php:61
114
+ msgid "Sender field:"
115
+ msgstr "Champ envoyé par:"
116
+
117
+ #: contact-form-7/includes/admin-panel.php:63
118
+ msgid "Message body:"
119
+ msgstr "Corps du message:"
120
+
121
+ #: contact-form-7/includes/admin-panel.php:67
122
+ msgid "Options"
123
+ msgstr "Options"
124
+
125
+ #: contact-form-7/includes/admin-panel.php:68
126
+ msgid "Recipient address:"
127
+ msgstr "Adresse du destiinataire:"
128
+
129
+ #: contact-form-7/includes/admin-panel.php:73
130
+ msgid "Save"
131
+ msgstr "Sauvegarder"
132
+
133
+ #: contact-form-7/includes/admin-panel.php:80
134
+ msgid "Delete this contact form"
135
+ msgstr "Supprimer ce formulaire de contact"
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
+ "Vous êtes sur le point de supprimer ce formulaire de contact.\n"
143
+ " 'Annuler' pour arrêter, 'OK' pour supprimer."
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 "Valeur par défaut"
149
+
150
+ #: contact-form-7/includes/admin-panel.php:156
151
+ msgid "Choices"
152
+ msgstr "Choix"
153
+
154
+ #: contact-form-7/includes/admin-panel.php:157
155
+ msgid "* One choice per line."
156
+ msgstr "* Un choix par ligne."
157
+
158
+ #: contact-form-7/includes/admin-panel.php:162
159
+ msgid "Label"
160
+ msgstr "Etiquette"
161
+
162
+ #: contact-form-7/includes/admin-panel.php:169
163
+ msgid "Insert"
164
+ msgstr "Insérer"
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.3
8
  Author URI: http://ideasilo.wordpress.com/
9
  */
10
 
@@ -106,7 +106,7 @@ class tam_contact_form_seven {
106
 
107
  function mail($contact_form) {
108
  $regex = '/\[\s*([a-zA-Z][0-9a-zA-Z:._-]*)\s*\]/';
109
- $callback = create_function('$matches', 'if (isset($_POST[$matches[1]])) return $_POST[$matches[1]]; else return $matches[0];');
110
  $mail_subject = preg_replace_callback($regex, $callback, $contact_form['mail']['subject']);
111
  $mail_sender = preg_replace_callback($regex, $callback, $contact_form['mail']['sender']);
112
  $mail_body = preg_replace_callback($regex, $callback, $contact_form['mail']['body']);
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.4
8
  Author URI: http://ideasilo.wordpress.com/
9
  */
10
 
106
 
107
  function mail($contact_form) {
108
  $regex = '/\[\s*([a-zA-Z][0-9a-zA-Z:._-]*)\s*\]/';
109
+ $callback = create_function('$matches', 'if (isset($_POST[$matches[1]])) return stripslashes($_POST[$matches[1]]); else return $matches[0];');
110
  $mail_subject = preg_replace_callback($regex, $callback, $contact_form['mail']['subject']);
111
  $mail_sender = preg_replace_callback($regex, $callback, $contact_form['mail']['sender']);
112
  $mail_body = preg_replace_callback($regex, $callback, $contact_form['mail']['body']);