Contact Form Clean and Simple - Version 4.1.6

Version Description

  • Added ability to specify a 'from' address. When supplied the email will come from that address instead of the form filler's email address.
  • Changed type of email input boxes to "email"
  • Added Turkish translation thanks to Abdullah Manaz http://manaz.net
Download this release

Release Info

Developer megnicholas
Plugin Icon wp plugin Contact Form Clean and Simple
Version 4.1.6
Comparing to
See all releases

Code changes from version 4.1.5 to 4.1.6

class.cscf_contact.php CHANGED
@@ -90,14 +90,24 @@ class cscf_Contact
90
 
91
  $filters = new cscf_Filters;
92
 
93
- $filters->fromEmail=$this->Email;
 
 
 
 
 
 
94
  $filters->fromName=$this->Name;
95
 
96
  //add filters
97
  $filters->add('wp_mail_from');
98
  $filters->add('wp_mail_from_name');
 
 
 
 
99
 
100
- $result = (wp_mail(cscf_PluginSettings::RecipientEmail() , cscf_PluginSettings::Subject(), stripslashes($this->Message)));
101
 
102
  //remove filters (play nice)
103
  $filters->remove('wp_mail_from');
90
 
91
  $filters = new cscf_Filters;
92
 
93
+ if ( cscf_PluginSettings::OverrideFrom() ) {
94
+ $filters->fromEmail=cscf_PluginSettings::FromEmail();
95
+ }
96
+ else {
97
+ $filters->fromEmail=$this->Email;
98
+ }
99
+
100
  $filters->fromName=$this->Name;
101
 
102
  //add filters
103
  $filters->add('wp_mail_from');
104
  $filters->add('wp_mail_from_name');
105
+
106
+ $message="From: " . $this->Name . "\n\n";
107
+ $message.="Email: " . $this->Email . "\n\n";
108
+ $message.="Message:\n\n" . $this->Message;
109
 
110
+ $result = (wp_mail(cscf_PluginSettings::RecipientEmail() , cscf_PluginSettings::Subject(), stripslashes($message)));
111
 
112
  //remove filters (play nice)
113
  $filters->remove('wp_mail_from');
class.cscf_pluginsettings.php CHANGED
@@ -83,6 +83,23 @@ class cscf_PluginSettings
83
  return isset($options['subject']) ? $options['subject'] : get_bloginfo('name') . __(' - Web Enquiry','cleanandsimple');
84
  }
85
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
86
  static
87
  function IsJetPackContactFormEnabled() {
88
  //check for jetpack plugin
83
  return isset($options['subject']) ? $options['subject'] : get_bloginfo('name') . __(' - Web Enquiry','cleanandsimple');
84
  }
85
 
86
+ static
87
+ function FromEmail()
88
+ {
89
+ $options = get_option('cscf_options');
90
+
91
+ return isset($options['from-email']) ? $options['from-email'] : "";
92
+ }
93
+
94
+ static
95
+ function OverrideFrom() {
96
+
97
+ $options = get_option('cscf_options');
98
+
99
+ return isset($options['override-from']) ? true : false;
100
+
101
+ }
102
+
103
  static
104
  function IsJetPackContactFormEnabled() {
105
  //check for jetpack plugin
class.cscf_settings.php CHANGED
@@ -74,7 +74,9 @@ class cscf_settings
74
  jQuery('#recaptcha_public_key').attr('readonly', ! this.checked);
75
  jQuery('#recaptcha_private_key').attr('readonly', ! this.checked);
76
  });
77
-
 
 
78
  </script>
79
  </div>
80
  <?php
@@ -124,6 +126,18 @@ class cscf_settings
124
  ) , 'contact-form-settings', 'section_message', array(
125
  'recipient_email'
126
  ));
 
 
 
 
 
 
 
 
 
 
 
 
127
  add_settings_field('subject', __('Email Subject :','cleanandsimple'), array(
128
  $this,
129
  'create_fields'
@@ -214,8 +228,23 @@ class cscf_settings
214
  $options['recipient_email']=$input['recipient_email'];
215
  }
216
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
217
  //subject
218
- $options['subject'] = trim(filter_var($input['subject'], FILTER_SANITIZE_STRING));
219
  if ( empty($options['subject']) ) {
220
  unset($options['subject']);
221
  }
@@ -270,6 +299,14 @@ class cscf_settings
270
  break;
271
  case 'recipient_email':
272
  ?><input type="text" size="60" id="recipient_email" name="array_key[recipient_email]" value="<?php echo cscf_PluginSettings::RecipientEmail(); ?>" /><?php
 
 
 
 
 
 
 
 
273
  break;
274
  case 'subject':
275
  ?><input type="text" size="60" id="subject" name="array_key[subject]" value="<?php echo cscf_PluginSettings::Subject(); ?>" /><?php
74
  jQuery('#recaptcha_public_key').attr('readonly', ! this.checked);
75
  jQuery('#recaptcha_private_key').attr('readonly', ! this.checked);
76
  });
77
+ jQuery('#override-from').change(function() {
78
+ jQuery('#from-email').attr('readonly', ! this.checked);
79
+ });
80
  </script>
81
  </div>
82
  <?php
126
  ) , 'contact-form-settings', 'section_message', array(
127
  'recipient_email'
128
  ));
