Version Description
- The requirement for users to confirm their email address is now optional. When turned off users only need to enter their email address once.
- Added Arabic translation thanks to Omar AlQabandi
Download this release
Release Info
Developer | megnicholas |
Plugin | Contact Form Clean and Simple |
Version | 4.2.4 |
Comparing to | |
See all releases |
Code changes from version 4.2.3 to 4.2.4
- class.cscf.php +9 -3
- class.cscf_contact.php +6 -4
- class.cscf_pluginsettings.php +6 -0
- class.cscf_settings.php +10 -0
- clean-and-simple-contact-form-by-meg-nicholas.php +8 -3
- languages/cleanandsimple-ar.mo +0 -0
- languages/cleanandsimple-ar.po +300 -0
- languages/cleanandsimple.pot +38 -34
- readme.txt +12 -2
- shortcodes/contact-form.php +1 -0
- views/contact-form.view.php +3 -1
class.cscf.php
CHANGED
@@ -5,8 +5,6 @@ class cscf
|
|
5 |
public
|
6 |
function __construct()
|
7 |
{
|
8 |
-
$this->Upgrade();
|
9 |
-
|
10 |
//add settings link to plugins page
|
11 |
add_filter("plugin_action_links", array(
|
12 |
$this,
|
@@ -76,8 +74,16 @@ class cscf
|
|
76 |
wp_enqueue_script('cscf-admin-settings');
|
77 |
}
|
78 |
|
79 |
-
function Upgrade()
|
80 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
//change namespace of options
|
82 |
if ( get_option('cff_options') != '') {
|
83 |
update_option('cscf_options', get_option('cff_options'));
|
5 |
public
|
6 |
function __construct()
|
7 |
{
|
|
|
|
|
8 |
//add settings link to plugins page
|
9 |
add_filter("plugin_action_links", array(
|
10 |
$this,
|
74 |
wp_enqueue_script('cscf-admin-settings');
|
75 |
}
|
76 |
|
77 |
+
function Upgrade($oldVersion)
|
78 |
{
|
79 |
+
|
80 |
+
//turn on the confirm-email option
|
81 |
+
if ( $oldVersion <= "4.2.3" ) {
|
82 |
+
$options = get_option(CSCF_OPTIONS_KEY);
|
83 |
+
$options['confirm-email'] = true;
|
84 |
+
update_option(CSCF_OPTIONS_KEY, $options);
|
85 |
+
}
|
86 |
+
|
87 |
//change namespace of options
|
88 |
if ( get_option('cff_options') != '') {
|
89 |
update_option('cscf_options', get_option('cff_options'));
|
class.cscf_contact.php
CHANGED
@@ -50,16 +50,18 @@ class cscf_Contact
|
|
50 |
return false;
|
51 |
|
52 |
// email and confirm email are the same
|
53 |
-
|
54 |
-
|
|
|
55 |
|
56 |
//email
|
57 |
|
58 |
if (strlen($this->Email) == 0) $this->Errors['email'] = __('Please give your email address.','cleanandsimple');
|
59 |
|
60 |
//confirm email
|
61 |
-
|
62 |
-
|
|
|
63 |
|
64 |
//name
|
65 |
|
50 |
return false;
|
51 |
|
52 |
// email and confirm email are the same
|
53 |
+
if ( cscf_PluginSettings::ConfirmEmail() ) {
|
54 |
+
if ($this->Email != $this->ConfirmEmail) $this->Errors['confirm-email'] = __('Sorry the email addresses do not match.','cleanandsimple');
|
55 |
+
}
|
56 |
|
57 |
//email
|
58 |
|
59 |
if (strlen($this->Email) == 0) $this->Errors['email'] = __('Please give your email address.','cleanandsimple');
|
60 |
|
61 |
//confirm email
|
62 |
+
if ( cscf_PluginSettings::ConfirmEmail() ) {
|
63 |
+
if (strlen($this->ConfirmEmail) == 0) $this->Errors['confirm-email'] = __('Please confirm your email address.','cleanandsimple');
|
64 |
+
}
|
65 |
|
66 |
//name
|
67 |
|
class.cscf_pluginsettings.php
CHANGED
@@ -119,5 +119,11 @@ class cscf_PluginSettings
|
|
119 |
function InputIcons() {
|
120 |
return false;
|
121 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
122 |
}
|
123 |
|
119 |
function InputIcons() {
|
120 |
return false;
|
121 |
}
|
122 |
+
|
123 |
+
static
|
124 |
+
function ConfirmEmail() {
|
125 |
+
$options = get_option(CSCF_OPTIONS_KEY);
|
126 |
+
return isset($options['confirm-email']) ? true : false;
|
127 |
+
}
|
128 |
}
|
129 |
|
class.cscf_settings.php
CHANGED
@@ -137,6 +137,12 @@ class cscf_settings
|
|
137 |
) , 'contact-form-settings', 'section_message', array(
|
138 |
'recipient_emails'
|
139 |
));
|
|
|
|
|
|
|
|
|
|
|
|
|
140 |
add_settings_field('override-from', __('Override \'From\' Address :','cleanandsimple'), array(
|
141 |
$this,
|
142 |
'create_fields'
|
@@ -303,6 +309,10 @@ class cscf_settings
|
|
303 |
|
304 |
<?php }
|
305 |
?></ul><?php
|
|
|
|
|
|
|
|
|
306 |
break;
|
307 |
case 'override-from':
|
308 |
$checked = cscf_PluginSettings::OverrideFrom() == true ? "checked" : "";
|
137 |
) , 'contact-form-settings', 'section_message', array(
|
138 |
'recipient_emails'
|
139 |
));
|
140 |
+
add_settings_field('confirm-email', __('Confirm Email Address :','cleanandsimple'), array(
|
141 |
+
$this,
|
142 |
+
'create_fields'
|
143 |
+
) , 'contact-form-settings', 'section_message', array(
|
144 |
+
'confirm-email'
|
145 |
+
));
|
146 |
add_settings_field('override-from', __('Override \'From\' Address :','cleanandsimple'), array(
|
147 |
$this,
|
148 |
'create_fields'
|
309 |
|
310 |
<?php }
|
311 |
?></ul><?php
|
312 |
+
break;
|
313 |
+
case 'confirm-email':
|
314 |
+
$checked = cscf_PluginSettings::ConfirmEmail() == true ? "checked" : "";
|
315 |
+
?><input type="checkbox" <?php echo $checked; ?> id="confirm-email" name="<?php echo CSCF_OPTIONS_KEY; ?>[confirm-email]"><?php
|
316 |
break;
|
317 |
case 'override-from':
|
318 |
$checked = cscf_PluginSettings::OverrideFrom() == true ? "checked" : "";
|
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.2.
|
11 |
Author: Meghan Nicholas
|
12 |
Author URI: http://www.megnicholas.co.uk
|
13 |
License: GPLv2 or later
|
@@ -52,11 +52,16 @@ if (!defined('CSCF_PLUGIN_URL')) define('CSCF_PLUGIN_URL', WP_PLUGIN_URL . '/' .
|
|
52 |
|
53 |
if (!defined('CSCF_VERSION_KEY')) define('CSCF_VERSION_KEY', 'cscf_version');
|
54 |
|
55 |
-
if (!defined('CSCF_VERSION_NUM')) define('CSCF_VERSION_NUM', '4.2.
|
56 |
|
57 |
if (!defined('CSCF_OPTIONS_KEY')) define('CSCF_OPTIONS_KEY', 'cscf_options');
|
58 |
|
|
|
|
|
|
|
|
|
59 |
update_option(CSCF_VERSION_KEY, CSCF_VERSION_NUM);
|
60 |
|
61 |
-
$
|
|
|
62 |
|
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.2.4
|
11 |
Author: Meghan Nicholas
|
12 |
Author URI: http://www.megnicholas.co.uk
|
13 |
License: GPLv2 or later
|
52 |
|
53 |
if (!defined('CSCF_VERSION_KEY')) define('CSCF_VERSION_KEY', 'cscf_version');
|
54 |
|
55 |
+
if (!defined('CSCF_VERSION_NUM')) define('CSCF_VERSION_NUM', '4.2.4');
|
56 |
|
57 |
if (!defined('CSCF_OPTIONS_KEY')) define('CSCF_OPTIONS_KEY', 'cscf_options');
|
58 |
|
59 |
+
$cscf = new cscf();
|
60 |
+
|
61 |
+
//do we need to upgrade ?
|
62 |
+
$oldVersion = get_option(CSCF_VERSION_KEY);
|
63 |
update_option(CSCF_VERSION_KEY, CSCF_VERSION_NUM);
|
64 |
|
65 |
+
if ($oldVersion < CSCF_VERSION_NUM)
|
66 |
+
$cscf->Upgrade($oldVersion);
|
67 |
|
languages/cleanandsimple-ar.mo
ADDED
Binary file
|
languages/cleanandsimple-ar.po
ADDED
@@ -0,0 +1,300 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright (C) 2013 Clean and Simple Contact Form
|
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.2.3\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-10-28 20:02:19+00:00\n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"PO-Revision-Date: 2013-11-03 01:23-0600\n"
|
13 |
+
"Last-Translator: \n"
|
14 |
+
"Language-Team: Omar AlQabandi <https://plus.google.com/+OmarAlQabandi>\n"
|
15 |
+
"X-Generator: Poedit 1.5.7\n"
|
16 |
+
"Language: Arabic\n"
|
17 |
+
|
18 |
+
#: class.cscf.php:143
|
19 |
+
msgid "Settings"
|
20 |
+
msgstr "الإعدادات"
|
21 |
+
|
22 |
+
#: class.cscf_contact.php:54
|
23 |
+
msgid "Sorry the email addresses do not match."
|
24 |
+
msgstr "عفواً، عناوين البريد الإلكترونية لا تتطابق."
|
25 |
+
|
26 |
+
#: class.cscf_contact.php:58 views/contact-form.view.php:32
|
27 |
+
msgid "Please give your email address."
|
28 |
+
msgstr "قم بإدخال بريدك الإلكتروني."
|
29 |
+
|
30 |
+
#: class.cscf_contact.php:62
|
31 |
+
msgid "Please confirm your email address."
|
32 |
+
msgstr "الرجاء التأكد من البريد الإلكتروني."
|
33 |
+
|
34 |
+
#: class.cscf_contact.php:66 views/contact-form.view.php:77
|
35 |
+
msgid "Please give your name."
|
36 |
+
msgstr "أدخل إسمك الكامل."
|
37 |
+
|
38 |
+
#: class.cscf_contact.php:70
|
39 |
+
msgid "Please enter a message."
|
40 |
+
msgstr "قم بإدخال الرسالة"
|
41 |
+
|
42 |
+
#: class.cscf_contact.php:74 views/contact-form.view.php:33
|
43 |
+
#: views/contact-form.view.php:56
|
44 |
+
msgid "Please enter a valid email address."
|
45 |
+
msgstr "الرجاء إدخال بريد إلكتروني صحيح."
|
46 |
+
|
47 |
+
#: class.cscf_contact.php:82
|
48 |
+
msgid "Sorry the code wasn't entered correctly please try again."
|
49 |
+
msgstr "لم يتم إدخال الكود بشكل صحيح، حاول مرة أخرى"
|
50 |
+
|
51 |
+
#: class.cscf_pluginsettings.php:40
|
52 |
+
msgid "Message Sent"
|
53 |
+
msgstr "تم إرسال الرسالة"
|
54 |
+
|
55 |
+
#: class.cscf_pluginsettings.php:47
|
56 |
+
msgid "Thank you for your message, we will be in touch very shortly."
|
57 |
+
msgstr "شكراً على تواصلك، سنحاول الرد بأسرع وقت."
|
58 |
+
|
59 |
+
#: class.cscf_pluginsettings.php:54
|
60 |
+
msgid ""
|
61 |
+
"Please enter your contact details and a short message below and I will try "
|
62 |
+
"to answer your query as soon as possible."
|
63 |
+
msgstr ""
|
64 |
+
"رجاءاً قم بإدخال بيانات المستخدم ملحقاً برسالة قصيرة و سوف أحاول الرد في أسرع "
|
65 |
+
"وقت."
|
66 |
+
|
67 |
+
#: class.cscf_pluginsettings.php:83
|
68 |
+
msgid " - Web Enquiry"
|
69 |
+
msgstr "استفسار من الويب (Web Enquiry)"
|
70 |
+
|
71 |
+
#: class.cscf_settings.php:30
|
72 |
+
msgid "Contact Form Settings"
|
73 |
+
msgstr "إعدادات نموذج بيانات المستخدم"
|
74 |
+
|
75 |
+
#: class.cscf_settings.php:30
|
76 |
+
msgid "Contact Form"
|
77 |
+
msgstr "نموذج بيانات المستخدم"
|
78 |
+
|
79 |
+
#: class.cscf_settings.php:40
|
80 |
+
msgid "Clean and Simple Contact Form Settings"
|
81 |
+
msgstr "إعدادات نموذج بيانات مستخدم “Clean and Simple”"
|
82 |
+
|
83 |
+
#: class.cscf_settings.php:46
|
84 |
+
msgid "Donate $10, $20 or $50!"
|
85 |
+
msgstr "تبرع بـ 10$، 20$ أو 50$!"
|
86 |
+
|
87 |
+
#: class.cscf_settings.php:48
|
88 |
+
msgid ""
|
89 |
+
"If you like this plugin, please donate to support development and "
|
90 |
+
"maintenance of:"
|
91 |
+
msgstr "إذا أعجبتكم هذه الإضافة، نرجو منكم التبرع لدعم التطوير و الصيانة:"
|
92 |
+
|
93 |
+
#: class.cscf_settings.php:48
|
94 |
+
msgid "Clean and Simple Contact Form!"
|
95 |
+
msgstr "نموذج بيانات مستخدم Clean and Simple"
|
96 |
+
|
97 |
+
#: class.cscf_settings.php:63
|
98 |
+
msgid "You are using version"
|
99 |
+
msgstr "أنت تستعمل الإصدار"
|
100 |
+
|
101 |
+
#: class.cscf_settings.php:64
|
102 |
+
msgid "If you find this plugin useful please consider"
|
103 |
+
msgstr "اذا أعجبتكم هذه الإضافة، نرجو منكم"
|
104 |
+
|
105 |
+
#: class.cscf_settings.php:67
|
106 |
+
msgid "leaving a review"
|
107 |
+
msgstr "ترك إنطباعكم"
|
108 |
+
|
109 |
+
#: class.cscf_settings.php:69
|
110 |
+
msgid "Thank you!"
|
111 |
+
msgstr "شكراً!"
|
112 |
+
|
113 |
+
#: class.cscf_settings.php:74
|
114 |
+
msgid ""
|
115 |
+
"NOTICE: You have JetPack's Contact Form enabled please deactivate it or use "
|
116 |
+
"the shortcode [cscf-contact-form] instead."
|
117 |
+
msgstr ""
|
118 |
+
"تنبيه: نموذج بيانات مستخدم JetPack مفعل لديك، قم بتعطيل هذه الخاصية أو "
|
119 |
+
"استخدم الأكواد القصيرة التالية [cscf-contact-form]."
|
120 |
+
|
121 |
+
#: class.cscf_settings.php:75
|
122 |
+
msgid "Read More"
|
123 |
+
msgstr "اقرأ المزيد"
|
124 |
+
|
125 |
+
#: class.cscf_settings.php:79
|
126 |
+
msgid "Please Note: To add the contact form to your page please add the text"
|
127 |
+
msgstr "ملاحظة: لإضافة نموذج بيانات المستخدم إلى صفحتك، الرجاء إضافة النص"
|
128 |
+
|
129 |
+
#: class.cscf_settings.php:79
|
130 |
+
msgid "to your post or page."
|
131 |
+
msgstr "إلى مقالك أو صفحتك."
|
132 |
+
|
133 |
+
#: class.cscf_settings.php:98
|
134 |
+
msgid "ReCAPTCHA Settings"
|
135 |
+
msgstr "إعدادات reCAPTCHA"
|
136 |
+
|
137 |
+
#: class.cscf_settings.php:106
|
138 |
+
msgid "Use reCAPTCHA :"
|
139 |
+
msgstr "استعمل reCAPTCHA :"
|
140 |
+
|
141 |
+
#: class.cscf_settings.php:112
|
142 |
+
msgid "reCAPTCHA Theme :"
|
143 |
+
msgstr "مظهر reCAPTCHA :"
|
144 |
+
|
145 |
+
#: class.cscf_settings.php:118
|
146 |
+
msgid "reCAPTCHA Public Key :"
|
147 |
+
msgstr "reCAPTCHA Public Key:"
|
148 |
+
|
149 |
+
#: class.cscf_settings.php:124
|
150 |
+
msgid "reCAPTCHA Private Key :"
|
151 |
+
msgstr "reCAPTCHA Private Key:"
|
152 |
+
|
153 |
+
#: class.cscf_settings.php:130
|
154 |
+
msgid "Message Settings"
|
155 |
+
msgstr "إعدادات الرسالة"
|
156 |
+
|
157 |
+
#: class.cscf_settings.php:134
|
158 |
+
msgid "Recipient Emails :"
|
159 |
+
msgstr "العناوين البريدية للمستلمين:"
|
160 |
+
|
161 |
+
#: class.cscf_settings.php:140
|
162 |
+
msgid "Override 'From' Address :"
|
163 |
+
msgstr "تجاهل عنوان المرسل:"
|
164 |
+
|
165 |
+
#: class.cscf_settings.php:146
|
166 |
+
msgid "'From' Email Address :"
|
167 |
+
msgstr "عناوين المرسلين:"
|
168 |
+
|
169 |
+
#: class.cscf_settings.php:152
|
170 |
+
msgid "Email Subject :"
|
171 |
+
msgstr "عنوان الرسالة:"
|
172 |
+
|
173 |
+
#: class.cscf_settings.php:158
|
174 |
+
msgid "Message :"
|
175 |
+
msgstr "الرسالة:"
|
176 |
+
|
177 |
+
#: class.cscf_settings.php:164
|
178 |
+
msgid "Message Sent Heading :"
|
179 |
+
msgstr "عنوان الرسالة المرسلة:"
|
180 |
+
|
181 |
+
#: class.cscf_settings.php:170
|
182 |
+
msgid "Message Sent Content :"
|
183 |
+
msgstr "مضمون الرسالة المرسلة:"
|
184 |
+
|
185 |
+
#: class.cscf_settings.php:176
|
186 |
+
msgid "Styling and Validation"
|
187 |
+
msgstr "التصميم و الصلاحية"
|
188 |
+
|
189 |
+
#: class.cscf_settings.php:180
|
190 |
+
msgid ""
|
191 |
+
"Use the plugin default stylesheet (un-tick to use your theme style sheet "
|
192 |
+
"instead) :"
|
193 |
+
msgstr ""
|
194 |
+
"إستخدم النمط الإفتراضي للإضافة (دع هذا الإختيار فارغاً لإستعمال نمطك الخاص):"
|
195 |
+
|
196 |
+
#: class.cscf_settings.php:186
|
197 |
+
msgid "Use client side validation (AJAX) :"
|
198 |
+
msgstr "التأكد من الصلاحية من جهة المستخدم (AJAX)."
|
199 |
+
|
200 |
+
#: class.cscf_settings.php:256
|
201 |
+
msgid "Enter your reCAPTCHA settings below :"
|
202 |
+
msgstr "قم بإدخال إعدادات reCAPTCHA :"
|
203 |
+
|
204 |
+
#: class.cscf_settings.php:257
|
205 |
+
msgid "To use reCAPTCHA you must get an API key from"
|
206 |
+
msgstr "لإستعمال reCAPTCHA يجب عليك الحصول على API key من"
|
207 |
+
|
208 |
+
#: class.cscf_settings.php:262
|
209 |
+
msgid "Enter your message settings below :"
|
210 |
+
msgstr "أدخل إعدادات الرسالة في الأسفل:"
|
211 |
+
|
212 |
+
#: class.cscf_settings.php:332
|
213 |
+
msgid "Red"
|
214 |
+
msgstr "أحمر"
|
215 |
+
|
216 |
+
#: class.cscf_settings.php:333
|
217 |
+
msgid "White"
|
218 |
+
msgstr "أبيض"
|
219 |
+
|
220 |
+
#: class.cscf_settings.php:334
|
221 |
+
msgid "Blackglass"
|
222 |
+
msgstr "أسود"
|
223 |
+
|
224 |
+
#: class.cscf_settings.php:335
|
225 |
+
msgid "Clean"
|
226 |
+
msgstr "مرتب"
|
227 |
+
|
228 |
+
#: views/contact-form.view.php:24
|
229 |
+
msgid "Email Address:"
|
230 |
+
msgstr "البريد الإلكتروني:"
|
231 |
+
|
232 |
+
#: views/contact-form.view.php:36
|
233 |
+
msgid "Your Email Address"
|
234 |
+
msgstr "بريدك الإلكتروني"
|
235 |
+
|
236 |
+
#: views/contact-form.view.php:46
|
237 |
+
msgid "Confirm Email Address:"
|
238 |
+
msgstr "أدخل بريدك الإلكتروني مرة أُخرى:"
|
239 |
+
|
240 |
+
#: views/contact-form.view.php:55 views/contact-form.view.php:57
|
241 |
+
msgid "Please enter the same email address again."
|
242 |
+
msgstr "الرجاء إدخال البريد الإلكتروني مرة أًخرى."
|
243 |
+
|
244 |
+
#: views/contact-form.view.php:60
|
245 |
+
msgid "Confirm Your Email Address"
|
246 |
+
msgstr "أدخل بريدك الإلكتروني مرة أُخرى"
|
247 |
+
|
248 |
+
#: views/contact-form.view.php:70
|
249 |
+
msgid "Name:"
|
250 |
+
msgstr "الإسم:"
|
251 |
+
|
252 |
+
#: views/contact-form.view.php:80
|
253 |
+
msgid "Your Name"
|
254 |
+
msgstr "إسمك الكامل"
|
255 |
+
|
256 |
+
#: views/contact-form.view.php:90
|
257 |
+
msgid "Message:"
|
258 |
+
msgstr "الرسالة:"
|
259 |
+
|
260 |
+
#: views/contact-form.view.php:97
|
261 |
+
msgid "Please give a message."
|
262 |
+
msgstr "أكتب الرسالة التي تود إرسالها."
|
263 |
+
|
264 |
+
#: views/contact-form.view.php:99
|
265 |
+
msgid "Your Message"
|
266 |
+
msgstr "رسالتك"
|
267 |
+
|
268 |
+
#: views/contact-form.view.php:121
|
269 |
+
msgid "Send Message"
|
270 |
+
msgstr "إرسل الرسالة"
|
271 |
+
|
272 |
+
#: views/message-not-sent.view.php:1
|
273 |
+
msgid "Sorry, there has been a problem and your message was not sent."
|
274 |
+
msgstr "نأسف، تم حدوث خلل و لم يتم إرسال رسالتك."
|
275 |
+
|
276 |
+
#. Plugin Name of the plugin/theme
|
277 |
+
msgid "Clean and Simple Contact Form"
|
278 |
+
msgstr "نموذج بيانات مستخدم Clean and Simple"
|
279 |
+
|
280 |
+
#. Plugin URI of the plugin/theme
|
281 |
+
msgid ""
|
282 |
+
"http://www.megnicholas.co.uk/wordpress-plugins/clean-and-simple-contact-form"
|
283 |
+
msgstr ""
|
284 |
+
"http://www.megnicholas.co.uk/wordpress-plugins/clean-and-simple-contact-form"
|
285 |
+
|
286 |
+
#. Description of the plugin/theme
|
287 |
+
msgid ""
|
288 |
+
"A clean and simple contact form with Google reCAPTCHA and Twitter Bootstrap "
|
289 |
+
"markup."
|
290 |
+
msgstr ""
|
291 |
+
"A clean and simple contact form with Google reCAPTCHA and Twitter Bootstrap "
|
292 |
+
"markup."
|
293 |
+
|
294 |
+
#. Author of the plugin/theme
|
295 |
+
msgid "Meghan Nicholas"
|
296 |
+
msgstr "Meghan Nicholas"
|
297 |
+
|
298 |
+
#. Author URI of the plugin/theme
|
299 |
+
msgid "http://www.megnicholas.co.uk"
|
300 |
+
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 4.2.
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/clean-and-simple-contact-form-"
|
7 |
"by-meg-nicholas\n"
|
8 |
-
"POT-Creation-Date: 2013-
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -13,7 +13,7 @@ msgstr ""
|
|
13 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15 |
|
16 |
-
#: class.cscf.php:
|
17 |
msgid "Settings"
|
18 |
msgstr ""
|
19 |
|
@@ -21,28 +21,28 @@ msgstr ""
|
|
21 |
msgid "Sorry the email addresses do not match."
|
22 |
msgstr ""
|
23 |
|
24 |
-
#: class.cscf_contact.php:
|
25 |
msgid "Please give your email address."
|
26 |
msgstr ""
|
27 |
|
28 |
-
#: class.cscf_contact.php:
|
29 |
msgid "Please confirm your email address."
|
30 |
msgstr ""
|
31 |
|
32 |
-
#: class.cscf_contact.php:
|
33 |
msgid "Please give your name."
|
34 |
msgstr ""
|
35 |
|
36 |
-
#: class.cscf_contact.php:
|
37 |
msgid "Please enter a message."
|
38 |
msgstr ""
|
39 |
|
40 |
-
#: class.cscf_contact.php:
|
41 |
-
#: views/contact-form.view.php:
|
42 |
msgid "Please enter a valid email address."
|
43 |
msgstr ""
|
44 |
|
45 |
-
#: class.cscf_contact.php:
|
46 |
msgid "Sorry the code wasn't entered correctly please try again."
|
47 |
msgstr ""
|
48 |
|
@@ -153,68 +153,72 @@ msgid "Recipient Emails :"
|
|
153 |
msgstr ""
|
154 |
|
155 |
#: class.cscf_settings.php:140
|
156 |
-
msgid "
|
157 |
msgstr ""
|
158 |
|
159 |
#: class.cscf_settings.php:146
|
160 |
-
msgid "'From'
|
161 |
msgstr ""
|
162 |
|
163 |
#: class.cscf_settings.php:152
|
164 |
-
msgid "Email
|
165 |
msgstr ""
|
166 |
|
167 |
#: class.cscf_settings.php:158
|
168 |
-
msgid "
|
169 |
msgstr ""
|
170 |
|
171 |
#: class.cscf_settings.php:164
|
172 |
-
msgid "Message
|
173 |
msgstr ""
|
174 |
|
175 |
#: class.cscf_settings.php:170
|
176 |
-
msgid "Message Sent
|
177 |
msgstr ""
|
178 |
|
179 |
#: class.cscf_settings.php:176
|
|
|
|
|
|
|
|
|
180 |
msgid "Styling and Validation"
|
181 |
msgstr ""
|
182 |
|
183 |
-
#: class.cscf_settings.php:
|
184 |
msgid ""
|
185 |
"Use the plugin default stylesheet (un-tick to use your theme style sheet "
|
186 |
"instead) :"
|
187 |
msgstr ""
|
188 |
|
189 |
-
#: class.cscf_settings.php:
|
190 |
msgid "Use client side validation (AJAX) :"
|
191 |
msgstr ""
|
192 |
|
193 |
-
#: class.cscf_settings.php:
|
194 |
msgid "Enter your reCAPTCHA settings below :"
|
195 |
msgstr ""
|
196 |
|
197 |
-
#: class.cscf_settings.php:
|
198 |
msgid "To use reCAPTCHA you must get an API key from"
|
199 |
msgstr ""
|
200 |
|
201 |
-
#: class.cscf_settings.php:
|
202 |
msgid "Enter your message settings below :"
|
203 |
msgstr ""
|
204 |
|
205 |
-
#: class.cscf_settings.php:
|
206 |
msgid "Red"
|
207 |
msgstr ""
|
208 |
|
209 |
-
#: class.cscf_settings.php:
|
210 |
msgid "White"
|
211 |
msgstr ""
|
212 |
|
213 |
-
#: class.cscf_settings.php:
|
214 |
msgid "Blackglass"
|
215 |
msgstr ""
|
216 |
|
217 |
-
#: class.cscf_settings.php:
|
218 |
msgid "Clean"
|
219 |
msgstr ""
|
220 |
|
@@ -226,39 +230,39 @@ msgstr ""
|
|
226 |
msgid "Your Email Address"
|
227 |
msgstr ""
|
228 |
|
229 |
-
#: views/contact-form.view.php:
|
230 |
msgid "Confirm Email Address:"
|
231 |
msgstr ""
|
232 |
|
233 |
-
#: views/contact-form.view.php:
|
234 |
msgid "Please enter the same email address again."
|
235 |
msgstr ""
|
236 |
|
237 |
-
#: views/contact-form.view.php:
|
238 |
msgid "Confirm Your Email Address"
|
239 |
msgstr ""
|
240 |
|
241 |
-
#: views/contact-form.view.php:
|
242 |
msgid "Name:"
|
243 |
msgstr ""
|
244 |
|
245 |
-
#: views/contact-form.view.php:
|
246 |
msgid "Your Name"
|
247 |
msgstr ""
|
248 |
|
249 |
-
#: views/contact-form.view.php:
|
250 |
msgid "Message:"
|
251 |
msgstr ""
|
252 |
|
253 |
-
#: views/contact-form.view.php:
|
254 |
msgid "Please give a message."
|
255 |
msgstr ""
|
256 |
|
257 |
-
#: views/contact-form.view.php:
|
258 |
msgid "Your Message"
|
259 |
msgstr ""
|
260 |
|
261 |
-
#: views/contact-form.view.php:
|
262 |
msgid "Send Message"
|
263 |
msgstr ""
|
264 |
|
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.2.4\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-11-06 14:29:38+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:149
|
17 |
msgid "Settings"
|
18 |
msgstr ""
|
19 |
|
21 |
msgid "Sorry the email addresses do not match."
|
22 |
msgstr ""
|
23 |
|
24 |
+
#: class.cscf_contact.php:59 views/contact-form.view.php:32
|
25 |
msgid "Please give your email address."
|
26 |
msgstr ""
|
27 |
|
28 |
+
#: class.cscf_contact.php:63
|
29 |
msgid "Please confirm your email address."
|
30 |
msgstr ""
|
31 |
|
32 |
+
#: class.cscf_contact.php:68 views/contact-form.view.php:79
|
33 |
msgid "Please give your name."
|
34 |
msgstr ""
|
35 |
|
36 |
+
#: class.cscf_contact.php:72
|
37 |
msgid "Please enter a message."
|
38 |
msgstr ""
|
39 |
|
40 |
+
#: class.cscf_contact.php:76 views/contact-form.view.php:33
|
41 |
+
#: views/contact-form.view.php:57
|
42 |
msgid "Please enter a valid email address."
|
43 |
msgstr ""
|
44 |
|
45 |
+
#: class.cscf_contact.php:84
|
46 |
msgid "Sorry the code wasn't entered correctly please try again."
|
47 |
msgstr ""
|
48 |
|
153 |
msgstr ""
|
154 |
|
155 |
#: class.cscf_settings.php:140
|
156 |
+
msgid "Confirm Email Address :"
|
157 |
msgstr ""
|
158 |
|
159 |
#: class.cscf_settings.php:146
|
160 |
+
msgid "Override 'From' Address :"
|
161 |
msgstr ""
|
162 |
|
163 |
#: class.cscf_settings.php:152
|
164 |
+
msgid "'From' Email Address :"
|
165 |
msgstr ""
|
166 |
|
167 |
#: class.cscf_settings.php:158
|
168 |
+
msgid "Email Subject :"
|
169 |
msgstr ""
|
170 |
|
171 |
#: class.cscf_settings.php:164
|
172 |
+
msgid "Message :"
|
173 |
msgstr ""
|
174 |
|
175 |
#: class.cscf_settings.php:170
|
176 |
+
msgid "Message Sent Heading :"
|
177 |
msgstr ""
|
178 |
|
179 |
#: class.cscf_settings.php:176
|
180 |
+
msgid "Message Sent Content :"
|
181 |
+
msgstr ""
|
182 |
+
|
183 |
+
#: class.cscf_settings.php:182
|
184 |
msgid "Styling and Validation"
|
185 |
msgstr ""
|
186 |
|
187 |
+
#: class.cscf_settings.php:186
|
188 |
msgid ""
|
189 |
"Use the plugin default stylesheet (un-tick to use your theme style sheet "
|
190 |
"instead) :"
|
191 |
msgstr ""
|
192 |
|
193 |
+
#: class.cscf_settings.php:192
|
194 |
msgid "Use client side validation (AJAX) :"
|
195 |
msgstr ""
|
196 |
|
197 |
+
#: class.cscf_settings.php:262
|
198 |
msgid "Enter your reCAPTCHA settings below :"
|
199 |
msgstr ""
|
200 |
|
201 |
+
#: class.cscf_settings.php:263
|
202 |
msgid "To use reCAPTCHA you must get an API key from"
|
203 |
msgstr ""
|
204 |
|
205 |
+
#: class.cscf_settings.php:268
|
206 |
msgid "Enter your message settings below :"
|
207 |
msgstr ""
|
208 |
|
209 |
+
#: class.cscf_settings.php:342
|
210 |
msgid "Red"
|
211 |
msgstr ""
|
212 |
|
213 |
+
#: class.cscf_settings.php:343
|
214 |
msgid "White"
|
215 |
msgstr ""
|
216 |
|
217 |
+
#: class.cscf_settings.php:344
|
218 |
msgid "Blackglass"
|
219 |
msgstr ""
|
220 |
|
221 |
+
#: class.cscf_settings.php:345
|
222 |
msgid "Clean"
|
223 |
msgstr ""
|
224 |
|
230 |
msgid "Your Email Address"
|
231 |
msgstr ""
|
232 |
|
233 |
+
#: views/contact-form.view.php:47
|
234 |
msgid "Confirm Email Address:"
|
235 |
msgstr ""
|
236 |
|
237 |
+
#: views/contact-form.view.php:56 views/contact-form.view.php:58
|
238 |
msgid "Please enter the same email address again."
|
239 |
msgstr ""
|
240 |
|
241 |
+
#: views/contact-form.view.php:61
|
242 |
msgid "Confirm Your Email Address"
|
243 |
msgstr ""
|
244 |
|
245 |
+
#: views/contact-form.view.php:72
|
246 |
msgid "Name:"
|
247 |
msgstr ""
|
248 |
|
249 |
+
#: views/contact-form.view.php:82
|
250 |
msgid "Your Name"
|
251 |
msgstr ""
|
252 |
|
253 |
+
#: views/contact-form.view.php:92
|
254 |
msgid "Message:"
|
255 |
msgstr ""
|
256 |
|
257 |
+
#: views/contact-form.view.php:99
|
258 |
msgid "Please give a message."
|
259 |
msgstr ""
|
260 |
|
261 |
+
#: views/contact-form.view.php:101
|
262 |
msgid "Your Message"
|
263 |
msgstr ""
|
264 |
|
265 |
+
#: views/contact-form.view.php:123
|
266 |
msgid "Send Message"
|
267 |
msgstr ""
|
268 |
|
readme.txt
CHANGED
@@ -5,8 +5,8 @@ License: GPLv2 or later
|
|
5 |
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.
|
9 |
-
Stable tag: 4.2.
|
10 |
|
11 |
A clean and simple AJAX contact form with Google reCAPTCHA and Twitter Bootstrap markup.
|
12 |
|
@@ -109,6 +109,10 @@ Here is a list of things that you can change
|
|
109 |
If you want your mail sent to a different address then enter it here.
|
110 |
You may enter multiple email addresses by clicking the '+' button.
|
111 |
|
|
|
|
|
|
|
|
|
112 |
* **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.
|
113 |
|
114 |
* **!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.
|
@@ -183,6 +187,10 @@ the reCAPTCHA for the contact form will be displayed correctly but not in the co
|
|
183 |
The comments form will never validate due to no supplied reCAPTCHA code.
|
184 |
|
185 |
== Changelog ==
|
|
|
|
|
|
|
|
|
186 |
= 4.2.3 =
|
187 |
* Added ability to specify multiple recipient email addresses
|
188 |
* Fix settings gui - there was a problem enabling 'From' Address option when javascript is not enabled.
|
@@ -265,6 +273,8 @@ Polish thanks to Patryk Peas
|
|
265 |
|
266 |
|
267 |
== Upgrade Notice ==
|
|
|
|
|
268 |
= 4.2.3 =
|
269 |
Multiple recipients are now possible
|
270 |
= 4.2.2 =
|
5 |
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.7.1
|
9 |
+
Stable tag: 4.2.4
|
10 |
|
11 |
A clean and simple AJAX contact form with Google reCAPTCHA and Twitter Bootstrap markup.
|
12 |
|
109 |
If you want your mail sent to a different address then enter it here.
|
110 |
You may enter multiple email addresses by clicking the '+' button.
|
111 |
|
112 |
+
* **!NEW! Confirm Email Address**: Email confirmation is now optional. To force your user to re-type their email address tick 'Confirm Email Address'.
|
113 |
+
It is recommended that you leave this option on. If you turn this option off your user will only have to enter their email address once,
|
114 |
+
but if they enter it incorrectly you will have no way of getting back to them!
|
115 |
+
|
116 |
* **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.
|
117 |
|
118 |
* **!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.
|
187 |
The comments form will never validate due to no supplied reCAPTCHA code.
|
188 |
|
189 |
== Changelog ==
|
190 |
+
= 4.2.4 =
|
191 |
+
* The requirement for users to confirm their email address is now optional.
|
192 |
+
When turned off users only need to enter their email address once.
|
193 |
+
* Added Arabic translation thanks to [Omar AlQabandi](http://www.PlusOmar.com "Omar AlQabandi")
|
194 |
= 4.2.3 =
|
195 |
* Added ability to specify multiple recipient email addresses
|
196 |
* Fix settings gui - there was a problem enabling 'From' Address option when javascript is not enabled.
|
273 |
|
274 |
|
275 |
== Upgrade Notice ==
|
276 |
+
= 4.2.4 =
|
277 |
+
'Confirm Email' can now be turned off. Arabic translation added.
|
278 |
= 4.2.3 =
|
279 |
Multiple recipients are now possible
|
280 |
= 4.2.2 =
|
shortcodes/contact-form.php
CHANGED
@@ -42,6 +42,7 @@ function cscf_ContactForm()
|
|
42 |
$view->Set('contact',$contact);
|
43 |
$view->Set('message',cscf_PluginSettings::Message());
|
44 |
$view->Set('version', CSCF_VERSION_NUM);
|
|
|
45 |
|
46 |
|
47 |
$view->Set('messageSentView',$messageSentView);
|
42 |
$view->Set('contact',$contact);
|
43 |
$view->Set('message',cscf_PluginSettings::Message());
|
44 |
$view->Set('version', CSCF_VERSION_NUM);
|
45 |
+
$view->Set('confirmEmail', cscf_PluginSettings::ConfirmEmail());
|
46 |
|
47 |
|
48 |
$view->Set('messageSentView',$messageSentView);
|
views/contact-form.view.php
CHANGED
@@ -41,6 +41,7 @@
|
|
41 |
</span>
|
42 |
</div>
|
43 |
|
|
|
44 |
<!--confirm email address -->
|
45 |
<div class="control-group form-group<?php if (isset($contact->Errors['confirm-email'])) echo ' error has-error'; ?>">
|
46 |
<label for="cscf_confirm-email"><?php _e('Confirm Email Address:','cleanandsimple');?></label>
|
@@ -63,7 +64,8 @@
|
|
63 |
<span for="cscf_confirm-email" class="help-inline help-block error" style="display:<?php echo isset($contact->Errors['confirm-email']) ? 'block' : 'none'; ?>;">
|
64 |
<?php if (isset($contact->Errors['confirm-email'])) echo $contact->Errors['confirm-email']; ?>
|
65 |
</span>
|
66 |
-
</div>
|
|
|
67 |
|
68 |
<!-- name -->
|
69 |
<div class="control-group form-group<?php if (isset($contact->Errors['name'])) echo ' error has-error'; ?>">
|
41 |
</span>
|
42 |
</div>
|
43 |
|
44 |
+
<?php if ( $confirmEmail ) { ?>
|
45 |
<!--confirm email address -->
|
46 |
<div class="control-group form-group<?php if (isset($contact->Errors['confirm-email'])) echo ' error has-error'; ?>">
|
47 |
<label for="cscf_confirm-email"><?php _e('Confirm Email Address:','cleanandsimple');?></label>
|
64 |
<span for="cscf_confirm-email" class="help-inline help-block error" style="display:<?php echo isset($contact->Errors['confirm-email']) ? 'block' : 'none'; ?>;">
|
65 |
<?php if (isset($contact->Errors['confirm-email'])) echo $contact->Errors['confirm-email']; ?>
|
66 |
</span>
|
67 |
+
</div>
|
68 |
+
<?php } ?>
|
69 |
|
70 |
<!-- name -->
|
71 |
<div class="control-group form-group<?php if (isset($contact->Errors['name'])) echo ' error has-error'; ?>">
|