129
+ add_settings_field('override-from', __('Override \'From\' Address :','cleanandsimple'), array(
130
+ $this,
131
+ 'create_fields'
132
+ ) , 'contact-form-settings', 'section_message', array(
133
+ 'override-from'
134
+ ));
135
+ add_settings_field('from-email', __('\'From\' Email Address :','cleanandsimple'), array(
136
+ $this,
137
+ 'create_fields'
138
+ ) , 'contact-form-settings', 'section_message', array(
139
+ 'from-email'
140
+ ));
141
  add_settings_field('subject', __('Email Subject :','cleanandsimple'), array(
142
  $this,
143
  'create_fields'
228
  $options['recipient_email']=$input['recipient_email'];
229
  }
230
 
231
+ //override-from
232
+ if (isset($input['override-from']))
233
+ $options['override-from'] = true;
234
+ else
235
+ unset($options['override-from']);
236
+
237
+ //from
238
+ if (!filter_var($input['from-email'], FILTER_VALIDATE_EMAIL)) {
239
+ unset($options['from-email']);
240
+ unset($options['override-from']);
241
+ }
242
+ else {
243
+ $options['from-email']=$input['from-email'];
244
+ }
245
+
246
  //subject
247
+ $options['subject'] = trim(filter_var($input['subject'], FILTER_SANITIZE_STRING));
248
  if ( empty($options['subject']) ) {
249
  unset($options['subject']);
250
  }
299
  break;
300
  case 'recipient_email':
301
  ?><input type="text" size="60" id="recipient_email" name="array_key[recipient_email]" value="<?php echo cscf_PluginSettings::RecipientEmail(); ?>" /><?php
302
+ break;
303
+ case 'override-from':
304
+ $checked = cscf_PluginSettings::OverrideFrom() == true ? "checked" : "";
305
+ ?><input type="checkbox" <?php echo $checked; ?> id="override-from" name="array_key[override-from]"><?php
306
+ break;
307
+ case 'from-email':
308
+ $disabled = cscf_PluginSettings::OverrideFrom() == false ? "readonly" : "";
309
+ ?><input <?php echo $disabled; ?> type="text" size="60" id="from-email" name="array_key[from-email]" value="<?php echo cscf_PluginSettings::FromEmail(); ?>" /><?php
310
  break;
311
  case 'subject':
312
  ?><input type="text" size="60" id="subject" name="array_key[subject]" value="<?php echo cscf_PluginSettings::Subject(); ?>" /><?php
clean-and-simple-contact-form-by-meg-nicholas.php CHANGED
@@ -7,7 +7,7 @@
7
  Plugin Name: Clean and Simple Contact Form
8
  Plugin URI: http://www.megnicholas.co.uk/wordpress-plugins/clean-and-simple-contact-form
9
  Description: A clean and simple contact form with Google reCAPTCHA and Twitter Bootstrap markup.
10
- Version: 4.1.5
11
  Author: Meghan Nicholas
12
  Author URI: http://www.megnicholas.co.uk
13
  License: GPLv2 or later
@@ -53,7 +53,7 @@ if (!defined('CSCF_PLUGIN_URL')) define('CSCF_PLUGIN_URL', WP_PLUGIN_URL . '/' .
53
 
54
  if (!defined('CSCF_VERSION_KEY')) define('CSCF_VERSION_KEY', 'cscf_version');
55
 
56
- if (!defined('CSCF_VERSION_NUM')) define('CSCF_VERSION_NUM', '4.1.5');
57
 
58
  if (!defined('CSCF_OPTIONS_KEY')) define('CSCF_OPTIONS_KEY', 'cscf_options');
59
 
7
  Plugin Name: Clean and Simple Contact Form
8
  Plugin URI: http://www.megnicholas.co.uk/wordpress-plugins/clean-and-simple-contact-form
9
  Description: A clean and simple contact form with Google reCAPTCHA and Twitter Bootstrap markup.
10
+ Version: 4.1.6
11
  Author: Meghan Nicholas
12
  Author URI: http://www.megnicholas.co.uk
13
  License: GPLv2 or later
53
 
54
  if (!defined('CSCF_VERSION_KEY')) define('CSCF_VERSION_KEY', 'cscf_version');
55
 
56
+ if (!defined('CSCF_VERSION_NUM')) define('CSCF_VERSION_NUM', '4.1.6');
57
 
58
  if (!defined('CSCF_OPTIONS_KEY')) define('CSCF_OPTIONS_KEY', 'cscf_options');
59
 
languages/cleanandsimple-tr_TR.mo ADDED
Binary file
languages/cleanandsimple-tr_TR.po ADDED
@@ -0,0 +1,264 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: clean-and-simple-contact-form-by-meg-nicholas.4.1.1\n"
4
+ "Report-Msgid-Bugs-To: http://wordpress.org/plugins/clean-and-simple-contact-"
5
+ "form-by-meg-nicholas\n"
6
+ "POT-Creation-Date: 2013-06-13 10:12:32+00:00\n"
7
+ "PO-Revision-Date: 2013-06-14 17:46+0100\n"
8
+ "Last-Translator: \n"
9
+ "Language-Team: manaz.net <abdullahmanaz@gmail.com>\n"
10
+ "Language: tr_TR informal\n"
11
+ "MIME-Version: 1.0\n"
12
+ "Content-Type: text/plain; charset=UTF-8\n"
13
+ "Content-Transfer-Encoding: 8bit\n"
14
+ "X-Generator: Poedit 1.5.5\n"
15
+ "X-Poedit-KeywordsList: _;gettext;gettext_noop\n"
16
+ "X-Poedit-Basepath: .\n"
17
+
18
+ #: class.cff.php:90
19
+ msgid "Settings"
20
+ msgstr "Kurgu"
21
+
22
+ #: class.cff_contact.php:55
23
+ msgid "Sorry the email addresses do not match."
24
+ msgstr "Afedersiniz, EPosta Adresleriniz uyuşmuyor."
25
+
26
+ #: class.cff_contact.php:59 views/contact-form-with-recaptcha.view.php:29
27
+ #: views/contact-form.view.php:14
28
+ msgid "Please give your email address."
29
+ msgstr "Lütfen EPosta Adresinizi giriniz."
30
+
31
+ #: class.cff_contact.php:63
32
+ msgid "Please confirm your email address."
33
+ msgstr "Lütfen EPosta Adresinizi doğrulayınız."
34
+
35
+ #: class.cff_contact.php:67 views/contact-form-with-recaptcha.view.php:49
36
+ #: views/contact-form.view.php:34
37
+ msgid "Please give your name."
38
+ msgstr "Lütfen isminizi giriniz."
39
+
40
+ #: class.cff_contact.php:71
41
+ msgid "Please enter a message."
42
+ msgstr "Lütfen bir mesaj giriniz."
43
+
44
+ #: class.cff_contact.php:75 views/contact-form-with-recaptcha.view.php:29
45
+ #: views/contact-form.view.php:14
46
+ msgid "Please enter a valid email address."
47
+ msgstr "EPosta adresinizde bir yanlışlık var."
48
+
49
+ #: class.cff_contact.php:83
50
+ msgid "Sorry the code wasn't entered correctly please try again."
51
+ msgstr "Güvenlik kodunu yanlış girdiniz, tekrar deneyiniz."
52
+
53
+ #: class.cff_pluginsettings.php:40
54
+ msgid "Message Sent"
55
+ msgstr "Mesajınız Gönderildi!"
56
+
57
+ #: class.cff_pluginsettings.php:47
58
+ msgid "Thank you for your message, we will be in touch very shortly."
59
+ msgstr "Teşekkürler, Mesajınız alındı, en kısa zamanda cevaplanacaktır."
60
+
61
+ #: class.cff_pluginsettings.php:54
62
+ msgid ""
63
+ "Please enter your contact details and a short message below and I will try "
64
+ "to answer your query as soon as possible."
65
+ msgstr "Mesajınızı ve iletişim bilgilerinizi aşağıya yazınız, en kısa zamanda cevaplanacaktır."
66
+
67
+ #: class.cff_pluginsettings.php:83
68
+ msgid " - Web Enquiry"
69
+ msgstr " - Web-Anfrage"
70
+
71
+ #: class.cff_settings.php:41
72
+ msgid "Clean and Simple Contact Form Settings"
73
+ msgstr "Temiz ve Basit İletişim Formu Kurgusu"
74
+
75
+ #: class.cff_settings.php:43
76
+ msgid "You are using version"
77
+ msgstr "Kullanılan Versiyon"
78
+
79
+ #: class.cff_settings.php:44
80
+ msgid "If you find this plugin useful please consider"
81
+ msgstr "Bu eklentiyi yararlı bulursanız, lütfen desteklemek için "
82
+
83
+ #: class.cff_settings.php:47
84
+ msgid "bir Mesaj yazınız"
85
+ msgstr "eine Bewertung"
86
+
87
+ #: class.cff_settings.php:49
88
+ msgid "Thank you!"
89
+ msgstr "Teşekkür Ederiz!"
90
+
91
+ #: class.cff_settings.php:68
92
+ msgid "ReCAPTCHA Settings"
93
+ msgstr "ReCAPTCHA Kurgusu"
94
+
95
+ #: class.cff_settings.php:76
96
+ msgid "Use reCAPTCHA :"
97
+ msgstr "ReCAPTCHA Kullanımı:"
98
+
99
+ #: class.cff_settings.php:82
100
+ msgid "reCAPTCHA Theme :"
101
+ msgstr "ReCAPTCHA Teması :"
102
+
103
+ #: class.cff_settings.php:88
104
+ msgid "reCAPTCHA Public Key :"
105
+ msgstr "ReCAPTCHA Public Key :"
106
+
107
+ #: class.cff_settings.php:94
108
+ msgid "reCAPTCHA Private Key :"
109
+ msgstr "ReCAPTCHA Private Key :"
110
+
111
+ #: class.cff_settings.php:100
112
+ msgid "Message Settings"
113
+ msgstr "Mesaj Kurgusu"
114
+
115
+ #: class.cff_settings.php:104
116
+ msgid "Recipient Email :"
117
+ msgstr "Gönderen EPosta Adresi:"
118
+
119
+ #: class.cff_settings.php:110
120
+ msgid "Email Subject :"
121
+ msgstr "EPosta Konusu:"
122
+
123
+ #: class.cff_settings.php:116
124
+ msgid "Message :"
125
+ msgstr "Mesaj Metni:"
126
+
127
+ #: class.cff_settings.php:122
128
+ msgid "Message Sent Heading :"
129
+ msgstr "Giden Mesaj Başlığı:"
130
+
131
+ #: class.cff_settings.php:128
132
+ msgid "Message Sent Content :"
133
+ msgstr "Giden Mesaj Konusu:"
134
+
135
+ #: class.cff_settings.php:134
136
+ msgid "Styling and Validation"
137
+ msgstr "Görünüm ve Doğrulama"
138
+
139
+ #: class.cff_settings.php:138
140
+ msgid ""
141
+ "Use the plugin default stylesheet (un-tick to use your theme style sheet "
142
+ "instead) :"
143
+ msgstr ""
144
+ "Temel Görünümü Kullan (Karşısındaki kutuyu onaylayınız "
145
+ "Kendi kodunuzu koyacaksanız onayı kaldırınız) :"
146
+
147
+ #: class.cff_settings.php:144
148
+ msgid "Use client side validation (AJAX) :"
149
+ msgstr "Doğrulama Yöntemini Kullan (AJAX):"
150
+
151
+ #: class.cff_settings.php:216
152
+ msgid "Enter your reCAPTCHA settings below :"
153
+ msgstr ""
154
+ "ReCAPTCHA Ayarlarını Aşağıya Giriniz:"
155
+
156
+ #: class.cff_settings.php:217
157
+ msgid "To use reCAPTCHA you must get an API key from"
158
+ msgstr "ReCAPTCHA kullanmak için API-Key edinmeniz gerekir:"
159
+
160
+ #: class.cff_settings.php:222
161
+ msgid "Enter your message settings below :"
162
+ msgstr "Mesaj Kurgunuzu aşağıya giriniz:"
163
+
164
+ #: class.cff_settings.php:274
165
+ msgid "Kırmızı"
166
+ msgstr "Silik"
167
+
168
+ #: class.cff_settings.php:275
169
+ msgid "Beyaz"
170
+ msgstr "Weiß"
171
+
172
+ #: class.cff_settings.php:276
173
+ msgid "Şeffaf"
174
+ msgstr "Geçirgen"
175
+
176
+ #: class.cff_settings.php:277
177
+ msgid "Clean"
178
+ msgstr "Temizle"
179
+
180
+ #: views/contact-form-with-recaptcha.view.php:27
181
+ #: views/contact-form.view.php:12
182
+ msgid "Email Address:"
183
+ msgstr "EPosta Adresi:"
184
+
185
+ #: views/contact-form-with-recaptcha.view.php:29
186
+ #: views/contact-form.view.php:14
187
+ msgid "Your Email Address"
188
+ msgstr "EPosta Adresiniz"
189
+
190
+ #: views/contact-form-with-recaptcha.view.php:37
191
+ #: views/contact-form.view.php:22
192
+ msgid "Confirm Email Address:"
193
+ msgstr "EPosta Adresinizi Doğrulayın:"
194
+
195
+ #: views/contact-form-with-recaptcha.view.php:39
196
+ #: views/contact-form.view.php:24
197
+ msgid "Please enter the same email address again."
198
+ msgstr "EPosta Adresinizi tekrar giriniz."
199
+
200
+ #: views/contact-form-with-recaptcha.view.php:39
201
+ #: views/contact-form.view.php:24
202
+ msgid "Confirm Your Email Address"
203
+ msgstr "EPosta Adresinizi doğrulayınız"
204
+
205
+ #: views/contact-form-with-recaptcha.view.php:47
206
+ #: views/contact-form.view.php:32
207
+ msgid "Name:"
208
+ msgstr "AdSoyad:"
209
+
210
+ #: views/contact-form-with-recaptcha.view.php:49
211
+ #: views/contact-form.view.php:34
212
+ msgid "Your Name"
213
+ msgstr "AdSoyadınız"
214
+
215
+ #: views/contact-form-with-recaptcha.view.php:57
216
+ #: views/contact-form.view.php:42
217
+ msgid "Message:"
218
+ msgstr "MesajMetni:"
219
+
220
+ #: views/contact-form-with-recaptcha.view.php:59
221
+ #: views/contact-form.view.php:44
222
+ msgid "Please give a message."
223
+ msgstr "Lütfen bir Mesaj giriniz."
224
+
225
+ #: views/contact-form-with-recaptcha.view.php:59
226
+ #: views/contact-form.view.php:44
227
+ msgid "Your Message"
228
+ msgstr "Mesajınız"
229
+
230
+ #: views/contact-form-with-recaptcha.view.php:75
231
+ #: views/contact-form.view.php:51
232
+ msgid "Send Message"
233
+ msgstr "Mesajı Gönder"
234
+
235
+ #: views/message-not-sent.view.php:1
236
+ msgid "Sorry, there has been a problem and your message was not sent."
237
+ msgstr "Afedersiniz, bir sorun oldu, mesajınız gitmedi."
238
+
239
+ # Plugin Name des plugin/theme
240
+ #. Plugin Name of the plugin/theme
241
+ msgid "Clean and Simple Contact Form"
242
+ msgstr "Temiz ve Basit İleşitim Formu"
243
+
244
+ #. Plugin URI of the plugin/theme
245
+ msgid ""
246
+ "http://www.megnicholas.co.uk/wordpress-plugins/clean-and-simple-contact-form"
247
+ msgstr "http://www.megnicholas.co.uk/wordpress-plugins/clean-and-simple-contact-form"
248
+
249
+ # Beschreibung des plugin/theme
250
+ #. Description of the plugin/theme
251
+ msgid ""
252
+ "A clean and simple contact form with Google reCAPTCHA and Twitter Bootstrap "
253
+ "markup."
254
+ msgstr ""
255
+ "Google DeCAPTCHA und Twitter "
256
+ "Bootstrap kullanımı ile güvenli, temiz ve basit İletişim Formu."
257
+
258
+ #. Author of the plugin/theme
259
+ msgid "Meghan Nicholas"
260
+ msgstr "Meghan Nicholas"
261
+
262
+ #. Author URI of the plugin/theme
263
+ msgid "http://www.megnicholas.co.uk"
264
+ msgstr "http://www.megnicholas.co.uk"
languages/cleanandsimple.pot CHANGED
@@ -2,10 +2,10 @@
2
  # This file is distributed under the same license as the Clean and Simple Contact Form package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Clean and Simple Contact Form\n"
6
- "Report-Msgid-Bugs-To: http://wordpress.org/plugins/"
7
- "clean-and-simple-contact-form-by-meg-nicholas/\n"
8
- "POT-Creation-Date: 2013-06-20 08:37:17+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
@@ -13,38 +13,36 @@ msgstr ""
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
 
16
- #: class.cscf.php:102
17
  msgid "Settings"
18
  msgstr ""
19
 
20
- #: class.cscf_contact.php:53
21
  msgid "Sorry the email addresses do not match."
22
  msgstr ""
23
 
24
- #: class.cscf_contact.php:57 views/contact-form-with-recaptcha.view.php:33
25
- #: views/contact-form.view.php:14
26
  msgid "Please give your email address."
27
  msgstr ""
28
 
29
- #: class.cscf_contact.php:61
30
  msgid "Please confirm your email address."
31
  msgstr ""
32
 
33
- #: class.cscf_contact.php:65 views/contact-form-with-recaptcha.view.php:53
34
- #: views/contact-form.view.php:34
35
  msgid "Please give your name."
36
  msgstr ""
37
 
38
- #: class.cscf_contact.php:69
39
  msgid "Please enter a message."
40
  msgstr ""
41
 
42
- #: class.cscf_contact.php:73 views/contact-form-with-recaptcha.view.php:33
43
- #: views/contact-form.view.php:14
44
  msgid "Please enter a valid email address."
45
  msgstr ""
46
 
47
- #: class.cscf_contact.php:81
48
  msgid "Sorry the code wasn't entered correctly please try again."
49
  msgstr ""
50
 
@@ -86,144 +84,151 @@ msgstr ""
86
  msgid "Thank you!"
87
  msgstr ""
88
 
89
- #: class.cscf_settings.php:68
 
 
 
 
 
 
 
 
 
 
90
  msgid "ReCAPTCHA Settings"
91
  msgstr ""
92
 
93
- #: class.cscf_settings.php:76
94
  msgid "Use reCAPTCHA :"
95
  msgstr ""
96
 
97
- #: class.cscf_settings.php:82
98
  msgid "reCAPTCHA Theme :"
99
  msgstr ""
100
 
101
- #: class.cscf_settings.php:88
102
  msgid "reCAPTCHA Public Key :"
103
  msgstr ""
104
 
105
- #: class.cscf_settings.php:94
106
  msgid "reCAPTCHA Private Key :"
107
  msgstr ""
108
 
109
- #: class.cscf_settings.php:100
110
  msgid "Message Settings"
111
  msgstr ""
112
 
113
- #: class.cscf_settings.php:104
114
  msgid "Recipient Email :"
115
  msgstr ""
116
 
117
- #: class.cscf_settings.php:110
 
 
 
 
 
 
 
 
118
  msgid "Email Subject :"
119
  msgstr ""
120
 
121
- #: class.cscf_settings.php:116
122
  msgid "Message :"
123
  msgstr ""
124
 
125
- #: class.cscf_settings.php:122
126
  msgid "Message Sent Heading :"
127
  msgstr ""
128
 
129
- #: class.cscf_settings.php:128
130
  msgid "Message Sent Content :"
131
  msgstr ""
132
 
133
- #: class.cscf_settings.php:134
134
  msgid "Styling and Validation"
135
  msgstr ""
136
 
137
- #: class.cscf_settings.php:138
138
  msgid ""
139
  "Use the plugin default stylesheet (un-tick to use your theme style sheet "
140
  "instead) :"
141
  msgstr ""
142
 
143
- #: class.cscf_settings.php:144
144
  msgid "Use client side validation (AJAX) :"
145
  msgstr ""
146
 
147
- #: class.cscf_settings.php:216
148
  msgid "Enter your reCAPTCHA settings below :"
149
  msgstr ""
150
 
151
- #: class.cscf_settings.php:217
152
  msgid "To use reCAPTCHA you must get an API key from"
153
  msgstr ""
154
 
155
- #: class.cscf_settings.php:222
156
  msgid "Enter your message settings below :"
157
  msgstr ""
158
 
159
- #: class.cscf_settings.php:274
160
  msgid "Red"
161
  msgstr ""
162
 
163
- #: class.cscf_settings.php:275
164
  msgid "White"
165
  msgstr ""
166
 
167
- #: class.cscf_settings.php:276
168
  msgid "Blackglass"
169
  msgstr ""
170
 
171
- #: class.cscf_settings.php:277
172
  msgid "Clean"
173
  msgstr ""
174
 
175
- #: views/contact-form-with-recaptcha.view.php:31
176
- #: views/contact-form.view.php:12
177
  msgid "Email Address:"
178
  msgstr ""
179
 
180
- #: views/contact-form-with-recaptcha.view.php:33
181
- #: views/contact-form.view.php:14
182
  msgid "Your Email Address"
183
  msgstr ""
184
 
185
- #: views/contact-form-with-recaptcha.view.php:41
186
- #: views/contact-form.view.php:22
187
  msgid "Confirm Email Address:"
188
  msgstr ""
189
 
190
- #: views/contact-form-with-recaptcha.view.php:43
191
- #: views/contact-form.view.php:24
192
  msgid "Please enter the same email address again."
193
  msgstr ""
194
 
195
- #: views/contact-form-with-recaptcha.view.php:43
196
- #: views/contact-form.view.php:24
197
  msgid "Confirm Your Email Address"
198
  msgstr ""
199
 
200
- #: views/contact-form-with-recaptcha.view.php:51
201
- #: views/contact-form.view.php:32
202
  msgid "Name:"
203
  msgstr ""
204
 
205
- #: views/contact-form-with-recaptcha.view.php:53
206
- #: views/contact-form.view.php:34
207
  msgid "Your Name"
208
  msgstr ""
209
 
210
- #: views/contact-form-with-recaptcha.view.php:61
211
- #: views/contact-form.view.php:42
212
  msgid "Message:"
213
  msgstr ""
214
 
215
- #: views/contact-form-with-recaptcha.view.php:63
216
- #: views/contact-form.view.php:44
217
  msgid "Please give a message."
218
  msgstr ""
219
 
220
- #: views/contact-form-with-recaptcha.view.php:63
221
- #: views/contact-form.view.php:44
222
  msgid "Your Message"
223
  msgstr ""
224
 
225
- #: views/contact-form-with-recaptcha.view.php:79
226
- #: views/contact-form.view.php:51
227
  msgid "Send Message"
228
  msgstr ""
229
 
2
  # This file is distributed under the same license as the Clean and Simple Contact Form package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Clean and Simple Contact Form 4.1.6\n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/clean-and-simple-contact-form-"
7
+ "by-meg-nicholas\n"
8
+ "POT-Creation-Date: 2013-09-02 14:21:53+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
 
16
+ #: class.cscf.php:106
17
  msgid "Settings"
18
  msgstr ""
19
 
20
+ #: class.cscf_contact.php:54
21
  msgid "Sorry the email addresses do not match."
22
  msgstr ""
23
 
24
+ #: class.cscf_contact.php:58 views/contact-form.view.php:29
 
25
  msgid "Please give your email address."
26
  msgstr ""
27
 
28
+ #: class.cscf_contact.php:62
29
  msgid "Please confirm your email address."
30
  msgstr ""
31
 
32
+ #: class.cscf_contact.php:66 views/contact-form.view.php:62
 
33
  msgid "Please give your name."
34
  msgstr ""
35
 
36
+ #: class.cscf_contact.php:70
37
  msgid "Please enter a message."
38
  msgstr ""
39
 
40
+ #: class.cscf_contact.php:74 views/contact-form.view.php:30
41
+ #: views/contact-form.view.php:47
42
  msgid "Please enter a valid email address."
43
  msgstr ""
44
 
45
+ #: class.cscf_contact.php:82
46
  msgid "Sorry the code wasn't entered correctly please try again."
47
  msgstr ""
48
 
84
  msgid "Thank you!"
85
  msgstr ""
86
 
87
+ #: class.cscf_settings.php:54
88
+ msgid ""
89
+ "NOTICE: You have JetPack's Contact Form enabled please deactivate it or use "
90
+ "the shortcode [cscf-contact-form] instead."
91
+ msgstr ""
92
+
93
+ #: class.cscf_settings.php:55
94
+ msgid "Read More"
95
+ msgstr ""
96
+
97
+ #: class.cscf_settings.php:87
98
  msgid "ReCAPTCHA Settings"
99
  msgstr ""
100
 
101
+ #: class.cscf_settings.php:95
102
  msgid "Use reCAPTCHA :"
103
  msgstr ""
104
 
105
+ #: class.cscf_settings.php:101
106
  msgid "reCAPTCHA Theme :"
107
  msgstr ""
108
 
109
+ #: class.cscf_settings.php:107
110
  msgid "reCAPTCHA Public Key :"
111
  msgstr ""
112
 
113
+ #: class.cscf_settings.php:113
114
  msgid "reCAPTCHA Private Key :"
115
  msgstr ""
116
 
117
+ #: class.cscf_settings.php:119
118
  msgid "Message Settings"
119
  msgstr ""
120
 
121
+ #: class.cscf_settings.php:123
122
  msgid "Recipient Email :"
123
  msgstr ""
124
 
125
+ #: class.cscf_settings.php:129
126
+ msgid "Override 'From' Address :"
127
+ msgstr ""
128
+
129
+ #: class.cscf_settings.php:135
130
+ msgid "'From' Email Address :"
131
+ msgstr ""
132
+
133
+ #: class.cscf_settings.php:141
134
  msgid "Email Subject :"
135
  msgstr ""
136
 
137
+ #: class.cscf_settings.php:147
138
  msgid "Message :"
139
  msgstr ""
140
 
141
+ #: class.cscf_settings.php:153
142
  msgid "Message Sent Heading :"
143
  msgstr ""
144
 
145
+ #: class.cscf_settings.php:159
146
  msgid "Message Sent Content :"
147
  msgstr ""
148
 
149
+ #: class.cscf_settings.php:165
150
  msgid "Styling and Validation"
151
  msgstr ""
152
 
153
+ #: class.cscf_settings.php:169
154
  msgid ""
155
  "Use the plugin default stylesheet (un-tick to use your theme style sheet "
156
  "instead) :"
157
  msgstr ""
158
 
159
+ #: class.cscf_settings.php:175
160
  msgid "Use client side validation (AJAX) :"
161
  msgstr ""
162
 
163
+ #: class.cscf_settings.php:262
164
  msgid "Enter your reCAPTCHA settings below :"
165
  msgstr ""
166
 
167
+ #: class.cscf_settings.php:263
168
  msgid "To use reCAPTCHA you must get an API key from"
169
  msgstr ""
170
 
171
+ #: class.cscf_settings.php:268
172
  msgid "Enter your message settings below :"
173
  msgstr ""
174
 
175
+ #: class.cscf_settings.php:328
176
  msgid "Red"
177
  msgstr ""
178
 
179
+ #: class.cscf_settings.php:329
180
  msgid "White"
181
  msgstr ""
182
 
183
+ #: class.cscf_settings.php:330
184
  msgid "Blackglass"
185
  msgstr ""
186
 
187
+ #: class.cscf_settings.php:331
188
  msgid "Clean"
189
  msgstr ""
190
 
191
+ #: views/contact-form.view.php:24
 
192
  msgid "Email Address:"
193
  msgstr ""
194
 
195
+ #: views/contact-form.view.php:33
 
196
  msgid "Your Email Address"
197
  msgstr ""
198
 
199
+ #: views/contact-form.view.php:40
 
200
  msgid "Confirm Email Address:"
201
  msgstr ""
202
 
203
+ #: views/contact-form.view.php:46 views/contact-form.view.php:48
 
204
  msgid "Please enter the same email address again."
205
  msgstr ""
206
 
207
+ #: views/contact-form.view.php:51
 
208
  msgid "Confirm Your Email Address"
209
  msgstr ""
210
 
211
+ #: views/contact-form.view.php:58
 
212
  msgid "Name:"
213
  msgstr ""
214
 
215
+ #: views/contact-form.view.php:65
 
216
  msgid "Your Name"
217
  msgstr ""
218
 
219
+ #: views/contact-form.view.php:72
 
220
  msgid "Message:"
221
  msgstr ""
222
 
223
+ #: views/contact-form.view.php:76
 
224
  msgid "Please give a message."
225
  msgstr ""
226
 
227
+ #: views/contact-form.view.php:78
 
228
  msgid "Your Message"
229
  msgstr ""
230
 
231
+ #: views/contact-form.view.php:101
 
232
  msgid "Send Message"
233
  msgstr ""
234
 
readme.txt CHANGED
@@ -6,7 +6,7 @@ License URI: http://www.gnu.org/licenses/gpl.html
6
  Tags: simple, contact, form, contact button, contact form, contact form plugin, contacts, contacts form plugin, contact me, feedback form, bootstrap, twitter, google, reCAPTCHA, ajax, secure
7
  Requires at least: 3.3
8
  Tested up to: 3.6
9
- Stable tag: 4.1.5
10
 
11
  A clean and simple AJAX contact form with Google reCAPTCHA and Twitter Bootstrap markup.
12
 
@@ -104,9 +104,11 @@ Here is a list of things that you can change
104
 
105
  * **reCAPTCHA Theme**: Here you can change the reCAPTCHA box theme so that it fits with the style of your website.
106
 
107
- * **!NEW! Recipient Email**: The email address where you would like all messages to be sent. This will default to the email address you have specified under 'E-Mail Address' in your WordPress General Settings. If you want your mail sent to a different address then enter it here.
108
 
109
- * **!NEW! Email Subject**: This is the email subject that will appear on all messages. If you would like to set it to something different then enter it here.
 
 
110
 
111
  == Screenshots ==
112
  1. Contact Form With reCAPTCHA
@@ -130,6 +132,13 @@ If you get this message then you have a general problem with email on your serve
130
  So a problem sending mail from this plugin indicates that Wordpress as a whole cannot send email.
131
  Contact your web host provider for help, or use an SMTP plugin to use a third party email service.
132
 
 
 
 
 
 
 
 
133
  = Why is a different contact form displayed? =
134
 
135
  You may have a conflict with another plugin. Either deactivate the other contact form plugin, if you don't need it, or use
@@ -158,7 +167,11 @@ If you are not sure how to go about doing this [get in touch](http://www.megnich
158
  To do this you will need to add some css changes to your theme.
159
 
160
  == Changelog ==
161
- * 4.1.5
 
 
 
 
162
  * Removed all carriage returns from views to avoid problems with wptexturize
163
  * Fixed typo in Dutch translation.
164
  = 4.1.4 =
@@ -204,6 +217,8 @@ To do this you will need to add some css changes to your theme.
204
 
205
 
206
  == Upgrade Notice ==
 
 
207
  = 4.1.5 =
208
  Works with themes that pre-process the html.
209
  = 4.1.4 =
6
  Tags: simple, contact, form, contact button, contact form, contact form plugin, contacts, contacts form plugin, contact me, feedback form, bootstrap, twitter, google, reCAPTCHA, ajax, secure
7
  Requires at least: 3.3
8
  Tested up to: 3.6
9
+ Stable tag: 4.1.6
10
 
11
  A clean and simple AJAX contact form with Google reCAPTCHA and Twitter Bootstrap markup.
12
 
104
 
105
  * **reCAPTCHA Theme**: Here you can change the reCAPTCHA box theme so that it fits with the style of your website.
106
 
107
+ * **Recipient Email**: The email address where you would like all messages to be sent. This will default to the email address you have specified under 'E-Mail Address' in your WordPress General Settings. If you want your mail sent to a different address then enter it here.
108
 
109
+ * **Email Subject**: This is the email subject that will appear on all messages. If you would like to set it to something different then enter it here.
110
+
111
+ * **!NEW! Override 'From' Address**: If you tick this and then fill in the 'From Address:' box then all email will be sent from the given address NOT from the email address given by the form filler.
112
 
113
  == Screenshots ==
114
  1. Contact Form With reCAPTCHA
132
  So a problem sending mail from this plugin indicates that Wordpress as a whole cannot send email.
133
  Contact your web host provider for help, or use an SMTP plugin to use a third party email service.
134
 
135
+ = I don't receive the email =
136
+
137
+ * Check the recipient email on your settings screen, is it correct?
138
+ * Check in your spam or junk mail folder
139
+ * For Gmail check in 'All Mail', the email might have gone straight to archive
140
+ * Try overriding the 'From' email address in the settings screen. Use an email address you own or is from your own domain
141
+
142
  = Why is a different contact form displayed? =
143
 
144
  You may have a conflict with another plugin. Either deactivate the other contact form plugin, if you don't need it, or use
167
  To do this you will need to add some css changes to your theme.
168
 
169
  == Changelog ==
170
+ = 4.1.6 =
171
+ * Added ability to specify a 'from' address. When supplied the email will come from that address instead of the form filler's email address.
172
+ * Changed type of email input boxes to "email"
173
+ * Added Turkish translation thanks to Abdullah Manaz http://manaz.net
174
+ = 4.1.5 =
175
  * Removed all carriage returns from views to avoid problems with wptexturize
176
  * Fixed typo in Dutch translation.
177
  = 4.1.4 =
217
 
218
 
219
  == Upgrade Notice ==
220
+ = 4.1.6 =
221
+ Ability to specify a 'From' address. This email will be used to send the mail instead of the form filler's email address.
222
  = 4.1.5 =
223
  Works with themes that pre-process the html.
224
  = 4.1.4 =
views/contact-form.view.php CHANGED
@@ -28,7 +28,7 @@
28
  data-rule-email="true"
29
  data-msg-required="<?php _e('Please give your email address.','cleanandsimple');?>"
30
  data-msg-email="<?php _e('Please enter a valid email address.','cleanandsimple');?>"
31
- type="text" id="cscf_email" name="cscf[email]"
32
  value="<?php echo $contact->Email; ?>"
33
  placeholder="<?php _e('Your Email Address','cleanandsimple');?>"/>
34
  <span class="help-inline"><?php if (isset($contact->Errors['email'])) echo $contact->Errors['email']; ?></span>
@@ -46,7 +46,7 @@
46
  data-msg-required="<?php _e('Please enter the same email address again.','cleanandsimple');?>"
47
  data-msg-email="<?php _e('Please enter a valid email address.','cleanandsimple');?>"
48
  data-msg-equalTo="<?php _e('Please enter the same email address again.','cleanandsimple');?>"
49
- type="text" id="cscf_confirm-email" name="cscf[confirm-email]"
50
  value="<?php echo $contact->ConfirmEmail; ?>"
51
  placeholder="<?php _e('Confirm Your Email Address','cleanandsimple');?>"/>
52
  <span class="help-inline"><?php if (isset($contact->Errors['confirm-email'])) echo $contact->Errors['confirm-email']; ?></span>
28
  data-rule-email="true"
29
  data-msg-required="<?php _e('Please give your email address.','cleanandsimple');?>"
30
  data-msg-email="<?php _e('Please enter a valid email address.','cleanandsimple');?>"
31
+ type="email" id="cscf_email" name="cscf[email]"
32
  value="<?php echo $contact->Email; ?>"
33
  placeholder="<?php _e('Your Email Address','cleanandsimple');?>"/>
34
  <span class="help-inline"><?php if (isset($contact->Errors['email'])) echo $contact->Errors['email']; ?></span>
46
  data-msg-required="<?php _e('Please enter the same email address again.','cleanandsimple');?>"
47
  data-msg-email="<?php _e('Please enter a valid email address.','cleanandsimple');?>"
48
  data-msg-equalTo="<?php _e('Please enter the same email address again.','cleanandsimple');?>"
49
+ type="email" id="cscf_confirm-email" name="cscf[confirm-email]"
50
  value="<?php echo $contact->ConfirmEmail; ?>"
51
  placeholder="<?php _e('Confirm Your Email Address','cleanandsimple');?>"/>
52
  <span class="help-inline"><?php if (isset($contact->Errors['confirm-email'])) echo $contact->Errors['confirm-email']; ?></span>