WordPress Email Marketing Plugin – WP Email Capture - Version 3.9.2

Version Description

  • Tested with 5.9
  • Fix a bug that reCAPTCHA wasn't working for particular forms as we load jQuery late.
  • Updated the main block to use more Gutenberg calls
Download this release

Release Info

Developer rhyswynne
Plugin Icon 128x128 WordPress Email Marketing Plugin – WP Email Capture
Version 3.9.2
Comparing to
See all releases

Code changes from version 3.9.1 to 3.9.2

Files changed (67) hide show
  1. inc/display.php +1 -0
  2. inc/enqueue.php +1 -1
  3. inc/js/block.js +1 -1
  4. readme.txt +12 -4
  5. trunk/images/WP-EC-120-x-240.png +0 -0
  6. trunk/images/WP-EC-262-x-218.png +0 -0
  7. trunk/images/WP-EC-336-x-280.png +0 -0
  8. trunk/images/index.php +0 -1
  9. trunk/images/wpemailcapture-dashicon.png +0 -0
  10. trunk/inc/admin-sidebar.php +0 -141
  11. trunk/inc/core.php +0 -39
  12. trunk/inc/css/wp-email-capture-admin-styles.css +0 -91
  13. trunk/inc/css/wp-email-capture-default-styles.css +0 -37
  14. trunk/inc/css/wp-email-capture-gutenberg-styles.css +0 -10
  15. trunk/inc/css/wp-email-capture-styles.css +0 -6
  16. trunk/inc/dashboard.php +0 -50
  17. trunk/inc/deprecated/checks.php +0 -174
  18. trunk/inc/deprecated/pagedresults.php +0 -183
  19. trunk/inc/display.php +0 -135
  20. trunk/inc/enqueue.php +0 -45
  21. trunk/inc/exportcsv.php +0 -47
  22. trunk/inc/functions.php +0 -444
  23. trunk/inc/gdpr.php +0 -402
  24. trunk/inc/gutenberg.php +0 -25
  25. trunk/inc/help.php +0 -247
  26. trunk/inc/img/akismet-image.gif +0 -0
  27. trunk/inc/img/drip-image.png +0 -0
  28. trunk/inc/img/redirect-if-present.png +0 -0
  29. trunk/inc/img/wpemailcapture-avatar.png +0 -0
  30. trunk/inc/install.php +0 -69
  31. trunk/inc/js/admin-custom.js +0 -66
  32. trunk/inc/js/block.js +0 -82
  33. trunk/inc/js/recaptcha-handling.js +0 -13
  34. trunk/inc/js/wp_email_capture_button.js +0 -15
  35. trunk/inc/options.php +0 -1010
  36. trunk/inc/process.php +0 -392
  37. trunk/inc/security.php +0 -60
  38. trunk/inc/tabledata.php +0 -119
  39. trunk/inc/tempdata.php +0 -50
  40. trunk/inc/tinymce.php +0 -37
  41. trunk/inc/tracking.php +0 -169
  42. trunk/inc/widget.php +0 -72
  43. trunk/languages/wp-email-capture-de_DE.mo +0 -0
  44. trunk/languages/wp-email-capture-de_DE.po +0 -529
  45. trunk/languages/wp-email-capture-es_ES.mo +0 -0
  46. trunk/languages/wp-email-capture-es_ES.po +0 -199
  47. trunk/languages/wp-email-capture-fr_FR.mo +0 -0
  48. trunk/languages/wp-email-capture-fr_FR.po +0 -200
  49. trunk/languages/wp-email-capture-hr.mo +0 -0
  50. trunk/languages/wp-email-capture-hr.po +0 -1
  51. trunk/languages/wp-email-capture-hu_HU.mo +0 -0
  52. trunk/languages/wp-email-capture-hu_HU.po +0 -529
  53. trunk/languages/wp-email-capture-it_IT.mo +0 -0
  54. trunk/languages/wp-email-capture-it_IT.po +0 -351
  55. trunk/languages/wp-email-capture-nl_NL.mo +0 -0
  56. trunk/languages/wp-email-capture-nl_NL.po +0 -213
  57. trunk/languages/wp-email-capture-pt_BR.mo +0 -0
  58. trunk/languages/wp-email-capture-pt_BR.po +0 -199
  59. trunk/languages/wp-email-capture-sr_RS.mo +0 -0
  60. trunk/languages/wp-email-capture-sr_RS.po +0 -603
  61. trunk/readme.md +0 -424
  62. trunk/readme.txt +0 -465
  63. trunk/screenshot-1.png +0 -0
  64. trunk/screenshot-2.png +0 -0
  65. trunk/screenshot-3.png +0 -0
  66. trunk/wp-email-capture.php +0 -101
  67. wp-email-capture.php +2 -2
inc/display.php CHANGED
@@ -107,6 +107,7 @@ function wp_email_capture_form_page( $atts, $error = "") {
107
  } */
108
 
109
  if ( get_option( 'wp_email_capture_recaptcha_client_api_key' ) && get_option( 'wp_email_capture_recaptcha_server_api_key' ) ) {
 
110
  $display .= "<button class='g-recaptcha invisible-recaptcha' data-id='" . $uniqid . "' data-sitekey='" . $site_key . "'>".__('Submit','wp-email-capture')."</button>";
111
  } else {
112
  $display .= "<input name='Submit' type='submit' value='".__('Submit','wp-email-capture')."' class='wp-email-capture-submit' />";
107
  } */
108
 
109
  if ( get_option( 'wp_email_capture_recaptcha_client_api_key' ) && get_option( 'wp_email_capture_recaptcha_server_api_key' ) ) {
110
+ $site_key = get_option( 'wp_email_capture_recaptcha_client_api_key' );
111
  $display .= "<button class='g-recaptcha invisible-recaptcha' data-id='" . $uniqid . "' data-sitekey='" . $site_key . "'>".__('Submit','wp-email-capture')."</button>";
112
  } else {
113
  $display .= "<input name='Submit' type='submit' value='".__('Submit','wp-email-capture')."' class='wp-email-capture-submit' />";
inc/enqueue.php CHANGED
@@ -23,7 +23,7 @@ function wp_email_capture_scripts() {
23
 
24
  if ( get_option( 'wp_email_capture_recaptcha_server_api_key') && get_option( 'wp_email_capture_recaptcha_client_api_key') ) {
25
  wp_enqueue_script( 'wpec-recaptcha-v3', 'https://www.google.com/recaptcha/api.js?render=' . get_option( 'wp_email_capture_recaptcha_client_api_key' ), array() );
26
- wp_register_script( 'wpec-recaptcha-handling', WP_EMAIL_CAPTURE_URL . '/inc/js/recaptcha-handling.js', array('wpec-recaptcha-v3'), WP_EMAIL_CAPTURE_VERSION );
27
  wp_localize_script( 'wpec-recaptcha-handling', 'wpec_recaptcha_object',
28
  array(
29
  'client_side_key' => get_option( 'wp_email_capture_recaptcha_client_api_key' ),
23
 
24
  if ( get_option( 'wp_email_capture_recaptcha_server_api_key') && get_option( 'wp_email_capture_recaptcha_client_api_key') ) {
25
  wp_enqueue_script( 'wpec-recaptcha-v3', 'https://www.google.com/recaptcha/api.js?render=' . get_option( 'wp_email_capture_recaptcha_client_api_key' ), array() );
26
+ wp_register_script( 'wpec-recaptcha-handling', WP_EMAIL_CAPTURE_URL . '/inc/js/recaptcha-handling.js', array('wpec-recaptcha-v3', 'jquery'), WP_EMAIL_CAPTURE_VERSION );
27
  wp_localize_script( 'wpec-recaptcha-handling', 'wpec_recaptcha_object',
28
  array(
29
  'client_side_key' => get_option( 'wp_email_capture_recaptcha_client_api_key' ),
inc/js/block.js CHANGED
@@ -1,7 +1,7 @@
1
  ( function( blocks, i18n, element, _ ) {
2
  var el = element.createElement;
3
  var Fragment = wp.element.Fragment;
4
- var RichText = wp.editor.RichText;
5
 
6
  blocks.registerBlockType( 'wp-email-capture/wp-email-capture-form', {
7
  title: i18n.__( 'WP Email Capture Form' ),
1
  ( function( blocks, i18n, element, _ ) {
2
  var el = element.createElement;
3
  var Fragment = wp.element.Fragment;
4
+ var RichText = wp.blockEditor.RichText;
5
 
6
  blocks.registerBlockType( 'wp-email-capture/wp-email-capture-form', {
7
  title: i18n.__( 'WP Email Capture Form' ),
readme.txt CHANGED
@@ -1,9 +1,9 @@
1
  === WordPress Email Marketing Plugin - WP Email Capture ===
2
  Tags: email marketing, email, mailing list, widget ready, gutenberg ready, gdpr
3
  Requires at least: 5.0
4
- Tested up to: 5.6
5
- Version: 3.9
6
- Stable tag: 3.9
7
  Contributors: rhyswynne
8
  Donate link: https://www.wpemailcapture.com/premium/?utm_source=donatelink&utm_medium=wordpressorgreadme&utm_campaign=wpemailcapture
9
 
@@ -157,7 +157,15 @@ This plugin does use widgets, so probably yes :)
157
  = How do I include the name in my emails I send to people? =
158
  Wherever you put in %NAME% (spelt exactly like that, uppercase as well), it will be replaced with the name given by the user.
159
 
160
- == Change Log ==
 
 
 
 
 
 
 
 
161
  = 3.9 =
162
  * Added the ability to spam check using reCAPTCHA
163
 
1
  === WordPress Email Marketing Plugin - WP Email Capture ===
2
  Tags: email marketing, email, mailing list, widget ready, gutenberg ready, gdpr
3
  Requires at least: 5.0
4
+ Tested up to: 5.9
5
+ Version: 3.9.2
6
+ Stable tag: 3.9.2
7
  Contributors: rhyswynne
8
  Donate link: https://www.wpemailcapture.com/premium/?utm_source=donatelink&utm_medium=wordpressorgreadme&utm_campaign=wpemailcapture
9
 
157
  = How do I include the name in my emails I send to people? =
158
  Wherever you put in %NAME% (spelt exactly like that, uppercase as well), it will be replaced with the name given by the user.
159
 
160
+ == Change Log ==
161
+ = 3.9.2 =
162
+ * Tested with 5.9
163
+ * Fix a bug that reCAPTCHA wasn't working for particular forms as we load jQuery late.
164
+ * Updated the main block to use more Gutenberg calls
165
+
166
+ = 3.9.1 =
167
+ * Tested with 5.7
168
+
169
  = 3.9 =
170
  * Added the ability to spam check using reCAPTCHA
171
 
trunk/images/WP-EC-120-x-240.png DELETED
Binary file
trunk/images/WP-EC-262-x-218.png DELETED
Binary file
trunk/images/WP-EC-336-x-280.png DELETED
Binary file
trunk/images/index.php DELETED
@@ -1 +0,0 @@
1
- <?php //Naughty! ?>
 
trunk/images/wpemailcapture-dashicon.png DELETED
Binary file
trunk/inc/admin-sidebar.php DELETED
@@ -1,141 +0,0 @@
1
- <?php
2
-
3
- /**
4
- * Function to generate the sidebar on admin pages.
5
- *
6
- * @param string $sidestring Comma separated string with all admin boxes.
7
- * @return void
8
- */
9
- function wp_email_capture_admin_sidebar( $sidestring ) {
10
- $sidebararray = explode( ',', $sidestring );
11
-
12
- echo '<div class="postbox-container" style="width:24%;padding-left:10px;float:left;"><div class="metabox-holder"><div class="meta-box-sortables">';
13
-
14
- foreach ( $sidebararray as $widgettitle ) {
15
- echo "<div id='wpemailcapture_premium" . $widgettitle . "' class='postbox'>";
16
- switch ( $widgettitle ) {
17
-
18
- case 'support':
19
- echo '<h3 class="hndle"><span>' . __( 'Need Help?', 'wp-email-capture' ) . '</span></h3>
20
- <div class="inside">
21
- <p>' . __( 'If you are having problems with this plugin, please read the', 'wp-email-capture' ) . ' <a href="https://www.wpemailcapture.com/frequently-asked-questions/?utm_source=admin-sidebar&utm_medium=plugin&utm_campaign=wpemailcapture">'. __( 'Frequently Asked Questions', 'wp-email-capture' ) . '</a>, '. __( 'or alternatively', 'wp-email-capture' ) . ' <a href="https://www.wpemailcapture.com/support/?utm_source=admin-sidebar&utm_medium=plugin&utm_campaign=wpemailcapture">' . __( 'submit a support request here', 'wp-email-capture' ) . '</a>.</p>
22
- </div>';
23
- break;
24
-
25
- case 'affiliates':
26
- echo '<h3 class="hndle"><span>'.__( 'Recommended Services', 'wp-email-capture' ).'</span></h3>
27
- <div class="inside">
28
- <p>'.__( 'We recommend the following services for sending out emails:-', 'wp-email-capture' ).'</p>
29
- <ul>
30
- <li><strong><a href="https://www.wpemailcapture.com/recommends/aweber">Aweber</a></strong></li>
31
- <li><strong><a href="https://www.wpemailcapture.com/recommends/constant-contact">Constant Contact</a></strong></li>
32
- <li><strong><a href="https://www.wpemailcapture.com/recommends/mailchimp">MailChimp</a></strong></li>
33
- </ul>
34
- </div>';
35
- break;
36
-
37
- case 'globaldescription':
38
- echo '<h3 class="hndle"><span>'.__( 'Global List Management', 'wp-email-capture' ).'</span></h3>
39
- <div class="inside">
40
- <p>'.__( 'This page allows you to create lists, either', 'wp-email-capture' ).' <strong>'.__( 'external lists', 'wp-email-capture' ).'</strong> '.__( '(WP Email Capture is compatible with most major email marketing software packages), or a new', 'wp-email-capture' ).' <strong>'.__( 'WP Email Capture List', 'wp-email-capture' ).'</strong>.' .__( 'You can create as many different lists as you wish', 'wp-email-capture' ).'.</p>
41
- </div>';
42
- break;
43
-
44
- case 'listdescriptionpremium':
45
- echo '<h3 class="hndle"><span>' .__( 'Add/Edit WP Email Capture List', 'wp-email-capture' ).'</span></h3>
46
- <div class="inside">
47
- <p>' .__( 'This is the page for managing WP Email Capture Lists. From this page you can:-', 'wp-email-capture' ).'</p>
48
- <ul>
49
- <li><strong>' .__( 'Make Changes To Your Lists', 'wp-email-capture' ).'</strong> - ' .__( 'such as the name and the pages redirected to on form completion', 'wp-email-capture' ).'.</li>
50
- <li><strong>' .__( 'Email Options', 'wp-email-capture' ).'</strong> - ' .__( 'such as where the email comes from and what emails sent to the subscriber contains', 'wp-email-capture' ).'.</li>
51
- <li><strong>' .__( 'Error Options', 'wp-email-capture' ).'</strong> - ' .__( 'the errors that are displayed to subscribers who incorrectly fill in the form', 'wp-email-capture' ).'.</li>
52
- <li><strong>' .__( 'Styling Options', 'wp-email-capture' ).'</strong> - ' .__( 'change the button image (or use an image), as well as what to ask the user for besides their name', 'wp-email-capture' ).'.</li>
53
- </ul>' .
54
- __( 'You can also on this page do the following', 'wp-email-capture' ). ':-' .
55
- '<ul>
56
- <li>'.__( 'Manage List Subscribers', 'wp-email-capture' ).'</li>
57
- <li>'.__( 'Delete Temporary Emails', 'wp-email-capture' ).'</li>
58
- <li>'.__( 'Empty the entire list', 'wp-email-capture' ).'</li>
59
- </ul>
60
- </div>';
61
- break;
62
-
63
- case 'getwpemailcapturepremiumdescription':
64
-
65
- $link = get_option( 'wp_email_capture_theme_affiliate_link' );
66
-
67
- if ( !$link ) {
68
-
69
- $link = "https://www.wpemailcapture.com/premium/?utm_source=admin-sidebar&utm_medium=banner&utm_term=2point5&utm_campaign=internalbanner";
70
-
71
- }
72
- echo '<h3 class="hndle"><span>'.__( 'Get WP Email Capture Premium', 'wp-email-capture' ).'</span></h3>
73
- <div class="inside">
74
- <p>'.__( 'Unlock the <strong>true</strong> power of WP Email Capture with the Premium version. With multiple lists, and stat tracking, WP Email Capture Premium is the missing link in your WordPress Email Marketing Puzzle', 'wp-email-capture' ).'.</p>
75
- <p style="text-align:center;"><a href="'.$link.'"><img src="'. plugins_url( 'images/WP-EC-262-x-218.png' , dirname(__FILE__) ).'" alt="WP Email Capture" style="width:100%;"></a></p>
76
- </div>';
77
- break;
78
-
79
- case 'exlistdescriptionpremium':
80
- echo '<h3 class="hndle"><span>'.__( 'Add/Edit External List', 'wp-email-capture' ).'</span></h3>
81
- <div class="inside">
82
- <p>'.__( 'This is the page for managing External lists through WP Email Capture. Simply copy & paste the code from your Email Marketing software into the page below and you can embed your newsletter subscriptions into posts, pages or sidebars easily using WP Email Capture. If you do not have an Email Marketing Service, a few are recommended below', 'wp-email-capture' ).'.</p>
83
- </div>';
84
- break;
85
-
86
- case 'donations':
87
- echo '<h3 class="hndle"><span>'.__( 'Donations', 'wp-email-capture' ).'</span></h3><div class="inside">
88
- <p>'.__( 'If you like this plugin, please consider a small donation to help with future versions and plugins.', 'wp-email-capture' ). '</p>
89
- <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
90
- <input type="hidden" name="cmd" value="_s-xclick">
91
- <input type="hidden" name="hosted_button_id" value="8590914">
92
- <input type="image" src="https://www.paypal.com/en_US/GB/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online.">
93
- <img alt="" border="0" src="https://www.paypal.com/en_GB/i/scr/pixel.gif" width="1" height="1">
94
- </form></div>';
95
- break;
96
-
97
- case 'news':
98
- $wpemailcapturefeed = wp_email_capture_fetch_rss_feed();
99
-
100
- echo '<h3 class="hndle"><span>'.__( 'Latest News', 'wp-email-capture' ).'</span></h3><div class="inside">
101
- <p>'.__( 'The latest news and tutorials from WP Email Capture', 'wp-email-capture' ).'.</p>
102
-
103
- <ul>';
104
-
105
- if ( $wpemailcapturefeed ) {
106
- foreach ( $wpemailcapturefeed as $item ) {
107
- $url = preg_replace( '/#.*/', '', esc_url( $item->get_permalink(), $protocolls = null, 'display' ) );
108
- echo '<li>
109
- <a href="'.$url.'?utm_source=admin-sidebar&utm_medium=sidebarwidget&utm_term=newsitem&utm_campaign=wpemailcapture">'. esc_html( $item->get_title() ) .'</a>
110
- </li>';
111
- }
112
- }
113
- echo '</ul></div>';
114
- break;
115
-
116
- case 'supportus':
117
- echo '<h3 class="hndle"><span>'.__( 'Support Us!', 'wp-email-capture' ).'</span></h3><div class="inside">
118
- <p>'.__( 'We would like you if you would not mind, doing one of the following if you are a fan of WP Email Capture', 'wp-email-capture' ).'.</p>
119
-
120
- <ul>
121
- <li><a href="http://wordpress.org/extend/plugins/wp-email-capture/">'.__( 'Rate the plugin 5* on WordPress.org', 'wp-email-capture' ).'</a></li>
122
- <li><a href="http://twitter.com/WPEmailCapture">'.__( 'Follow @WPEmailCapture on Twitter', 'wp-email-capture' ).'</a></li>
123
- <li><a href="http://facebook.com/WPEmailCapture">'.__( 'Like us on Facebook', 'wp-email-capture' ).'</a></li>
124
- </ul></div>';
125
- break;
126
-
127
- case 'becomeanaffiliate':
128
- echo '<h3 class="hndle"><span>'.__( 'Become An Affiliate!', 'wp-email-capture' ).'</span></h3><div class="inside">
129
- <p>'.__( 'Earn upto', 'wp-email-capture' ). ' <strong>$30</strong> '.__( 'per sale of WP Email Capture', 'wp-email-capture' ). '! <a href="https://www.wpemailcapture.com/affiliate-area/?utm_source=admin-sidebar&utm_medium=plugin&utm_campaign=wpemailcapture"><strong>'.__( 'Join our affilite programme today', 'wp-email-capture' ).'</strong></a>.</p></div>';
130
- break;
131
-
132
- case 'supportpage':
133
- echo '<h3 class="hndle"><span>' . __( 'WP Email Capture Options', 'wp-email-capture' ) . '</span></h3><div class="inside">
134
- <p>' . __( 'On this page you can make changes that to the way in which WP Email Capture runs', 'wp-email-capture' ) . '.</p></div>';
135
- break;
136
- }
137
- echo '</div>';
138
- }
139
- echo '</div></div></div>';
140
-
141
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/inc/core.php DELETED
@@ -1,39 +0,0 @@
1
- <?php
2
-
3
- require_once(WP_EMAIL_CAPTURE_PATH . '/inc/functions.php');
4
- require_once(WP_EMAIL_CAPTURE_PATH . '/inc/admin-sidebar.php');
5
- require_once(WP_EMAIL_CAPTURE_PATH . '/inc/install.php');
6
-
7
- require_once(WP_EMAIL_CAPTURE_PATH . '/inc/tabledata.php');
8
-
9
- require_once(WP_EMAIL_CAPTURE_PATH . '/inc/options.php');
10
-
11
- require_once(WP_EMAIL_CAPTURE_PATH . '/inc/exportcsv.php');
12
-
13
- require_once(WP_EMAIL_CAPTURE_PATH . '/inc/tempdata.php');
14
-
15
- require_once(WP_EMAIL_CAPTURE_PATH . '/inc/display.php');
16
-
17
- require_once(WP_EMAIL_CAPTURE_PATH . '/inc/process.php');
18
-
19
- require_once(WP_EMAIL_CAPTURE_PATH . '/inc/widget.php');
20
-
21
- require_once(WP_EMAIL_CAPTURE_PATH . '/inc/security.php');
22
-
23
- require_once(WP_EMAIL_CAPTURE_PATH . '/inc/dashboard.php');
24
-
25
- require_once(WP_EMAIL_CAPTURE_PATH . '/inc/functions.php');
26
-
27
- require_once(WP_EMAIL_CAPTURE_PATH . '/inc/enqueue.php');
28
-
29
- require_once(WP_EMAIL_CAPTURE_PATH . '/inc/tinymce.php');
30
-
31
- //require_once(WP_EMAIL_CAPTURE_PATH . '/inc/tracking.php');
32
-
33
- require_once(WP_EMAIL_CAPTURE_PATH . '/inc/help.php');
34
-
35
- // Gutenberg
36
- require_once(WP_EMAIL_CAPTURE_PATH . '/inc/gutenberg.php');
37
-
38
- // GDPR
39
- require_once(WP_EMAIL_CAPTURE_PATH . '/inc/gdpr.php');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/inc/css/wp-email-capture-admin-styles.css DELETED
@@ -1,91 +0,0 @@
1
- .wpemailcapture-tab {
2
- display: none;
3
- }
4
-
5
- .wpemailcapture-tab.active {
6
- display: block;
7
- }
8
-
9
- .wpemailcapture-tab ul {
10
- list-style-type: disc;
11
- list-style-position: outside;
12
- padding-left: 20px;
13
- }
14
-
15
- .wpemailcapture-tab button {
16
-
17
- display: inline-block;
18
- padding: 6px 12px;
19
- margin-bottom: 0;
20
- font-size: 14px;
21
- font-weight: 400;
22
- line-height: 1.42857143;
23
- text-align: center;
24
- white-space: nowrap;
25
- vertical-align: middle;
26
- -ms-touch-action: manipulation;
27
- touch-action: manipulation;
28
- cursor: pointer;
29
- -webkit-user-select: none;
30
- -moz-user-select: none;
31
- -ms-user-select: none;
32
- user-select: none;
33
- background-image: none;
34
- border: 1px solid transparent;
35
- border-radius: 4px;
36
- color: #fff;
37
- background-color: #5cb85c;
38
- border-color: #4cae4c;
39
-
40
- }
41
-
42
- .wpemailcapture-tab button:hover {
43
- color: #fff;
44
- background-color: #449d44;
45
- border-color: #398439;
46
- }
47
-
48
- .wp_email_capture_admin_discount {
49
- display: none;
50
- }
51
-
52
- .wp_email_capture_admin_discount.wp_email_capture_admin_discount_active {
53
- display: block;
54
- }
55
-
56
- .wp_email_capture_help_box {
57
- border: 1px solid #e5e5e5;
58
- background: #fff;
59
- margin-bottom: 20px;
60
- }
61
-
62
- .wp_email_capture_help_box h3.header {
63
- border-bottom: 1px solid #eee;
64
- font-size: 14px;
65
- padding: 8px 12px;
66
- margin: 0;
67
- line-height: 1.4;
68
- }
69
-
70
- .wp_email_capture_help_box ul, .wp_email_capture_help_box ul li {
71
- list-style-type: disc;
72
- margin-left: 10px;
73
- }
74
-
75
- .wrap.wpec-about-wrap img {
76
- width: initial;
77
- max-width: 250px;
78
- }
79
-
80
- .wrap.wpec-about-wrap table.extensions td {
81
- width: 33%;
82
- vertical-align: top;
83
- }
84
-
85
- .wrap.wpec-about-wrap table.extensions td h3 {
86
- height: 75px;
87
- }
88
-
89
- .wrap.wpec-about-wrap table.extensions td p {
90
- height: 50px;
91
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/inc/css/wp-email-capture-default-styles.css DELETED
@@ -1,37 +0,0 @@
1
- .wp-email-capture {
2
- border: 1px solid #999;
3
- background-color: #CCC;
4
- padding: 10px;
5
- margin: 0 auto;
6
- }
7
-
8
- .wp-email-capture input[type="text"], .wp-email-capture input[type="email"] {
9
- width: 75%;
10
- display: inline-block;
11
- margin-top: 5px;
12
- margin-bottom: 5px;
13
- }
14
-
15
- .wp-email-capture br {
16
- clear: both;
17
- }
18
-
19
- .wp-email-capture label {
20
- width: 25%;
21
- display: inline-block;
22
- padding-top: 5px;
23
- padding-bottom: 5px;
24
- float: left;
25
- margin-top: 5px;
26
- margin-bottom: 5px;
27
- }
28
-
29
- .wp-email-capture input.wp-email-capture-submit {
30
- width: 100%;
31
- clear: both;
32
- margin-top: 5px;
33
- margin-bottom: 5px;
34
- padding-top: 10px;
35
- padding-bottom: 10px;
36
- max-width: 100%;
37
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/inc/css/wp-email-capture-gutenberg-styles.css DELETED
@@ -1,10 +0,0 @@
1
- .wp-email-capture {
2
- border: 1px solid #999;
3
- background-color: #CCC;
4
- padding: 10px;
5
- margin: 10px auto;
6
- }
7
-
8
- h3.wp-email-capture-admin-form {
9
- text-align:center;
10
- }
 
 
 
 
 
 
 
 
 
 
trunk/inc/css/wp-email-capture-styles.css DELETED
@@ -1,6 +0,0 @@
1
- .wp-email-capture-error {
2
- width:80%;
3
- background-color: #FFCCCC;
4
- margin: 5px;
5
- font-weight: bold;
6
- }
 
 
 
 
 
 
trunk/inc/dashboard.php DELETED
@@ -1,50 +0,0 @@
1
- <?php
2
- /**
3
- * Function to display the dashboard widget. Contains the last 3 subscribers, as well as some options.
4
- *
5
- * @return void
6
- */
7
- function wp_email_capture_dashboard_widget() {
8
-
9
- wp_email_capture_writetable( 3, '<strong>' . __( 'Last Three Members To Join', 'wp-email-capture' ) . '</strong><br/><br/>' );
10
-
11
- echo '<br/><br/><a name="list"></a><strong>' . __( 'Export', 'wp-email-capture' ) . '</strong>';
12
- echo '<form name="wp_email_capture_export" action="' . esc_url( $_SERVER['REQUEST_URI'] ) . '#list" method="post">';
13
- echo '<label>' . __( 'Use the button below to export your list as a CSV to use in software such as', 'wp-email-capture' ) . ' <a href="https://www.wpemailcapture.com/recommends/aweber/" title="Email Marketing">Aweber</a>.</label>';
14
- echo '<input type="hidden" name="wp_email_capture_export" />';
15
- echo '<div class="submit"><input type="submit" value="' . __( 'Export List', 'wp-email-capture') . '" class="button" /></div>';
16
- echo '</form><br/><br/>';
17
-
18
- $tempemails = wp_email_capture_count_temp();
19
- $lastsignupdatestring = wp_email_capture_get_last_singup_date();
20
-
21
- if ( $lastsignupdatestring ) {
22
- $lastsignupdate = date( 'jS F, Y g:ia', strtotime( $lastsignupdatestring ) );
23
- $lastsignupdatesentance = __( 'The last attempted signup was on ' . $lastsignupdate . '.', 'wp-email-capture' );
24
- } else {
25
- $lastsignupdatesentance = '';
26
- }
27
-
28
- echo "<a name='truncate'></a><strong>" . __( 'Temporary e-mails', 'wp-email-capture' ) . "</strong>\n";
29
- echo '<form name="wp_email_capture_truncate" action="' . esc_url( $_SERVER['REQUEST_URI'] ) . '#truncate" method="post">';
30
- echo '<label>' . __( 'There are', 'wp-email-capture' ) . ' ' . $tempemails . ' ' . __( 'e-mail addresses that have been unconfirmed.' . $lastsignupdatesentance . ' Delete them to save space below.', 'wp-email-capture' ) . '</label>';
31
-
32
- echo '<input type="hidden" name="wp_email_capture_truncate"/>';
33
- echo '<div class="submit"><input type="submit" value="' . __( 'Delete Unconfirmed e-mail Addresses', 'wp-email-capture' ) . '" class="button" /></div>';
34
- echo '</form>';
35
-
36
- }
37
-
38
-
39
- /**
40
- * Wrapper function to help display the dashboard widget. Checks user privleges before adding the widget.
41
- *
42
- * @return void
43
- */
44
- function wp_email_capture_add_dashboard_widgets() {
45
-
46
- if ( current_user_can( apply_filters( 'wp_email_capture_dashboard_capability', 'manage_options' ) ) ) {
47
- wp_add_dashboard_widget( 'wp_email_capture_dashboard_widget', __( 'WP Email Capture - At A Glance', 'wp-email-capture' ), 'wp_email_capture_dashboard_widget' );
48
- }
49
-
50
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/inc/deprecated/checks.php DELETED
@@ -1,174 +0,0 @@
1
- <?php
2
-
3
- /**
4
- * Validate an email address.
5
- * Provide email address (raw input)
6
- * Returns true if the email address has the email
7
- * address format and the domain exists.
8
- */
9
- /*
10
- if(!function_exists('checkdnsrr'))
11
- {
12
- function checkdnsrr($hostName, $recType = '')
13
- {
14
- if(!empty($hostName)) {
15
- if( $recType == '' ) $recType = "MX";
16
- exec("nslookup -type=$recType $hostName", $result);
17
- // check each line to find the one that starts with the host
18
- // name. If it exists then the function succeeded.
19
- foreach ($result as $line) {
20
- if(stripos("^$hostName",$line)) {
21
- return true;
22
- }
23
- }
24
- // otherwise there was no mail handler for the domain
25
- return false;
26
- }
27
- return false;
28
- }
29
- } */
30
- /*
31
- function addLastCharacter($url)
32
- {
33
- $last = $url[strlen($url)-1];
34
- if ($last != "/")
35
- {
36
- $url = $url . "/";
37
- }
38
- return $url;
39
- }
40
- */
41
-
42
- /* function validEmail($email)
43
-
44
- {
45
-
46
- $isValid = true;
47
-
48
- $atIndex = strrpos($email, "@");
49
-
50
- if (is_bool($atIndex) && !$atIndex)
51
-
52
- {
53
-
54
- $isValid = false;
55
-
56
- }
57
-
58
- else
59
-
60
- {
61
-
62
- $domain = substr($email, $atIndex+1);
63
-
64
- $local = substr($email, 0, $atIndex);
65
-
66
- $localLen = strlen($local);
67
-
68
- $domainLen = strlen($domain);
69
-
70
- if ($localLen < 1 || $localLen > 64)
71
-
72
- {
73
-
74
- // local part length exceeded
75
-
76
- $isValid = false;
77
-
78
- }
79
-
80
- else if ($domainLen < 1 || $domainLen > 255)
81
-
82
- {
83
-
84
- // domain part length exceeded
85
-
86
- $isValid = false;
87
-
88
- }
89
-
90
- else if ($local[0] == '.' || $local[$localLen-1] == '.')
91
-
92
- {
93
-
94
- // local part starts or ends with '.'
95
-
96
- $isValid = false;
97
-
98
- }
99
-
100
- else if (preg_match('/\\.\\./', $local))
101
-
102
- {
103
-
104
- // local part has two consecutive dots
105
-
106
- $isValid = false;
107
-
108
- }
109
-
110
- else if (!preg_match('/^[A-Za-z0-9\\-\\.]+$/', $domain))
111
-
112
- {
113
-
114
- // character not valid in domain part
115
-
116
- $isValid = false;
117
-
118
- }
119
-
120
- else if (preg_match('/\\.\\./', $domain))
121
-
122
- {
123
-
124
- // domain part has two consecutive dots
125
-
126
- $isValid = false;
127
-
128
- }
129
-
130
- else if
131
-
132
- (!preg_match('/^(\\\\.|[A-Za-z0-9!#%&`_=\\/$\'*+?^{}|~.-])+$/',
133
-
134
- str_replace("\\\\","",$local)))
135
-
136
- {
137
-
138
- // character not valid in local part unless
139
-
140
- // local part is quoted
141
-
142
- if (!preg_match('/^"(\\\\"|[^"])+"$/',
143
-
144
- str_replace("\\\\","",$local)))
145
-
146
- {
147
-
148
- $isValid = false;
149
-
150
- }
151
-
152
- }
153
-
154
- if ($isValid && !(checkdnsrr($domain,"MX") ||
155
-
156
- checkdnsrr($domain,"A")))
157
-
158
- {
159
-
160
- // domain not found in DNS
161
-
162
- $isValid = false;
163
-
164
- }
165
-
166
- }
167
-
168
- return $isValid;
169
-
170
- }
171
- */
172
-
173
-
174
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/inc/deprecated/pagedresults.php DELETED
@@ -1,183 +0,0 @@
1
- <?php
2
-
3
-
4
-
5
- class MySQLPagedResultSet
6
-
7
- {
8
-
9
-
10
-
11
- var $results;
12
-
13
- var $pageSize;
14
-
15
- var $page;
16
-
17
- var $row;
18
-
19
-
20
-
21
- function MySQLPagedResultSet($query,$pageSize)
22
-
23
- {
24
-
25
-
26
-
27
- $resultpage = esc_attr( $_GET['resultpage'] );
28
-
29
-
30
-
31
- $this->results = mysql_query($query);
32
-
33
- $this->pageSize = $pageSize;
34
-
35
- if ((int)$resultpage <= 0) $resultpage = 1;
36
-
37
- if ($resultpage > $this->getNumPages())
38
-
39
- $resultpage = $this->getNumPages();
40
-
41
- $this->setPageNum($resultpage);
42
-
43
- }
44
-
45
-
46
-
47
- function getNumPages()
48
-
49
- {
50
-
51
- if (!$this->results) return FALSE;
52
-
53
-
54
-
55
- return ceil(mysql_num_rows($this->results) /
56
-
57
- (float)$this->pageSize);
58
-
59
- }
60
-
61
-
62
-
63
- function setPageNum($pageNum)
64
-
65
- {
66
-
67
- if ($pageNum > $this->getNumPages() or
68
-
69
- $pageNum <= 0) return FALSE;
70
-
71
-
72
-
73
- $this->page = $pageNum;
74
-
75
- $this->row = 0;
76
-
77
- mysql_data_seek($this->results,($pageNum-1) * $this->pageSize);
78
-
79
- }
80
-
81
-
82
-
83
- function getPageNum()
84
-
85
- {
86
-
87
- return $this->page;
88
-
89
- }
90
-
91
-
92
-
93
- function isLastPage()
94
-
95
- {
96
-
97
- return ($this->page >= $this->getNumPages());
98
-
99
- }
100
-
101
-
102
-
103
- function isFirstPage()
104
-
105
- {
106
-
107
- return ($this->page <= 1);
108
-
109
- }
110
-
111
-
112
-
113
- function fetchArray()
114
-
115
- {
116
-
117
- if (!$this->results) return FALSE;
118
-
119
- if ($this->row >= $this->pageSize) return FALSE;
120
-
121
- $this->row++;
122
-
123
- return mysql_fetch_array($this->results);
124
-
125
- }
126
-
127
-
128
-
129
- function getPageNav($queryvars = '')
130
-
131
- {
132
-
133
- $nav = '';
134
-
135
- if (!$this->isFirstPage())
136
-
137
- {
138
-
139
- $nav .= "<a href=\"?resultpage=".
140
-
141
- ($this->getPageNum()-1).'&'.$queryvars.'">'.__('Prev','wp-email-capture').'</a> ';
142
-
143
- }
144
-
145
- if ($this->getNumPages() > 1)
146
-
147
- for ($i=1; $i<=$this->getNumPages(); $i++)
148
-
149
- {
150
-
151
- if ($i==$this->page)
152
-
153
- $nav .= "$i ";
154
-
155
- else
156
-
157
- $nav .= "<a href=\"?resultpage={$i}&".
158
-
159
- $queryvars."\">{$i}</a> ";
160
-
161
- }
162
-
163
- if (!$this->isLastPage())
164
-
165
- {
166
-
167
- $nav .= "<a href=\"?resultpage=".
168
-
169
- ($this->getPageNum()+1).'&'.$queryvars.'">'.__('Next','wp-email-capture').'</a> ';
170
-
171
- }
172
-
173
-
174
-
175
- return $nav;
176
-
177
- }
178
-
179
- }
180
-
181
-
182
-
183
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/inc/display.php DELETED
@@ -1,135 +0,0 @@
1
- <?php
2
-
3
-
4
- /**
5
- * Displays the WP Email Capture Form
6
- *
7
- * @param string $error The error message
8
- * @return void
9
- */
10
- function wp_email_capture_form( $error = "" ) {
11
-
12
- $url = get_option('home');
13
- $url = trailingslashit($url);
14
- $uniqid = uniqid('wpec-class');
15
-
16
- ?>
17
- <div id="wp_email_capture" class="wp-email-capture wp-email-capture-widget wp-email-capture-widget-worldwide">
18
- <form name="wp_email_capture" class="<?php echo $uniqid; ?>" method="post" action="<?php echo $url; ?>">
19
-
20
- <?php
21
-
22
- if ( isset( $_GET['wp_email_capture_error'] ) ) {
23
-
24
- $error = esc_attr( $_GET['wp_email_capture_error'] );
25
-
26
- echo "<div class='wp-email-capture-error'>".__('Error:','wp-email-capture'). " " .$error ."</div>";
27
-
28
- }
29
-
30
- ?>
31
-
32
- <label class="wp-email-capture-name wp-email-capture-label wp-email-capture-widget-worldwide wp-email-capture-name-widget wp-email-capture-name-label wp-email-capture-name-label-widget<?php if (get_option("wp_email_capture_name_required") == 1 ) { $display .= " wp-email-capture-required"; } ?>" for="wp-email-capture-name-widget"><?php _e('Name:','wp-email-capture'); ?></label> <input name="wp-email-capture-name" id="wp-email-capture-name-widget" type="text" class="wp-email-capture-name wp-email-capture-input wp-email-capture-widget-worldwide wp-email-capture-name-widget wp-email-capture-name-input wp-email-capture-name-input-widget" title="Name" /><br/>
33
-
34
- <label class="wp-email-capture-email wp-email-capture-label wp-email-capture-widget-worldwide wp-email-capture-email-widget wp-email-capture-email-label wp-email-capture-email-label-widget" for="wp-email-capture-email-widget"><?php _e('Email:','wp-email-capture'); ?></label> <input name="wp-email-capture-email" id="wp-email-capture-email-widget" type="text" class="wp-email-capture-email wp-email-capture-input wp-email-capture-widget-worldwide wp-email-capture-email-widget wp-email-capture-email-input wp-email-capture-email-input-widget" title="Email" /><br/>
35
-
36
- <?php do_action( 'wp_email_capture_form_echo_form_before_submit_button' ); ?>
37
-
38
- <input type="hidden" name="wp_capture_action" value="1" />
39
-
40
- <?php
41
-
42
- if ( get_option( 'wp_email_capture_recaptcha_client_api_key' ) && get_option( 'wp_email_capture_recaptcha_server_api_key' ) ) {
43
- $site_key = get_option( 'wp_email_capture_recaptcha_client_api_key' );
44
- ?>
45
- <button class="g-recaptcha invisible-recaptcha" data-id="<?php echo $uniqid; ?>" data-sitekey="<?php echo esc_attr( $site_key );?> "><?php _e('Submit','wp-email-capture'); ?></button>
46
- <?php
47
- } else {
48
- ?>
49
- <input name='Submit' type='submit' value='<?php _e('Submit','wp-email-capture'); ?>' class="wp-email-capture-submit wp-email-capture-widget-worldwide" />
50
- <?php
51
- }
52
- ?>
53
-
54
- </form>
55
-
56
- </div>
57
-
58
- <?php if ( get_option( "wp_email_capture_link" ) == 1) {
59
-
60
- echo "<p style='font-size:10px;'>".__('Powered by','wp-email-capture')." <a href='https://www.wpemailcapture.com/' target='_blank'>WP Email Capture</a></p>\n";
61
-
62
- }
63
-
64
- }
65
-
66
-
67
- /**
68
- * Build the WP Email Capture Form - used for shortcodes.
69
- *
70
- * @param array $atts Any attributes included in the shrotcode.
71
- * @param string $error The error message
72
- * @return string The built form.
73
- */
74
- function wp_email_capture_form_page( $atts, $error = "") {
75
-
76
- $url = get_option('home');
77
- $url = trailingslashit($url);
78
- $uniqid = uniqid('wpec-class');
79
- $display = "";
80
- $display .= "<div id='wp_email_capture_2' class='wp-email-capture wp-email-capture-display'><form id='wpec_form' class='" . $uniqid . "' name='wp_email_capture_display' method='post' action='" . $url ."'>\n";
81
-
82
- if ( isset( $_GET['wp_email_capture_error'] ) ) {
83
-
84
- $error = esc_attr($_GET['wp_email_capture_error']);
85
-
86
- $display .= "<div class='wp-email-capture-error'>" . __( 'Error:', 'wp-email-capture' ). ' ' . $error . '</div>';
87
-
88
- }
89
-
90
- $display .= "<label class='wp-email-capture-name wp-email-capture-label wp-email-capture-display-worldwide wp-email-capture-name-display wp-email-capture-name-label wp-email-capture-name-label-display";
91
-
92
- if (get_option("wp_email_capture_name_required") == 1) { $display .= " wp-email-capture-required"; }
93
-
94
- $display .= "' for='wp-email-capture-name-display'>".__('Name:','wp-email-capture')."</label> <input name='wp-email-capture-name' id='wp-email-capture-name-display' type='text' class='wp-email-capture-name wp-email-capture-label wp-email-capture-display-worldwide wp-email-capture-name-display wp-email-capture-name-input wp-email-capture-name-input-display' title='Name' /><br/>\n";
95
-
96
- $display .= "<label class='wp-email-capture-email wp-email-capture-label wp-email-capture-display wp-email-capture-email-display wp-email-capture-email-label wp-email-capture-email-label-display' for='wp-email-capture-email-display'>".__('Email:','wp-email-capture')."</label> <input name='wp-email-capture-email' id='wp-email-capture-email-display' type='text' class='wp-email-capture-email wp-email-capture-input wp-email-capture-display wp-email-capture-email-display wp-email-capture-email-input wp-email-capture-email-input-display' title='Email' /><br/>\n";
97
-
98
- $display .= "<input type='hidden' name='wp_capture_action' value='1' />\n";
99
-
100
- /* if ( 'invisible' == get_option( 'wp_email_capture_recaptcha_api_type' ) ) {
101
- $site_key = get_option( 'wp_email_capture_recaptcha_client_api_key' );
102
- $uniqid = uniqid();
103
- $display .= '<div id="wpecRe' . $uniqid . '"></div>';
104
- $display .= "<button class='g-recaptcha invisible-recaptcha' data-id='wpecRe" . $uniqid . "' data-sitekey='" . $site_key . "'>".__('Submit','wp-email-capture')."</button>";
105
- } else {
106
- $display .= "<input name='Submit' type='submit' value='".__('Submit','wp-email-capture')."' class='wp-email-capture-submit' />";
107
- } */
108
-
109
- if ( get_option( 'wp_email_capture_recaptcha_client_api_key' ) && get_option( 'wp_email_capture_recaptcha_server_api_key' ) ) {
110
- $display .= "<button class='g-recaptcha invisible-recaptcha' data-id='" . $uniqid . "' data-sitekey='" . $site_key . "'>".__('Submit','wp-email-capture')."</button>";
111
- } else {
112
- $display .= "<input name='Submit' type='submit' value='".__('Submit','wp-email-capture')."' class='wp-email-capture-submit' />";
113
- }
114
-
115
- $display .= "</form></div>\n";
116
-
117
- if ( get_option( "wp_email_capture_link" ) == 1) {
118
-
119
- $display .= "<p style='font-size:10px;'>".__('Powered by','wp-email-capture')." <a href='https://www.wpemailcapture.com/' target='_blank'>WP Email Capture</a></p>\n";
120
- }
121
-
122
- $display = apply_filters( 'wp_email_capture_display_form', $display, $atts );
123
-
124
- return $display;
125
-
126
- }
127
-
128
-
129
- /**
130
- * Process the WP Email Capture Form, including any attributes
131
- * @return void
132
- */
133
- function wp_email_capture_form_process_atts( $atts ) {
134
- return wp_email_capture_form_page( $atts );
135
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/inc/enqueue.php DELETED
@@ -1,45 +0,0 @@
1
- <?php
2
-
3
- /**
4
- * Enqueue stylesheets associated with the plugin.
5
- * @return void
6
- */
7
- function wp_email_capture_scripts() {
8
- /* Register our stylesheet. */
9
- wp_enqueue_style( 'wpemailcapturestyles', WP_EMAIL_CAPTURE_URL . '/inc/css/wp-email-capture-styles.css', array(), WP_EMAIL_CAPTURE_VERSION );
10
-
11
- if ( 1 == get_option( 'wp_email_capture_default_styling' ) ) {
12
- /* Register our default stylesheet. */
13
- wp_enqueue_style( 'wpemailcapturedefaultstyles', WP_EMAIL_CAPTURE_URL . '/inc/css/wp-email-capture-default-styles.css', array(), WP_EMAIL_CAPTURE_VERSION );
14
- }
15
-
16
- /* if ( 'disable' != get_option( 'wp_email_capture_recaptcha_api_type' ) && get_option( 'wp_email_capture_recaptcha_api_type' ) ) {
17
- wp_enqueue_script( 'wpec-recaptcha-v2', 'https://www.google.com/recaptcha/api.js', array() );
18
- }
19
-
20
- if ( 'invisible' == get_option( 'wp_email_capture_recaptcha_api_type' ) ) {
21
- wp_enqueue_script( 'wpec-recaptcha-v2', WP_EMAIL_CAPTURE_URL . '/inc/js/enqueue-invisible.js', array( 'wpec-recaptcha-v2' ), WP_EMAIL_CAPTURE_VERSION );
22
- } */
23
-
24
- if ( get_option( 'wp_email_capture_recaptcha_server_api_key') && get_option( 'wp_email_capture_recaptcha_client_api_key') ) {
25
- wp_enqueue_script( 'wpec-recaptcha-v3', 'https://www.google.com/recaptcha/api.js?render=' . get_option( 'wp_email_capture_recaptcha_client_api_key' ), array() );
26
- wp_register_script( 'wpec-recaptcha-handling', WP_EMAIL_CAPTURE_URL . '/inc/js/recaptcha-handling.js', array('wpec-recaptcha-v3'), WP_EMAIL_CAPTURE_VERSION );
27
- wp_localize_script( 'wpec-recaptcha-handling', 'wpec_recaptcha_object',
28
- array(
29
- 'client_side_key' => get_option( 'wp_email_capture_recaptcha_client_api_key' ),
30
- )
31
- );
32
- wp_enqueue_script( 'wpec-recaptcha-handling' );
33
- }
34
- }
35
-
36
-
37
- /**
38
- * Enqueue stylesheets associated with the plugin.
39
- * @return void
40
- */
41
- function wp_email_capture_admin_scripts() {
42
- /* Register our stylesheet. */
43
- wp_enqueue_script( 'wpemailcaptureadminjs', WP_EMAIL_CAPTURE_URL . '/inc/js/admin-custom.js', array( 'jquery' ), WP_EMAIL_CAPTURE_VERSION );
44
- wp_enqueue_style( 'wpemailcapturestyles', WP_EMAIL_CAPTURE_URL . '/inc/css/wp-email-capture-admin-styles.css', array(), WP_EMAIL_CAPTURE_VERSION );
45
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/inc/exportcsv.php DELETED
@@ -1,47 +0,0 @@
1
- <?php
2
-
3
- /**
4
- * Function that exports the captured lists in a CSV format.
5
- *
6
- * @return void
7
- */
8
- function wp_email_capture_export() {
9
-
10
-
11
- global $wpdb;
12
- $delimeter = get_option( 'wp_email_capture_name_delimeter' );
13
- $charset = get_bloginfo( 'charset' );
14
-
15
- if ( !$delimeter ) {
16
- $delimeter = ",";
17
- }
18
-
19
- $csv_output = "";
20
- if ( strtoupper( $charset ) == 'UTF-8' ) {
21
- $csv_output .= "\xEF\xBB\xBF"; //UTF-8 BOM;
22
- }
23
- $csv_output .= __( 'Name', 'wp-email-capture' ). $delimeter .__( 'Email', 'wp-email-capture' );
24
- $csv_output .= "\n";
25
-
26
- $registered_members_sql = apply_filters( 'wpec_change_export_sql', "SELECT name, email FROM " . WP_EMAIL_CAPTURE_REGISTERED_MEMBERS_TABLE );
27
-
28
- $registered_members = $wpdb->get_results( $registered_members_sql );
29
-
30
- foreach ( $registered_members as $member ) {
31
-
32
- $csv_output .= $member->name .$delimeter. $member->email ."\n";
33
-
34
- }
35
-
36
-
37
- $file_prefix = 'WP_Email_Capture';
38
- $filename = apply_filters( 'wpec_change_csv_filename', $file_prefix."_".date( "Y-m-d_H-i", time() ));
39
-
40
- header( "Content-type: application/vnd.ms-excel charset=" . $charset );
41
- header( "Content-disposition: filename=" . $filename . ".csv" );
42
-
43
- print $csv_output;
44
-
45
- exit;
46
-
47
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/inc/functions.php DELETED
@@ -1,444 +0,0 @@
1
- <?php
2
-
3
- /* function wp_email_capture_sanitize($string)
4
- {
5
-
6
- $string = esc_attr($string);
7
-
8
- $string = htmlspecialchars($string, ENT_QUOTES, 'UTF-8');
9
-
10
- return $string;
11
-
12
- }
13
- */
14
-
15
- /**
16
- * Check if the email is already present in the list.
17
- *
18
- * @param string $email The email address to check
19
- * @return boolean TRUE if the email is present, FALSE if not.
20
- */
21
- function wp_email_capture_checkIfPresent( $email ) {
22
-
23
- global $wpdb;
24
-
25
- $get_email = '
26
- SELECT COUNT(*)
27
- FROM ' . WP_EMAIL_CAPTURE_REGISTERED_MEMBERS_TABLE . '
28
- WHERE email = "%s"';
29
-
30
- $prepared_get_email = $wpdb->prepare( $get_email, $email );
31
-
32
- $number_of_email_instances = $wpdb->get_var( $prepared_get_email );
33
-
34
- if ( $number_of_email_instances > 0 ) {
35
-
36
- return true;
37
-
38
- } else {
39
-
40
- return false;
41
-
42
- }
43
-
44
- }
45
-
46
-
47
- /**
48
- * Add admin notices:-
49
- *
50
- * If the user tracking option isn't present, asks the user to set it.
51
- *
52
- * If the user hasn't set up WP Email Capture, encourage it.
53
- *
54
- * @return void
55
- */
56
- function wp_email_capture_admin_notice() {
57
-
58
- /* Check Tracking First */
59
- if ( !get_option( 'wpec_set_tracking' ) && current_user_can('activate_plugins') ) {
60
- echo '<div class="updated">';
61
- echo '<h4>';
62
- _e( 'Allow Tracking?', 'wp-email-capture' );
63
- echo '</h4>';
64
- echo '<p>';
65
- _e( 'Thank you for installing WP Email Capture. Please help us improve by allowing us to gather anonymous usage stats such as themes and plugins used on your site, to help us test.','wp-email-capture');
66
- echo '</p>';
67
- printf ( __('<p><a href="%1$s" class="button-primary">Allow Tracking</a> <a href="%2$s" class="button-secondary">Do Not Allow Tracking</a></p>', 'wp-email-capture' ), '?wp_email_capture_tracking=1', '?wp_email_capture_tracking=2' );
68
- echo '</div>';
69
- } else {
70
- global $current_user ;
71
- $user_id = $current_user->ID;
72
- /* Check that the user hasn't already clicked to ignore the message */
73
- if ( !get_user_meta( $user_id, 'wp_email_capture_setup_ignore' ) ) {
74
- if ( get_option( 'wp_email_capture_signup' ) == "" || get_option( 'wp_email_capture_redirection' ) == "" ) {
75
- echo '<div class="error"><p>';
76
- printf( __( '<strong>Please Note: </strong> You have not created a subscription page, confirmation page or both in WP Email Capture, please go to the WP Email Capture Settings Page to add them. | <a href="%1$s">Hide Notice</a>' ), '?wp_email_capture_setup_ignore=0' );
77
- echo "</p></div>";
78
- }
79
- }
80
- }
81
- }
82
-
83
-
84
- /**
85
- * If the user has over 500 emails, try to upsell.
86
- *
87
- * @return void
88
- */
89
- function wp_email_capture_admin_upsell() {
90
- global $current_user;
91
- $user_id = $current_user->ID;
92
- $infourl = "https://www.wpemailcapture.com/premium/?utm_source=upsellinfo&utm_medium=plugin&utm_campaign=wpemailcapture";
93
- $upgradeurl = "https://www.wpemailcapture.com/checkout/?edd_action=add_to_cart&download_id=802&discount=BIGLISTUPGRADE&utm_source=upsell&utm_medium=plugin&utm_campaign=wpemailcapture";
94
- $discountcode = "BIGLISTUPGRADE";
95
- $discountamount = "15%";
96
- /* Check that the user hasn't already clicked to ignore the message */
97
-
98
- if ( !get_user_meta( $user_id, 'wp_email_capture_upsell_ignore' ) ) {
99
- if ( 500 < wp_email_capture_get_number_of_registered_users() ) {
100
- echo '<div class="updated welcome-panel" style="padding: 23px 10px 0;">';
101
- printf( __( '<a href="%1$s" class="welcome-panel-close">Hide Notice</a>
102
- <div class="welcome-panel-content">
103
- <h3>WP Email Capture - Over 500 Emails</h3>
104
- <p>WP Email Capture has over 500 entries. Whilst the plugin is free for use forever, it does struggle a bit with very large lists.</p>
105
- <p>WP Email Caputre Premium is better suited to large lists, so please consider upgrading. As a thank you for using us for so long, use discount code <strong>%3$s</strong> for <strong>%4$s</strong> off.</p>
106
- <p><a href="%2$s" class="button button-primary button-hero"><strong>Upgrade WP Email Capture</strong></a><a href="%5$s" class="button button-secondary button-hero"><strong>More Info</strong></a></p></div>' ), '?wp_email_capture_upsell_ignore=0', $upgradeurl, $discountcode, $discountamount, $infourl );
107
- echo "</div>";
108
- }
109
- }
110
- }
111
-
112
-
113
- /**
114
- * If the user clicks "Dismiss Notice", we hide the notice for that user.
115
- * @return void
116
- */
117
- function wp_email_capture_nag_ignore() {
118
-
119
- global $current_user;
120
- $user_id = $current_user->ID;
121
-
122
- /* If user clicks to ignore the notice, add that to their user meta */
123
- if ( isset( $_GET['wp_email_capture_setup_ignore'] ) && '0' == $_GET['wp_email_capture_setup_ignore'] ) {
124
- update_user_meta( $user_id, 'wp_email_capture_setup_ignore', 'true', true );
125
- }
126
-
127
- if ( isset( $_GET['wp_email_capture_upsell_ignore'] ) && '0' == $_GET['wp_email_capture_upsell_ignore'] ) {
128
- update_user_meta( $user_id, 'wp_email_capture_upsell_ignore', 'true', true );
129
- }
130
-
131
- if ( isset( $_GET[ 'wp_email_capture_tracking' ] ) ) {
132
- update_option( 'wpec_set_tracking', $_GET['wp_email_capture_tracking'] );
133
- }
134
- }
135
-
136
-
137
- /**
138
- * Fetch the WP Email Capture RSS Feed
139
- *
140
- * @return mixed RSS object should the feed return correctly, FALSE if not.
141
- */
142
- function wp_email_capture_fetch_rss_feed() {
143
-
144
- include_once ABSPATH . WPINC . '/feed.php';
145
- $rss = fetch_feed( "https://www.wpemailcapture.com/feed?cat=-4" );
146
-
147
- if ( is_wp_error( $rss ) ) { return false; }
148
-
149
- $rss_items = $rss->get_items( 0, 5 );
150
-
151
- return $rss_items;
152
-
153
- }
154
-
155
-
156
- /**
157
- * Get the number of registered valid email addresses.
158
- *
159
- * @return int The Number of Registered users.
160
- */
161
- function wp_email_capture_get_number_of_registered_users() {
162
- $registered_members_table = WP_EMAIL_CAPTURE_REGISTERED_MEMBERS_TABLE;
163
- global $wpdb;
164
- $get_number_of_regs_sql = '
165
- SELECT COUNT(*)
166
- FROM ' . WP_EMAIL_CAPTURE_REGISTERED_MEMBERS_TABLE;
167
-
168
- $get_number_of_regs = $wpdb->get_var( $get_number_of_regs_sql );
169
-
170
- return $get_number_of_regs;
171
-
172
- }
173
-
174
-
175
- /**
176
- * Get the last date of temporary emails.
177
- *
178
- * @return mixed the last date of signup if known. False if not.
179
- */
180
- function wp_email_capture_get_last_singup_date() {
181
-
182
- global $wpdb;
183
- $get_last_date_sql = '
184
- SELECT `date`
185
- FROM ' . WP_EMAIL_CAPTURE_TEMP_MEMBERS_TABLE . '
186
- ORDER BY `date` DESC
187
- LIMIT 1';
188
-
189
- $get_last_date = $wpdb->get_var( $get_last_date_sql );
190
-
191
- if ( $get_last_date != '0000-00-00 00:00:00') {
192
- return $get_last_date;
193
- } else {
194
- return false;
195
- }
196
-
197
- }
198
-
199
-
200
- /**
201
- * Set the email type to text/html
202
- * @return string "text/html"
203
- */
204
- function wp_email_capture_set_html_mail_content_type() {
205
- return 'text/html';
206
- }
207
-
208
-
209
- /**
210
- * Set the email type to text/plain
211
- *
212
- * Happens after sending an email.
213
- *
214
- * - DEPRECATED 3.3 -
215
- *
216
- * @return string "text/plain"
217
- */
218
- function wp_email_capture_set_plain_content_type() {
219
- return 'text/plain';
220
- }
221
-
222
-
223
- /**
224
- * Set email to HTML, if you wish to.
225
- *
226
- * @return void
227
- */
228
- function wp_email_capture_set_email_to_html() {
229
-
230
- if ( 1 == get_option( 'wp_email_capture_send_email_html' ) ) {
231
- add_filter( 'wp_mail_content_type', 'wp_email_capture_set_html_mail_content_type' );
232
- }
233
-
234
- }
235
-
236
-
237
- /**
238
- * Return email to standard email.
239
- *
240
- * @return void
241
- */
242
- function wp_email_capture_set_email_to_plain() {
243
- if ( has_filter( 'wp_mail_content_type', 'wp_email_capture_set_html_mail_content_type' ) ) {
244
- if ( 1 == get_option( 'wp_email_capture_send_email_html' ) ) {
245
- remove_filter( 'wp_mail_content_type', 'wp_email_capture_set_html_mail_content_type' );
246
- }
247
- }
248
- }
249
-
250
-
251
- /**
252
- * Check if we have the premium version installed
253
- *
254
- * @return boolean
255
- */
256
- function wp_email_capture_is_premium() {
257
- if ( function_exists( 'wp_email_capture_premium_plugins_loaded' ) ) {
258
- return true;
259
- } else {
260
- return false;
261
- }
262
- }
263
-
264
-
265
- /**
266
- * Get temproart data from an email address
267
- *
268
- * @param string $email The email address we are using.
269
- * @return mixed The data we have to collect, false if no data.
270
- */
271
- function wp_email_capture_get_data_from_email_temp( $email ) {
272
-
273
- global $wpdb;
274
-
275
- $select_gdpr_temp_sql = 'SELECT * FROM ' . WP_EMAIL_CAPTURE_TEMP_MEMBERS_TABLE . " WHERE email = '%s'";
276
-
277
- $select_gdpr_array = $wpdb->get_results( $wpdb->prepare( $select_gdpr_temp_sql, $email ) );
278
-
279
- return $select_gdpr_array;
280
-
281
- }
282
-
283
- /**
284
- * Get temproart data from an email address
285
- *
286
- * @param string $email The email address we are using.
287
- * @return mixed The data we have to collect.
288
- */
289
- function wp_email_capture_get_data_from_email_main( $email ) {
290
-
291
- global $wpdb;
292
-
293
- $select_gdpr_main_sql = 'SELECT * FROM ' . WP_EMAIL_CAPTURE_REGISTERED_MEMBERS_TABLE . " WHERE email = '%s'";
294
-
295
- $select_gdpr_array = $wpdb->get_results( $wpdb->prepare( $select_gdpr_main_sql, $email ) );
296
-
297
- return $select_gdpr_array;
298
- }
299
-
300
-
301
- /**
302
- * Check If MySQL version is 5.6, if not we fire a warning
303
- *
304
- * @return void
305
- */
306
- function wp_email_capture_mysql_upsell() {
307
-
308
- $hostingurl = 'https://www.wpemailcapture.com/wp-email-capture-premium-compatible-products/?utm_source=mysqlhelp&utm_medium=plugin&utm_campaign=wpemailcapture#hosting';
309
-
310
- if ( ! get_option( 'dismissed-wp_email_capture_mysql_deprecated', false ) ) {
311
-
312
- if ( ! wp_email_capture_check_db_version() ) {
313
-
314
- printf( __( '<div class="notice notice-error notice-wp-email-mysql is-dismissible" data-notice="wp_email_capture_mysql_deprecated">
315
- <h3>WP Email Capture - MySQL version 5.6 and above needed</h3>
316
- <p>Thank you for installing WP Email Capture. I really appreciate it. However you have an out of date version of MySQL on your site. <strong>WP Email Capture will not work</strong>.</p>
317
- <p>A minimum of MySQL 5.6 is needed for this plugin to work. Speak to your host to upgrade. Alternatively, you can contact any of these hosts we have found that work with WP Email Capture.</p>
318
- <p><a href="%2$s" class="button button-primary button-hero"><strong>View Hosting Recommendations</strong></a></p></div>' ), '?wp_email_capture_mysql_ignore=0', $hostingurl );
319
-
320
- }
321
- }
322
- }
323
-
324
-
325
- /**
326
- * Get the DB Version for the server. To see if it's valid.
327
- *
328
- * @return void
329
- */
330
- function wp_email_capture_check_db_version() {
331
-
332
- global $wpdb;
333
-
334
- $mysql_server_type = '';
335
- $mysql_server_version = '';
336
-
337
- if ( method_exists( $wpdb, 'db_version' ) ) {
338
- if ( $wpdb->use_mysqli ) {
339
- // phpcs:ignore WordPress.DB.RestrictedFunctions.mysql_mysqli_get_server_info
340
- $mysql_server_type = mysqli_get_server_info( $wpdb->dbh );
341
- } else {
342
- // phpcs:ignore WordPress.DB.RestrictedFunctions.mysql_mysql_get_server_info
343
- $mysql_server_type = mysql_get_server_info( $wpdb->dbh );
344
- }
345
-
346
- $mysql_server_version = $wpdb->get_var( 'SELECT VERSION()' );
347
- }
348
-
349
- if ( stristr( $mysql_server_type, 'mariadb' ) ) {
350
- $mariadb = true;
351
- $health_check_mysql_rec_version = '10.0';
352
- return true;
353
- }
354
-
355
- $mysql_min_version_check = version_compare( WP_EMAIL_MIN_MYSQL_VERSION, $mysql_server_version, '<=' );
356
-
357
- //set_transient( 'wp_email_capture_valid_version', $mysql_min_version_check, 14*24*HOUR_IN_SECONDS );
358
-
359
- return $mysql_min_version_check;
360
-
361
- }
362
-
363
-
364
-
365
-
366
- /**
367
- * AJAX handler to store the state of dismissible notices.
368
- */
369
- function ajax_notice_handler() {
370
- // Pick up the notice "type" - passed via jQuery (the "data-notice" attribute on the notice)
371
- $type = esc_attr( $_POST['type'] );
372
- // Store it in the options table
373
- update_option( 'dismissed-' . $type, TRUE );
374
- } add_action( 'wp_ajax_dismissed_notice_handler', 'ajax_notice_handler' );
375
-
376
- /**
377
- * Get the GDPR Data Table
378
- *
379
- * @depreciated 3.5
380
- * @param string $table The table we are looking at, used to delete the data
381
- * @param array $results The results already obtained
382
- * @return string
383
- */
384
- /* function wp_email_capture_print_gdpr_data_table( $table, $results ) {
385
-
386
- $tablestring = '<table class="widefat fixed" cellspacing="0">
387
- <thead>
388
- <tr>';
389
-
390
- // First we need to get all keys in the array.
391
- $columns = get_object_vars( $results[0] );
392
- $datatocheck = array();
393
- $extravalues = array();
394
-
395
- if ( array_key_exists( 'wp_email_capture_gdpr_email', $_POST ) ) {
396
-
397
- $extravalues = array( 'wp_email_capture_gdpr_email' => esc_attr( $_POST['wp_email_capture_gdpr_email'] ) );
398
-
399
- }
400
-
401
- if ( $columns ) {
402
- foreach ( $columns as $column => $value ) {
403
-
404
- $tablestring .= '<td>' . ucfirst( $column ) . '</td>';
405
- $datatocheck[] = $column;
406
-
407
- }
408
-
409
- $tablestring .= '<td>' . __( 'Delete', 'wp-email-capture' ) . '</td>';
410
-
411
- }
412
-
413
- $tablestring .= '</tr>';
414
- $tablestring .= '<tbody>';
415
-
416
- if ( $results ) {
417
-
418
- foreach ( $results as $result ) {
419
-
420
- $tablestring .= '<tr>';
421
-
422
- foreach ( $datatocheck as $keytoadd ) {
423
-
424
- $tablestring .= '<td>' . $result->$keytoadd . '</td>';
425
-
426
- }
427
-
428
-
429
-
430
- $tablestring .= '<td>' . wp_email_capture_formdelete( $result->id, '', '', $table, $extravalues ) . '</td>';
431
-
432
- $tablestring .= '</tr>';
433
-
434
- }
435
-
436
- }
437
-
438
- $tablestring .= '</tbody>';
439
- $tablestring .= '</table>';
440
-
441
- return $tablestring;
442
- } */
443
-
444
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/inc/gdpr.php DELETED
@@ -1,402 +0,0 @@
1
- <?php
2
-
3
- /**
4
- * Get the privacy policy string
5
- *
6
- * @return string
7
- */
8
- function wp_email_capture_get_privacy_policy_string() {
9
-
10
- $privacy_policy_string = "";
11
-
12
- if ( get_option( 'wp_email_capture_enable_gdpr' ) && get_option( 'wp_page_for_privacy_policy' ) ) {
13
-
14
- $privacy_policy_string = '<p><input type="checkbox" value="1" name="wp-email-capture-accept-privacy-policy" />' . sprintf( __( ' I agree to the <a href="%s">Privacy Policy</a> of this website.', 'wp-email-capture' ), get_permalink( get_option( 'wp_page_for_privacy_policy' ) ) ) . '</p>';
15
-
16
- } elseif ( get_option( 'wp_email_capture_enable_gdpr' ) && !get_option( 'wp_page_for_privacy_policy' ) ) {
17
-
18
- $privacy_policy_string = '<p><input type="checkbox" value="1" name="wp-email-capture-accept-privacy-policy" />' . __( ' I agree to the Privacy Policy of this website.', 'wp-email-capture' ) . '</p>';
19
-
20
- }
21
-
22
- $privacy_policy_string = apply_filters( 'wp_email_capture_prviacy_policy_string', $privacy_policy_string );
23
-
24
- return $privacy_policy_string;
25
- }
26
-
27
-
28
- /**
29
- * Add before the submit button on the echo form the Privacy Policy
30
- *
31
- * @return void
32
- */
33
- function wp_email_capture_add_privacy_policy_before_submit_echo_form() {
34
-
35
- echo wp_email_capture_get_privacy_policy_string();
36
-
37
- }
38
-
39
-
40
- /**
41
- * Add before the submit button on the shortcode form the Privacy Policy
42
- *
43
- * @param string $formhtml The form HTML
44
- * @return string The replacement HTML, with added privacy policy HTML.
45
- */
46
- function wp_email_capture_add_privacy_policy_before_submit_display_form( $formhtml ) {
47
-
48
- $privacy_policy_string = wp_email_capture_get_privacy_policy_string();
49
-
50
- $formhtml = str_replace( "<input type='hidden' name='wp_capture_action' value='1' />", $privacy_policy_string . "<input type='hidden' name='wp_capture_action' value='1' />", $formhtml );
51
-
52
- return $formhtml;
53
- }
54
-
55
-
56
- /**
57
- * GDPR Process.
58
- *
59
- * Checks if the user has ticked the checkbox. If not, we throw them back.
60
- *
61
- * @return void
62
- */
63
- function wp_email_capture_gdpr_process() {
64
-
65
- $starturl = esc_url( $_SERVER['HTTP_REFERER'] );
66
- $acceptprivacypolicy = FALSE;
67
-
68
- if ( get_option( 'wp_email_capture_enable_gdpr' ) ) {
69
-
70
-
71
- if ( array_key_exists( 'wp-email-capture-accept-privacy-policy', $_POST ) ) {
72
-
73
- $acceptprivacypolicy = $_POST[ 'wp-email-capture-accept-privacy-policy' ];
74
-
75
- }
76
-
77
- if ( ! $acceptprivacypolicy ) {
78
-
79
- if ( strpos( $starturl, '?' ) === false ) { $extrastring = "?"; } else { $extrastring = "&"; }
80
-
81
- $error = urlencode( __( 'Please Accept the Privacy Policy', 'wp-email-capture' ) );
82
- $url = $starturl . $extrastring . 'wp_email_capture_error="' . $error;
83
- wp_redirect( $url );
84
- die();
85
-
86
- }
87
-
88
- }
89
-
90
- }
91
-
92
-
93
- /**
94
- * Delete records after a certain time
95
- *
96
- * @return void
97
- */
98
- function wp_email_capture_gdpr_deletion() {
99
-
100
- if ( get_option( 'wp_email_capture_enable_gdpr' ) ) {
101
-
102
- $unit = get_option( 'wp_email_capture_unit_for_privacy' );
103
- $number = get_option( 'wp_email_capture_number_for_privacy' );
104
-
105
- if ( $unit && $number > 0 ) {
106
-
107
- $timestring = strtotime( "-" . $number . " " . $unit );
108
- $mysqldate = date( 'Y-m-d H:i:s', $timestring );
109
-
110
- global $wpdb;
111
-
112
- $delete_gdpr_temp_sql = 'DELETE FROM ' . WP_EMAIL_CAPTURE_TEMP_MEMBERS_TABLE . " WHERE date < '%s'";
113
- $delete_gdpr_main_sql = 'DELETE FROM ' . WP_EMAIL_CAPTURE_REGISTERED_MEMBERS_TABLE . " WHERE date < '%s'";
114
-
115
- $delete_gdpr = $wpdb->query( $wpdb->prepare( $delete_gdpr_main_sql, $mysqldate ) );
116
- $delete_gdpr_temp = $wpdb->query( $wpdb->prepare( $delete_gdpr_temp_sql, $mysqldate ) );
117
-
118
- }
119
- }
120
- }
121
-
122
-
123
-
124
- /**
125
- * Create the hourly filter
126
- *
127
- * @return void
128
- */
129
- function wp_email_capture_gdpr_activation() {
130
- if ( ! wp_next_scheduled( 'wp_email_capture_hourly' ) ) {
131
- wp_schedule_event( time(), 'hourly', 'wp_email_capture_hourly' );
132
- }
133
- }
134
-
135
-
136
- /**
137
- * Add the GDPR page to WP Email Capture
138
- * @depreciated 3.5
139
- * @return void
140
- */
141
- /* function wp_email_capture_add_gdpr_page() {
142
- add_submenu_page( 'wpemailcapture', __( 'GDPR' ), __( 'GDPR', 'wp-email-capture' ), 'activate_plugins', 'wpemailcapturegdprsettings', 'wp_email_capture_gdpr_options' );
143
- } */
144
-
145
- /**
146
- * Options page for GDPR
147
- * @depreciated 3.5
148
- * @return void
149
- */
150
- /* function wp_email_capture_gdpr_options() {
151
-
152
- ?>
153
- <div class="wrap">
154
-
155
- <h1><?php _e( 'GDPR Data Checker', 'wp-email-capture' ); ?></h1>
156
-
157
- <?php
158
-
159
- if ( isset( $_POST['wp_email_capture_deleteid'] ) ) {
160
-
161
- $wpemaildeleteid = esc_attr( $_POST['wp_email_capture_deleteid'] );
162
- $table = esc_attr( $_POST[ 'wp_email_capture_deletefromtable' ] );
163
- wp_email_capture_deleteid( $wpemaildeleteid, $table );
164
- ?>
165
-
166
- <div class="notice notice-success is-dismissible">
167
- <p><?php echo sprintf( __( 'Data from row ID %s have been deleted', 'wp-email-capture' ), $wpemaildeleteid ); ?></p>
168
- </div>
169
-
170
- <?php
171
- }
172
- ?>
173
- <div class="about-text">
174
- <?php _e( 'Please enter in the box below the email address you want to check if you have any data on.', 'wp-email-capture' ); ?><br/>
175
- </div>
176
-
177
- <form method="post" action="<?php esc_url( $_SERVER['REQUEST_URI'] ); ?>">
178
-
179
- <input name="wp_email_capture_gdpr_email" type="text" /> <?php submit_button( __('Check for email address', 'wp-email-capture' ) ); ?>
180
-
181
- </form>
182
-
183
- <?php
184
-
185
- if ( array_key_exists( 'wp_email_capture_gdpr_email', $_POST ) ) {
186
-
187
- $email = esc_attr( $_POST['wp_email_capture_gdpr_email'] );
188
-
189
- ?>
190
- <h2><?php echo sprintf( __( 'Results for %s', 'wp-email-capture' ), $email ) ?></h1>
191
- <?php
192
-
193
- $emaildatatemp = wp_email_capture_get_data_from_email_temp( $email );
194
- $emaildatamain = wp_email_capture_get_data_from_email_main( $email );
195
-
196
- if ( !empty( $emaildatatemp ) || !empty( $emaildatamain ) ) {
197
-
198
- $tempdata = array(
199
- WP_EMAIL_CAPTURE_REGISTERED_MEMBERS_TABLE => $emaildatamain,
200
- WP_EMAIL_CAPTURE_TEMP_MEMBERS_TABLE => $emaildatatemp
201
- );
202
-
203
- foreach ( $tempdata as $table => $results ) {
204
- if (!empty( $results ) ) {
205
-
206
- echo wp_email_capture_print_gdpr_data_table( $table, $results );
207
-
208
- }
209
- }
210
-
211
- } else {
212
-
213
- echo '<p>' . sprintf( __( 'We hold no data for the email address %s', 'wp-email-capture' ), $email ) . '</p>';
214
-
215
- }
216
- }
217
- ?>
218
- </div>
219
- <?php
220
- } */
221
-
222
-
223
- /**
224
- * Add Privacy Policy Content to WP Email Capture
225
- *
226
- * @return void
227
- */
228
- function wp_email_capture_add_privacy_policy_content() {
229
-
230
- if ( ! function_exists( 'wp_add_privacy_policy_content' ) ) {
231
- return;
232
- }
233
-
234
- $addedstring = '';
235
-
236
- if ( get_option( 'wp_email_capture_number_for_privacy' ) ) {
237
- $number = get_option( 'wp_email_capture_number_for_privacy' );
238
- $unit = get_option( 'wp_email_capture_unit_for_privacy' );
239
- $addedstring = sprintf( __( '
240
-
241
- We hold this data for a maximum of %s %s, at which point it is deleted.', 'wp-email-capture' ), $number, $unit );
242
- }
243
-
244
- $content = __( 'We use a WordPress plugin called WP Email Capture to aid management of our email marketing list. Should you wish to subscribe to our newsletter, we collect the following data:-
245
-
246
- Your Name (or what you chose to address yourself as). This is used for simple personalisation purposes.
247
-
248
- Your Email Address. This is used to contact you and include you in our newsletter.
249
-
250
- The date of signup. This is so we can reference when to delete your data at a later date.',
251
-
252
- 'wp-email-capture' ) . $addedstring;
253
-
254
- wp_add_privacy_policy_content(
255
- 'WP Email Capture',
256
- wp_kses_post( wpautop( $content, false ) )
257
- );
258
- }
259
-
260
-
261
- /**
262
- * This function links into the GDPR exporter, meaning we can begin to export registered today.
263
- *
264
- * @param string $email_address The email address we are looking for.
265
- * @param integer $page The page of data we are grabbing.
266
- * @return array An array of data we will need to find.
267
- */
268
- function wp_email_capture_plugin_exporter( $email_address, $page = 1 ) {
269
-
270
- $number = 500; // Limit us to avoid timing out
271
- $page = (int) $page;
272
-
273
- $export_items = array();
274
- $emaildatatocheck[] = wp_email_capture_get_data_from_email_temp( $email_address );
275
- $emaildatatocheck[] = wp_email_capture_get_data_from_email_main( $email_address );
276
- $x = '';
277
-
278
- foreach ( $emaildatatocheck as $emaildatatemp ) {
279
-
280
- $datatocheck = array();
281
- $columns = get_object_vars( $emaildatatemp[0] );
282
-
283
- foreach ( $columns as $column => $value ) {
284
- $datatocheck[] = $column;
285
- }
286
-
287
- foreach ( (array) $emaildatatemp as $emaildata ) {
288
-
289
- $x++;
290
-
291
- $item_id = "wp-email-capture-{$emaildata->id}";
292
-
293
- // Core group IDs include 'comments', 'posts', etc.
294
- // But you can add your own group IDs as needed
295
- $group_id = 'emailcapture';
296
-
297
- // Optional group label. Core provides these for core groups.
298
- // If you define your own group, the first exporter to
299
- // include a label will be used as the group label in the
300
- // final exported report
301
- $group_label = __( 'WP Email Capture Data' );
302
-
303
- $data = array();
304
-
305
- // Plugins can add as many items in the item data array as they want
306
- foreach ( $datatocheck as $header ) {
307
-
308
- $data[] = array(
309
- 'name' => $header,
310
- 'value' => $emaildata->$header,
311
- );
312
-
313
- }
314
-
315
- $export_items[] = array(
316
- 'group_id' => $group_id,
317
- 'group_label' => $group_label,
318
- 'item_id' => $item_id,
319
- 'data' => $data,
320
- );
321
- }
322
- }
323
-
324
- $done = $x < $number;
325
- return array(
326
- 'data' => $export_items,
327
- 'done' => $done,
328
- );
329
-
330
- }
331
-
332
-
333
- /**
334
- * Hook function adding the wp-email-capture array to the GDPR friendly plugin exporter.
335
- *
336
- * @param array $exporters All current Exporters
337
- * @return array All exporters plus the WP Email Capture one.
338
- */
339
- function wp_email_capture_register_plugin_exporter( $exporters ) {
340
- $exporters['wp-email-capture'] = array(
341
- 'exporter_friendly_name' => __( 'WP Email Capture' ),
342
- 'callback' => 'wp_email_capture_plugin_exporter',
343
- );
344
- return $exporters;
345
- }
346
-
347
-
348
- /**
349
- * WP Email Capture Eraser function.
350
- *
351
- * Removes all data from the WP Email Capture tables.
352
- *
353
- * @param string $email_address The email address we are looking to erase.
354
- * @param integer $page The page we are looking for.
355
- * @return array Array containing data on how successful the erasure process has been.
356
- */
357
- function wp_email_capture_plugin_eraser( $email_address, $page = 1 ) {
358
-
359
- $number = 500; // Limit us to avoid timing out
360
- $page = (int) $page;
361
- $items_removed = false;
362
- $tabledata = array( WP_EMAIL_CAPTURE_TEMP_MEMBERS_TABLE, WP_EMAIL_CAPTURE_REGISTERED_MEMBERS_TABLE );
363
-
364
- global $wpdb;
365
-
366
- foreach ( $tabledata as $table ) {
367
-
368
- //$delete_member_sql = "DELETE FROM $table WHERE email = '%s'";
369
- $querysuccessful = $wpdb->delete( $table, array( 'email' => $email_address ), array( '%s' ) );
370
-
371
- if ( false !== $querysuccessful && true !== $items_removed ) {
372
- $items_removed = true;
373
- $rowsremoved = $rowsremoved + $querysuccessful;
374
- }
375
- }
376
-
377
- // Tell core if we have more comments to work on still
378
- $done = $querysuccessful < $number;
379
-
380
- return array(
381
- 'items_removed' => $items_removed,
382
- 'items_retained' => false, // always false in this example
383
- 'messages' => array(), // no messages in this example
384
- 'done' => $done,
385
- );
386
- }
387
-
388
-
389
- /**
390
- * Register the Plugin Eraser for WP Email Capture
391
- *
392
- * @param array $erasers All erasers.
393
- * @return array $erasers All erasers with the WP Email Capture one.
394
- */
395
- function wp_email_capture_register_plugin_eraser( $erasers ) {
396
- $erasers['wp-email-capture'] = array(
397
- 'eraser_friendly_name' => __( 'WP Email Capture' ),
398
- 'callback' => 'wp_email_capture_plugin_eraser',
399
- );
400
-
401
- return $erasers;
402
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/inc/gutenberg.php DELETED
@@ -1,25 +0,0 @@
1
- <?php
2
-
3
- defined( 'ABSPATH' ) || exit;
4
-
5
-
6
-
7
- function wp_email_capture_enqueue_block_editor_assets() {
8
- wp_enqueue_script(
9
- 'wp-email-capture-gutenberg',
10
- WP_EMAIL_CAPTURE_URL . '/inc/js/block.js',
11
- array( 'wp-blocks', 'wp-i18n', 'wp-element', 'underscore', 'wp-editor' ),
12
- filemtime( plugin_dir_path( __FILE__ ) . '/js/block.js' )
13
- );
14
- }
15
-
16
-
17
-
18
- function wp_email_capture_enqueue_block_editor_css() {
19
- wp_enqueue_style(
20
- 'wp-email-capture-gutenberg-css-styles',
21
- WP_EMAIL_CAPTURE_URL . '/inc/css/wp-email-capture-gutenberg-styles.css',
22
- array( 'wp-blocks' ),
23
- filemtime( plugin_dir_path( __FILE__ ) . '/css/wp-email-capture-gutenberg-styles.css' )
24
- );
25
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/inc/help.php DELETED
@@ -1,247 +0,0 @@
1
- <?php
2
-
3
- /**
4
- * Help Text for the free version.
5
- *
6
- * @return void
7
- */
8
- function wp_email_capture_free_help() {
9
- ?>
10
-
11
- <div class="wrap">
12
- <div style="width:70%;float:left;clear:both;" class="postbox-container">
13
- <div class="metabox-holder">
14
- <div class="meta-box-sortables">
15
- <h2><?php echo __( 'WP Email Capture - Help', 'wp-email-capture' ); ?></h2>
16
- <?php
17
- /**
18
- * Action to control the display of the help boxes on the help page.
19
- *
20
- * Hook into this to add/remove help boxes should there be a change between free & premium.
21
- */
22
- do_action( 'wp_email_capture_help_boxes' ); ?>
23
- </div>
24
- </div>
25
- </div>
26
- <?php
27
- wp_email_capture_admin_sidebar( "getwpemailcapturepremiumdescription,affiliates,news,supportus" );
28
- ?>
29
- </div>
30
- <?php
31
- }
32
-
33
-
34
- /**
35
- * Displays the help for the "Setup" section of the help documentation.
36
- *
37
- * @return void
38
- */
39
- function wp_email_capture_setup_help() {
40
-
41
- /**
42
- * Filter for the settings page URL for WP Email Capture
43
- *
44
- * This allows us to change it should something change between the versions.
45
- *
46
- * @var string
47
- */
48
- $settingspageurl = apply_filters( 'wp_email_capture_change_settings_url', admin_url( 'admin.php?page=wpemailcapturefreesettings' ) );
49
-
50
- $furtherhelpurl = "https://www.wpemailcapture.com/2012/10/how-to-set-up-wp-email-capture-free/?utm_source=plugin&utm_medium=help&utm_campaign=wpemailcapture";
51
-
52
- ?>
53
- <div class="wp_email_capture_help_box">
54
- <h3 class="header"><?php echo __( 'Setup', 'wp-email-capture' ); ?></h3>
55
- <table class="form-table">
56
-
57
- <tbody>
58
-
59
- <tr valign="top">
60
- <td>
61
- <p><?php _e( 'To get WP Email Capture to work effectively, please follow the following instructions:-', 'wp-email-capture' ); ?></p>
62
- <ol>
63
- <li><?php printf( __( 'Create a page on your site for "sign up" (this page will be forwarded to when the form is just filled in, informs the users that they need to click on a link in the email. ', 'wp-email-capture' ) ); ?></li>
64
- <li><?php printf( __( 'Create a page on your site for "confirmation" (thanking them for their enquiry, links to download etc). ', 'wp-email-capture' ) ); ?></li>
65
- <li><?php printf( __( 'After creating these, fill in the settings in the <a href="%s">WP Email Capture > Settings</a> page, making sure the URL of the "sign up" page is in the "Page to redirect to on sign up" text box and the "confirmation" page URL is in the "Page to redirect to on confirmation of email address" text box.', 'wp-email-capture' ), $settingspageurl ); ?></li>
66
- </ol>
67
- <p><?php printf( __( 'Further help is available on the <a href="%s" target="_blank">WP Email Capture Support Site</a>.', 'wp-email-capture' ), $furtherhelpurl ); ?></p>
68
- </td>
69
- </tr>
70
- </tbody>
71
- </table>
72
- </div>
73
- <?php
74
- } add_action( 'wp_email_capture_help_boxes', 'wp_email_capture_setup_help', 10 );
75
-
76
-
77
-
78
- /**
79
- * Displays the help for the "Options" section of the help documentation.
80
- *
81
- * @return void
82
- */
83
- function wp_email_capture_options_help() {
84
-
85
- $settingspageurl = apply_filters( 'wp_email_capture_change_settings_url', admin_url( 'admin.php?page=wpemailcapturefreesettings' ) );
86
-
87
- ?>
88
- <div class="wp_email_capture_help_box">
89
- <h3 class="header"><?php echo __( 'Further Options', 'wp-email-capture' ); ?></h3>
90
-
91
- <table class="form-table">
92
- <tbody>
93
- <tr valign="top">
94
- <td>
95
- <p><?php printf( __( 'On the <a href="%s">WP Email Capture Settings Page</a>, as well as being able to structure your email, you can also add the following options.', 'wp-email-capture' ), $settingspageurl ); ?></p>
96
- <p><?php printf( __( '<strong>Link to us (optional, but appreciated):</strong> This option, when ticked, adds a small, unobtrusive text link beneath the widget. Totally optional, but very appreciated as it helps support the plugin.', 'wp-email-capture' ) ); ?></p>
97
- <p><?php printf( __( '<strong>Make The "Name" field a required field?</strong> If ticked, the user will have to fill in both their name & email address. This means you get better data, but can affect conversion rates.', 'wp-email-capture' ) ); ?></p>
98
- <p><?php printf( __( '<strong>Delimeter (leave blank for a comma)</strong> This will allow you to set the delimiter used in the CSV export. Should commas be used in names, for example, you may want to change this to something like a semi-colon.', 'wp-email-capture' ) ); ?></p>
99
- <p><?php printf( __( '<strong>Use Default Styling</strong> The plugin comes with a simple default styling that makes the plugin look neater. Use if you are not comfortable with CSS, or your theme does not style forms.', 'wp-email-capture' ) ); ?></p>
100
- </td>
101
- </tr>
102
- </tbody>
103
- </table>
104
- </div>
105
-
106
- <?php
107
- } add_action( 'wp_email_capture_help_boxes', 'wp_email_capture_options_help', 20 );
108
-
109
-
110
- /**
111
- * Displays the help for the "Display" section of the help documentation.
112
- *
113
- * @return void
114
- */
115
- function wp_email_capture_display_help() {
116
-
117
- $widgetpageurl = admin_url( 'widgets.php' );
118
-
119
- ?>
120
- <div class="wp_email_capture_help_box">
121
- <h3 class="header"><?php echo __( 'Display', 'wp-email-capture' ); ?></h3>
122
-
123
- <table class="form-table">
124
- <tbody>
125
- <tr valign="top">
126
- <td>
127
-
128
- <p><?php _e( 'Once the form is set up, you need to display the form on the front end of your website using one of a few methods:-', 'wp-email-capture' ); ?></p>
129
-
130
- <p><?php printf( __( '<strong>Widgets:</strong> To display the WP Email Capture form in a Widget, go to <a href="%s">your widgets page</a>, and drag the WP Email Capture widget to any widget area you have. You can add a title and text before the widget as well to try and entice subscriptions.', 'wp-email-capture' ), $widgetpageurl ); ?></p>
131
- <p><?php printf( __( '<strong>In Posts/Pages:</strong> To display the WP Email Capture Form in posts or pages, you can use the shortcode. [wp_email_capture_form]. This shortcode doesn\'t have any attributes.', 'wp-email-capture' ) ); ?></p>
132
- <p><?php printf( __( '<strong>In PHP:</strong> To display the WP Email Capture Form in PHP, add <code>&lt;?php if (function_exists(\'wp_email_capture_form\')) { wp_email_capture_form(); } ?&gt;</code> to your template.', 'wp-email-capture' ) ); ?></p>
133
-
134
- </td>
135
- </tr>
136
- </tbody>
137
- </table>
138
- </div>
139
- <?php
140
- } add_action( 'wp_email_capture_help_boxes', 'wp_email_capture_display_help', 30 );
141
-
142
-
143
-
144
- /**
145
- * Displays the help for the "List Operations" section of the help documentation.
146
- *
147
- * @return void
148
- */
149
- function wp_email_capture_list_help() {
150
-
151
- $settingspageurl = apply_filters( 'wp_email_capture_change_settings_url', admin_url( 'admin.php?page=wpemailcapturefreesettings' ) );
152
- $purchasepageurl = apply_filters( 'wp_email_capture_change_purchase_url', 'https://www.wpemailcapture.com/premium/?utm_source=help-page&utm_medium=plugin&utm_campaign=wpemailcapture' );
153
-
154
- ?>
155
- <div class="wp_email_capture_help_box">
156
- <h3 class="header"><?php echo __( 'List Operations', 'wp-email-capture' ); ?></h3>
157
- <table class="form-table">
158
- <tbody>
159
- <tr valign="top">
160
- <td>
161
-
162
- <p><?php printf( __( 'After a while, your list should have a few subscribers. You can see the list on the <a href="%s">WP Email Capture Settings Page</a>, as well as do a few tasks as well.', 'wp-email-capture' ), $settingspageurl ); ?></p>
163
- <p><?php printf( __( '<strong>Delete [email-address]:</strong> Next to every email address is a delete button. Use this to delete any email from your list.', 'wp-email-capture' ) ); ?></p>
164
- <p><?php printf( __( '<strong>Export List:</strong> Use this to export your list to a CSV, ready for importing elsewhere.', 'wp-email-capture' ) ); ?></p>
165
- <p><?php printf( __( '<strong>Delete Unconfirmed Email Addresses:</strong> Unconfirmed email addresses are hidden in the database. Use this to delete them to reduce the space taken up by them.', 'wp-email-capture' ) ); ?></p>
166
- <p><?php printf( __( '<strong>Delete All Email Addresses:</strong> This will delete <em>all</em> email addresses in the system, both confirmed and unconfirmed. Please use with caution!', 'wp-email-capture' ) ); ?></p>
167
-
168
- <?php
169
-
170
- if ( $purchasepageurl ) {
171
- printf( __( '<p>WP Email Capture is only designed to be used for small (under 500 entries) lists. You can use it for more, but please consider <a href="%s" target="_blank">purchasing the premium version</a> if your list gets too big.</p>','wp-email-capture' ), $purchasepageurl );
172
- }
173
- ?>
174
-
175
- </td>
176
- </tr>
177
- </tbody>
178
- </table>
179
- </div>
180
- <?php
181
- } add_action( 'wp_email_capture_help_boxes', 'wp_email_capture_list_help', 40 );
182
-
183
-
184
- /**
185
- * Displays the help for the "List Operations" section of the help documentation.
186
- *
187
- * @return void
188
- */
189
- function wp_email_capture_gdpr_help() {
190
-
191
- $settingspageurl = apply_filters( 'wp_email_capture_change_settings_url', admin_url( 'admin.php?page=wpemailcapturefreesettings' ) );
192
- //$purchasepageurl = apply_filters( 'wp_email_capture_change_purchase_url', "https://www.wpemailcapture.com/premium/?utm_source=help-page&utm_medium=plugin&utm_campaign=wpemailcapture" );
193
- ?>
194
- <div class="wp_email_capture_help_box">
195
- <h3 class="header"><?php echo __( 'GDPR Guidelines', 'wp-email-capture' ); ?></h3>
196
-
197
- <table class="form-table">
198
- <tbody>
199
- <tr valign="top">
200
- <td>
201
-
202
- <p><?php printf( __( 'You will need to be running version 4.9.6 of WordPress to use the GDPR settings. Your settings are located in the <a href="%s">WP Email Capture Settings page</a> (in the GDPR section).' , 'wp-email-capture' ), $settingspageurl ); ?></p>
203
-
204
- <p><?php printf( __( 'You can specify a privacy policy that - if present, activates a checkbox allowing signups to accept your privacy policy. Users will need to check that to sign up. You can also choose to delete responses after a number of days/weeks/months, and there is a section of text you can paste into your privacy policy too.', 'wp-email-capture' ) ); ?></p>
205
-
206
- <p><?php printf( __( 'Should you ever receive a request to export/delete, you can use the new Export/Delete personal data, held in the Tools section.', 'wp-email-capture' ) ); ?>
207
-
208
- </td>
209
- </tr>
210
- </tbody>
211
- </table>
212
- </div>
213
- <?php
214
- }
215
-
216
-
217
-
218
- /**
219
- * Displays the help for the "Gutenberg" section of the help documentation.
220
- *
221
- * @return void
222
- */
223
- function wp_email_capture_gutenberg_help() {
224
- ?>
225
- <div class="wp_email_capture_help_box">
226
- <h3 class="header"><?php echo __( 'New WordPress Editor (Codenamed Gutenberg)', 'wp-email-capture' ); ?></h3>
227
-
228
- <table class="form-table">
229
- <tbody>
230
- <tr valign="top">
231
- <td>
232
-
233
- <p><?php printf( __( 'If you are using the new WordPress editor (codenamed Gutenberg), you can add a WP Email Capture Gutenberg content block.' , 'wp-email-capture' ) ); ?></p>
234
-
235
- <p><?php printf( __( 'Search for "WP Email Capture Form" to add it to your site. It is also located under "Widgets"', 'wp-email-capture' ) ); ?></p>
236
-
237
- <p><?php printf( __( 'This widget works similar to the WP Email Capture widget, in that you can define an intro text and a title to help introduce your box.', 'wp-email-capture' ) ); ?>
238
-
239
- <p><?php printf( __( 'There is a placeholder for where the form goes as well, this will show the form on the front end, but not on the back end.', 'wp-email-capture' ) ); ?>
240
-
241
- </td>
242
- </tr>
243
- </tbody>
244
- </table>
245
- </div>
246
- <?php
247
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/inc/img/akismet-image.gif DELETED
Binary file
trunk/inc/img/drip-image.png DELETED
Binary file
trunk/inc/img/redirect-if-present.png DELETED
Binary file
trunk/inc/img/wpemailcapture-avatar.png DELETED
Binary file
trunk/inc/install.php DELETED
@@ -1,69 +0,0 @@
1
- <?php
2
-
3
- /**
4
- * Set up the WP Email Capture Database Tables.
5
- *
6
- * @return void
7
- */
8
- function wp_email_capture_install() {
9
-
10
- global $wp_email_capture_db_version;
11
-
12
- $installed_ver = get_option( 'wp_email_capture_db_version' );
13
-
14
- if ( $installed_ver != $wp_email_capture_db_version ) {
15
-
16
- global $wpdb;
17
-
18
- $charset_collate = $wpdb->get_charset_collate();
19
-
20
- require_once ABSPATH . 'wp-admin/includes/upgrade.php';
21
-
22
- $registered_members_table_name = WP_EMAIL_CAPTURE_REGISTERED_MEMBERS_TABLE;
23
- $temp_members_table_name = WP_EMAIL_CAPTURE_TEMP_MEMBERS_TABLE;
24
-
25
- $create_registered_members_table_sql =
26
- "CREATE TABLE {$registered_members_table_name} (
27
- id INT( 255 ) NOT NULL AUTO_INCREMENT ,
28
- name TINYTEXT NOT NULL ,
29
- email TEXT NOT NULL ,
30
- date DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
31
- UNIQUE KEY id (id)) $charset_collate ;";
32
-
33
- dbDelta( $create_registered_members_table_sql );
34
-
35
- $create_temp_members_table_sql =
36
- "CREATE TABLE {$temp_members_table_name} (
37
- id INT( 255 ) NOT NULL AUTO_INCREMENT ,
38
- name TINYTEXT NOT NULL ,
39
- email TEXT NOT NULL ,
40
- confirm_code TEXT NOT NULL ,
41
- date DATETIME NOT NULL ,
42
- UNIQUE KEY id (id)) $charset_collate;";
43
-
44
- dbDelta( $create_temp_members_table_sql );
45
-
46
- update_option( 'wp_email_capture_db_version', $wp_email_capture_db_version );
47
-
48
- $from = get_option( 'admin_email' );
49
- add_option( 'wp_email_capture_from', $from );
50
-
51
- }
52
-
53
- }
54
-
55
-
56
- /**
57
- * Upgrade the database to the latest free one if needed.
58
- *
59
- * @return void
60
- */
61
- function wp_email_capture_database_upgdrade() {
62
-
63
- global $wp_email_capture_db_version;
64
-
65
- if ( get_site_option( 'wp_email_capture_db_version' ) != $wp_email_capture_db_version ) {
66
- wp_email_capture_install();
67
- }
68
-
69
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/inc/js/admin-custom.js DELETED
@@ -1,66 +0,0 @@
1
- jQuery(document).ready(function () {
2
- jQuery('a.nav-tab').click(function () {
3
- jQuery('.wpemailcapture-tab').removeClass('active');
4
- jQuery('.wpemailcapture-tab').removeClass('active');
5
- var id = jQuery(this).attr('href');
6
- jQuery(id).addClass('active');
7
- });
8
-
9
- jQuery('a.non-nav-tab').click(function () {
10
- jQuery('.wpemailcapture-tab').removeClass('active');
11
- jQuery('.wpemailcapture-tab').removeClass('active');
12
- var id = jQuery(this).attr('href');
13
- jQuery(id).addClass('active');
14
- });
15
-
16
- jQuery('#wp_email_capture_link_checkbox').change(function() {
17
- if(this.checked) {
18
- jQuery('.wp_email_capture_admin_discount').show();
19
- } else {
20
- jQuery('.wp_email_capture_admin_discount').hide();
21
- }
22
- });
23
-
24
- jQuery('#wp_email_capture_enable_gdpr').change(function () {
25
- if (this.checked) {
26
- jQuery('.gdpr-table').show();
27
- } else {
28
- jQuery('.gdpr-table').hide();
29
- }
30
- });
31
-
32
- jQuery('#wp_email_capture_unit_for_privacy').change(function () {
33
- jQuery('.save-to-change').show();
34
- jQuery('#copytext').prop( "disabled", true );
35
- });
36
-
37
- jQuery('#wp_email_capture_number_for_privacy').change(function () {
38
- jQuery('.save-to-change').show();
39
- jQuery('#copytext').prop("disabled", true);
40
- });
41
-
42
- jQuery('#copytext').click( function () {
43
- /* Select the text field */
44
- jQuery('#copyrightnotice').prop('disabled', false);
45
- jQuery('#copyrightnotice').select();
46
- document.execCommand("Copy");
47
- jQuery('#copyrightnotice').prop('disabled', true);
48
- });
49
-
50
- // Only listen to YOUR notices being dismissed
51
- jQuery(document).on('click', '.notice-wp-email-mysql .notice-dismiss', function () {
52
- // Read the "data-notice" information to track which notice
53
- // is being dismissed and send it via AJAX
54
- var type = jQuery(this).closest('.notice-wp-email-mysql').data('notice');
55
- // Make an AJAX call
56
- // Since WP 2.8 ajaxurl is always defined in the admin header and points to admin-ajax.php
57
- jQuery.ajax(ajaxurl,
58
- {
59
- type: 'POST',
60
- data: {
61
- action: 'dismissed_notice_handler',
62
- type: type,
63
- }
64
- });
65
- });
66
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/inc/js/block.js DELETED
@@ -1,82 +0,0 @@
1
- ( function( blocks, i18n, element, _ ) {
2
- var el = element.createElement;
3
- var Fragment = wp.element.Fragment;
4
- var RichText = wp.editor.RichText;
5
-
6
- blocks.registerBlockType( 'wp-email-capture/wp-email-capture-form', {
7
- title: i18n.__( 'WP Email Capture Form' ),
8
- icon: 'email-alt',
9
- category: 'widgets',
10
- attributes: {
11
- title: {
12
- type: 'array',
13
- source: 'children',
14
- selector: 'h2',
15
- },
16
- subscriptiondetails: {
17
- type: 'array',
18
- source: 'children',
19
- selector: '.steps',
20
- },
21
- },
22
- edit: function( props ) {
23
- var focusedEditable = props.focus ? props.focus.editable || 'title' : null;
24
- var attributes = props.attributes;
25
-
26
- return (
27
- el(
28
- Fragment,
29
- null,
30
- el( 'div', { className: props.className },
31
- el( RichText, {
32
- tagName: 'h2',
33
- inline: true,
34
- placeholder: i18n.__( 'WP Email Capture title…' ),
35
- value: attributes.title,
36
- onChange: function( value ) {
37
- props.setAttributes( { title: value } );
38
- },
39
- focus: focusedEditable === 'title' ? focus : null,
40
- onFocus: function( focus ) {
41
- props.setFocus( _.extend( {}, focus, { editable: 'title' } ) );
42
- },
43
- } ),
44
- el( RichText, {
45
- tagName: 'p',
46
- inline: false,
47
- placeholder: i18n.__( 'Write your signup paragraph here…' ),
48
- value: attributes.subscriptiondetails,
49
- onChange: function( value ) {
50
- props.setAttributes( { subscriptiondetails: value } );
51
- },
52
- focus: focusedEditable === 'subscriptiondetails' ? focus : null,
53
- onFocus: function( focus ) {
54
- props.setFocus( _.extend( {}, focus, { editable: 'subscriptiondetails' } ) );
55
- },
56
- } ),
57
- el ('div', { className: 'wp-email-capture wp-email-capture-display' },
58
- el( 'h3', { className: 'wp-email-capture-admin-form' }, i18n.__( 'The WP Email Capture Form Will Be Here' ) )
59
- )
60
- )
61
- )
62
- );
63
- },
64
- save: function( props ) {
65
- var attributes = props.attributes;
66
-
67
- return (
68
- el( 'div', { className: props.className },
69
- el( 'h2', {}, attributes.title ),
70
- el( 'div', { className: 'steps' }, attributes.subscriptiondetails ),
71
- el( 'div', {}, '[wp_email_capture_form]')
72
- )
73
- );
74
- },
75
- } );
76
-
77
- } )(
78
- window.wp.blocks,
79
- window.wp.i18n,
80
- window.wp.element,
81
- window._,
82
- );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/inc/js/recaptcha-handling.js DELETED
@@ -1,13 +0,0 @@
1
- jQuery(document).ready(function($) {
2
- jQuery('.invisible-recaptcha').on('click', function( event){
3
- event.preventDefault();
4
- var id = jQuery(this).attr('data-id');
5
- grecaptcha.ready(function () {
6
- grecaptcha.execute( wpec_recaptcha_object.client_side_key , { action: 'subscribe_newsletter' }).then(function (token) {
7
- $('.' + id).prepend('<input type="hidden" name="token" value="' + token + '">');
8
- $('.' + id).prepend('<input type="hidden" name="action" value="subscribe_newsletter">');
9
- $('.' + id).unbind('submit').submit();
10
- });;
11
- });
12
- });
13
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/inc/js/wp_email_capture_button.js DELETED
@@ -1,15 +0,0 @@
1
- (function() {
2
- tinymce.PluginManager.add('wpemailcapturebutton', function( editor, url ) {
3
- var urlimg = url.replace("js", "img");
4
- console.log( urlimg );
5
- editor.addButton( 'wpemailcapturebutton', {
6
- title: 'Add WP Email Capture Form',
7
- image: urlimg + "/wpemailcapture-avatar.png",
8
- //icon: 'icon dashicons-lightbulb',
9
- onclick: function() {
10
- ebaystring = '[wp_email_capture_form]';
11
- editor.insertContent( ebaystring );
12
- }
13
- });
14
- });
15
- })();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/inc/options.php DELETED
@@ -1,1010 +0,0 @@
1
- <?php
2
-
3
- /**
4
- * Set up the WP Email Capture Menus
5
- * @return void
6
- */
7
- function wp_email_capture_menus() {
8
- $avatar = WP_EMAIL_CAPTURE_URL . '/images/wpemailcapture-dashicon.png';
9
- //add_options_page( __( 'WP Email Capture Options', 'wp-email-capture' ), 'WP Email Capture', 'activate_plugins', 'wpemailcaptureoptions', 'wp_email_capture_options' );
10
- add_menu_page(__('WP Email Capture'),__('WP Email Capture','wp-email-capture'), 'activate_plugins', 'wpemailcapture', 'wp_email_capture_dashboard',$avatar,85);
11
- add_submenu_page('wpemailcapture',__('Settings'), __('Settings','wp-email-capture'), 'activate_plugins', 'wpemailcapturefreesettings', 'wp_email_capture_free_options');
12
- add_submenu_page('wpemailcapture',__('Help'), __('Help','wp-email-capture'), 'activate_plugins', 'wpemailcapturefreehelp', 'wp_email_capture_free_help');
13
- }
14
-
15
-
16
- /**
17
- * Contents of the WP Email Capture Dashboard Page
18
- *
19
- * @todo Build this
20
- * @return void
21
- */
22
- function wp_email_capture_dashboard() {
23
-
24
- $extensionstopush = array(
25
- array(
26
- 'name' => __('WP Email Capture - Redirect If Present', 'WPEC' ),
27
- 'description' => __( 'Redirect signups to the final page, rather than show an error, should they not be present'),
28
- 'price' => '20',
29
- 'purchaseurl' => 'https://www.wpemailcapture.com/checkout/?edd_action=add_to_cart&download_id=4153&utm_source=plugin-dashboard-extensions&utm_medium=plugin&utm_campaign=wpemailcaptur',
30
- 'infourl' => 'https://www.wpemailcapture.com/downloads/wp-email-capture-returning-user-redirect/?utm_source=plugin-dashboard-extensions&utm_medium=plugin&utm_campaign=wpemailcapture',
31
- 'imageurl' => WP_EMAIL_CAPTURE_URL . '/inc/img/redirect-if-present.png',
32
- 'slug' => 'wpemailcaptureredirectifpresent'
33
- ),
34
- array(
35
- 'name' => __('WP Email Capture - Akismet Integration', 'WPEC' ),
36
- 'description' => __( 'Integrate WP Email Capture with <a href="https://akismet.com/">Akismet</a>'),
37
- 'price' => '20',
38
- 'purchaseurl' => 'https://www.wpemailcapture.com/checkout/?edd_action=add_to_cart&download_id=2823&utm_source=plugin-dashboard-extensions&utm_medium=plugin&utm_campaign=wpemailcaptur',
39
- 'infourl' => 'https://www.wpemailcapture.com/downloads/wp-email-capture-akismet-integration/?utm_source=plugin-dashboard-extensions&utm_medium=plugin&utm_campaign=wpemailcaptur',
40
- 'imageurl' => WP_EMAIL_CAPTURE_URL . '/inc/img/akismet-image.gif',
41
- 'slug' => 'wpemailcaptureakismetintegration'
42
- ),
43
- array(
44
- 'name' => __('WP Email Capture - Drip Integration', 'WPEC' ),
45
- 'description' => __( 'Integrate WP Email Capture with <a href="https://www.wpemailcapture.com/recommends/drip/?utm_source=plugin-dashboard-extensions&utm_medium=plugin&utm_campaign=wpemailcaptur">Drip</a>'),
46
- 'price' => '15',
47
- 'purchaseurl' => 'https://www.wpemailcapture.com/checkout/?edd_action=add_to_cart&download_id=2415&utm_source=plugin-dashboard-extensions&utm_medium=plugin&utm_campaign=wpemailcaptur',
48
- 'infourl' => 'https://www.wpemailcapture.com/downloads/wp-email-capture-drip-integration/?utm_source=plugin-dashboard-extensions&utm_medium=plugin&utm_campaign=wpemailcapture',
49
- 'imageurl' => WP_EMAIL_CAPTURE_URL . '/inc/img/drip-image.png',
50
- 'slug' => 'wpemailcapturedripintegration'
51
- )
52
- );
53
-
54
- $compatibleservices = array(
55
-
56
- array(
57
- 'name' => 'Aweber',
58
- 'url' => 'https://www.wpemailcapture.com/recommends/aweber/'
59
- ),
60
-
61
- array(
62
- 'name' => 'Constant Contact',
63
- 'url' => 'https://www.wpemailcapture.com/recommends/constant-contact/'
64
- ),
65
-
66
- array(
67
- 'name' => 'Mailchimp',
68
- 'url' => 'https://www.wpemailcapture.com/recommends/mailchimp/'
69
- ),
70
-
71
- array(
72
- 'name' => 'Madmimi',
73
- 'url' => 'https://www.wpemailcapture.com/recommends/madmimi/'
74
- ),
75
-
76
- );
77
-
78
- ?>
79
- <div class="wrap about-wrap wpec-about-wrap">
80
-
81
- <h1><?php _e( 'Welcome to WP Email Capture!', 'wp-email-capture' ); ?></h1>
82
-
83
- <div class="about-text">
84
- <?php _e( 'Start collecting email subscribers today!', 'wp-email-capture' ); ?><br/>
85
- </div>
86
-
87
- <h2 class="nav-tab-wrapper" id="wpemailcapture-tabs">
88
- <a class="nav-tab" href="#dashboard" id="dashboard-tab"><?php _e( 'Dashboard', 'wp-email-capture' ); ?></a>
89
- <a class="nav-tab" href="#changelog" id="changelog-tab"><?php _e( 'Changelog', 'wp-email-capture' ); ?></a>
90
- <a class="nav-tab" href="#credits" id="credits-tab"><?php _e( 'Credits', 'wp-email-capture' ); ?></a>
91
- </h2>
92
-
93
- <?php
94
-
95
- if ( array_key_exists( 'wpecupgrade', $_GET ) ) {
96
- $activedashboard = "";
97
- $activeupgrade = " active";
98
- } else {
99
- $activedashboard = " active";
100
- $activeupgrade = "";
101
- }
102
-
103
- ?>
104
- <div id="dashboard" class="wpemailcapture-tab <?php echo $activedashboard; ?>">
105
- <h2><?php _e( 'Welcome to WP Email Capture', 'wp-email-capture' ); ?></h2>
106
-
107
- <h3><?php _e( 'New in 3.9 - reCAPTCHA Integration', 'wp-email-capture' ); ?></h3>
108
-
109
- <p><?php _e( 'Version 3.9 will allow you to protect your blog from spam, using reCAPTCHA integration.', 'wp-email-capture' ); ?></p>
110
- <p><?php _e( 'Grab a key from Google and use reCAPTCHA v3 to grade your signups, block those that are troublesome, and allowing those that are genuine.', 'wp-email-capture' ); ?></p>
111
-
112
- <p><a class="non-nav-tab" href="#changelog" id="changelog-tab"><?php _e( 'Read the changelog', 'wp-email-capture'); ?></a></p>
113
-
114
- <?php
115
-
116
- do_action( 'wp_email_capture_dashboard_premium_upsell' );
117
-
118
- ?>
119
-
120
- <h2><?php _e( 'Extensions', 'wp-email-capture' ); ?></h2>
121
- <table class="extensions">
122
- <tr>
123
- <?php
124
-
125
- $loop = 0;
126
-
127
- foreach ( $extensionstopush as $extension ) {
128
-
129
- if ( $loop == 3 ) {
130
- ?>
131
- </tr>
132
- <tr>
133
- <?php
134
- }
135
- ?>
136
- <td align="center">
137
- <h3><?php echo $extension['name'] ?></h3>
138
- <img src="<?php echo $extension['imageurl']; ?>">
139
- <p><?php echo $extension['description']; ?></p>
140
- <p>
141
- <a class="button-primary" href="<?php echo $extension['purchaseurl']; ?>"><?php echo "$" . $extension['price'] . ".00"; ?> <?php _e( 'Buy Now', 'WPEC' ); ?></a>
142
- <a class="button-secondary" href="<?php echo $extension['infourl'];?>"><?php _e( 'More Info', 'WPEC' ); ?></a>
143
- </p>
144
- </td>
145
- <?php
146
-
147
- }
148
- ?>
149
- </tr>
150
- </table>
151
-
152
- <h2><?php _e( 'Compatible Services', 'wp-email-capture' ); ?></h2>
153
- <p><?php _e( 'WP Email Capture email lists are compatible with the following marketing services.', 'wp-email-capture' ); ?></p>
154
- <ul>
155
- <?php
156
-
157
- $loop = 0;
158
-
159
- foreach ( $compatibleservices as $service ) {
160
- ?>
161
- <li><a href="<?php echo $service['url']; ?>?utm_source=plugin-dashboard-compatibleservices&utm_medium=plugin&utm_campaign=wpemailcapture"><?php echo $service['name']; ?></a></li>
162
- <?php
163
-
164
- }
165
- ?>
166
- </ul>
167
-
168
- </div>
169
-
170
- <div id="changelog" class="wpemailcapture-tab <?php echo $activeupgrade; ?>">
171
- <h2><?php _e( 'Changelog', 'wp-email-capture' ); ?></h2>
172
-
173
- <?php
174
-
175
- $changelog = wp_email_capture_get_changelog_array();
176
-
177
- if ( !empty ( $changelog ) ) {
178
-
179
- foreach ( $changelog as $version ) {
180
-
181
- $title = "";
182
-
183
- if ( array_key_exists( 'version', $version ) ) {
184
-
185
- $title .= sprintf( __( 'Version %s', 'wp-email-capture' ), $version['version'] );
186
-
187
- }
188
-
189
- if ( array_key_exists( 'title', $version ) ) {
190
-
191
- $title .= " - " . $version['title'];
192
-
193
- }
194
-
195
- if ( $title ) {
196
-
197
- echo '<h3>' . $title . '</h3>';
198
-
199
- }
200
-
201
- if ( array_key_exists( 'intro', $version ) ) {
202
-
203
- echo '<p>' . $version['intro'] . '</p>';
204
-
205
- }
206
-
207
- if ( array_key_exists( 'list', $version ) ) {
208
-
209
- echo '<ul>';
210
-
211
- foreach ( $version['list'] as $listitem ) {
212
-
213
- echo '<li>' . $listitem . '</li>';
214
-
215
- }
216
-
217
- echo '</ul>';
218
-
219
- }
220
- }
221
- }
222
- ?>
223
-
224
- </div>
225
-
226
- <div id="credits" class="wpemailcapture-tab">
227
- <h2><?php _e( 'Credits', 'wp-email-capture' ); ?></h2>
228
- <p><?php _e( 'This plugin has been helped and improved by the following people', 'wp-email-capture' ); ?></p>
229
- <ul>
230
- <li><?php echo sprintf( __( '<strong>3.1:</strong> <a href="%s" target="_blank">Hassan Raza</a>','wp-email-capture' ), 'http://hassan-raza.com/' ); ?></li>
231
- </ul>
232
- <h3><?php _e('Translations', 'wp-email-capture' ); ?></h3>
233
- <ul>
234
- <li><?php echo sprintf( __( '<strong>French Translation:</strong> <a href="%s" target="_blank">Olivier</a> & <a href="%s" target="_blank">Andrew Patton</a> <a href="%s" target="_blank">(@andpatton)</a>.','wp-email-capture' ), 'http://www.ticket-system.net/', 'http://www.acusti.ca/', 'http://twitter.com/andpatton' ); ?></li>
235
- <li><?php echo sprintf( __( '<strong>German Translation:</strong> <a href="%s" target="_blank">Stephan</a>, <a href="%s" target="_blank">Marc Nilius</a> <a href="%s" target="_blank">(@libertello)</a>, Ov3rFly &amp; <a href="%s">Lars Kasper</a>', 'wp-email-capture' ), 'http://www.computersniffer.com/', 'http://www.libertello.de/', 'http://twitter.com/libertello', 'http://larskasper.de/' ); ?></li>
236
- <li><?php echo sprintf( __( '<strong>Brazilian Portugese Translation:</strong> <a href="%s" target="_blank">Nick Lima</a> <a href="%s" target="_blank">(@nick_linux)</a>', 'wp-email-capture' ), 'http://www.nicklima.com.br', 'http://twitter.com/nick_linux' ); ?></li>
237
- <li><?php echo sprintf( __( '<strong>Dutch Translation:</strong> <a href="%s" target="_blank">Sander</a>', 'wp-email-capture' ), 'http://www.zanderz.net/' ); ?></li>
238
- <li><?php echo sprintf( __( '<strong>Hungarian Translation:</strong> <a href="%s" target="_blank">Surbma</a>', 'wp-email-capture' ), 'http://surbma.hu/' ); ?></li>
239
- <li><?php echo sprintf( __( '<strong>Spanish Translation:</strong> <a href="%s" target="_blank">David Bravo</a>' , 'wp-email-capture' ), 'http://dimensionmultimedia.com' ); ?></li>
240
- <li><?php echo sprintf( __( '<strong>Italian Translation:</strong> <a href="%s" target="_blank">Giuseppe Marino</a>' , 'wp-email-capture' ), 'http://it.gravatar.com/gpmarino' ); ?></li>
241
- <li><?php echo sprintf( __( '<strong>Serbian Translation:</strong> <a href="%s" target="_blank">Borisa Djuraskovic</a>' , 'wp-email-capture' ), 'http://www.webhostinghub.com/' ); ?></li>
242
- <li><?php echo sprintf( __( '<strong>Croatian Translation:</strong> <a href="%s" target="_blank">Lem Treursić</a>' , 'wp-email-capture' ), 'http://grafika-dizajn.com/' ); ?></li>
243
- </ul>
244
- <h3><?php _e( 'Contribute?', 'wp-email-capture' ); ?></h3>
245
- <h4><?php echo sprintf( __( 'If you want to help, you can contribute a fix or report a bug on our <a href="%s" target="_blank">Github</a>', 'wp-email-capture' ), 'https://github.com/rhyswynne/wp-email-capture' ); ?></h4>
246
- </div>
247
- </div>
248
- <?php
249
-
250
- }
251
-
252
-
253
- /**
254
- * Contents of the WP Email Capture Options Page
255
- *
256
- * @return void
257
- */
258
- function wp_email_capture_free_options() {
259
-
260
- echo '<div class="wrap">
261
- <div style="width:70%;float:left;clear:both;" class="postbox-container">
262
- <div class="metabox-holder"><div class="meta-box-sortables">
263
- <h2>'.__( 'WP Email Capture Options', 'wp-email-capture' ).'</h2>
264
- <h3>'.__( 'Options', 'wp-email-capture' ).'</h3>';
265
-
266
- ?>
267
-
268
- <?php settings_errors(); ?>
269
-
270
- <form method="post" action="options.php">
271
-
272
- <?php wp_nonce_field( 'update-options' ); ?>
273
-
274
- <?php settings_fields( 'wp-email-capture-group' ); ?>
275
-
276
- <table class="form-table">
277
-
278
- <tbody>
279
-
280
- <tr valign="top">
281
-
282
- <th scope="row" style="width:400px"><?php _e( 'Subscription Page URL (full web address ie: http://www.domain.com/this-page/)', 'wp-email-capture' ); ?></th>
283
-
284
- <td><input type="text" name="wp_email_capture_signup" class="regular-text code" value="<?php echo get_option( 'wp_email_capture_signup' ); ?>" /></td>
285
-
286
- </tr>
287
-
288
- <tr valign="top">
289
-
290
- <th scope="row" style="width:400px"><label for="wp_email_capture_redirection"><?php _e( 'Confirmation Page URL (full web address ie: http://www.domain.com/this-other-page/)', 'wp-email-capture' ); ?></label></th>
291
-
292
- <td><input type="text" name="wp_email_capture_redirection" class="regular-text code" value="<?php echo get_option( 'wp_email_capture_redirection' ); ?>" /></td>
293
-
294
- </tr>
295
-
296
- <tr valign="top">
297
-
298
- <th scope="row" style="width:400px"><label for="wp_email_capture_from"><?php _e( 'From Which Email Address', 'wp-email-capture' ); ?></label></th>
299
-
300
- <td><input type="text" name="wp_email_capture_from" class="regular-text code" value="<?php echo get_option( 'wp_email_capture_from' ); ?>" /></td>
301
-
302
- </tr>
303
-
304
- <tr valign="top">
305
-
306
- <th scope="row" style="width:400px"><label for="wp_email_capture_from_name"><?php _e( 'From Which Name', 'wp-email-capture' ); ?></label></th>
307
-
308
- <td><input type="text" name="wp_email_capture_from_name" class="regular-text code" value="<?php echo get_option( 'wp_email_capture_from_name' ); ?>" /></td>
309
-
310
- </tr>
311
-
312
- <tr valign="top">
313
-
314
- <th scope="row" style="width:400px"><?php _e( 'Subject of Email', 'wp-email-capture' ); ?></th>
315
-
316
- <td><input type="text" name="wp_email_capture_subject" class="regular-text code" value="<?php echo get_option( 'wp_email_capture_subject' ); ?>" /></td>
317
-
318
- </tr>
319
-
320
- <tr valign="top">
321
-
322
- <th scope="row" style="width:400px"><label for="wp_email_capture_body"><?php _e( 'Body of Email', 'wp-email-capture' ); ?><br>
323
- <?php _e( '(use %NAME% to use the form\'s &quot;Name&quot; field in their welcome email)', 'wp-email-capture' ); ?></label>
324
- </th>
325
-
326
- <td><textarea name="wp_email_capture_body" style="width: 25em;"><?php echo get_option( 'wp_email_capture_body' ); ?></textarea></td>
327
-
328
- </tr>
329
-
330
- <tr valign="top">
331
-
332
- <th scope="row" style="width:400px"><label><?php _e( 'Link to us (optional, but appreciated)', 'wp-email-capture' ); ?></label></th>
333
-
334
- <td>
335
- <input type="checkbox" name="wp_email_capture_link" value="1" <?php checked( get_option( 'wp_email_capture_link' ), 1 ); ?> id="wp_email_capture_link_checkbox" />
336
- <?php $prechecked = get_option( 'wp_email_capture_link' ) == 1 ? "wp_email_capture_admin_discount_active" : ""; ?>
337
- </td>
338
-
339
- </tr>
340
-
341
- <tr class="wp_email_capture_admin_discount <?php echo $prechecked; ?>">
342
- <td colspan="2">
343
- <?php printf( __( 'Thanks for linking to us! As a thank you, use code <strong>LINK20</strong> to get 20&#37; off <a href="%s">WP Email Capture Premium</a>, or any extension from the <a href="%s">WP Email Capture Shop</a>.', 'wp-email-capture' ), 'https://www.wpemailcapture.com/premium/?utm_source=plugin-options&utm_medium=plugin&utm_term=checkedlink&utm_campaign=wpemailcapture', 'https://www.wpemailcapture.com/downloads/?utm_source=plugin-options&utm_medium=plugin&utm_term=checkedlink&utm_campaign=wpemailcapture' ); ?>
344
- </td>
345
- </tr>
346
-
347
- <tr valign="top">
348
-
349
- <th scope="row" style="width:400px"><label><?php _e( 'Make The "Name" field a required field?', 'wp-email-capture' ); ?></label></th>
350
-
351
-
352
-
353
- <td><input type="checkbox" name="wp_email_capture_name_required" value="1" <?php checked( get_option( 'wp_email_capture_name_required' ), 1 ); ?> /></td>
354
-
355
- </tr>
356
-
357
- <tr valign="top">
358
-
359
- <th scope="row" style="width:400px"><?php _e( 'Delimeter (leave blank for a comma)', 'wp-email-capture' ); ?></th>
360
-
361
- <td><input type="text" name="wp_email_capture_name_delimeter" class="regular-text code" value="<?php echo get_option( 'wp_email_capture_name_delimeter' ); ?>" /></td>
362
-
363
- </tr>
364
-
365
- <tr valign="top">
366
-
367
- <th scope="row" style="width:400px"><?php _e( 'Send HTML email?', 'wp-email-capture' ); ?></th>
368
-
369
- <td><input type="checkbox" name="wp_email_capture_send_email_html" value="1" <?php checked( get_option( 'wp_email_capture_send_email_html' ), 1 ); ?> /></td>
370
-
371
- </tr>
372
-
373
- <tr valign="top">
374
-
375
- <th scope="row" style="width:400px"><?php _e( 'Disable Headers', 'wp-email-capture' ); ?></th>
376
-
377
- <td><input type="checkbox" name="wp_email_capture_disabled_headers" value="1" <?php checked( get_option( 'wp_email_capture_disabled_headers' ), 1 ); ?> /><br/>
378
- <span class="description"><?php _e( 'If you are having problems with sending emails (such as with Amazon SES), disable this','wp-email-capture' ); ?></span></td>
379
-
380
- </tr>
381
-
382
- <tr valign="top">
383
-
384
- <th scope="row" style="width:400px"><?php _e( 'Use Default Styling', 'wp-email-capture' ); ?></th>
385
-
386
- <td><input type="checkbox" name="wp_email_capture_default_styling" value="1" <?php checked( get_option( 'wp_email_capture_default_styling' ), 1 ); ?> /><br/>
387
- <span class="description"><?php _e( 'If you want to have some easy styling on your forms, check this box. Otherwise leave it unchecked if your theme already styles forms','wp-email-capture' ); ?></span></td>
388
-
389
- </tr>
390
-
391
- <?php do_action( 'wp_email_capture_added_free_options' ); ?>
392
-
393
- </tbody>
394
-
395
- </table>
396
-
397
- <h2><?php _e( 'reCAPTCHA Settings', 'wp-email-capture' ); ?></h2>
398
-
399
- <?php _e('We can use <a href="https://www.google.com/recaptcha/about/">reCAPTCHA</a> (v3) for free (<a href="https://www.wpemailcapture.com/downloads/wp-email-capture-akismet-integration/" target="_blank">Akismet is avialable here</a>). Add your keys below.','WPEC'); ?>
400
- <table class="form-table">
401
- <tbody>
402
-
403
- <tr valign="top">
404
-
405
- <th scope="row" style="width:400px"><?php _e( 'reCAPTCHA Site Key', 'wp-email-capture' ); ?></th>
406
-
407
- <td><input type="text" name="wp_email_capture_recaptcha_client_api_key" class="regular-text code" value="<?php echo get_option( 'wp_email_capture_recaptcha_client_api_key' ); ?>" /></td>
408
-
409
- </tr>
410
-
411
- <tr valign="top">
412
-
413
- <th scope="row" style="width:400px"><?php _e( 'reCAPTCHA Secret Key', 'wp-email-capture' ); ?></th>
414
-
415
- <td><input type="text" name="wp_email_capture_recaptcha_server_api_key" class="regular-text code" value="<?php echo get_option( 'wp_email_capture_recaptcha_server_api_key' ); ?>" /></td>
416
-
417
- </tr>
418
- <?php /*
419
- <tr valign="top">
420
-
421
- <th scope="row" style="width:400px"><?php _e( 'reCAPTCHA Type', 'wp-email-capture' ); ?></th>
422
-
423
- <td>
424
- <input type="radio" id="checkbox" name="wp_email_capture_recaptcha_api_type" value="checkbox" <?php checked( get_option( 'wp_email_capture_recaptcha_api_type' ), 'checkbox' ); ?>>
425
- <label for="checkbox">Checkbox</label>
426
- <input type="radio" id="invisible" name="wp_email_capture_recaptcha_api_type" value="invisible" <?php checked( get_option( 'wp_email_capture_recaptcha_api_type' ), 'invisible' ); ?>>
427
- <label for="invisible">Invisible</label>
428
- <input type="radio" id="disable" name="wp_email_capture_recaptcha_api_type" value="disable" <?php checked( get_option( 'wp_email_capture_recaptcha_api_type' ), 'disable' ); ?>>
429
- <label for="disable">Disable</label>
430
- </td>
431
-
432
- </tr> */?>
433
-
434
-
435
-
436
-
437
- </tbody>
438
- </table>
439
-
440
- <h2><?php _e( 'GDPR Settings', 'wp-email-capture' ); ?></h2>
441
-
442
- <table class="form-table">
443
-
444
- <tbody>
445
-
446
- <tr valign="top">
447
-
448
- <th scope="row" style="width:400px"><?php _e( 'Enable GDPR Settings', 'wp-email-capture' ); ?></th>
449
- <td><input type="checkbox" id="wp_email_capture_enable_gdpr" name="wp_email_capture_enable_gdpr" value="1" <?php checked( get_option( 'wp_email_capture_enable_gdpr' ), 1 ); ?> /><br/><span class="description"><?php _e( 'If you wish to enable GDPR settings, please check this box.','wp-email-capture' ); ?></span></td>
450
- </tr>
451
-
452
- </tbody>
453
-
454
- </table>
455
-
456
- <?php
457
-
458
- if ( get_option( 'wp_email_capture_enable_gdpr' ) ) {
459
- $hiddengdpr = '';
460
- } else {
461
- $hiddengdpr = 'style="display:none;"';
462
- }
463
-
464
- ?>
465
- <div class="gdpr-table" <?php echo $hiddengdpr; ?>>
466
- <table class="form-table">
467
-
468
- <tbody>
469
-
470
- <tr valign="top">
471
-
472
- <th scope="row" style="width:400px"><?php _e( 'How long do you want to keep data on your servers?', 'wp-email-capture' ); ?></th>
473
-
474
- <td>
475
- <input type="text" name="wp_email_capture_number_for_privacy" id="wp_email_capture_number_for_privacy" class="regular-text code" value="<?php echo get_option( 'wp_email_capture_number_for_privacy' ); ?>" />
476
-
477
- <select name="wp_email_capture_unit_for_privacy" id="wp_email_capture_unit_for_privacy">
478
- <option value="days" <?php selected( get_option( 'wp_email_capture_unit_for_privacy' ), 'days' ); ?>><?php _e( 'Days', 'wp-email-capture' ); ?></option>
479
- <option value="weeks" <?php selected( get_option( 'wp_email_capture_unit_for_privacy' ), 'weeks' ); ?>><?php _e( 'Weeks', 'wp-email-capture' ); ?></option>
480
- <option value="months" <?php selected( get_option( 'wp_email_capture_unit_for_privacy' ), 'months' ); ?>><?php _e( 'Months', 'wp-email-capture' ); ?></option>
481
- </select>
482
-
483
- <br/><span class="description"><?php _e( 'When visitors submit their email details, the plugin stores users data in the database. You can choose to automatically delete this data after a certain amount of days. Leave blank or "0" to not delete data.','wp-email-capture' ); ?></span>
484
- </td>
485
-
486
- </tr>
487
-
488
- <tr valign="top">
489
-
490
- <th scope="row" style="width:400px"><?php _e( 'Privacy Policy', 'wp-email-capture' ); ?></th>
491
-
492
- <td>
493
-
494
- <?php
495
-
496
- $addedstring = "";
497
-
498
- if ( get_option( 'wp_email_capture_number_for_privacy' ) ) {
499
- $number = get_option( 'wp_email_capture_number_for_privacy' );
500
- $unit = get_option( 'wp_email_capture_unit_for_privacy' );
501
- $addedstring = sprintf( __( 'We hold this data for a maximum of %s %s, at which point it is deleted.', 'wp-email-capture' ), $number, $unit );
502
- }
503
-
504
- ?>
505
-
506
- <p class="notice notice-error save-to-change" style="display:none;"><?php _e( 'Save the page to update the text in the below box.', 'wp-email-capture' ); ?></p>
507
-
508
- <textarea disabled style="min-width:100%;height:200px;" id="copyrightnotice"><?php _e( 'We use a WordPress plugin called WP Email Capture to aid management of our email marketing list. Should you wish to subscribe to our newsletter, we collect the following data.', 'wp-email-capture'); ?>
509
-
510
- <?php _e( 'Your Name (or what you chose to address yourself as). This is used for simple personalisation purposes.', 'wp-email-capture'); ?>
511
-
512
- <?php _e( 'Your Email Address. This is used to contact you and include you in our newsletter.', 'wp-email-capture'); ?>
513
-
514
- <?php _e( 'The date of signup. This is so we can reference when to delete your data at a later date.', 'wp-email-capture'); ?>
515
- <?php
516
-
517
- if ( $addedstring && $number && $unit ) {
518
- echo $addedstring;
519
- }
520
-
521
- ?>
522
-
523
- </textarea>
524
-
525
- <button class="button-secondary" id="copytext" type="button"><?php _e( 'Copy Privacy Policy text to clipboard', 'wp-email-capture' ); ?></button>
526
- <br/><span class="description"><?php _e( 'Copy and paste this text to your Privacy Policy, as this details how WP Email Capture handles data. We try and add this to your Privacy Policy automatically, but if we are unable to do so, we add it here.','wp-email-capture' ); ?></span>
527
- </td>
528
-
529
- </tr>
530
-
531
- </tbody>
532
-
533
- </table>
534
- </div>
535
-
536
- <input type="hidden" name="action" value="update" />
537
- <input type="hidden" name="page_options" value="wp_email_capture_redirection,wp_email_capture_from,wp_email_capture_subject,wp_email_capture_signup,wp_email_capture_body,wp_email_capture_from_name,wp_email_capture_link,wp_email_capture_name_required,wp_email_capture_name_delimeter,wp_email_capture_send_email_html,wp_email_capture_disabled_headers,wp_email_capture_enable_gdpr,wp_email_capture_number_of_privacy,wp_email_capture_number_of_privacy" />
538
-
539
- <p class="submit">
540
-
541
- <input type="submit" class="button-primary" value="<?php _e( 'Save Changes', 'wp-email-capture' ) ?>" />
542
-
543
- </p>
544
-
545
- </form>
546
-
547
-
548
-
549
- <?php
550
-
551
- wp_email_capture_writetable();
552
-
553
- echo '<a name="list"></a><h3>'.__( 'Export', 'wp-email-capture' ).'</h3>
554
- <form name="wp_email_capture_export" action="'. esc_url( $_SERVER['REQUEST_URI'] ) . '#list" method="post">
555
-
556
- <label>'.__( 'Use the button below to export your list as a CSV to use in software such as <a href="https://www.wpemailcapture.com/recommends/aweber" title="Email Marketing">Aweber</a> or <a href="https://www.wpemailcapture.com/recommends/constant-contact/">Constant Contact</a>', 'wp-email-capture' ).'</label>
557
- <input type="hidden" name="wp_email_capture_export" />
558
- <div class="submit">
559
- <input type="submit" value="'.__( 'Export List', 'wp-email-capture' ).'" class="button" />
560
- </div>
561
-
562
- </form>';
563
-
564
- $tempemails = wp_email_capture_count_temp();
565
- $lastsignupdatestring = wp_email_capture_get_last_singup_date();
566
-
567
- if ( $lastsignupdatestring ) {
568
- $lastsignupdate = date( "jS F, Y g:ia", strtotime( $lastsignupdatestring ) );
569
- $lastsignupdatesentance = __( ' The last attempted signup was on ' . $lastsignupdate . '.', 'wp-email-capture' );
570
- } else {
571
- $lastsignupdatesentance = "";
572
- }
573
-
574
- echo "<a name='truncate'></a><h3>".__( 'Temporary e-mails', 'wp-email-capture' )."</h3>\n";
575
-
576
- echo '<form name="wp_email_capture_truncate" action="'. esc_url( $_SERVER['REQUEST_URI'] ) . '#truncate" method="post">';
577
-
578
- echo '<label>'.__( 'There are', 'wp-email-capture' ).' '. $tempemails .__( ' e-mail addresses that have been unconfirmed.' . $lastsignupdatesentance . ' Delete them to save space below.', 'wp-email-capture' ).'</label>';
579
-
580
- echo '<input type="hidden" name="wp_email_capture_truncate"/>';
581
-
582
- echo '<div class="submit"><input type="submit" value="'.__( 'Delete Unconfirmed e-mail Addresses', 'wp-email-capture' ).'" class="button" /></div>';
583
-
584
- echo "</form>";
585
-
586
- echo "<a name='emptyallemails'></a><h3>".__( 'Delete Current List', 'wp-email-capture' )."</h3>\n";
587
-
588
- echo '<form name="wp_email_capture_delete" action="'. esc_url( $_SERVER['REQUEST_URI'] ) . '#delete" method="post">';
589
-
590
- echo '<label>'.__( 'Want to delete the entire list? Click the link below. <strong>WARNING: </strong> this will delete all confirmed emails, so make sure you have a backup.', 'wp-email-capture' ).'</label>';
591
-
592
- echo '<input type="hidden" name="wp_email_capture_delete"/>';
593
-
594
- echo '<div class="submit"><input type="submit" value="'.__( 'Delete Confirmed e-mail Addresses', 'wp-email-capture' ).'" class="button" /></div>';
595
-
596
- echo "</form>";
597
-
598
- echo '</div></div></div>';
599
-
600
- wp_email_capture_admin_sidebar( "getwpemailcapturepremiumdescription,affiliates,news,supportus" );
601
-
602
- echo '</div>';
603
- ?>
604
-
605
-
606
- <?php
607
- }
608
-
609
-
610
- /**
611
- * Save the options from the WP Email Capture Options Page.
612
- *
613
- * @return void
614
- */
615
- function wp_email_capture_options_process() { // whitelist options
616
-
617
- register_setting( 'wp-email-capture-group', 'wp_email_capture_signup' );
618
- register_setting( 'wp-email-capture-group', 'wp_email_capture_redirection' );
619
- register_setting( 'wp-email-capture-group', 'wp_email_capture_from' );
620
- register_setting( 'wp-email-capture-group', 'wp_email_capture_subject' );
621
- register_setting( 'wp-email-capture-group', 'wp_email_capture_body' );
622
- register_setting( 'wp-email-capture-group', 'wp_email_capture_link' );
623
- register_setting( 'wp-email-capture-group', 'wp_email_capture_from_name' );
624
- register_setting( 'wp-email-capture-group', 'wp_email_capture_name_required' );
625
- register_setting( 'wp-email-capture-group', 'wp_email_capture_name_delimeter' );
626
- register_setting( 'wp-email-capture-group', 'wp_email_capture_send_email_html' );
627
- register_setting( 'wp-email-capture-group', 'wp_email_capture_disabled_headers' );
628
- register_setting( 'wp-email-capture-group', 'wp_email_capture_default_styling' );
629
- register_setting( 'wp-email-capture-group', 'wp_email_capture_enable_gdpr' );
630
- register_setting( 'wp-email-capture-group', 'wp_email_capture_recaptcha_client_api_key' );
631
- register_setting( 'wp-email-capture-group', 'wp_email_capture_recaptcha_server_api_key' );
632
- register_setting( 'wp-email-capture-group', 'wp_email_capture_recaptcha_api_type' );
633
- register_setting( 'wp-email-capture-group', 'wp_email_capture_unit_for_privacy' );
634
- register_setting( 'wp-email-capture-group', 'wp_email_capture_number_for_privacy', 'wp_email_capture_check_number_is_a_number' );
635
-
636
- if ( isset( $_REQUEST['wp_email_capture_export'] ) ) {
637
-
638
- wp_email_capture_export();
639
-
640
- }
641
-
642
- if ( isset( $_REQUEST['wp_email_capture_deleteid'] ) ) {
643
- $wpemaildeleteid = esc_attr( $_POST['wp_email_capture_deleteid'] );
644
- wp_email_capture_deleteid( $wpemaildeleteid );
645
- }
646
-
647
-
648
- if ( isset( $_REQUEST['wp_email_capture_truncate'] ) ) {
649
-
650
- wp_email_capture_truncate();
651
-
652
- }
653
-
654
- if ( isset( $_REQUEST['wp_email_capture_delete'] ) ) {
655
-
656
- wp_email_capture_delete();
657
-
658
- }
659
-
660
- /**
661
- * Action to hook into to register any other options.
662
- */
663
- do_action( 'wp_email_capture_added_option_process' );
664
-
665
- }
666
-
667
-
668
- /**
669
- * Box to upsell WP Email Capture Premium
670
- *
671
- * @return void
672
- */
673
- function wp_email_capture_premium_upsell() {
674
- ?>
675
- <h3><?php _e( 'Upgrade To WP Email Capture Premium', 'wp-email-capture' ); ?></h3>
676
- <p><?php _e( 'Thanks for using the free version of WP Email Capture. We\'re incredibly greatful in you using it. Should you wish to upgrade to WP Email Capture Premium, you get a bunch of new features.', 'wp-email-capture' ); ?></p>
677
- <ul>
678
- <li><?php _e( '<strong>Stat tracking</strong> - track the visitors to your site and where your sign ups come from.', 'wp-email-capture' ); ?></li>
679
- <li><?php _e( '<strong>Autoresponders</strong> - Create an autoresponder email, an email sent to the user when they sign up to your site.', 'wp-email-capture' ); ?></li>
680
- <li><?php _e( '<strong>Multiple lists</strong> - Create multiple lists for your site.', 'wp-email-capture' ); ?></li>
681
- <li><?php _e( '<strong>Build External Lists</strong> - If you have a Mailchimp or Aweber account, you can use WP Email Capture to build to these services directly.', 'wp-email-capture' ); ?></li>
682
- <li><?php _e( '<strong>Custom Fields</strong> - You can capture more than just visitors name & email, add your own custom fields to capture (such as phone number or Address).', 'wp-email-capture' ); ?></li>
683
- </ul>
684
- <p><?php _e( 'You also get premium support for a whole year!', 'wp-email-capture' ); ?></p>
685
- <a href="https://www.wpemailcapture.com/premium/?utm_source=plugin-dashboard&utm_medium=plugin&utm_campaign=wpemailcapture" target="_blank"><button><?php _e( 'Click here to buy', 'wp-email-capture' ); ?></button></a>
686
- <?php
687
- } add_action( 'wp_email_capture_dashboard_premium_upsell', 'wp_email_capture_premium_upsell' );
688
-
689
-
690
- /**
691
- * Check if a number is numeric. If so, save. if not, display an error.
692
- *
693
- * @param string $input Input we are validating to make sure that it is a number.
694
- * @return mixed Validated number if true, false if not.
695
- */
696
- function wp_email_capture_check_number_is_a_number( $input ) {
697
-
698
- $message = null;
699
- $type = null;
700
-
701
- if ( !is_numeric( $input ) && "" !== $input ) {
702
-
703
- $message = __( 'Please make sure that the "How long do you want to keep data on your servers?" option is a number.', 'wp-email-capture' );
704
- $type = 'error';
705
-
706
- }
707
-
708
- if ( $message && 'error' == $type ) {
709
- add_settings_error( 'wp_email_capture_numeric', 'wp_email_capture_numeric', $message, $type );
710
- return "";
711
- }
712
-
713
- return $input;
714
-
715
- }
716
-
717
-
718
- /**
719
- * Building the array for the changelog.
720
- *
721
- * Keeping out of the way for ease of use.
722
- *
723
- * @return array An array of changes.
724
- */
725
- function wp_email_capture_get_changelog_array() {
726
-
727
- $changelog = array();
728
-
729
- $changelog[] = array(
730
- 'version' => __( '3.9', 'wp-email-capture' ),
731
- 'list' => array(
732
- __( 'Added Google reCAPTCHA v3 integration', 'wp-email-capture' ),
733
- __( 'Tested to 5.6', 'wp-email-capture' ),
734
- ),
735
- );
736
-
737
- $changelog[] = array(
738
- 'version' => __( '3.8.2', 'wp-email-capture' ),
739
- 'list' => array(
740
- __( 'Tested to 5.5.', 'wp-email-capture' ),
741
- ),
742
- );
743
-
744
- $changelog[] = array(
745
- 'version' => __( '3.8.1', 'wp-email-capture' ),
746
- 'list' => array(
747
- __( 'Version with all the missing files from 3.8!', 'wp-email-capture' ),
748
- ),
749
- );
750
-
751
- $changelog[] = array(
752
- 'version' => __( '3.8', 'wp-email-capture' ),
753
- 'list' => array(
754
- __( 'Added a new button to the classic editor allowing you to place the form anywhere.', 'wp-email-capture' ),
755
- ),
756
- );
757
-
758
- $changelog[] = array(
759
- 'version' => __( '3.7.3', 'wp-email-capture' ),
760
- 'list' => array(
761
- __( 'Fixed a small bug in the site.', 'wp-email-capture' ),
762
- ),
763
- );
764
-
765
- $changelog[] = array(
766
- 'version' => __( '3.7.2', 'wp-email-capture' ),
767
- 'list' => array(
768
- __( 'Tested to 5.3.', 'wp-email-capture' ),
769
- ),
770
- );
771
-
772
- $changelog[] = array(
773
- 'version' => __( '3.7.1', 'wp-email-capture' ),
774
- 'list' => array(
775
- __( 'Corrected the “Requires at Least” as it was showing as being incompatible in the plugin store (when it is).', 'wp-email-capture' ),
776
- ),
777
- );
778
-
779
- $changelog[] = array(
780
- 'version' => __( '3.7', 'wp-email-capture' ),
781
- 'list' => array(
782
- __( 'Added filter - `wp_email_capture_change_user_present_error_url`, needed for an additional plugin - WP Email Capture: Redirect If Present.', 'wp-email-capture' ),
783
- __( 'Tested with WordPress 5.2', 'wp-email-capture' ),
784
- __( 'Fixed a few CSS changes on the option pages.', 'wp-email-capture' ),
785
- ),
786
- );
787
-
788
- $changelog[] = array(
789
- 'version' => __( '3.6.6', 'wp-email-capture' ),
790
- 'list' => array(
791
- __( 'Tested up to 5.1', 'wp-email-capture' ),
792
- ),
793
- );
794
-
795
- $changelog[] = array(
796
- 'version' => __( '3.6.5', 'wp-email-capture' ),
797
- 'list' => array(
798
- __( 'Tested with Constant Contact so reflected help screens to mention that.', 'wp-email-capture' ),
799
- ),
800
- );
801
-
802
- $changelog[] = array(
803
- 'version' => __( '3.6.4', 'wp-email-capture' ),
804
- 'list' => array(
805
- __( 'Clarified further a couple of options that people were having problems with.', 'wp-email-capture' ),
806
- ),
807
- );
808
-
809
- $changelog[] = array(
810
- 'version' => __( '3.6.3', 'wp-email-capture' ),
811
- 'list' => array(
812
- __( 'Some files didn\'t manage to upload. I\'ve now pushed them live.', 'wp-email-capture' ),
813
- ),
814
- );
815
-
816
- $changelog[] = array(
817
- 'version' => __( '3.6.2', 'wp-email-capture' ),
818
- 'list' => array(
819
- __( 'Fixed a bug in Gutenberg.', 'wp-email-capture' ),
820
- __( 'Checking for "register_block_type" rather than "the_gutenberg_project" in prep for 5.0', 'wp-email-capture' ),
821
- ),
822
- );
823
-
824
- $changelog[] = array(
825
- 'version' => __( '3.6.1', 'wp-email-capture' ),
826
- 'list' => array(
827
- __( 'Added Gutenberg information to the help section.', 'wp-email-capture' ),
828
- __( 'Removed a spelling mistake in one of the URL\'s on the setup form.', 'wp-email-capture' ),
829
- ),
830
- );
831
-
832
- $changelog[] = array(
833
- 'version' => __( '3.6', 'wp-email-capture' ),
834
- 'list' => array(
835
- __( 'Fix Gutenberg compatability bug. If you use Gutenberg, you may have to recreate your blocks, hence the version major bump. Otherwise you should be fine.', 'wp-email-capture' ),
836
- ),
837
- );
838
-
839
-
840
- $changelog[] = array(
841
- 'version' => __( '3.5.4', 'wp-email-capture' ),
842
- 'list' => array(
843
- __( 'Added a note should a version of MySQL earlier than 5.6 is shared.', 'wp-email-capture' ),
844
- ),
845
- );
846
-
847
- $changelog[] = array(
848
- 'version' => __( '3.5.3', 'wp-email-capture' ),
849
- 'list' => array(
850
- __( 'Fixed a bug that saving with GDPR switched off resulted in a display error (even though it was saved correctly).', 'wp-email-capture' ),
851
- ),
852
- );
853
-
854
- $changelog[] = array(
855
- 'version' => __( '3.5.2', 'wp-email-capture' ),
856
- 'list' => array(
857
- __( 'A few cosmetic changes to the help pages. Could use more work but is a bit neater for now.', 'wp-email-capture' ),
858
- ),
859
- );
860
-
861
- $changelog[] = array(
862
- 'version' => __( '3.5.1', 'wp-email-capture' ),
863
- 'list' => array(
864
- __( 'Fixed a bug that made the widget for WP Email Capture work.', 'wp-email-capture' ),
865
- ),
866
- );
867
-
868
- $changelog[] = array(
869
- 'version' => __( '3.5', 'wp-email-capture' ),
870
- 'intro' => __( 'This version was released to try and make WP Email Capture more compatible with the GDPR legislation.', 'wp-email-capture' ),
871
- 'list' => array(
872
- __( 'Integration with WordPress GDPR checker.', 'wp-email-capture' ),
873
- __( 'You can have a checkbox on your forms, explicitly giving consent to users to sign up to your newsletter.', 'wp-email-capture' ),
874
- __( 'You can delete data after a period of time on the site.', 'wp-email-capture' ),
875
- __( 'You can search the database, allowing you to see and delete what data you have for people', 'wp-email-capture' ),
876
- __( 'Improved the changelog routine, allowing it to be updated more frequently.', 'wp-email-capture' ),
877
- ),
878
- );
879
-
880
- $changelog[] = array(
881
- 'version' => __( '3.4.2', 'wp-email-capture' ),
882
- 'list' => array(
883
- __( 'Introduced "wp_email_capture_is_premium" function, to make further development easier.', 'wp-email-capture' ),
884
- __( 'Fixed a bug from Gutenberg 3.4 that called a undefined variable (blocks.source.children & blocks.source.attr).', 'wp-email-capture' ),
885
- __( 'Switched from wp.blocks.InspectorControls.TextControl to wp.components.TextControl.', 'wp-email-capture' ),
886
- ),
887
- );
888
-
889
- $changelog[] = array(
890
- 'version' => __( '3.4.1', 'wp-email-capture' ),
891
- 'list' => array(
892
- __( 'Fixes a fatal error', 'wp-email-capture' ),
893
- ),
894
- );
895
-
896
- $changelog[] = array(
897
- 'version' => __( '3.4', 'wp-email-capture' ),
898
- 'intro' => __( 'This version introduced compatability with Gutenberg.', 'wp-email-capture' ),
899
- 'list' => array(
900
- __( 'Added Default Styles should you wish to activate them.', 'wp-email-capture' ),
901
- __( 'Gutenberg Compatibility!', 'wp-email-capture' ),
902
- ),
903
- );
904
-
905
- $changelog[] = array(
906
- 'version' => __( '3.3.4', 'wp-email-capture' ),
907
- 'list' => array(
908
- __( 'Fix a few dead links in the plugin', 'wp-email-capture' ),
909
- ),
910
- );
911
-
912
- $changelog[] = array(
913
- 'version' => __( '3.3.3', 'wp-email-capture' ),
914
- 'list' => array(
915
- __( 'Fix bug in header on export (props Ov3rfly).', 'wp-email-capture' ),
916
- __( 'Tested in 4.9', 'wp-email-capture' ),
917
- ),
918
- );
919
-
920
- $changelog[] = array(
921
- 'version' => __( '3.3.2', 'wp-email-capture' ),
922
- 'list' => array(
923
- __( 'Make it compatible with 4.8', 'wp-email-capture' ),
924
- __( 'Make the "Buy Link" in WP Email Capture include a coupon', 'wp-email-capture' ),
925
- __( 'Include links to compatible services on the Plugin Dashboard', 'wp-email-capture' ),
926
- ),
927
- );
928
-
929
- $changelog[] = array(
930
- 'version' => __( '3.3.1', 'wp-email-capture' ),
931
- 'list' => array(
932
- __( 'Fixes a conflict with other plugins that send HTML emails.', 'wp-email-capture' ),
933
- ),
934
- );
935
-
936
- $changelog[] = array(
937
- 'version' => __( '3.3', 'wp-email-capture' ),
938
- 'intro' => __( 'This version introduced the ability to have HTML emails in WP Email Capture', 'wp-email-capture' ),
939
- 'list' => array(
940
- __( 'Introduced the ability to have "HTML" enabled lists.', 'wp-email-capture' ),
941
- __( 'Introduced the ability to send emails without headers. Useful for Amazon SES.', 'wp-email-capture' ),
942
- __( 'Added a charset on export of CSV. (Props Ov3rfly)', 'wp-email-capture' ),
943
- ),
944
- );
945
-
946
- $changelog[] = array(
947
- 'version' => __( '3.2', 'wp-email-capture' ),
948
- 'list' => array(
949
- sprintf( __( 'Correction in the German translation (props <a href="%s" target="_blank">Lars Kasper</a>)', 'wp-email-capture' ), 'http://larskasper.de/' ),
950
- __( 'Added a wp_email_capture_extra_checks action, that will allow people to run checks on the name/email address.', 'wp-email-capture' ),
951
- __( 'Removed some legacy code that was commented out.', 'wp-email-capture' ),
952
- __( 'Fix an encoding issue for new installs, now the tables match the database\'s encoding.', 'wp-email-capture' ),
953
- __( 'Fixed a bug for new installs that had a "The plugin generated XXX characters of unexpected output during activation.".', 'wp-email-capture' ),
954
- ),
955
- );
956
-
957
- $changelog[] = array(
958
- 'version' => __( '3.1.4', 'wp-email-capture' ),
959
- 'list' => array(
960
- __( 'Fixed a bug that caused an "Unexpected Output" on some database setups.', 'wp-email-capture' ),
961
- __( 'Used UNIQUE KEY rather than PRIMARY KEY, so activation and deactivation doesn\'t cause database errors.', 'wp-email-capture' ),
962
- ),
963
- );
964
-
965
- $changelog[] = array(
966
- 'version' => __( '3.1.3', 'wp-email-capture' ),
967
- 'list' => array(
968
- __( 'Added wp_email_capture_complete_before_redirect action. Allowing data to be manipulated before the redirect.', 'wp-email-capture' ),
969
- __( 'Added Extensions area of dashboard.', 'wp-email-capture' ),
970
- ),
971
- );
972
-
973
- $changelog[] = array(
974
- 'version' => __( '3.1.2', 'wp-email-capture' ),
975
- 'list' => array(
976
- __( 'Reward linkers with a voucher code.', 'wp-email-capture' ),
977
- __( 'Included the "Last Temporary Signup" date, so they get know the last attempted signup.', 'wp-email-capture' ),
978
- __( 'Tested up to 4.5.', 'wp-email-capture' ),
979
- ),
980
- );
981
-
982
- $changelog[] = array(
983
- 'version' => __( '3.1.1', 'wp-email-capture' ),
984
- 'list' => array(
985
- __( 'Removed a redundant file that, if hacked in, could lead to an injection of content. This file was *not* called normally but in order to remove it upgrade to this version. <strong>Update strongly required</strong>', 'wp-email-capture' ),
986
- __( 'Fixed a bug which saw a notice appear of a missing option on the upgrade and dashboard page.', 'wp-email-capture' ),
987
- __( 'Removed a double header in Dashboard widget (props Ove3rfly).', 'wp-email-capture' ),
988
- __( 'Correct textdomain used in some files (props Ov3rfly).', 'wp-email-capture' ),
989
- __( 'Removed all PHP closing tags through the site (props Ov3rfly).', 'wp-email-capture' ),
990
- ),
991
- );
992
-
993
- $changelog[] = array(
994
- 'version' => __( '3.1', 'wp-email-capture' ),
995
- 'list' => array(
996
- sprintf( __( 'Removed the default widget title should widget text be blank (props <a href="%s" target="_blank">Hassan Raza</a>)', 'wp-email-capture' ), 'http://hassan-raza.com/' ),
997
- __( 'Changed word from "Update" to "Upgrade" for large lists as it was confusing people.', 'wp-email-capture' ),
998
- __( 'Changed to new Text Domain as per WordPress new internationalisation integration (wp-email-capture).', 'wp-email-capture' ),
999
- ),
1000
- );
1001
-
1002
- $changelog[] = array(
1003
- 'version' => __( '3.0', 'wp-email-capture' ),
1004
- 'title' => __( 'Code Factorisation', 'wp-email-capture' ),
1005
- 'intro' => __( 'Version 3.0 introduces a completely rewritten back end, making it faster for the average user, and allowing extensions to be added to the plugin.', 'wp-email-capture' ),
1006
- );
1007
-
1008
- return $changelog;
1009
-
1010
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/inc/process.php DELETED
@@ -1,392 +0,0 @@
1
- <?php
2
-
3
-
4
- /**
5
- * Wrapper function after the user submits an email address.
6
- *
7
- * Runs two actions, that can be overwritten if need be.
8
- *
9
- * @return void
10
- */
11
- function wp_email_capture_process() {
12
-
13
- do_action( 'wp_email_capture_set_wp_email_capture_email_settings' );
14
-
15
- if ( isset( $_REQUEST['wp_capture_action'] ) ) {
16
-
17
- do_action( 'wp_email_capture_signup_actions' );
18
-
19
- }
20
-
21
- if ( isset( $_GET['wp_email_confirm'] ) || isset( $_REQUEST['wp_email_confirm'] ) ) {
22
-
23
- do_action( 'wp_email_capture_confirm_actions' );
24
-
25
- //wp_capture_email_confirm();
26
- }
27
-
28
- do_action( 'wp_email_capture_set_normal_email_settings' );
29
-
30
- }
31
-
32
-
33
- /*
34
- function wp_email_capture_double_check_everything($name, $email) {
35
-
36
- if (wp_email_injection_chars($name) || wp_email_injection_chars($email) || wp_email_injection_chars($name) || wp_email_injection_chars($email))
37
-
38
- {
39
-
40
- return FALSE;
41
-
42
- } else {
43
-
44
- return TRUE;
45
- }
46
-
47
- } */
48
-
49
-
50
- /**
51
- * Get the email submission form entry, validates it, adds it to the tempoaray database,
52
- * and redirects user to the "Please check your email" page.
53
- *
54
- * @return void
55
- */
56
- function wp_email_capture_signup() {
57
-
58
- global $wpdb;
59
-
60
- // Random confirmation code
61
-
62
- $confirm_code=md5( uniqid( rand() ) );
63
-
64
- $name = esc_attr( $_REQUEST['wp-email-capture-name'] );
65
- $starturl = esc_url( $_SERVER['HTTP_REFERER'] );
66
-
67
- if ( strpos( $starturl, "?" ) === false ) { $extrastring = "?"; } else { $extrastring = "&"; }
68
-
69
- if ( get_option( "wp_email_capture_name_required" ) == 1 && $name == "" ) {
70
-
71
- $error = urlencode( __( 'Please Provide A Name', 'wp-email-capture' ) );
72
- $url = $starturl . $extrastring . "wp_email_capture_error=" . $error;
73
- wp_redirect( $url );
74
- die();
75
-
76
- }
77
-
78
- $email = trim( esc_attr( $_REQUEST['wp-email-capture-email'] ) );
79
-
80
- if ( !is_email( $email ) ) {
81
-
82
- $error = urlencode( __( 'Not a valid email', 'wp-email-capture' ) );
83
- $url = $starturl . $extrastring . "wp_email_capture_error=" . $error;
84
-
85
- wp_redirect( $url );
86
-
87
- die();
88
-
89
- }
90
-
91
- $name = esc_attr( $name );
92
- $email = esc_attr( $email );
93
-
94
- $name = wp_email_injection_test( $name );
95
- $email = wp_email_injection_test( $email );
96
-
97
- $name = wp_email_stripslashes( $name );
98
- $email = wp_email_stripslashes( $email );
99
-
100
- do_action( 'wp_email_capture_extra_checks', $name, $email );
101
-
102
- $referrer = esc_url( $_SERVER['HTTP_REFERER'] );
103
- $ip = esc_attr( $_SERVER['REMOTE_ADDR'] );
104
- $date = date( "Y-m-d H-i" );
105
-
106
-
107
- if ( wp_email_capture_checkIfPresent( $email ) ) {
108
-
109
- $error = urlencode( __( 'User already present', 'wp-email-capture' ) );
110
- $url = $starturl . $extrastring . "wp_email_capture_error=" . $error;
111
-
112
- $url = apply_filters( 'wp_email_capture_change_user_present_error_url', $url );
113
-
114
- wp_redirect( $url );
115
-
116
- die();
117
-
118
- }
119
-
120
- $member_data = array( 'confirm_code' => $confirm_code, 'name' => $name, 'email' => $email, 'date' => $date );
121
-
122
- /**
123
- * Filter whether we handle a new subscription.
124
- *
125
- * This allows other plugins to do subscriptions if desired.
126
- *
127
- * @param bool True for WP Email Capture subscription handling.
128
- * @param array {
129
- * @type string $confirm_code
130
- * @type string $name
131
- * @type string $email
132
- * }
133
- */
134
- $do_subscription = apply_filters( 'wp_email_capture_do_subscription', true, $member_data );
135
-
136
- if ( !$do_subscription )
137
- return;
138
-
139
- // Insert data into database
140
- $insert_into_temp=$wpdb->insert( WP_EMAIL_CAPTURE_TEMP_MEMBERS_TABLE, $member_data, array( '%s', '%s', '%s', '%s' ) );
141
-
142
- // if suceesfully inserted data into database, send confirmation link to email
143
-
144
- if ( $insert_into_temp ) {
145
-
146
- // ---------------- SEND MAIL FORM ----------------
147
-
148
- // send e-mail to ...
149
-
150
- $to = $email;
151
- $message = "";
152
- $siteurl = get_option( 'home' );
153
- $siteurl = trailingslashit( $siteurl );
154
-
155
- // Your subject
156
- $subject = "";
157
- $subject = get_option( 'wp_email_capture_subject' );
158
-
159
- if ( $subject == "" ) {
160
- $subject = __( "Sign Up For Our Newsletter", "wp-email-capture" );
161
- }
162
-
163
- // From
164
- $from = "";
165
- $from = get_option( 'wp_email_capture_from' );
166
-
167
- if ( $from == "" ) {
168
- $from = get_option( 'admin_email' );
169
- }
170
-
171
- $fromname = "";
172
- $fromname = get_option( 'wp_email_capture_from_name' );
173
-
174
- if ( $from == "" ) {
175
- $fromname = get_option( 'blogname' );
176
- }
177
-
178
- $contenttype = ( 1 == get_option( 'wp_email_capture_send_email_html' ) ) ? "text/html" : "text/plain";
179
-
180
- $header = "MIME-Version: 1.0\n" . "From: " . $fromname . " <" . $from . ">\n";
181
- $header .= "Content-Type: ". $contenttype . "; charset=\"" . get_option( 'blog_charset' ) . "\"\n";
182
-
183
- // Your message
184
- $splitstring = ( 1 == get_option( 'wp_email_capture_send_email_html' ) ) ? "<br/>" : "\n";
185
- $htmlurl = ( 1 == get_option( 'wp_email_capture_send_email_html' ) ) ? '<p><a href="' . $siteurl .'?wp_email_confirm=1&wp_email_capture_passkey=' . $confirm_code . '">Click Here to Subscribe!</a><br/></p>' : $siteurl ."?wp_email_confirm=1&wp_email_capture_passkey=" . $confirm_code;
186
-
187
- $message.= get_option( 'wp_email_capture_body' ) . $splitstring . $splitstring;
188
-
189
- if ( $message == $splitstring . $splitstring ) {
190
- $message .= __( "Thank you for signing up for our newsletter, please click the link below to confirm your subscription", "wp-email-capture" ) . "\n\n";
191
- }
192
-
193
- $message .= $htmlurl;
194
- $message .= $splitstring . "----" . $splitstring;
195
- $message .= __( "This is an automated message that is generated because somebody with the IP address of", 'wp-email-capture' )." " . $ip ." ".__( '(possibly you) on', 'wp-email-capture' )." ". $date ." ".__( 'filled out the form on the following page', 'wp-email-capture' )." " . $referrer . $splitstring;
196
- $message .= __( "If you are sure this isn't you, please ignore this message, you will not be sent another message.", 'wp-email-capture' );
197
- $message = str_replace( "%NAME%", $name, $message );
198
-
199
- // send email
200
-
201
- $sentmail = apply_filters( 'wp_email_capture_send_email', $to, $subject, $message, $header );
202
-
203
- //wp_die( $header );
204
- // if your email succesfully sent
205
-
206
- if ( $sentmail ) {
207
- $halfreg = "";
208
- $halfreg = get_option( 'wp_email_capture_signup' );
209
- if ( $halfreg == "" ) {
210
- $halfreg = get_bloginfo( 'url' );
211
- }
212
- wp_redirect( $halfreg );
213
-
214
- die();
215
-
216
- } else {
217
-
218
- $error = urlencode( __( 'Email unable to be sent', 'wp-email-capture' ) );
219
- $url = $starturl . $extrastring . "wp_email_capture_error=" . $error;
220
-
221
- wp_redirect( $url );
222
-
223
- die();
224
-
225
- }
226
-
227
- }
228
-
229
-
230
-
231
- }
232
-
233
-
234
-
235
- // if not found
236
-
237
- /* else {
238
-
239
- echo __( "Not found your email in our database", 'wp-email-capture' );
240
-
241
- }
242
-
243
-
244
-
245
-
246
-
247
- } */
248
-
249
-
250
- /**
251
- * Confirm the email address has been validated by the user and register the user, allowing the site owner to
252
- * see/export their email address. Redirects user to final destination page.
253
- *
254
- * @return void
255
- */
256
- function wp_capture_email_confirm() {
257
-
258
- global $wpdb;
259
-
260
- // Passkey that got from link
261
-
262
- $passkey = esc_attr( $_GET['wp_email_capture_passkey'] );
263
-
264
- $get_confirmation_code = "SELECT id FROM ". WP_EMAIL_CAPTURE_TEMP_MEMBERS_TABLE ." WHERE confirm_code ='%s'";
265
-
266
- $confirmation_code = $wpdb->get_var( $wpdb->prepare( $get_confirmation_code, $passkey ) );
267
-
268
- if ( $confirmation_code != '' ) {
269
-
270
- $get_confirmation_row = "SELECT * FROM ". WP_EMAIL_CAPTURE_TEMP_MEMBERS_TABLE ." WHERE confirm_code ='%s'";
271
-
272
- $confirmation_row = $wpdb->get_row( $wpdb->prepare( $get_confirmation_row, $passkey ) );
273
-
274
- /* foreach ( $confirmation_rows as $confirmation_row ) { */
275
-
276
- $name = $confirmation_row->name;
277
-
278
- $email = $confirmation_row->email;
279
-
280
- $add_to_registered_members_table = $wpdb->insert( WP_EMAIL_CAPTURE_REGISTERED_MEMBERS_TABLE, array( 'name' => $name, 'email' => $email ), array( '%s', '%s' ) );
281
-
282
- // if successfully moved data from table"temp_members_db" to table "registered_members" displays message "Your account has been activated" and don't forget to delete confirmation code from table "temp_members_db"
283
-
284
- $delete_from_temp_members_sql = "DELETE FROM ". WP_EMAIL_CAPTURE_TEMP_MEMBERS_TABLE . " WHERE confirm_code = '%s'";
285
-
286
- $delete_from_temp_members = $wpdb->query( $wpdb->prepare( $delete_from_temp_members_sql, $passkey ) );
287
-
288
- $fullreg = "";
289
- $fullreg = get_option( 'wp_email_capture_redirection' );
290
-
291
- if ( $fullreg == "" ) {
292
- $fullreg = get_bloginfo( 'url' );
293
- }
294
-
295
- $emaildataarray = array(
296
- 'name' => $name,
297
- 'email' => $email
298
- );
299
-
300
- do_action( 'wp_email_capture_complete_before_redirect', $emaildataarray );
301
-
302
- wp_redirect( $fullreg );
303
- echo "<meta http-equiv='refresh' content='0;". $fullreg ."'>";
304
- die();
305
-
306
- /* } */
307
-
308
- } else {
309
-
310
- if ( strpos( $url, "?" ) === false ) { $extrastring = "?"; } else { $extrastring = "&"; }
311
-
312
- $error = urlencode( __( 'Wrong confirmation code', 'wp-email-capture' ) );
313
- $url = $url . $extrastring . "wp_email_capture_error=" . $error;
314
-
315
- wp_redirect( $url );
316
- die();
317
-
318
- }
319
- }
320
-
321
-
322
-
323
- /**
324
- * Default function to send emails. Can be overwritten using filters.
325
- * @param string $to where the email is going
326
- * @param string $subject the email subject
327
- * @param string $message the message of the email
328
- * @param string $header the header of the email
329
- * @return boolean whether the email was successful in sending.
330
- */
331
- function wp_email_capture_send_email_default( $to, $subject, $message, $header ) {
332
-
333
- $disableheaders = get_option( 'wp_email_capture_disabled_headers' );
334
-
335
- if ( $disableheaders ) {
336
-
337
- $sendmail = wp_mail( $to, $subject, $message );
338
-
339
- } else {
340
-
341
- $sendmail = wp_mail( $to, $subject, $message, $header );
342
-
343
- }
344
-
345
- return $sendmail;
346
- }
347
-
348
-
349
-
350
- /**
351
- * Function to process the recaptcha stuff
352
- *
353
- * @return void
354
- */
355
- function wp_email_capture_recaptcha_process() {
356
- $token = esc_attr( $_POST['token'] );
357
- $action = esc_attr( $_POST['action'] );
358
- $score = apply_filters( 'wpec_recaptcha_score', '0.5' );
359
- $secret = get_option( 'wp_email_capture_recaptcha_server_api_key' );
360
- // call curl to POST request
361
- $args = array(
362
- 'headers' => array(
363
- "Content-Type" => "application/x-www-form-urlencoded",
364
- )
365
- );
366
- $response = wp_remote_post("https://www.google.com/recaptcha/api/siteverify?response=" . $token . '&secret=' . $secret, $args );
367
-
368
- if ( is_wp_error( $response ) ) {
369
- wp_die( print_r( $response ) );
370
- }
371
-
372
- $body = wp_remote_retrieve_body( $response );
373
-
374
- if ( empty( $body ) ) {
375
- wp_die( print_r( $body ) );
376
- }
377
-
378
- $result = json_decode( $body );
379
-
380
- if ( $action != $result->action || $result->score < $score ) {
381
-
382
- $starturl = esc_url( $_SERVER['HTTP_REFERER'] );
383
- if ( strpos( $starturl, "?" ) === false ) { $extrastring = "?"; } else { $extrastring = "&"; }
384
-
385
- $error = urlencode( __( 'We are unable to subscribe you. Please try again later', 'wp-email-capture' ) );
386
- $url = $starturl . $extrastring . "wp_email_capture_error=" . $error;
387
-
388
- wp_redirect( $url );
389
- exit;
390
-
391
- }
392
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/inc/security.php DELETED
@@ -1,60 +0,0 @@
1
- <?php
2
-
3
-
4
-
5
- /* Check for injection characters */
6
-
7
- /* function wp_email_injection_chars($s = "") {
8
-
9
- return (stripos("\r", $s) || stripos("\n", $s) || stripos("%0a", $s) || stripos("%0d", $s)) ? TRUE : FALSE;
10
-
11
- } */
12
-
13
-
14
-
15
-
16
-
17
- /* Make output safe for the browser */
18
-
19
- /* function wp_email_capture_bsafe($input = "") {
20
-
21
- return htmlspecialchars(stripslashes($input));
22
-
23
- } */
24
-
25
-
26
-
27
- /**
28
- * Strip Slashes from the string
29
- * @param string $s the string to use.
30
- * @return string The string cleaned of slashes.
31
- */
32
- function wp_email_stripslashes($s = "") {
33
-
34
- if (defined('TEMPLATEPATH') || (get_magic_quotes_gpc())) {
35
-
36
- return stripslashes($s);
37
-
38
- } else {
39
-
40
- return $s;
41
-
42
- }
43
-
44
- }
45
-
46
-
47
-
48
-
49
- /**
50
- * Avoid injection tests
51
- * @param string $str the string to check
52
- * @return string the cleaned string
53
- */
54
- function wp_email_injection_test($str = "") {
55
-
56
- $tests = array("/bcc\:/i", "/Content\-Type\:/i", "/Mime\-Version\:/i", "/cc\:/i", "/from\:/i", "/to\:/i", "/Content\-Transfer\-Encoding\:/i");
57
-
58
- return preg_replace($tests, "", $str);
59
-
60
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/inc/tabledata.php DELETED
@@ -1,119 +0,0 @@
1
- <?php
2
-
3
-
4
- /**
5
- * Display a table showing the latest members
6
- * @param int $limit The amount of rows to show (default all)
7
- * @param string $header the header text of the table
8
- * @return void
9
- */
10
- function wp_email_capture_writetable( $limit = 0, $header = '' ) {
11
-
12
- global $wpdb;
13
-
14
- $registered_members_table = WP_EMAIL_CAPTURE_REGISTERED_MEMBERS_TABLE;
15
-
16
- $get_registered_members_sql = "SELECT id, name, email FROM " . $registered_members_table;
17
-
18
- if ( $limit != 0 ) {
19
-
20
- $get_registered_members_sql .= " ORDER BY id DESC LIMIT 3";
21
-
22
- }
23
-
24
- $registered_members = $wpdb->get_results( $get_registered_members_sql );
25
-
26
- $tabletoshow = "";
27
-
28
- if ( $header == '' ) {
29
-
30
- $header = "<h3>".__( 'Members', 'wp-email-capture' )."</h3>";
31
-
32
- }
33
-
34
- $tabletoshow .= $header;
35
-
36
- $tabletoshow .= '
37
-
38
- <table border="0">
39
-
40
- <tr><td><strong>' . __( 'Name', 'wp-email-capture' ) . '</strong></td><td colspan="2"><strong>' . __( 'Email', 'wp-email-capture' ) . '</strong></td></tr>';
41
-
42
-
43
- foreach ( $registered_members as $member ) {
44
-
45
- if ( $limit == 0 ) {
46
-
47
- $delid = wp_email_capture_formdelete( $member->id, $member->email, 'width:300px;' );
48
-
49
- } else {
50
-
51
- $delid = '';
52
-
53
- }
54
-
55
- $tabletoshow .= '<tr><td style="width: 300px;">' . $member->name . '</td><td style="width: 300px;">' . $member->email . '</td><td style="width: 300px;">'
56
- . $delid . '</td></tr>';
57
-
58
- }
59
-
60
- $tabletoshow .= '</table>';
61
-
62
- $tabletoshow = apply_filters( 'wp_email_capture_display_table', $tabletoshow );
63
-
64
- echo $tabletoshow;
65
-
66
- }
67
-
68
-
69
- /**
70
- * The form to delete members from the database
71
- * @param int $id the email address ID in the database the database.
72
- * @param string $email Optional, the email address for deletion. Will be used for display only
73
- * @param string $style Optional, Any styling you wish to add to the button
74
- * @param string $table Optional, the table to delete the data from.
75
- * @param array $hiddenvalues Optional, extra values to be hidden within the form
76
- * @return void
77
- */
78
- function wp_email_capture_formdelete( $id, $email = '', $style = '', $table = '', $hiddenvalues = array() ) {
79
- $formdelete = "<form action='" . esc_url( $_SERVER['REQUEST_URI'] ) . "#list' method='post'>
80
- <input type='hidden' name='wp_email_capture_deleteid' value='". $id . "' />";
81
-
82
- if ( $table ) {
83
- $formdelete .= "<input type='hidden' name='wp_email_capture_deletefromtable' value='" . $table . "' />";
84
- }
85
-
86
- if ( !empty( $hiddenvalues ) ) {
87
-
88
- foreach ($hiddenvalues as $key => $value) {
89
- $formdelete .= "<input type='hidden' name='" . $key . "' value='" . $value . "' />";
90
- }
91
-
92
- }
93
-
94
- $formdelete .= "<input type='submit' value='" . __( 'Delete ', 'wp-email-capture' ) . $email . "' style='" . $style . "' class='button' />";
95
- $formdelete .= '</form>';
96
-
97
- return $formdelete;
98
- }
99
-
100
-
101
- /**
102
- * Delete a member from the database.
103
- * @param int $id The database ID to delete
104
- * @param string $table Optional. The table we are deleting table from.
105
- * @return void
106
- */
107
- function wp_email_capture_deleteid( $id, $table = WP_EMAIL_CAPTURE_REGISTERED_MEMBERS_TABLE ) {
108
- global $wpdb;
109
-
110
- $delete_member_sql = "DELETE FROM $table WHERE id = '%d'";
111
-
112
- $delete_member = $wpdb->query( $wpdb->prepare( $delete_member_sql, $id ) );
113
-
114
- /**
115
- * Action to add on extra things on deleted ID.
116
- */
117
- do_action( 'wp_email_capture_after_delete_email_address', $id );
118
-
119
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/inc/tempdata.php DELETED
@@ -1,50 +0,0 @@
1
- <?php
2
-
3
-
4
- /**
5
- * Delete the members in the tempoarary members table.
6
- * @return void
7
- */
8
- function wp_email_capture_truncate() {
9
-
10
- global $wpdb;
11
-
12
- $truncate_temp_sql = "TRUNCATE " . WP_EMAIL_CAPTURE_TEMP_MEMBERS_TABLE;
13
-
14
- $truncated_table = $wpdb->query($truncate_temp_sql);
15
-
16
- }
17
-
18
-
19
- /**
20
- * Delete the members of the registered members table.
21
- * @return void
22
- */
23
- function wp_email_capture_delete() {
24
-
25
- global $wpdb;
26
-
27
- $truncate_registered_sql = "TRUNCATE " . WP_EMAIL_CAPTURE_REGISTERED_MEMBERS_TABLE;
28
-
29
- $truncated_registered = $wpdb->query($truncate_registered_sql);
30
-
31
- }
32
-
33
-
34
- /**
35
- * Count the members in the temporary members table.
36
- * @return int The number of members in the tempoarary members table.
37
- */
38
- function wp_email_capture_count_temp() {
39
-
40
- global $wpdb;
41
-
42
- $count_temp_sql = 'SELECT COUNT(*)
43
-
44
- FROM '. WP_EMAIL_CAPTURE_TEMP_MEMBERS_TABLE;
45
-
46
- $temp_members = $wpdb->get_var($count_temp_sql);
47
-
48
- return $temp_members;
49
-
50
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/inc/tinymce.php DELETED
@@ -1,37 +0,0 @@
1
- <?php
2
-
3
-
4
- /**
5
- * Check if we're on rich text editor of 4.9< and if so add the TinyMCE buttons
6
- * @return void
7
- */
8
- function wp_email_capture_add_freebuttons() {
9
- // Don't bother doing this stuff if the current user lacks permissions
10
- if ( ! current_user_can( 'edit_posts' ) && ! current_user_can( 'edit_pages' ) )
11
- return;
12
-
13
- // Add only in Rich Editor mode
14
- if ( get_user_option( 'rich_editing' ) == 'true' ) {
15
- add_filter( "mce_external_plugins", "wp_email_capture_add_tinymce_plugin" );
16
- add_filter( 'mce_buttons', 'wp_email_capture_free_button' );
17
- }
18
- }
19
-
20
-
21
- /**
22
- * Add the button for WP eBay Product Feeds
23
- * @param array $buttons Array of current buttons
24
- * @return array Array of buttons with WP eBay Product Feeds added
25
- */
26
- function wp_email_capture_free_button( $buttons ) {
27
- array_push( $buttons, "separator", "wpemailcapturebutton" );
28
- return $buttons;
29
- }
30
-
31
-
32
- // Load the TinyMCE plugin : editor_plugin.js (wp2.5)
33
- function wp_email_capture_add_tinymce_plugin( $plugin_array ) {
34
- $url = WP_EMAIL_CAPTURE_URL . "/inc/js/wp_email_capture_button.js";
35
- $plugin_array['wpemailcapturebutton'] = $url;
36
- return $plugin_array;
37
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/inc/tracking.php DELETED
@@ -1,169 +0,0 @@
1
- <?php
2
-
3
- /**
4
- * @package WP Email Capture
5
- * @subpackage Admin
6
- */
7
- if ( ! defined( 'WP_EMAIL_CAPTURE_VERSION' ) ) {
8
- header( 'Status: 403 Forbidden' );
9
- header( 'HTTP/1.1 403 Forbidden' );
10
- exit();
11
- }
12
-
13
-
14
- /**
15
- * WPEC Tracking Class, taken from the Yoast SEO Tracking class. Props Yoast & team. :)
16
- */
17
- class WPEC_Tracking {
18
- /**
19
- * @var object Instance of this class
20
- */
21
- public static $instance;
22
- /**
23
- * Class constructor
24
- */
25
- function __construct() {
26
- add_action( 'wpec_tracking', array( $this, 'tracking' ), 10 );
27
- add_filter( 'wpec_tracking_filters', array( $this, 'tracking_additions' ), 5 );
28
- }
29
- /**
30
- * Get the singleton instance of this class
31
- *
32
- * @return object
33
- */
34
- public static function get_instance() {
35
- if ( ! ( self::$instance instanceof self ) ) {
36
- self::$instance = new self();
37
- }
38
- return self::$instance;
39
- }
40
- /**
41
- * Main tracking function.
42
- */
43
- function tracking() {
44
- $transient_key = 'wpec_tracking_cache';
45
- $data = get_transient( $transient_key );
46
- // bail if transient is set and valid
47
- if ( $data !== false ) {
48
- return;
49
- }
50
- // Make sure to only send tracking data once a week
51
- set_transient( $transient_key, 1, WEEK_IN_SECONDS );
52
- // Start of Metrics
53
- global $blog_id, $wpdb;
54
- $hash = get_option( 'WPEC_Tracking_Hash', false );
55
- if ( ! $hash || empty( $hash ) ) {
56
- // create and store hash
57
- $hash = md5( site_url() );
58
- update_option( 'WPEC_Tracking_Hash', $hash );
59
- }
60
- $pts = array();
61
- $post_types = get_post_types( array( 'public' => true ) );
62
- if ( is_array( $post_types ) && $post_types !== array() ) {
63
- foreach ( $post_types as $post_type ) {
64
- $count = wp_count_posts( $post_type );
65
- $pts[ $post_type ] = $count->publish;
66
- }
67
- }
68
- unset( $post_types );
69
- $comments_count = wp_count_comments();
70
- $theme_data = wp_get_theme();
71
- $theme = array(
72
- 'name' => $theme_data->display( 'Name', false, false ),
73
- 'theme_uri' => $theme_data->display( 'ThemeURI', false, false ),
74
- 'version' => $theme_data->display( 'Version', false, false ),
75
- 'author' => $theme_data->display( 'Author', false, false ),
76
- 'author_uri' => $theme_data->display( 'AuthorURI', false, false ),
77
- );
78
- $theme_template = $theme_data->get_template();
79
- if ( $theme_template !== '' && $theme_data->parent() ) {
80
- $theme['template'] = array(
81
- 'version' => $theme_data->parent()->display( 'Version', false, false ),
82
- 'name' => $theme_data->parent()->display( 'Name', false, false ),
83
- 'theme_uri' => $theme_data->parent()->display( 'ThemeURI', false, false ),
84
- 'author' => $theme_data->parent()->display( 'Author', false, false ),
85
- 'author_uri' => $theme_data->parent()->display( 'AuthorURI', false, false ),
86
- );
87
- }
88
- else {
89
- $theme['template'] = '';
90
- }
91
- unset( $theme_template );
92
- $plugins = array();
93
- $active_plugin = get_option( 'active_plugins' );
94
- foreach ( $active_plugin as $plugin_path ) {
95
- if ( ! function_exists( 'get_plugin_data' ) ) {
96
- require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
97
- }
98
- $plugin_info = get_plugin_data( WP_PLUGIN_DIR . '/' . $plugin_path );
99
- $slug = str_replace( '/' . basename( $plugin_path ), '', $plugin_path );
100
- $plugins[ $slug ] = array(
101
- 'version' => $plugin_info['Version'],
102
- 'name' => $plugin_info['Name'],
103
- 'plugin_uri' => $plugin_info['PluginURI'],
104
- 'author' => $plugin_info['AuthorName'],
105
- 'author_uri' => $plugin_info['AuthorURI'],
106
- );
107
- }
108
- unset( $active_plugins, $plugin_path );
109
- $data = array(
110
- 'site' => array(
111
- 'hash' => $hash,
112
- 'version' => get_bloginfo( 'version' ),
113
- 'multisite' => is_multisite(),
114
- 'users' => $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM $wpdb->users INNER JOIN $wpdb->usermeta ON ({$wpdb->users}.ID = {$wpdb->usermeta}.user_id) WHERE 1 = 1 AND ( {$wpdb->usermeta}.meta_key = %s )", 'wp_' . $blog_id . '_capabilities' ) ),
115
- 'lang' => get_locale(),
116
- ),
117
- 'pts' => $pts,
118
- 'comments' => array(
119
- 'total' => $comments_count->total_comments,
120
- 'approved' => $comments_count->approved,
121
- 'spam' => $comments_count->spam,
122
- 'pings' => $wpdb->get_var( "SELECT COUNT(comment_ID) FROM $wpdb->comments WHERE comment_type = 'pingback'" ),
123
- ),
124
- 'options' => apply_filters( 'wpec_tracking_filters', array() ),
125
- 'theme' => $theme,
126
- 'plugins' => $plugins,
127
- );
128
- $args = array(
129
- 'body' => $data,
130
- 'blocking' => false,
131
- 'sslverify' => false,
132
- );
133
- //wp_die(print_r($data));
134
- wp_remote_post( 'http://tracking.winwar.co.uk/', $args );
135
- }
136
-
137
- function tracking_additions( $options ) {
138
-
139
- if ( function_exists( 'curl_version' ) ) {
140
- $curl = curl_version();
141
- }
142
- else {
143
- $curl = null;
144
- }
145
-
146
- $options['wpemailcapture'] = array(
147
- 'listsize' => wp_email_capture_get_number_of_registered_users(),
148
- 'tempsize' => wp_email_capture_count_temp(),
149
- 'linktous' => get_option( 'wp_email_capture_link' )
150
- );
151
- return $options;
152
- }
153
- } /* End of class */
154
-
155
- /**
156
- * Start tracking
157
- * @return void
158
- */
159
- function wpec_start_tracking() {
160
- $tracking = new WPEC_Tracking;
161
- }
162
-
163
- /**
164
- * Action tracking wrapper.
165
- * @return void
166
- */
167
- function wpec_do_tracking() {
168
- do_action('wpec_tracking');
169
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/inc/widget.php DELETED
@@ -1,72 +0,0 @@
1
- <?php
2
-
3
- /**
4
- * Class to display the WP Email Capture Widget.
5
- */
6
- class wp_email_capture_widget_class extends WP_Widget {
7
-
8
- public function __construct() {
9
- parent::__construct('wp_email_capture_widget_class', __('WP Email Capture','wp-email-capture'), array('description' =>__('Widget for WP Email Capture','WPEC')));
10
- }
11
-
12
-
13
- function widget($args, $instance) {
14
-
15
- // $args is an array of strings which help your widget
16
- // conform to the active theme: before_widget, before_title,
17
- // after_widget, and after_title are the array keys.
18
-
19
- extract($args);
20
- extract($args, EXTR_SKIP);
21
-
22
- $title = apply_filters('widget_title', $instance['widget_title']);
23
- $text = $instance['widget_text'];
24
-
25
- echo $before_widget;
26
-
27
- echo !empty($title) ? $before_title . $title . $after_title : '';
28
-
29
- echo !empty($text) ? '<div class="textwidget"><p>'.$text.'</p></div>' : '';
30
-
31
- wp_email_capture_form();
32
-
33
- echo $after_widget;
34
-
35
-
36
- }
37
-
38
- function update($new_instance, $old_instance) {
39
- $instance = $old_instance;
40
- $instance['widget_title'] = strip_tags($new_instance['widget_title']);
41
- $instance['widget_text'] = strip_tags($new_instance['widget_text']);
42
- return $instance;
43
- }
44
-
45
- /**
46
- * admin control form
47
- */
48
- function form($instance) {
49
- $default = array(
50
- 'widget_title' => __('Subscribe!','wp-email-capture'),
51
- 'widget_text' => __('Subscribe to my blog for updates','wp-email-capture')
52
- );
53
-
54
- $instance = wp_parse_args( (array) $instance, $default );
55
-
56
- $title_id = $this->get_field_id('widget_title');
57
- $title_name = $this->get_field_name('widget_title');
58
- $text_id = $this->get_field_id('widget_text');
59
- $text_name = $this->get_field_name('widget_text');
60
- echo "\r\n".'<p><label for="'.$title_id.'">'.__('Widget title:','wp-email-capture').': <input type="text" class="widefat" id="'.$title_id.'" name="'.$title_name.'" value="'.esc_attr( $instance['widget_title'] ).'" /><label></p>';
61
- echo "\r\n".'<p><label for="'.$text_id.'">'.__('Widget text:','wp-email-capture').': <input type="text" class="widefat" id="'.$text_id.'" name="'.$text_name .'" value="'.esc_attr( $instance['widget_text'] ).'" /><label></p>';
62
-
63
- }
64
-
65
- }
66
-
67
-
68
-
69
- function wp_email_capture_widget_init(){
70
- // curl need to be installed
71
- register_widget('wp_email_capture_widget_class');
72
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/languages/wp-email-capture-de_DE.mo DELETED
Binary file
trunk/languages/wp-email-capture-de_DE.po DELETED
@@ -1,529 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: WP Email Capture 2.10\n"
4
- "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-email-capture\n"
5
- "POT-Creation-Date: 2014-07-07 20:18:59+00:00\n"
6
- "PO-Revision-Date: \n"
7
- "Last-Translator: Marc Nilius <marc.nilius@libertello.de>\n"
8
- "Language-Team: Ov3rfly <https://profiles.wordpress.org/Ov3rfly>\n"
9
- "Language: de_DE\n"
10
- "MIME-Version: 1.0\n"
11
- "Content-Type: text/plain; charset=UTF-8\n"
12
- "Content-Transfer-Encoding: 8bit\n"
13
- "X-Poedit-SourceCharset: UTF-8\n"
14
- "X-Poedit-Basepath: .\n"
15
- "X-Poedit-KeywordsList: __;_e\n"
16
- "X-Generator: Poedit 1.7.4\n"
17
- "X-Poedit-SearchPath-0: ..\n"
18
-
19
- #: inc/admin-sidebar.php:14
20
- msgid "Need Help?"
21
- msgstr ""
22
-
23
- #: inc/admin-sidebar.php:16
24
- msgid "If you are having problems with this plugin, please read the"
25
- msgstr ""
26
-
27
- #: inc/admin-sidebar.php:16
28
- msgid "Frequently Asked Questions"
29
- msgstr ""
30
-
31
- #: inc/admin-sidebar.php:16
32
- msgid "or alternatively"
33
- msgstr ""
34
-
35
- #: inc/admin-sidebar.php:16
36
- msgid "submit a support request here"
37
- msgstr ""
38
-
39
- #: inc/admin-sidebar.php:19
40
- msgid "Recommended Services"
41
- msgstr "Empfehlungen"
42
-
43
- #: inc/admin-sidebar.php:21
44
- msgid "We recommend the following services for sending out emails:-"
45
- msgstr "Wir empfehlen die folgenden Dienstleister, um E-Mails zu versenden:"
46
-
47
- #: inc/admin-sidebar.php:30
48
- msgid "Global List Management"
49
- msgstr ""
50
-
51
- #: inc/admin-sidebar.php:32
52
- msgid "This page allows you to create lists, either"
53
- msgstr ""
54
-
55
- #: inc/admin-sidebar.php:32
56
- msgid "external lists"
57
- msgstr ""
58
-
59
- #: inc/admin-sidebar.php:32
60
- msgid ""
61
- "(WP Email Capture is compatible with most major email marketing software "
62
- "packages), or a new"
63
- msgstr ""
64
-
65
- #: inc/admin-sidebar.php:32
66
- msgid "WP Email Capture List"
67
- msgstr ""
68
-
69
- #: inc/admin-sidebar.php:32
70
- msgid "You can create as many different lists as you wish"
71
- msgstr ""
72
-
73
- #: inc/admin-sidebar.php:36
74
- msgid "Add/Edit WP Email Capture List"
75
- msgstr ""
76
-
77
- #: inc/admin-sidebar.php:38
78
- msgid ""
79
- "This is the page for managing WP Email Capture Lists. From this page you "
80
- "can:-"
81
- msgstr ""
82
-
83
- #: inc/admin-sidebar.php:40
84
- msgid "Make Changes To Your Lists"
85
- msgstr ""
86
-
87
- #: inc/admin-sidebar.php:40
88
- msgid "such as the name and the pages redirected to on form completion"
89
- msgstr ""
90
-
91
- #: inc/admin-sidebar.php:41
92
- msgid "Email Options"
93
- msgstr ""
94
-
95
- #: inc/admin-sidebar.php:41
96
- msgid ""
97
- "such as where the email comes from and what emails sent to the subscriber "
98
- "contains"
99
- msgstr ""
100
-
101
- #: inc/admin-sidebar.php:42
102
- msgid "Error Options"
103
- msgstr ""
104
-
105
- #: inc/admin-sidebar.php:42
106
- msgid ""
107
- "the errors that are displayed to subscribers who incorrectly fill in the form"
108
- msgstr ""
109
-
110
- #: inc/admin-sidebar.php:43
111
- msgid "Styling Options"
112
- msgstr ""
113
-
114
- #: inc/admin-sidebar.php:43
115
- msgid ""
116
- "change the button image (or use an image), as well as what to ask the user "
117
- "for besides their name"
118
- msgstr ""
119
-
120
- #: inc/admin-sidebar.php:45
121
- msgid "You can also on this page do the following"
122
- msgstr ""
123
-
124
- #: inc/admin-sidebar.php:47
125
- msgid "Manage List Subscribers"
126
- msgstr ""
127
-
128
- #: inc/admin-sidebar.php:48
129
- msgid "Delete Temporary Emails"
130
- msgstr ""
131
-
132
- #: inc/admin-sidebar.php:49
133
- msgid "Empty the entire list"
134
- msgstr ""
135
-
136
- #: inc/admin-sidebar.php:59
137
- msgid "Get WP Email Capture Premium"
138
- msgstr "WP Email Capture Premium"
139
-
140
- #: inc/admin-sidebar.php:61
141
- msgid ""
142
- "Unlock the <strong>true</strong> power of WP Email Capture with the Premium "
143
- "version. With multiple lists, and stat tracking, WP Email Capture Premium is "
144
- "the missing link in your WordPress Email Marketing Puzzle"
145
- msgstr ""
146
-
147
- #: inc/admin-sidebar.php:66
148
- msgid "Add/Edit External List"
149
- msgstr ""
150
-
151
- #: inc/admin-sidebar.php:68
152
- msgid ""
153
- "This is the page for managing External lists through WP Email Capture. "
154
- "Simply copy & paste the code from your Email Marketing software into the "
155
- "page below and you can embed your newsletter subscriptions into posts, pages "
156
- "or sidebars easily using WP Email Capture. If you do not have an Email "
157
- "Marketing Service, a few are recommended below"
158
- msgstr ""
159
-
160
- #: inc/admin-sidebar.php:72
161
- msgid "Donations"
162
- msgstr "Spenden"
163
-
164
- #: inc/admin-sidebar.php:73
165
- msgid ""
166
- "If you like this plugin, please consider a small donation to help with "
167
- "future versions and plugins."
168
- msgstr ""
169
- "Wenn Sie dieses Plugin gut finden, erwägen Sie bitte eine kleine Spende zur "
170
- "Unterstützung der zukünftigen Versionen & Plugins."
171
-
172
- #: inc/admin-sidebar.php:83
173
- msgid "Latest News"
174
- msgstr "Neuste Informationen"
175
-
176
- #: inc/admin-sidebar.php:84
177
- msgid "The latest news and tutorials from WP Email Capture"
178
- msgstr "Die neusten Informationen und Anleitungen zu WP Email Capture"
179
-
180
- #: inc/admin-sidebar.php:97
181
- msgid "Support Us!"
182
- msgstr "Unterstützen Sie uns!"
183
-
184
- #: inc/admin-sidebar.php:98
185
- msgid ""
186
- "We would like you if you would not mind, doing one of the following if you "
187
- "are a fan of WP Email Capture"
188
- msgstr ""
189
- "Wir würden uns freuen, wenn Sie eines der folgenden Dinge tun würden, wenn "
190
- "Ihnen WP Email Capture gefällt"
191
-
192
- #: inc/admin-sidebar.php:100
193
- msgid "Rate the plugin 5* on WordPress.org"
194
- msgstr "Bewerte das Plugin mit 5* auf WordPress.org"
195
-
196
- #: inc/admin-sidebar.php:101
197
- msgid "Follow @WPEmailCapture on Twitter"
198
- msgstr "Folge @WPEmailCapture auf Twitter"
199
-
200
- #: inc/admin-sidebar.php:102
201
- msgid "Like us on Facebook"
202
- msgstr "Empfehle uns auf Facebook"
203
-
204
- #: inc/admin-sidebar.php:106
205
- msgid "Become An Affiliate!"
206
- msgstr "Partnerprogramm!"
207
-
208
- #: inc/admin-sidebar.php:107
209
- msgid "Earn upto"
210
- msgstr "Verdiene bis zu"
211
-
212
- #: inc/admin-sidebar.php:107
213
- msgid "per sale of WP Email Capture"
214
- msgstr "pro verkauftem WP Email Capture"
215
-
216
- #: inc/admin-sidebar.php:107
217
- msgid "Join our affilite programme today"
218
- msgstr "Nimm an unserem Partnerprogramm teil"
219
-
220
- #: inc/admin-sidebar.php:110 inc/options.php:5 inc/options.php:18
221
- msgid "WP Email Capture Options"
222
- msgstr "WP Email Capture Einstellungen"
223
-
224
- #: inc/admin-sidebar.php:111
225
- msgid ""
226
- "On this page you can make changes that to the way in which WP Email Capture "
227
- "runs"
228
- msgstr ""
229
-
230
- #: inc/dashboard.php:9
231
- msgid "Last Three Members To Join"
232
- msgstr "Die letzten drei Anmeldungen"
233
-
234
- #: inc/dashboard.php:13 inc/options.php:176
235
- msgid "Export"
236
- msgstr "Export"
237
-
238
- #: inc/dashboard.php:15
239
- msgid ""
240
- "Use the button below to export your list as a CSV to use in software such as"
241
- msgstr ""
242
- "Benutzen Sie den Button unterhalb, um die Liste als CSV-Datei zu exportieren "
243
- "zur Verwendung in Programmen wie etwa"
244
-
245
- #: inc/dashboard.php:17 inc/options.php:184
246
- msgid "Export List"
247
- msgstr "Liste exportieren"
248
-
249
- #: inc/dashboard.php:22 inc/options.php:190
250
- msgid "Temporary e-mails"
251
- msgstr "Temporäre E-Mail-Adressen"
252
-
253
- #: inc/dashboard.php:24 inc/options.php:194
254
- msgid "There are"
255
- msgstr "Es sind"
256
-
257
- #: inc/dashboard.php:24 inc/options.php:194
258
- msgid ""
259
- "e-mail addresses that have been unconfirmed. Delete them to save space below."
260
- msgstr ""
261
- "E-Mail-Adresse(n) vorhanden, die bislang unbestätigt sind. Um Platz zu "
262
- "sparen, können diese gelöscht werden."
263
-
264
- #: inc/dashboard.php:27 inc/options.php:198
265
- msgid "Delete Unconfirmed e-mail Addresses"
266
- msgstr "Unbestätigte E-Mail-Adressen löschen"
267
-
268
- #: inc/dashboard.php:40
269
- msgid "WP Email Capture - At A Glance"
270
- msgstr "WP Email Capture - Auf einen Blick"
271
-
272
- #: inc/display.php:18
273
- msgid "Error:"
274
- msgstr "Fehler:"
275
-
276
- #: inc/display.php:22 inc/display.php:65
277
- msgid "Name:"
278
- msgstr "Name:"
279
-
280
- #: inc/display.php:24 inc/display.php:67
281
- msgid "Email:"
282
- msgstr "E-Mail:"
283
-
284
- #: inc/display.php:28 inc/display.php:71
285
- msgid "Submit"
286
- msgstr "Anmelden"
287
-
288
- #: inc/display.php:36 inc/display.php:75
289
- msgid "Powered by"
290
- msgstr "Unterstützt von"
291
-
292
- #: inc/exportcsv.php:19 inc/tabledata.php:37
293
- msgid "Name"
294
- msgstr "Name"
295
-
296
- #: inc/exportcsv.php:19 inc/tabledata.php:37
297
- msgid "Email"
298
- msgstr "E-Mail"
299
-
300
- #: inc/functions.php:53
301
- msgid ""
302
- "<strong>Please Note: </strong> You have not created a subscription page, "
303
- "confirmation page or both in WP Email Capture, please go to the WP Email "
304
- "Capture Settings Page to add them. | <a href=\"%1$s\">Hide Notice</a>"
305
- msgstr ""
306
-
307
- #: inc/options.php:22
308
- msgid "Recommendations"
309
- msgstr "Empfehlungen"
310
-
311
- #: inc/options.php:24
312
- msgid "We recommend"
313
- msgstr "Wir empfehlen"
314
-
315
- #: inc/options.php:24
316
- msgid "to run your email campaigns. We have tested this plugin with it."
317
- msgstr ""
318
- "für Ihre E-Mail-Kampagnen. Dieses Plugin wurde erfolgreich damit getestet."
319
-
320
- #: inc/options.php:49
321
- msgid "Options"
322
- msgstr "Einstellungen"
323
-
324
- #: inc/options.php:69
325
- msgid ""
326
- "Page to redirect to on sign up (full web address ie: http://www.domain.com/"
327
- "this-page/)"
328
- msgstr ""
329
- "Seite zur Weiterleitung bei der Anmeldung (vollständige Adresse: http://www."
330
- "domain.com/this-page/)"
331
-
332
- #: inc/options.php:77
333
- msgid ""
334
- "Page to redirect to on confirmation of email address (full web address ie: "
335
- "http://www.domain.com/this-other-page/)"
336
- msgstr ""
337
- "Seite zur Weiterleitung zur Bestätigung der E-Mail-Adresse (vollständige "
338
- "Adresse: http://www.domain.com/this-other-page/)"
339
-
340
- #: inc/options.php:85
341
- msgid "From Which Email Address"
342
- msgstr "Absender-E-Mail-Adresse"
343
-
344
- #: inc/options.php:93
345
- msgid "From Which Name"
346
- msgstr "Absender-Name"
347
-
348
- #: inc/options.php:101
349
- msgid "Subject of Email"
350
- msgstr "Betreff der E-Mail"
351
-
352
- #: inc/options.php:109
353
- msgid "Body of Email"
354
- msgstr "Text der E-Mail"
355
-
356
- #: inc/options.php:110
357
- msgid ""
358
- "(use %NAME% to use the form's &quot;Name&quot; field in their welcome email)"
359
- msgstr ""
360
- "(Benutzen Sie %NAME%, um den Namen aus der Anmeldung in der "
361
- "Willkommensnachricht zu nutzen)"
362
-
363
- #: inc/options.php:118
364
- msgid "Link to us (optional, but appreciated)"
365
- msgstr "Verlinken Sie uns (optional, aber gerne gesehen)"
366
-
367
- #: inc/options.php:132
368
- msgid "Make The \"Name\" field a required field?"
369
- msgstr "Soll das \"Name\" Feld ein Pflichtfeld sein?"
370
-
371
- #: inc/options.php:146
372
- msgid "Delimeter (leave blank for a comma)"
373
- msgstr "Trennzeichen (leer lassen für ein Komma)"
374
-
375
- #: inc/options.php:164
376
- msgid "Save Changes"
377
- msgstr "Änderungen speichern"
378
-
379
- #: inc/options.php:180
380
- msgid ""
381
- "Use the button below to export your list as a CSV to use in software such as "
382
- "<a href=\"http://wpemailcapture.com/recommends/aweber\" title=\"Email "
383
- "Marketing\">Aweber</a> or <a href=\"http://wpemailcapture.com/recommends/"
384
- "mailchimp\">Mailchimp</a>"
385
- msgstr ""
386
- "Benutzen Sie den Button unterhalb, um die Liste als CSV-Datei zu exportieren "
387
- "zur Verwendung in Programmen wie etwa <a href=\"http://www.gospelrhys.co.uk/"
388
- "go/aweber.php\" title=\"Email Marketing\">Aweber</a> oder <a href=\"http://"
389
- "www.gospelrhys.co.uk/go/mailchimp.php\">Mailchimp</a>."
390
-
391
- #: inc/options.php:202
392
- msgid "Delete Current List"
393
- msgstr "Aktuelle Liste löschen"
394
-
395
- #: inc/options.php:206
396
- msgid ""
397
- "Want to delete the entire list? Click the link below. <strong>WARNING: </"
398
- "strong> this will delete all confirmed emails, so make sure you have a "
399
- "backup."
400
- msgstr ""
401
- "Gesamte Liste löschen? Klicken Sie auf den Link unten. ACHTUNG: Es werden "
402
- "alle bestätigten E-Mails löschen. Bitte zur Sicherheit eine Kopie machen."
403
-
404
- #: inc/options.php:210
405
- msgid "Delete Confirmed e-mail Addresses"
406
- msgstr "Bestätigte E-Mail-Adressen löschen"
407
-
408
- #: inc/pagedresults.php:141
409
- msgid "Prev"
410
- msgstr "Zurück"
411
-
412
- #: inc/pagedresults.php:169
413
- msgid "Next"
414
- msgstr "Weiter"
415
-
416
- #: inc/process.php:57
417
- msgid "Please Provide A Name"
418
- msgstr "Bitte einen Namen angeben"
419
-
420
- #: inc/process.php:70
421
- msgid "Not a valid email"
422
- msgstr "Keine gültige E-Mail-Adresse"
423
-
424
- #: inc/process.php:112
425
- msgid "User already present"
426
- msgstr "Benutzer bereits gespeichert"
427
-
428
- #: inc/process.php:155
429
- msgid "Sign Up For Our Newsletter"
430
- msgstr "Anmeldung zu unserem Newsletter"
431
-
432
- #: inc/process.php:181
433
- msgid ""
434
- "Thank you for signing up for our newsletter, please click the link below to "
435
- "confirm your subscription"
436
- msgstr ""
437
- "Danke für Ihre Anmeldung zu unserem Newsletter, bitte klicken Sie zur "
438
- "Bestätigung der Anmeldung auf den folgenden Link"
439
-
440
- #: inc/process.php:186
441
- msgid ""
442
- "This is an automated message that is generated because somebody with the IP "
443
- "address of"
444
- msgstr "Dies ist eine automatische Nachricht, weil jemand mit der IP-Adresse"
445
-
446
- #: inc/process.php:186
447
- msgid "(possibly you) on"
448
- msgstr "(vielleicht Sie) am"
449
-
450
- #: inc/process.php:186
451
- msgid "filled out the form on the following page"
452
- msgstr "das Formular auf der folgenden Seite ausgefüllt hat:"
453
-
454
- #: inc/process.php:187
455
- msgid ""
456
- "If you are sure this isn't you, please ignore this message, you will not be "
457
- "sent another message."
458
- msgstr ""
459
- "Wenn Sie sich sicher sind, dass Sie dies nicht waren, ignorieren Sie bitte "
460
- "diese Meldung. Sie werden keine weiteren Meldungen erhalten."
461
-
462
- #: inc/process.php:204
463
- msgid "Not found your email in our database"
464
- msgstr "Ihre E-Mail-Adresse konnte in unserer Datenbank nicht gefunden werden"
465
-
466
- #: inc/process.php:226
467
- msgid "Email unable to be sent"
468
- msgstr "E-Mail konnte nicht verschickt werden"
469
-
470
- #: inc/process.php:285
471
- msgid "Wrong confirmation code"
472
- msgstr "Falscher Bestätigungscode"
473
-
474
- #: inc/tabledata.php:27
475
- msgid "Members"
476
- msgstr "Anmeldungen"
477
-
478
- #: inc/tabledata.php:65
479
- msgid "Delete "
480
- msgstr "Entferne "
481
-
482
- #. Plugin Name of the plugin/theme
483
- #: inc/widget.php:6
484
- msgid "WP Email Capture"
485
- msgstr "WP Email Capture"
486
-
487
- #: inc/widget.php:6
488
- msgid "Widget for WP Email Capture"
489
- msgstr "Widget für WP Email Capture"
490
-
491
- #: inc/widget.php:21 inc/widget.php:48
492
- msgid "Subscribe!"
493
- msgstr "Abonnieren!"
494
-
495
- #: inc/widget.php:22 inc/widget.php:48
496
- msgid "Subscribe to my blog for updates"
497
- msgstr "Abonnieren Sie meinen Blog für aktuelle Informationen"
498
-
499
- #: inc/widget.php:55
500
- msgid "Widget title:"
501
- msgstr "Widget Überschrift:"
502
-
503
- #: inc/widget.php:56
504
- msgid "Widget text:"
505
- msgstr "Widget Text:"
506
-
507
- #. Plugin URI of the plugin/theme
508
- msgid "http://www.wpemailcapture.com"
509
- msgstr ""
510
-
511
- #. Description of the plugin/theme
512
- msgid ""
513
- "Captures email addresses for insertion into software such as <a href="
514
- "\"http://wpemailcapture.com/recommends/aweber\" title=\"Email Marketing"
515
- "\">Aweber</a> or <a href=\"http://wpemailcapture.com/recommends/mailchimp/"
516
- "\">Mailchimp</a>"
517
- msgstr ""
518
- "Sammelt E-Mail-Adressen zur Verwendung in Programmen wie etwa <a href="
519
- "\"http://www.gospelrhys.co.uk/go/aweber.php\" title=\"Email Marketing"
520
- "\">Aweber</a> oder <a href=\"http://www.gospelrhys.co.uk/go/mailchimp.php"
521
- "\">Mailchimp</a>."
522
-
523
- #. Author of the plugin/theme
524
- msgid "Rhys Wynne"
525
- msgstr ""
526
-
527
- #. Author URI of the plugin/theme
528
- msgid "http://www.rhyswynne.co.uk/"
529
- msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/languages/wp-email-capture-es_ES.mo DELETED
Binary file
trunk/languages/wp-email-capture-es_ES.po DELETED
@@ -1,199 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: WPEC\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2012-04-02 09:57-0300\n"
6
- "PO-Revision-Date: \n"
7
- "Last-Translator: David Bravo <dbravo@dimensionmultimedia.com>\n"
8
- "Language-Team: \n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "X-Poedit-Language: French\n"
13
- "X-Poedit-Country: FRANCE\n"
14
- "X-Poedit-SourceCharset: utf-8\n"
15
- "X-Poedit-Basepath: .\n"
16
- "X-Poedit-KeywordsList: __;_e\n"
17
- "X-Poedit-SearchPath-0: ..\n"
18
-
19
- #: ../inc/_display.php:22
20
- msgid "Name:"
21
- msgstr "Nombre:"
22
-
23
- #: ../inc/_display.php:24
24
- msgid "Email:"
25
- msgstr "E-mail:"
26
-
27
- #: ../inc/_display.php:36
28
- #: ../inc/_display.php:71
29
- #: ../inc/display.php:34
30
- #: ../inc/display.php:69
31
- msgid "Powered by"
32
- msgstr "Utilizando"
33
-
34
- #: ../inc/dashboard.php:13
35
- #: ../inc/options.php:151
36
- msgid "Export"
37
- msgstr "Exportar"
38
-
39
- #: ../inc/dashboard.php:15
40
- msgid "Use the button below to export your list as a CSV to use in software such as"
41
- msgstr "Utiliza el botón inferior para exportar tu lista como archivo CSV para utilizar con software como"
42
-
43
- #: ../inc/dashboard.php:22
44
- #: ../inc/options.php:165
45
- msgid "Temporary e-mails"
46
- msgstr "Emails temporales"
47
-
48
- #: ../inc/dashboard.php:24
49
- #: ../inc/options.php:169
50
- msgid "There are"
51
- msgstr "Hay"
52
-
53
- #: ../inc/dashboard.php:24
54
- #: ../inc/options.php:169
55
- msgid "e-mail addresses that have been unconfirmed. Delete them to save space below."
56
- msgstr "direcciones de correo que no han sido confirmadas. Bórralos para ahorrar espacio."
57
-
58
- #: ../inc/dashboard.php:40
59
- msgid "WP Email Capture - At A Glance"
60
- msgstr "WP Email Capture - De un vistazo"
61
-
62
- #: ../inc/options.php:5
63
- #: ../inc/options.php:15
64
- msgid "WP Email Capture Options"
65
- msgstr "Opciones - WP Email Capture"
66
-
67
- #: ../inc/options.php:19
68
- msgid "Recommendations"
69
- msgstr "Recomendaciones"
70
-
71
- #: ../inc/options.php:21
72
- msgid "We recommend"
73
- msgstr "Recomendamos"
74
-
75
- #: ../inc/options.php:21
76
- msgid "to run your email campaigns. We have tested this plugin with it."
77
- msgstr "para lanzar tus campañas de email. Hemos testeado este plugin con él."
78
-
79
- #: ../inc/options.php:46
80
- msgid "Options"
81
- msgstr "Opciones"
82
-
83
- #: ../inc/options.php:66
84
- msgid "Page to redirect to on sign up (full web address ie: http://www.domain.com/this-page/)"
85
- msgstr "Página a la que será redirigido al registrarse</br>Usar dirección completa: p.e. http://www.dominio.com/pagina-registro"
86
-
87
- #: ../inc/options.php:74
88
- msgid "Page to redirect to on confirmation of email address (full web address ie: http://www.domain.com/this-other-page/)"
89
- msgstr "Página a la que será redirigido tras confirmación del corro</br>Usar dirección completa: p.e. http://www.dominio.com/pagina-confirma"
90
-
91
- #: ../inc/options.php:82
92
- msgid "From Which Email Address"
93
- msgstr "Dirección remitente del correo"
94
-
95
- #: ../inc/options.php:90
96
- msgid "From Which Name"
97
- msgstr "Nombre para mostrar en el correo de confirmación"
98
-
99
- #: ../inc/options.php:98
100
- msgid "Subject of Email"
101
- msgstr "Asunto del mensaje"
102
-
103
- #: ../inc/options.php:106
104
- msgid "Body of Email"
105
- msgstr "<b>Contenido del mensaje</b>"
106
-
107
- #: ../inc/options.php:107
108
- msgid "(use %NAME% to use the form's &quot;Name&quot; field in their welcome email)"
109
- msgstr "Utiliza %NAME% para incluir el nombre del usuario en el correo de bienvenida."
110
-
111
- #: ../inc/options.php:115
112
- msgid "Link to us (optional, but appreciated)"
113
- msgstr "Enlace a nosotros (opcional, pero apreciado)"
114
-
115
- #: ../inc/options.php:139
116
- msgid "Save Changes"
117
- msgstr "Guardar cambios"
118
-
119
- #: ../inc/options.php:155
120
- msgid "Use the button below to export your list as a CSV to use in software such as <a href=\"http://wpemailcapture.com/recommends/aweber\" title=\"Email Marketing\">Aweber</a> or <a href=\"http://wpemailcapture.com/recommends/mailchimp\">Mailchimp</a>"
121
- msgstr "Utiliza el botón de abajo para exportar la lista como archivo CSV para utilizar en programas como <a href=\"http://wpemailcapture.com/recommends/aweber\" title=\"Email Marketing\">Aweber</ a> o <a href=\"http://wpemailcapture.com/recommends/mailchimp\">MailChimp</ a>"
122
-
123
- #: ../inc/options.php:177
124
- msgid "Delete Current List"
125
- msgstr "Borrar listado actual"
126
-
127
- #: ../inc/options.php:181
128
- msgid "Want to delete the entire list? Click the link below. <strong>WARNING: </strong> this will delete all confirmed emails, so make sure you have a backup."
129
- msgstr "¿Quieres borrar la lista entera? Haz clic en el enlace inferior. <br /> <strong>AVISO: </strong> Esto borrará todos los correos confirmados, así que asegúrate de tener una copia de seguridad."
130
-
131
- #: ../inc/options.php:191
132
- msgid "Donations"
133
- msgstr "Donaciones"
134
-
135
- #: ../inc/options.php:193
136
- msgid "If you like this plugin, please consider a small donation to help with future versions &amp; plugins. Donators are thanked on each specific plugin page!"
137
- msgstr "Si te gusta este plugin, por favor considera hacer una pequeña donación para ayudar a desarrollar futuras versiones y plugins. ¡Los donantes son agradecidos en cada página específica del plugin!"
138
-
139
- #: ../inc/pagedresults.php:141
140
- msgid "Prev"
141
- msgstr "Anterior"
142
-
143
- #: ../inc/pagedresults.php:169
144
- msgid "Next"
145
- msgstr "Siguiente"
146
-
147
- #: ../inc/process.php:158
148
- msgid "This is an automated message that is generated because somebody with the IP address of"
149
- msgstr "Este es un mensaje automatizado que se ha generado porque alguien con la dirección IP"
150
-
151
- #: ../inc/process.php:158
152
- msgid "(possibly you) on"
153
- msgstr "(posiblemente tú) el"
154
-
155
- #: ../inc/process.php:158
156
- msgid "filled out the form on the following page"
157
- msgstr "rellenó el formulario de la siguiente página"
158
-
159
- #: ../inc/process.php:159
160
- msgid "If you are sure this isn't you, please ignore this message, you will not be sent another message."
161
- msgstr "Si estás seguro de que no has sido tú, por favor, ignora este mensaje, no se te enviará ninguno más."
162
-
163
- #: ../inc/process.php:176
164
- msgid "Not found your email in our database"
165
- msgstr "No se ha encontrado tu email en nuestra base de datos"
166
-
167
- #: ../inc/tabledata.php:27
168
- msgid "Members"
169
- msgstr "Miembros"
170
-
171
- #: ../inc/tabledata.php:37
172
- msgid "Name"
173
- msgstr "Nombre"
174
-
175
- #: ../inc/tabledata.php:37
176
- msgid "Email"
177
- msgstr "E-mail"
178
-
179
- #: ../inc/widget.php:35
180
- msgid "Subscribe!"
181
- msgstr "¡Suscríbete!"
182
-
183
- #: ../inc/widget.php:37
184
- msgid "Subscribe to my blog for updates"
185
- msgstr "Suscribirse a mi blog para actualizaciones"
186
-
187
- #: ../inc/widget.php:117
188
- msgid "Widget title:"
189
- msgstr "Título del widget:"
190
-
191
- #: ../inc/widget.php:119
192
- msgid "Widget text:"
193
- msgstr "Texto del widget:"
194
-
195
- #: ../inc/widget.php:135
196
- #: ../inc/widget.php:141
197
- msgid "WP Email Capture"
198
- msgstr "WP Email Capture"
199
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/languages/wp-email-capture-fr_FR.mo DELETED
Binary file
trunk/languages/wp-email-capture-fr_FR.po DELETED
@@ -1,200 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: WPEC\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2011-10-21 11:45+0100\n"
6
- "PO-Revision-Date: \n"
7
- "Last-Translator: \n"
8
- "Language-Team: \n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "X-Poedit-Language: French\n"
13
- "X-Poedit-Country: FRANCE\n"
14
- "X-Poedit-SourceCharset: utf-8\n"
15
- "X-Poedit-Basepath: .\n"
16
- "X-Poedit-KeywordsList: __;_e\n"
17
- "X-Poedit-SearchPath-0: ..\n"
18
-
19
- #: ../inc/dashboard.php:13
20
- #: ../inc/options.php:151
21
- msgid "Export"
22
- msgstr "Exporter"
23
-
24
- #: ../inc/dashboard.php:17
25
- msgid "Use the button below to export your list as a CSV to use in software such as"
26
- msgstr "Utiliser le bouton ci-dessous pour exporter votre liste au format CSV pour l'utiliser dans un logiciel tel que"
27
-
28
- #: ../inc/dashboard.php:27
29
- #: ../inc/options.php:165
30
- msgid "Temporary e-mails"
31
- msgstr "Emails temporaires"
32
-
33
- #: ../inc/dashboard.php:31
34
- #: ../inc/options.php:169
35
- msgid "There are"
36
- msgstr "Il y a"
37
-
38
- #: ../inc/dashboard.php:31
39
- #: ../inc/options.php:169
40
- msgid "e-mail addresses that have been unconfirmed. Delete them to save space below."
41
- msgstr "adresses emails qui ne sont pas confirmées. Supprimer les pour sauvegarder de l'espace."
42
-
43
- #: ../inc/dashboard.php:47
44
- msgid "WP Email Capture - At A Glance"
45
- msgstr "WP Email Capture - En un clin d'oeil"
46
-
47
- #: ../inc/display.php:22
48
- msgid "Name:"
49
- msgstr "Nom:"
50
-
51
- #: ../inc/display.php:24
52
- msgid "Email:"
53
- msgstr "Email:"
54
-
55
- #: ../inc/display.php:36
56
- #: ../inc/display.php:71
57
- msgid "Powered by"
58
- msgstr "Propulsé par"
59
-
60
- #: ../inc/display.php:71
61
- msgid "Submit"
62
- msgstr "Envoyer"
63
-
64
- #: ../inc/options.php:5
65
- #: ../inc/options.php:15
66
- msgid "WP Email Capture Options"
67
- msgstr "Options WP Email Capture"
68
-
69
- #: ../inc/options.php:19
70
- msgid "Recommendations"
71
- msgstr "Recommandations"
72
-
73
- #: ../inc/options.php:21
74
- msgid "We recommend"
75
- msgstr "Nous recommandons"
76
-
77
- #: ../inc/options.php:21
78
- msgid "to run your email campaigns. We have tested this plugin with it."
79
- msgstr "pour effectuer vos campagnes marketing. Nous avons testés ce plugin avec ce service."
80
-
81
- #: ../inc/options.php:46
82
- msgid "Options"
83
- msgstr "Options"
84
-
85
- #: ../inc/options.php:66
86
- msgid "Page to redirect to on sign up (full web address ie: http://www.domain.com/this-page/)"
87
- msgstr "Page de redirection suite à l'enregistrement (adresse compète ie: http://www.domain.com/this-page/)"
88
-
89
- #: ../inc/options.php:74
90
- msgid "Page to redirect to on confirmation of email address (full web address ie: http://www.domain.com/this-other-page/)"
91
- msgstr "Page de redirection pour la confirmation de l'adresse email (adresse complète ie : http://www.domain.com/this-page/)"
92
-
93
- #: ../inc/options.php:82
94
- msgid "From Which Email Address"
95
- msgstr "Email source du message"
96
-
97
- #: ../inc/options.php:90
98
- msgid "From Which Name"
99
- msgstr "Nom source du message"
100
-
101
- #: ../inc/options.php:98
102
- msgid "Subject of Email"
103
- msgstr "Sujet du message"
104
-
105
- #: ../inc/options.php:106
106
- msgid "Body of Email"
107
- msgstr "Contenu du message"
108
-
109
- #: ../inc/options.php:107
110
- msgid "(use %NAME% to use the form's &quot;Name&quot; field in their welcome email)"
111
- msgstr "(utiliser %NAME% pour inclure le nom dans le message de bievenue)"
112
-
113
- #: ../inc/options.php:115
114
- msgid "Link to us (optional, but appreciated)"
115
- msgstr "Faire un lien vers nous (optionnel mais très apprécié)"
116
-
117
- #: ../inc/options.php:139
118
- msgid "Save Changes"
119
- msgstr "Sauvegarder les changements"
120
-
121
- #: ../inc/options.php:155
122
- msgid "Use the button below to export your list as a CSV to use in software such as <a href=\"http://www.gospelrhys.co.uk/go/aweber.php\" title=\"Email Marketing\">Aweber</a> or <a href=\"http://www.gospelrhys.co.uk/go/mailchimp.php\">Mailchimp</a>"
123
- msgstr "Utiliser le bouton ci-dessous pour exporter votre liste au format CSV dans un logiciel tel que <a href=\"http://www.gospelrhys.co.uk/go/aweber.php\" title=\"Email Marketing\">Aweber</a> ou <a href=\"http://www.gospelrhys.co.uk/go/mailchimp.php\">Mailchimp</a>"
124
-
125
- #: ../inc/options.php:177
126
- msgid "Delete Current List"
127
- msgstr "Supprimer la liste"
128
-
129
- #: ../inc/options.php:181
130
- msgid "Want to delete the entire list? Click the link below. <strong>WARNING: </strong> this will delete all confirmed emails, so make sure you have a backup."
131
- msgstr "Vous souhaitez supprimer la liste complète? Cliquez sur le lien ci-dessous. <strong>Attention: </strong> ceci supprimera tous les emails confirmés, donc assurez vous d'avoir une copie de sauvegarde."
132
-
133
- #: ../inc/options.php:191
134
- msgid "Donations"
135
- msgstr "Dons"
136
-
137
- #: ../inc/options.php:193
138
- msgid "If you like this plugin, please consider a small donation to help with future versions &amp; plugins. Donators are thanked on each specific plugin page!"
139
- msgstr "Si vous aimez cette extension, n'hésitez pas à faire un don afin d'aider au développement des futures versions. Les donateurs sont remerciés sur chaque page de l'extension."
140
-
141
- #: ../inc/pagedresults.php:141
142
- msgid "Prev"
143
- msgstr "Précédent"
144
-
145
- #: ../inc/pagedresults.php:169
146
- msgid "Next"
147
- msgstr "Suivant"
148
-
149
- #: ../inc/process.php:158
150
- msgid "This is an automated message that is generated because somebody with the IP address of"
151
- msgstr "Ceci est un message automatique qui est généré parce que quelqu'un avec l'adresse IP"
152
-
153
- #: ../inc/process.php:158
154
- msgid "(possibly you) on"
155
- msgstr "(peut être vous) le"
156
-
157
- #: ../inc/process.php:158
158
- msgid "filled out the form on the following page"
159
- msgstr "a remplit un formulaire sur la page suivante"
160
-
161
- #: ../inc/process.php:159
162
- msgid "If you are sure this isn't you, please ignore this message, you will not be sent another message."
163
- msgstr "Si vous êtes certain que ce n'est pas vous, veuillez ignorer ce message, aucun autre message ne vous sera adressé."
164
-
165
- #: ../inc/process.php:176
166
- msgid "Not found your email in our database"
167
- msgstr "Votre email n'a pas été trouvé dans la base"
168
-
169
- #: ../inc/tabledata.php:27
170
- msgid "Members"
171
- msgstr "Membres"
172
-
173
- #: ../inc/tabledata.php:37
174
- msgid "Name"
175
- msgstr "Nom"
176
-
177
- #: ../inc/tabledata.php:37
178
- msgid "Email"
179
- msgstr "Email"
180
-
181
- #: ../inc/widget.php:35
182
- msgid "Subscribe!"
183
- msgstr "Abonnez vous!"
184
-
185
- #: ../inc/widget.php:37
186
- msgid "Subscribe to my blog for updates"
187
- msgstr "Abonnez vous à mon blog pour recevoir les mises à jour"
188
-
189
- #: ../inc/widget.php:117
190
- msgid "Widget title:"
191
- msgstr "Titre du widget:"
192
-
193
- #: ../inc/widget.php:119
194
- msgid "Widget text:"
195
- msgstr "Texte du widget:"
196
-
197
- #: ../inc/widget.php:135
198
- #: ../inc/widget.php:141
199
- msgid "WP Email Capture"
200
- msgstr "WP Email Capture"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/languages/wp-email-capture-hr.mo DELETED
Binary file
trunk/languages/wp-email-capture-hr.po DELETED
@@ -1 +0,0 @@
1
-
 
trunk/languages/wp-email-capture-hu_HU.mo DELETED
Binary file
trunk/languages/wp-email-capture-hu_HU.po DELETED
@@ -1,529 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: WP Email Capture v2.6\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: \n"
6
- "PO-Revision-Date: 2012-10-20 09:01:43+0000\n"
7
- "Last-Translator: surbma <peter@surbma.hu>\n"
8
- "Language-Team: \n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "Plural-Forms: nplurals=2; plural=n != 1;\n"
13
- "X-Poedit-Language: Hungarian\n"
14
- "X-Poedit-Country: HUNGARY\n"
15
- "X-Poedit-SourceCharset: utf-8\n"
16
- "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
17
- "X-Poedit-Basepath: ../\n"
18
- "X-Poedit-Bookmarks: \n"
19
- "X-Poedit-SearchPath-0: .\n"
20
- "X-Textdomain-Support: yes"
21
-
22
- #: inc/dashboard.php:13
23
- #: inc/options.php:168
24
- #@ WPEC
25
- msgid "Export"
26
- msgstr "Export"
27
-
28
- #: inc/dashboard.php:15
29
- #@ WPEC
30
- msgid "Use the button below to export your list as a CSV to use in software such as"
31
- msgstr "A lenti gombra kattintva tudod a feliratkozókat CSV formátumban letölteni, amit olyan szoftverekben tudsz használni, mint pl."
32
-
33
- #: inc/dashboard.php:22
34
- #: inc/options.php:182
35
- #@ WPEC
36
- msgid "Temporary e-mails"
37
- msgstr "Visszaigazolatlan email címek"
38
-
39
- #: inc/dashboard.php:24
40
- #: inc/options.php:186
41
- #@ WPEC
42
- msgid "There are"
43
- msgstr "Jelenleg"
44
-
45
- #: inc/dashboard.php:24
46
- #: inc/options.php:186
47
- #@ WPEC
48
- msgid "e-mail addresses that have been unconfirmed. Delete them to save space below."
49
- msgstr "visszaigazolatlan email cím van. Törölheted a listát, hogy több helyed legyen."
50
-
51
- #: inc/dashboard.php:40
52
- #@ WPEC
53
- msgid "WP Email Capture - At A Glance"
54
- msgstr "WP Email Capture - Áttekintés"
55
-
56
- #: inc/display.php:22
57
- #: inc/display.php:65
58
- #@ WPEC
59
- msgid "Name:"
60
- msgstr "Név:"
61
-
62
- #: inc/display.php:24
63
- #: inc/display.php:67
64
- #@ WPEC
65
- msgid "Email:"
66
- msgstr "Email:"
67
-
68
- #: inc/display.php:36
69
- #: inc/display.php:75
70
- #@ WPEC
71
- msgid "Powered by"
72
- msgstr " "
73
-
74
- #: inc/admin-sidebar.php:103
75
- #: inc/options.php:5
76
- #: inc/options.php:18
77
- #@ WPEC
78
- msgid "WP Email Capture Options"
79
- msgstr "WP Email Capture beállítások"
80
-
81
- #: inc/options.php:22
82
- #@ WPEC
83
- msgid "Recommendations"
84
- msgstr "Ajánlások"
85
-
86
- #: inc/options.php:24
87
- #@ WPEC
88
- msgid "We recommend"
89
- msgstr "Mi az"
90
-
91
- #: inc/options.php:24
92
- #@ WPEC
93
- msgid "to run your email campaigns. We have tested this plugin with it."
94
- msgstr "alkalmazást ajánljuk az email kampányok kezeléséhez. A bővítményt leteszteltük ezzel az alkalmazással."
95
-
96
- #: inc/options.php:49
97
- #@ WPEC
98
- msgid "Options"
99
- msgstr "Opciók"
100
-
101
- #: inc/options.php:69
102
- #@ WPEC
103
- msgid "Page to redirect to on sign up (full web address ie: http://www.domain.com/this-page/)"
104
- msgstr "Az oldal, ahova feliratkozás után átirányítódik (teljes web cím kell, pl.: http://www.sajatoldalam.hu/koszonjuk-a-feliratkozast/)"
105
-
106
- #: inc/options.php:77
107
- #@ WPEC
108
- msgid "Page to redirect to on confirmation of email address (full web address ie: http://www.domain.com/this-other-page/)"
109
- msgstr "Az oldal, ahova a visszaigazolás után átirányítódik (teljes web cím kell, pl.: http://www.sajatoldalam.hu/sikeres-feliratkozas/)"
110
-
111
- #: inc/options.php:85
112
- #@ WPEC
113
- msgid "From Which Email Address"
114
- msgstr "A kiküldött email feladójának az email címe"
115
-
116
- #: inc/options.php:93
117
- #@ WPEC
118
- msgid "From Which Name"
119
- msgstr "A kiküldött email feladójának a neve"
120
-
121
- #: inc/options.php:101
122
- #@ WPEC
123
- msgid "Subject of Email"
124
- msgstr "A kiküldött email tárgya"
125
-
126
- #: inc/options.php:109
127
- #@ WPEC
128
- msgid "Body of Email"
129
- msgstr "A kiküldött email szövege"
130
-
131
- #: inc/options.php:110
132
- #, php-format
133
- #@ WPEC
134
- msgid "(use %NAME% to use the form's &quot;Name&quot; field in their welcome email)"
135
- msgstr "(használd a %NAME% változót a szövegben, hogy megjelenítsd a feliratkozó &quot;Név&quot; mezőben megadott adatát a kiküldött emailben)"
136
-
137
- #: inc/options.php:118
138
- #@ WPEC
139
- msgid "Link to us (optional, but appreciated)"
140
- msgstr "Referencialink megjelenítése (nem kötelező, de méltányoljuk)"
141
-
142
- #: inc/options.php:156
143
- #@ WPEC
144
- msgid "Save Changes"
145
- msgstr "Változtatások mentése"
146
-
147
- #: inc/options.php:172
148
- #@ WPEC
149
- msgid "Use the button below to export your list as a CSV to use in software such as <a href=\"http://wpemailcapture.com/recommends/aweber\" title=\"Email Marketing\">Aweber</a> or <a href=\"http://wpemailcapture.com/recommends/mailchimp\">Mailchimp</a>"
150
- msgstr "A lenti gombra kattintva tudod a feliratkozókat CSV formátumban letölteni, amit olyan szoftverekben tudsz használni, mint pl. <a href=\"http://wpemailcapture.com/recommends/aweber\" title=\"Email Marketing\">Aweber</a> or <a href=\"http://wpemailcapture.com/recommends/mailchimp\">Mailchimp</a>"
151
-
152
- #: inc/options.php:194
153
- #@ WPEC
154
- msgid "Delete Current List"
155
- msgstr "Jelenlegi lista törlése"
156
-
157
- #: inc/options.php:198
158
- #@ WPEC
159
- msgid "Want to delete the entire list? Click the link below. <strong>WARNING: </strong> this will delete all confirmed emails, so make sure you have a backup."
160
- msgstr "A teljes listát akarod törölni? Kattints a lenti gombra. <strong>FIGYELEM: </strong> ez minden visszaigazolt email címet törölni fog, ezért ellenőrizd, hogy lementetted-e a listát előtte."
161
-
162
- #: inc/admin-sidebar.php:67
163
- #@ WPEC
164
- msgid "Donations"
165
- msgstr "Adományok"
166
-
167
- #: inc/pagedresults.php:141
168
- #@ WPEC
169
- msgid "Prev"
170
- msgstr "Előző"
171
-
172
- #: inc/pagedresults.php:169
173
- #@ WPEC
174
- msgid "Next"
175
- msgstr "Következő"
176
-
177
- #: inc/process.php:186
178
- #@ WPEC
179
- msgid "This is an automated message that is generated because somebody with the IP address of"
180
- msgstr "Ez egy automatikus üzenet, amit azért kapsz, mert valaki a"
181
-
182
- #: inc/process.php:186
183
- #@ WPEC
184
- msgid "(possibly you) on"
185
- msgstr "IP címen (valószínűleg te)"
186
-
187
- #: inc/process.php:186
188
- #@ WPEC
189
- msgid "filled out the form on the following page"
190
- msgstr "időpontban ezzel az email címmel feliratkozott a következő weboldalon:"
191
-
192
- #: inc/process.php:187
193
- #@ WPEC
194
- msgid "If you are sure this isn't you, please ignore this message, you will not be sent another message."
195
- msgstr "Ha biztos vagy benne, hogy nem te iratkoztál fel, akkor törölheted ezt az üzenetet. Ebben az esetben nem kapsz több üzenetet."
196
-
197
- #: inc/process.php:204
198
- #@ WPEC
199
- msgid "Not found your email in our database"
200
- msgstr "A megadott email cím nem található az adatbázisban"
201
-
202
- #: inc/tabledata.php:27
203
- #@ WPEC
204
- msgid "Members"
205
- msgstr "Feliratkozók"
206
-
207
- #: inc/exportcsv.php:15
208
- #: inc/tabledata.php:37
209
- #@ WPEC
210
- msgid "Name"
211
- msgstr "Név"
212
-
213
- #: inc/exportcsv.php:15
214
- #: inc/tabledata.php:37
215
- #@ WPEC
216
- msgid "Email"
217
- msgstr "Email"
218
-
219
- #: inc/widget.php:6
220
- #@ WPEC
221
- msgid "WP Email Capture"
222
- msgstr "WP Email Capture"
223
-
224
- #: inc/widget.php:6
225
- #@ WPEC
226
- msgid "Widget for WP Email Capture"
227
- msgstr "WP Email Capture widget"
228
-
229
- #: inc/widget.php:21
230
- #: inc/widget.php:48
231
- #@ WPEC
232
- msgid "Subscribe!"
233
- msgstr "Hírlevél feliratkozás"
234
-
235
- #: inc/widget.php:22
236
- #: inc/widget.php:48
237
- #@ WPEC
238
- msgid "Subscribe to my blog for updates"
239
- msgstr "A következő űrlap kitöltésével lehet feliratkozni a hírlevélre"
240
-
241
- #: inc/widget.php:55
242
- #@ WPEC
243
- msgid "Widget title:"
244
- msgstr "Cím:"
245
-
246
- #: inc/widget.php:56
247
- #@ WPEC
248
- msgid "Widget text:"
249
- msgstr "Szöveg:"
250
-
251
- #: inc/dashboard.php:9
252
- #@ WPEC
253
- msgid "Last Three Members To Join"
254
- msgstr "Utolsó három feliratkozó"
255
-
256
- #: inc/dashboard.php:17
257
- #: inc/options.php:176
258
- #@ WPEC
259
- msgid "Export List"
260
- msgstr "Lista exportálása"
261
-
262
- #: inc/dashboard.php:27
263
- #: inc/options.php:190
264
- #@ WPEC
265
- msgid "Delete Unconfirmed e-mail Addresses"
266
- msgstr "Visszaigazolatlan email címek törlése"
267
-
268
- #: inc/display.php:18
269
- #@ WPEC
270
- msgid "Error:"
271
- msgstr "Hiba:"
272
-
273
- #: inc/display.php:28
274
- #: inc/display.php:71
275
- #@ WPEC
276
- msgid "Submit"
277
- msgstr "Feliratkozás"
278
-
279
- #: inc/options.php:202
280
- #@ WPEC
281
- msgid "Delete Confirmed e-mail Addresses"
282
- msgstr "Visszaigazolt email címek törlése"
283
-
284
- #: inc/admin-sidebar.php:14
285
- #@ WPEC
286
- msgid "Need Help?"
287
- msgstr "Segítségre van szükséged?"
288
-
289
- #: inc/admin-sidebar.php:16
290
- #@ WPEC
291
- msgid "If you are having problems with this plugin, please read the"
292
- msgstr "Ha problémád van a bővítménnyel, akkor kérünk olvasd el a"
293
-
294
- #: inc/admin-sidebar.php:16
295
- #@ WPEC
296
- msgid "Frequently Asked Questions"
297
- msgstr "Gyakran Ismételt Kérdéseket"
298
-
299
- #: inc/admin-sidebar.php:16
300
- #@ WPEC
301
- msgid "or alternatively"
302
- msgstr "vagy"
303
-
304
- #: inc/admin-sidebar.php:16
305
- #@ WPEC
306
- msgid "submit a support request here"
307
- msgstr "kérj segítséget itt"
308
-
309
- #: inc/admin-sidebar.php:19
310
- #@ WPEC
311
- msgid "Recommended Services"
312
- msgstr "Ajánlott szolgáltatások"
313
-
314
- #: inc/admin-sidebar.php:21
315
- #@ WPEC
316
- msgid "We recommend the following services for sending out emails:-"
317
- msgstr "A következő szolgáltatásokat ajánljuk hírlevelek kezeléséhez:"
318
-
319
- #: inc/admin-sidebar.php:30
320
- #@ WPEC
321
- msgid "Global List Management"
322
- msgstr "Globális lista kezelés"
323
-
324
- #: inc/admin-sidebar.php:32
325
- #@ WPEC
326
- msgid "This page allows you to create lists, either"
327
- msgstr "Ezen az oldalon tudsz listákat létrehozni, akár"
328
-
329
- #: inc/admin-sidebar.php:32
330
- #@ WPEC
331
- msgid "external lists"
332
- msgstr "külső listákat"
333
-
334
- #: inc/admin-sidebar.php:32
335
- #@ WPEC
336
- msgid "(WP Email Capture is compatible with most major email marketing software packages), or a new"
337
- msgstr "(a WP Email Capture kompatibilis a legnépszerűbb hírlevélkezelő szoftverekkel), akár az új"
338
-
339
- #: inc/admin-sidebar.php:32
340
- #@ WPEC
341
- msgid "WP Email Capture List"
342
- msgstr "WP Email Capture listát"
343
-
344
- #: inc/admin-sidebar.php:32
345
- #@ WPEC
346
- msgid "You can create as many different lists as you wish"
347
- msgstr "Korlátlan számú lista létrehozható"
348
-
349
- #: inc/admin-sidebar.php:36
350
- #@ WPEC
351
- msgid "Add/Edit WP Email Capture List"
352
- msgstr "WP Email Capture lista hozzáadása/szerkesztése"
353
-
354
- #: inc/admin-sidebar.php:38
355
- #@ WPEC
356
- msgid "This is the page for managing WP Email Capture Lists. From this page you can:-"
357
- msgstr "Ezen az oldalon lehet a WP Email Capture listákat kezelni. A következő lehetőségek vannak:"
358
-
359
- #: inc/admin-sidebar.php:40
360
- #@ WPEC
361
- msgid "Make Changes To Your Lists"
362
- msgstr "Változtatások a létező listákon"
363
-
364
- #: inc/admin-sidebar.php:40
365
- #@ WPEC
366
- msgid "such as the name and the pages redirected to on form completion"
367
- msgstr "például a lista neve vagy az oldal, ahová feliratkozás után átirányítódik"
368
-
369
- #: inc/admin-sidebar.php:41
370
- #@ WPEC
371
- msgid "Email Options"
372
- msgstr "Email opciók"
373
-
374
- #: inc/admin-sidebar.php:41
375
- #@ WPEC
376
- msgid "such as where the email comes from and what emails sent to the subscriber contains"
377
- msgstr "például a feladó email cím vagy a feliratkozóknak küldött email tartalma"
378
-
379
- #: inc/admin-sidebar.php:42
380
- #@ WPEC
381
- msgid "Error Options"
382
- msgstr "Hiba opciók"
383
-
384
- #: inc/admin-sidebar.php:42
385
- #@ WPEC
386
- msgid "the errors that are displayed to subscribers who incorrectly fill in the form"
387
- msgstr "azok a hibaüzenetek, amiket rossz adatok megadása után ír ki a feliratkozónak"
388
-
389
- #: inc/admin-sidebar.php:43
390
- #@ WPEC
391
- msgid "Styling Options"
392
- msgstr "Stílus beállítások"
393
-
394
- #: inc/admin-sidebar.php:43
395
- #@ WPEC
396
- msgid "change the button image (or use an image), as well as what to ask the user for besides their name"
397
- msgstr "feliratkozó gomb módosítása és a feliratkozótól bekért további adatok megadása"
398
-
399
- #: inc/admin-sidebar.php:45
400
- #@ WPEC
401
- msgid "You can also on this page do the following"
402
- msgstr "További lehetőségek ezen az oldalon"
403
-
404
- #: inc/admin-sidebar.php:47
405
- #@ WPEC
406
- msgid "Manage List Subscribers"
407
- msgstr "Feliratkozottak listájának a kezelése"
408
-
409
- #: inc/admin-sidebar.php:48
410
- #@ WPEC
411
- msgid "Delete Temporary Emails"
412
- msgstr "Ideiglenes Emailek törlése"
413
-
414
- #: inc/admin-sidebar.php:49
415
- #@ WPEC
416
- msgid "Empty the entire list"
417
- msgstr "Teljes lista ürítése"
418
-
419
- #: inc/admin-sidebar.php:54
420
- #@ WPEC
421
- msgid "Get WP Email Capture Premium"
422
- msgstr "WP Email Capture Prémium"
423
-
424
- #: inc/admin-sidebar.php:56
425
- #@ WPEC
426
- msgid "Unlock the <strong>true</strong> power of WP Email Capture with the Premium version. With multiple lists, and stat tracking, WP Email Capture Premium is the missing link in your WordPress Email Marketing Puzzle"
427
- msgstr "Használd ki a WP Email Capture <strong>valódi</strong> erejét a Prémium verzióval. A több lista egyidejű kezelése és a statisztika követés funkciókkal a WP Email Capture Prémium a hiányzó láncszem a WordPress Email Marketing gépezetedben."
428
-
429
- #: inc/admin-sidebar.php:61
430
- #@ WPEC
431
- msgid "Add/Edit External List"
432
- msgstr "Külső lista hozzáadása/szerkesztése"
433
-
434
- #: inc/admin-sidebar.php:63
435
- #@ WPEC
436
- msgid "This is the page for managing External lists through WP Email Capture. Simply copy & paste the code from your Email Marketing software into the page below and you can embed your newsletter subscriptions into posts, pages or sidebars easily using WP Email Capture. If you do not have an Email Marketing Service, a few are recommended below"
437
- msgstr "Ezen az oldalon lehet a WP Email Capture bővítményben beállított külső listákat kezelni. Egyszerűen másold ki és illeszd be a hírlevélkezelő szoftver által megadott kódot alulra, így könnyedén tudod a feliratkozó űrlapot használni a bejegyzésekben, az oldalakon vagy az oldalsávokban a WP Email Capture segítségével. Ha még nem használsz hírlevélkezelő szoftvert, akkor a következőket ajánljuk:"
438
-
439
- #: inc/admin-sidebar.php:68
440
- #@ WPEC
441
- msgid "If you like this plugin, please consider a small donation to help with future versions and plugins."
442
- msgstr "Ha tetszik ez a bővítmény, akkor kérünk, hogy támogass minket egy kis összeggel, hogy hozzájárulj a bővítmény további fejlesztéséhez."
443
-
444
- #: inc/admin-sidebar.php:78
445
- #@ WPEC
446
- msgid "Latest News"
447
- msgstr "Legfrissebb hírek"
448
-
449
- #: inc/admin-sidebar.php:79
450
- #@ WPEC
451
- msgid "The latest news and tutorials from WP Email Capture"
452
- msgstr "A legfrissebb hírek és leírások a WP Email Capture bővítménnyel kapcsolatban"
453
-
454
- #: inc/admin-sidebar.php:90
455
- #@ WPEC
456
- msgid "Support Us!"
457
- msgstr "Támogass minket!"
458
-
459
- #: inc/admin-sidebar.php:91
460
- #@ WPEC
461
- msgid "We would like you if you would not mind, doing one of the following if you are a fan of WP Email Capture"
462
- msgstr "A következő tevékenységekkel támogathatsz minket, ha tetszik a WP Email Capture bővítményünk"
463
-
464
- #: inc/admin-sidebar.php:93
465
- #@ WPEC
466
- msgid "Rate the plugin 5* on WordPress.org"
467
- msgstr "Értékeld a bővítményt 5 csillaggal a WordPress.org oldalon"
468
-
469
- #: inc/admin-sidebar.php:94
470
- #@ WPEC
471
- msgid "Follow @WPEmailCapture on Twitter"
472
- msgstr "Kövesd a @WPEmailCapture-t a Twitteren"
473
-
474
- #: inc/admin-sidebar.php:95
475
- #@ WPEC
476
- msgid "Like us on Facebook"
477
- msgstr "Kövess minket a Facebookon"
478
-
479
- #: inc/admin-sidebar.php:99
480
- #@ WPEC
481
- msgid "Become An Affiliate!"
482
- msgstr "Legyél a partnerünk!"
483
-
484
- #: inc/admin-sidebar.php:100
485
- #@ WPEC
486
- msgid "Earn upto"
487
- msgstr "Keress"
488
-
489
- #: inc/admin-sidebar.php:100
490
- #@ WPEC
491
- msgid "per sale of WP Email Capture"
492
- msgstr "jutalékot minden egyes WP Email Capture eladása után"
493
-
494
- #: inc/admin-sidebar.php:100
495
- #@ WPEC
496
- msgid "Join our affilite programme today"
497
- msgstr "Csatlakozz a partner programunkhoz most"
498
-
499
- #: inc/admin-sidebar.php:104
500
- #@ WPEC
501
- msgid "On this page you can make changes that to the way in which WP Email Capture runs"
502
- msgstr "Ezen az oldalon tudod módosítani a WP Email Capture bővítmény működését"
503
-
504
- #: inc/functions.php:54
505
- #, php-format
506
- #@ default
507
- msgid "<strong>Please Note: </strong> You have not created a subscription page, confirmation page or both in WP Email Capture, please go to the WP Email Capture Settings Page to add them. | <a href=\"%1$s\">Hide Notice</a>"
508
- msgstr ""
509
-
510
- #: inc/options.php:132
511
- #@ WPEC
512
- msgid "Make The \"Name\" field a required field?"
513
- msgstr "Legyen a \"Név\" mező kötelező?"
514
-
515
- #: inc/process.php:155
516
- #@ WPEC
517
- msgid "Sign Up For Our Newsletter"
518
- msgstr "Iratkozz fel a hírlevelünkre"
519
-
520
- #: inc/process.php:181
521
- #@ WPEC
522
- msgid "Thank you for signing up for our newsletter, please click the link below to confirm your subscription"
523
- msgstr "Köszönjük, hogy feliratkoztál a hírlevelünkre, kérünk, hogy kattints a lenti linkre a feliratkozásod megerősítéséhez"
524
-
525
- #: inc/tabledata.php:63
526
- #@ WPEC
527
- msgid "Delete "
528
- msgstr "Törlés - "
529
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/languages/wp-email-capture-it_IT.mo DELETED
Binary file
trunk/languages/wp-email-capture-it_IT.po DELETED
@@ -1,351 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: WPEC\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2014-03-11 13:00+0100\n"
6
- "PO-Revision-Date: \n"
7
- "Last-Translator: David Bravo <dbravo@dimensionmultimedia.com>\n"
8
- "Language-Team: Giuseppe Puccio Marino <puccio.marino@gmail.com>\n"
9
- "Language: it_IT\n"
10
- "MIME-Version: 1.0\n"
11
- "Content-Type: text/plain; charset=UTF-8\n"
12
- "Content-Transfer-Encoding: 8bit\n"
13
- "X-Poedit-SourceCharset: UTF-8\n"
14
- "X-Poedit-Basepath: .\n"
15
- "X-Poedit-KeywordsList: __;_e\n"
16
- "X-Generator: Poedit 1.5.7\n"
17
- "X-Poedit-SearchPath-0: ..\n"
18
-
19
- #: ../inc/dashboard.php:9
20
- msgid "Last Three Members To Join"
21
- msgstr "Ultimi Tre membri che si sono iscritti"
22
-
23
- #: ../inc/dashboard.php:13 ../inc/options.php:176
24
- msgid "Export"
25
- msgstr "Esporta"
26
-
27
- #: ../inc/dashboard.php:15
28
- msgid ""
29
- "Use the button below to export your list as a CSV to use in software such as"
30
- msgstr "Utilizza il bottone sotto per esportare la tua lista come CSV"
31
-
32
- #: ../inc/dashboard.php:17 ../inc/options.php:184
33
- msgid "Export List"
34
- msgstr "Esporta Lista"
35
-
36
- #: ../inc/dashboard.php:22 ../inc/options.php:190
37
- msgid "Temporary e-mails"
38
- msgstr "Emails temporane"
39
-
40
- #: ../inc/dashboard.php:24 ../inc/options.php:194
41
- msgid "There are"
42
- msgstr "Ci sono"
43
-
44
- #: ../inc/dashboard.php:24 ../inc/options.php:194
45
- msgid ""
46
- "e-mail addresses that have been unconfirmed. Delete them to save space below."
47
- msgstr ""
48
- "Indirizzi di posta elettronica che sono stati confermati. Eliminarli per "
49
- "risparmiare spazio sottostante."
50
-
51
- #: ../inc/dashboard.php:27 ../inc/options.php:198
52
- msgid "Delete Unconfirmed e-mail Addresses"
53
- msgstr "Cancella indirizzi e-mail non confermati"
54
-
55
- #: ../inc/dashboard.php:40
56
- msgid "WP Email Capture - At A Glance"
57
- msgstr "Email Capture"
58
-
59
- #: ../inc/display.php:19
60
- msgid "Error:"
61
- msgstr "Errore: "
62
-
63
- #: ../inc/display.php:23 ../inc/display.php:69
64
- msgid "Name:"
65
- msgstr "Nome"
66
-
67
- #: ../inc/display.php:25 ../inc/display.php:71
68
- msgid "Email:"
69
- msgstr "E-mail:"
70
-
71
- #: ../inc/display.php:32 ../inc/display.php:75
72
- msgid "Submit"
73
- msgstr "Iscrivimi"
74
-
75
- #: ../inc/display.php:40 ../inc/display.php:79
76
- msgid "Powered by"
77
- msgstr "Utilizando"
78
-
79
- #: ../inc/exportcsv.php:19 ../inc/tabledata.php:37
80
- msgid "Name"
81
- msgstr "Nome"
82
-
83
- #: ../inc/exportcsv.php:19 ../inc/tabledata.php:37
84
- msgid "Email"
85
- msgstr "E-mail"
86
-
87
- #: ../inc/functions.php:54
88
- #, php-format
89
- msgid ""
90
- "<strong>Please Note: </strong> You have not created a subscription page, "
91
- "confirmation page or both in WP Email Capture, please go to the WP Email "
92
- "Capture Settings Page to add them. | <a href=\"%1$s\">Hide Notice</a>"
93
- msgstr ""
94
- "<strong> Nota Bene: </ strong> Non hai creato una pagina di sottoscrizione, "
95
- "pagina di conferma o sia in WP-mail Capture, si prega di andare alla WP-mail "
96
- "Capture Settings pagina per aggiungerli. | <a Href=\"%1$s\"> Nascondi avviso "
97
- "</ a>"
98
-
99
- #: ../inc/options.php:5 ../inc/options.php:18
100
- msgid "WP Email Capture Options"
101
- msgstr "Opzioni - Email Capture"
102
-
103
- #: ../inc/options.php:22
104
- msgid "Recommendations"
105
- msgstr "Raccomandazioni"
106
-
107
- #: ../inc/options.php:24
108
- msgid "We recommend"
109
- msgstr "Noi raccomandiamo"
110
-
111
- #: ../inc/options.php:24
112
- msgid "to run your email campaigns. We have tested this plugin with it."
113
- msgstr ""
114
- "per eseguire le vostre campagne e-mail. Abbiamo testato questo plugin con "
115
- "esso."
116
-
117
- #: ../inc/options.php:49
118
- msgid "Options"
119
- msgstr "Opzioni"
120
-
121
- #: ../inc/options.php:69
122
- msgid ""
123
- "Page to redirect to on sign up (full web address ie: http://www.domain.com/"
124
- "this-page/)"
125
- msgstr ""
126
- "Pagina redirect dopo iscrizionel (formato: http://www.dominio.it/tua-pagina/)"
127
-
128
- #: ../inc/options.php:77
129
- msgid ""
130
- "Page to redirect to on confirmation of email address (full web address ie: "
131
- "http://www.domain.com/this-other-page/)"
132
- msgstr ""
133
- "Pagina redirect conferma indirizzo email (formato: http://www.dominio.it/tua-"
134
- "pagina/)"
135
-
136
- #: ../inc/options.php:85
137
- msgid "From Which Email Address"
138
- msgstr "Indirizzo mittente"
139
-
140
- #: ../inc/options.php:93
141
- msgid "From Which Name"
142
- msgstr "Nome Mittente"
143
-
144
- #: ../inc/options.php:101
145
- msgid "Subject of Email"
146
- msgstr "Oggetto Email"
147
-
148
- #: ../inc/options.php:109
149
- msgid "Body of Email"
150
- msgstr "<b>Contenuto del messaggio</b>"
151
-
152
- #: ../inc/options.php:110
153
- msgid ""
154
- "(use %NAME% to use the form's &quot;Name&quot; field in their welcome email)"
155
- msgstr ""
156
- "Utilizza %NAME% per includere il nome del destinatario e dare il benvenuto "
157
- "via email."
158
-
159
- #: ../inc/options.php:118
160
- msgid "Link to us (optional, but appreciated)"
161
- msgstr "Link al nostro sito (opzionale, ma apprezzato)"
162
-
163
- #: ../inc/options.php:132
164
- msgid "Make The \"Name\" field a required field?"
165
- msgstr "Fa si che il campo \"Nome \" sia obligatorio"
166
-
167
- #: ../inc/options.php:146
168
- msgid "Delimeter (leave blank for a comma)"
169
- msgstr "Delimitatore (lasciare in bianco per una virgola)"
170
-
171
- #: ../inc/options.php:164
172
- msgid "Save Changes"
173
- msgstr "Salva Cambiamenti"
174
-
175
- #: ../inc/options.php:180
176
- msgid ""
177
- "Use the button below to export your list as a CSV to use in software such as "
178
- "<a href=\"http://wpemailcapture.com/recommends/aweber\" title=\"Email "
179
- "Marketing\">Aweber</a> or <a href=\"http://wpemailcapture.com/recommends/"
180
- "mailchimp\">Mailchimp</a>"
181
- msgstr "Utilizza il bottone per esportare la lista come archivio CSV"
182
-
183
- #: ../inc/options.php:202
184
- msgid "Delete Current List"
185
- msgstr "Cancella lista corrente"
186
-
187
- #: ../inc/options.php:206
188
- msgid ""
189
- "Want to delete the entire list? Click the link below. <strong>WARNING: </"
190
- "strong> this will delete all confirmed emails, so make sure you have a "
191
- "backup."
192
- msgstr ""
193
- "Vuoi cancellare tutta la lista? Clicca sul link qui sotto. <strong> "
194
- "ATTENZIONE: </ strong> questo cancellerà tutto anche le e-mail confermate, "
195
- "quindi assicuratevi di avere un backup."
196
-
197
- #: ../inc/options.php:210
198
- msgid "Delete Confirmed e-mail Addresses"
199
- msgstr "Eliminare Indirizzi e-mail confermati"
200
-
201
- #: ../inc/pagedresults.php:141
202
- msgid "Prev"
203
- msgstr "Precedente"
204
-
205
- #: ../inc/pagedresults.php:169
206
- msgid "Next"
207
- msgstr "Successivo"
208
-
209
- #: ../inc/process.php:57
210
- msgid "Please Provide A Name"
211
- msgstr "Si prega di fornire un nome"
212
-
213
- #: ../inc/process.php:70
214
- msgid "Not a valid email"
215
- msgstr "Non è un indirizzo email valido"
216
-
217
- #: ../inc/process.php:112
218
- msgid "User already present"
219
- msgstr "Utente già presente"
220
-
221
- #: ../inc/process.php:155
222
- msgid "Sign Up For Our Newsletter"
223
- msgstr "Iscriviti alla nostra Newsletter"
224
-
225
- #: ../inc/process.php:181
226
- msgid ""
227
- "Thank you for signing up for our newsletter, please click the link below to "
228
- "confirm your subscription"
229
- msgstr ""
230
- "Grazie per esserti iscritto alla nostra newsletter, clicca sul link qui "
231
- "sotto per confermare l'iscrizione"
232
-
233
- #: ../inc/process.php:186
234
- msgid ""
235
- "This is an automated message that is generated because somebody with the IP "
236
- "address of"
237
- msgstr ""
238
- "Questo messaggio è generato in automatico perché qualcuno con l'indirizzo IP"
239
-
240
- #: ../inc/process.php:186
241
- msgid "(possibly you) on"
242
- msgstr "(possibilmente tu) il"
243
-
244
- #: ../inc/process.php:186
245
- msgid "filled out the form on the following page"
246
- msgstr "ha compilato il modulo alla pagina seguente"
247
-
248
- #: ../inc/process.php:187
249
- msgid ""
250
- "If you are sure this isn't you, please ignore this message, you will not be "
251
- "sent another message."
252
- msgstr ""
253
- "Se siete sicuri di non essere voi, per favore ignorare questo messaggio, non "
254
- "verrà inviato un altro messaggio."
255
-
256
- #: ../inc/process.php:204
257
- msgid "Not found your email in our database"
258
- msgstr "La tua e-mail non &egrave; stata trovata nel nostro database"
259
-
260
- #: ../inc/process.php:226
261
- msgid "Email unable to be sent"
262
- msgstr "Email incapace di essere inviato"
263
-
264
- #: ../inc/process.php:285
265
- msgid "Wrong confirmation code"
266
- msgstr "Codice di conferma errato"
267
-
268
- #: ../inc/tabledata.php:27
269
- msgid "Members"
270
- msgstr "Iscritti"
271
-
272
- #: ../inc/tabledata.php:65
273
- msgid "Delete "
274
- msgstr "Cancella"
275
-
276
- #: ../inc/widget.php:6
277
- msgid "WP Email Capture"
278
- msgstr "Email Capture"
279
-
280
- #: ../inc/widget.php:6
281
- msgid "Widget for WP Email Capture"
282
- msgstr "Widget per Email Capture"
283
-
284
- #: ../inc/widget.php:21 ../inc/widget.php:48 ../inc/widget.php:55
285
- msgid "Subscribe to the Newsletter"
286
- msgstr "Iscriviti alla Newsletter"
287
-
288
- #: ../inc/widget.php:56
289
- msgid "Widget text:"
290
- msgstr "Testo del widget:"
291
-
292
- #~ msgid "Subscribe!"
293
- #~ msgstr "Iscriviti"
294
-
295
- #~ msgid "Subscribe to my blog for updates"
296
- #~ msgstr "Iscriviti al sito per gli aggiornamenti"
297
-
298
- #~ msgid "Widget title:"
299
- #~ msgstr "Titolo Widget"
300
-
301
- #, fuzzy
302
- #~ msgid "Recommended Services"
303
- #~ msgstr "Raccomandazioni"
304
-
305
- #, fuzzy
306
- #~ msgid "WP Email Capture List"
307
- #~ msgstr "Email Capture"
308
-
309
- #, fuzzy
310
- #~ msgid "Add/Edit WP Email Capture List"
311
- #~ msgstr "Opzioni - Email Capture"
312
-
313
- #, fuzzy
314
- #~ msgid "Email Options"
315
- #~ msgstr "Opzioni - Email Capture"
316
-
317
- #, fuzzy
318
- #~ msgid "Error Options"
319
- #~ msgstr "Opzioni"
320
-
321
- #, fuzzy
322
- #~ msgid "Styling Options"
323
- #~ msgstr "Opzioni"
324
-
325
- #, fuzzy
326
- #~ msgid "Delete Temporary Emails"
327
- #~ msgstr "Emails temporanee"
328
-
329
- #, fuzzy
330
- #~ msgid "Get WP Email Capture Premium"
331
- #~ msgstr "Email Capture"
332
-
333
- #~ msgid "Add/Edit External List"
334
- #~ msgstr "Aggiungi/Modifica Lista Esterna"
335
-
336
- #~ msgid "Earn upto"
337
- #~ msgstr "Guadagna fino a"
338
-
339
- #, fuzzy
340
- #~ msgid "per sale of WP Email Capture"
341
- #~ msgstr "Email Capture"
342
-
343
- #~ msgid "Join our affilite programme today"
344
- #~ msgstr "Iscriviti al nostro programma di affiliazione"
345
-
346
- #~ msgid ""
347
- #~ "On this page you can make changes that to the way in which WP Email "
348
- #~ "Capture runs"
349
- #~ msgstr ""
350
- #~ "In questa pagina è possibile apportare modifiche al modo in cui WP-mail "
351
- #~ "Capture funziona"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/languages/wp-email-capture-nl_NL.mo DELETED
Binary file
trunk/languages/wp-email-capture-nl_NL.po DELETED
@@ -1,213 +0,0 @@
1
- # Copyright (C) 2012 WP Email Capture
2
- # This file is distributed under the same license as the WP Email Capture package.
3
- msgid ""
4
- msgstr ""
5
- "Project-Id-Version: WP Email Capture 2.1.1\n"
6
- "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-email-capture\n"
7
- "POT-Creation-Date: 2012-04-06 12:31:13+00:00\n"
8
- "MIME-Version: 1.0\n"
9
- "Content-Type: text/plain; charset=UTF-8\n"
10
- "Content-Transfer-Encoding: 8bit\n"
11
- "PO-Revision-Date: 2012-04-28 14:46+0100\n"
12
- "Last-Translator: Sander de Jong <sander@zanderz.net>\n"
13
- "Language-Team: \n"
14
- "X-Poedit-Language: Dutch\n"
15
- "X-Poedit-Country: NETHERLANDS\n"
16
-
17
- #: inc/dashboard.php:13
18
- #: inc/options.php:151
19
- msgid "Export"
20
- msgstr "Exporteren"
21
-
22
- #: inc/dashboard.php:15
23
- msgid "Use the button below to export your list as a CSV to use in software such as"
24
- msgstr "Gebruik onderstaande knop om je lijst als CSV te exporteren voor gebruik in programma's als"
25
-
26
- #: inc/dashboard.php:22
27
- #: inc/options.php:165
28
- msgid "Temporary e-mails"
29
- msgstr "Tijdelijke e-mails"
30
-
31
- #: inc/dashboard.php:24
32
- #: inc/options.php:169
33
- msgid "There are"
34
- msgstr "Er zijn"
35
-
36
- #: inc/dashboard.php:24
37
- #: inc/options.php:169
38
- msgid "e-mail addresses that have been unconfirmed. Delete them to save space below."
39
- msgstr "onbevestigde e-mailadressen. Om ruimte te besparen kun je ze hier verwijderen."
40
-
41
- #: inc/dashboard.php:40
42
- msgid "WP Email Capture - At A Glance"
43
- msgstr "WP Email Capture - In Een Oogopslag"
44
-
45
- #: inc/display.php:22
46
- msgid "Name:"
47
- msgstr "Naam:"
48
-
49
- #: inc/display.php:24
50
- msgid "Email:"
51
- msgstr "E-mail:"
52
-
53
- #: inc/display.php:36
54
- #: inc/display.php:71
55
- msgid "Powered by"
56
- msgstr "Mogelijk gemaakt door"
57
-
58
- #: inc/options.php:5
59
- #: inc/options.php:15
60
- msgid "WP Email Capture Options"
61
- msgstr "WP Email Capture-opties"
62
-
63
- #: inc/options.php:19
64
- msgid "Recommendations"
65
- msgstr "Aanbevelingen"
66
-
67
- #: inc/options.php:21
68
- msgid "We recommend"
69
- msgstr "We bevelen"
70
-
71
- #: inc/options.php:21
72
- msgid "to run your email campaigns. We have tested this plugin with it."
73
- msgstr "aan voor je e-mailcampagnes. We hebben deze plugin ermee getest."
74
-
75
- #: inc/options.php:46
76
- msgid "Options"
77
- msgstr "Opties"
78
-
79
- #: inc/options.php:66
80
- msgid "Page to redirect to on sign up (full web address ie: http://www.domain.com/this-page/)"
81
- msgstr "Pagina waar men naar doorgestuurd wordt na registratie (volledig adres, bijv. http://www.domein.nl/deze-pagina/)"
82
-
83
- #: inc/options.php:74
84
- msgid "Page to redirect to on confirmation of email address (full web address ie: http://www.domain.com/this-other-page/)"
85
- msgstr "Pagina waar men naar doorgestuurd wordt na e-mailbevestiging (volledig adres, bijv. http://www.domein.nl/deze-andere-pagina/)"
86
-
87
- #: inc/options.php:82
88
- msgid "From Which Email Address"
89
- msgstr "Van welk e-mailadres"
90
-
91
- #: inc/options.php:90
92
- msgid "From Which Name"
93
- msgstr "Van welke naam"
94
-
95
- #: inc/options.php:98
96
- msgid "Subject of Email"
97
- msgstr "Onderwep van e-mail"
98
-
99
- #: inc/options.php:106
100
- msgid "Body of Email"
101
- msgstr "Inhoud van e-mail"
102
-
103
- #: inc/options.php:107
104
- msgid "(use %NAME% to use the form's &quot;Name&quot; field in their welcome email)"
105
- msgstr "(gebruik %NAAM% om het Naam-veld uit het formulier te gebruiken in de welkoms-mail)"
106
-
107
- #: inc/options.php:115
108
- msgid "Link to us (optional, but appreciated)"
109
- msgstr "Link naar ons (optioneel, maar wordt op prijs gesteld)"
110
-
111
- #: inc/options.php:139
112
- msgid "Save Changes"
113
- msgstr "Veranderingen opslaan"
114
-
115
- #: inc/options.php:155
116
- msgid "Use the button below to export your list as a CSV to use in software such as <a href=\"http://wpemailcapture.com/recommends/aweber\" title=\"Email Marketing\">Aweber</a> or <a href=\"http://wpemailcapture.com/recommends/mailchimp\">Mailchimp</a>"
117
- msgstr "Gebruik onderstaande knop om je lijst te exporteren als CSV, voor gebruik in programma's als <a href=\"http://wpemailcapture.com/recommends/aweber\" title=\"Email Marketing\">Aweber</a> of <a href=\"http://wpemailcapture.com/recommends/mailchimp\">Mailchimp</a>"
118
-
119
- #: inc/options.php:177
120
- msgid "Delete Current List"
121
- msgstr "Verwijder huidige lijst"
122
-
123
- #: inc/options.php:181
124
- msgid "Want to delete the entire list? Click the link below. <strong>WARNING: </strong> this will delete all confirmed emails, so make sure you have a backup."
125
- msgstr "Hele lijst verwijderen? Klik op onderstaande link. <strong>WAARSCHUWING: </strong> dit verwijdert alle bevestigde e-mails, dus zorg dat je een reservekopie hebt."
126
-
127
- #: inc/options.php:191
128
- msgid "Donations"
129
- msgstr "Donaties"
130
-
131
- #: inc/options.php:193
132
- msgid "If you like this plugin, please consider a small donation to help with future versions &amp; plugins. Donators are thanked on each specific plugin page!"
133
- msgstr "Als je deze plugin leuk vindt, overweeg dan om een kleine donatie te doen voor toekomstige versies &amp; plugins. Donateurs worden bedankt op iedere pluginpagina!"
134
-
135
- #: inc/pagedresults.php:141
136
- msgid "Prev"
137
- msgstr "Vorige"
138
-
139
- #: inc/pagedresults.php:169
140
- msgid "Next"
141
- msgstr "Volgende"
142
-
143
- #: inc/process.php:158
144
- msgid "This is an automated message that is generated because somebody with the IP address of"
145
- msgstr "Dit is een automatisch bericht omdat iemand met het IP-adres"
146
-
147
- #: inc/process.php:158
148
- msgid "(possibly you) on"
149
- msgstr "(mogelijk jij) op"
150
-
151
- #: inc/process.php:158
152
- msgid "filled out the form on the following page"
153
- msgstr "het formulier invulde op de volgende pagina"
154
-
155
- #: inc/process.php:159
156
- msgid "If you are sure this isn't you, please ignore this message, you will not be sent another message."
157
- msgstr "Als je zeker bent dat jij dit niet bent kun je dit bericht negeren, je ontvangt niet nog een bericht."
158
-
159
- #: inc/process.php:176
160
- msgid "Not found your email in our database"
161
- msgstr "Je e-mailadres is niet gevonden in de database"
162
-
163
- #: inc/tabledata.php:27
164
- msgid "Members"
165
- msgstr "Leden"
166
-
167
- #: inc/tabledata.php:37
168
- msgid "Name"
169
- msgstr "Naam"
170
-
171
- #: inc/tabledata.php:37
172
- msgid "Email"
173
- msgstr "E-mail"
174
-
175
- #: inc/widget.php:35
176
- msgid "Subscribe!"
177
- msgstr "Abonneren!"
178
-
179
- #: inc/widget.php:37
180
- msgid "Subscribe to my blog for updates"
181
- msgstr "Abonneer je op mijn blog voor nieuwe versies"
182
-
183
- #: inc/widget.php:117
184
- msgid "Widget title:"
185
- msgstr "Widget-titel"
186
-
187
- #: inc/widget.php:119
188
- msgid "Widget text:"
189
- msgstr "Widget-tekst"
190
-
191
- #. #-#-#-#-# plugin.pot (WP Email Capture 2.1.1) #-#-#-#-#
192
- #. Plugin Name of the plugin/theme
193
- #: inc/widget.php:135
194
- #: inc/widget.php:141
195
- msgid "WP Email Capture"
196
- msgstr ""
197
-
198
- #. Plugin URI of the plugin/theme
199
- msgid "http://www.wpemailcapture.com"
200
- msgstr ""
201
-
202
- #. Description of the plugin/theme
203
- msgid "Captures email addresses for insertion into software such as <a href=\"http://wpemailcapture.com/recommends/aweber\" title=\"Email Marketing\">Aweber</a> or <a href=\"http://wpemailcapture.com/recommends/mailchimp/\">Mailchimp</a>"
204
- msgstr "Vangt e-mailadressen af om te gebruiken in programma's als <a href=\"http://wpemailcapture.com/recommends/aweber\" title=\"Email Marketing\">Aweber</a> of <a href=\"http://wpemailcapture.com/recommends/mailchimp/\">Mailchimp</a>"
205
-
206
- #. Author of the plugin/theme
207
- msgid "Rhys Wynne"
208
- msgstr ""
209
-
210
- #. Author URI of the plugin/theme
211
- msgid "http://www.rhyswynne.co.uk/"
212
- msgstr ""
213
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/languages/wp-email-capture-pt_BR.mo DELETED
Binary file
trunk/languages/wp-email-capture-pt_BR.po DELETED
@@ -1,199 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: WPEC\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2012-04-02 09:57-0300\n"
6
- "PO-Revision-Date: \n"
7
- "Last-Translator: nicholas <nicholas@jmbn.com.br>\n"
8
- "Language-Team: \n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "X-Poedit-Language: French\n"
13
- "X-Poedit-Country: FRANCE\n"
14
- "X-Poedit-SourceCharset: utf-8\n"
15
- "X-Poedit-Basepath: .\n"
16
- "X-Poedit-KeywordsList: __;_e\n"
17
- "X-Poedit-SearchPath-0: ..\n"
18
-
19
- #: ../inc/_display.php:22
20
- msgid "Name:"
21
- msgstr "Nome:"
22
-
23
- #: ../inc/_display.php:24
24
- msgid "Email:"
25
- msgstr "E-mail:"
26
-
27
- #: ../inc/_display.php:36
28
- #: ../inc/_display.php:71
29
- #: ../inc/display.php:34
30
- #: ../inc/display.php:69
31
- msgid "Powered by"
32
- msgstr "Desenvolvido por"
33
-
34
- #: ../inc/dashboard.php:13
35
- #: ../inc/options.php:151
36
- msgid "Export"
37
- msgstr "Exportar"
38
-
39
- #: ../inc/dashboard.php:15
40
- msgid "Use the button below to export your list as a CSV to use in software such as"
41
- msgstr "Use o botão abaixo para exportar a lista como um arquivo CSV para usar em programas como "
42
-
43
- #: ../inc/dashboard.php:22
44
- #: ../inc/options.php:165
45
- msgid "Temporary e-mails"
46
- msgstr "Emails temporários"
47
-
48
- #: ../inc/dashboard.php:24
49
- #: ../inc/options.php:169
50
- msgid "There are"
51
- msgstr "Existem"
52
-
53
- #: ../inc/dashboard.php:24
54
- #: ../inc/options.php:169
55
- msgid "e-mail addresses that have been unconfirmed. Delete them to save space below."
56
- msgstr "endereços de e-mail que não foram confirmados. Exclua-os para economizar espaço."
57
-
58
- #: ../inc/dashboard.php:40
59
- msgid "WP Email Capture - At A Glance"
60
- msgstr "WP Email Capture - À primeira vista"
61
-
62
- #: ../inc/options.php:5
63
- #: ../inc/options.php:15
64
- msgid "WP Email Capture Options"
65
- msgstr "Opções - WP Email Capture"
66
-
67
- #: ../inc/options.php:19
68
- msgid "Recommendations"
69
- msgstr "Recomendações"
70
-
71
- #: ../inc/options.php:21
72
- msgid "We recommend"
73
- msgstr "Recomendamos"
74
-
75
- #: ../inc/options.php:21
76
- msgid "to run your email campaigns. We have tested this plugin with it."
77
- msgstr "para executar suas campanhas de e-mail. Nós testamos este plugin juntamente com o WP E-mail Capture."
78
-
79
- #: ../inc/options.php:46
80
- msgid "Options"
81
- msgstr "Opções"
82
-
83
- #: ../inc/options.php:66
84
- msgid "Page to redirect to on sign up (full web address ie: http://www.domain.com/this-page/)"
85
- msgstr "Página para redirecionar após o cadastro</br>Usar endereço completo: http://www.dominio.com/pagina-cadastro"
86
-
87
- #: ../inc/options.php:74
88
- msgid "Page to redirect to on confirmation of email address (full web address ie: http://www.domain.com/this-other-page/)"
89
- msgstr "Página para redirecionar após a confirmação do endereço de email.</br>Usar endereço completo: http://www.dominio.com/pagina-confirma"
90
-
91
- #: ../inc/options.php:82
92
- msgid "From Which Email Address"
93
- msgstr "Endereço de email do remetente"
94
-
95
- #: ../inc/options.php:90
96
- msgid "From Which Name"
97
- msgstr "Nome de exibição no e-mail de confirmação"
98
-
99
- #: ../inc/options.php:98
100
- msgid "Subject of Email"
101
- msgstr "Assunto da mensagem"
102
-
103
- #: ../inc/options.php:106
104
- msgid "Body of Email"
105
- msgstr "<b>Conteúdo da mensagem</b>"
106
-
107
- #: ../inc/options.php:107
108
- msgid "(use %NAME% to use the form's &quot;Name&quot; field in their welcome email)"
109
- msgstr "Use %NAME% para incluir o nome inserido no formulário de cadastro, na mensagem de boas vindas."
110
-
111
- #: ../inc/options.php:115
112
- msgid "Link to us (optional, but appreciated)"
113
- msgstr "Link do desenvolvedor (opcional, mas apreciado)"
114
-
115
- #: ../inc/options.php:139
116
- msgid "Save Changes"
117
- msgstr "Salvar mudanças"
118
-
119
- #: ../inc/options.php:155
120
- msgid "Use the button below to export your list as a CSV to use in software such as <a href=\"http://wpemailcapture.com/recommends/aweber\" title=\"Email Marketing\">Aweber</a> or <a href=\"http://wpemailcapture.com/recommends/mailchimp\">Mailchimp</a>"
121
- msgstr "Use o botão abaixo para exportar a lista como um arquivo CSV para usar em programas como <a href=\"http://wpemailcapture.com/recommends/aweber\" title=\"Email Marketing\">Aweber</ a> ou <a href=\"http://wpemailcapture.com/recommends/mailchimp\">MailChimp</ a>"
122
-
123
- #: ../inc/options.php:177
124
- msgid "Delete Current List"
125
- msgstr "Deletar a lista atual"
126
-
127
- #: ../inc/options.php:181
128
- msgid "Want to delete the entire list? Click the link below. <strong>WARNING: </strong> this will delete all confirmed emails, so make sure you have a backup."
129
- msgstr "Quer apagar toda a lista? Clique no link abaixo. </br><strong> AVISO: </strong> isso vai apagar todos os e-mails confirmados, por isso verifique se você tem um backup."
130
-
131
- #: ../inc/options.php:191
132
- msgid "Donations"
133
- msgstr "Doações"
134
-
135
- #: ../inc/options.php:193
136
- msgid "If you like this plugin, please consider a small donation to help with future versions &amp; plugins. Donators are thanked on each specific plugin page!"
137
- msgstr "Se você gostou deste plugin, por favor considere fazer uma pequena doação para ajudar com futuras versões e plugins.</br> Doadores são agradecidos em cada página do plugin!"
138
-
139
- #: ../inc/pagedresults.php:141
140
- msgid "Prev"
141
- msgstr "Anterior"
142
-
143
- #: ../inc/pagedresults.php:169
144
- msgid "Next"
145
- msgstr "Próxima"
146
-
147
- #: ../inc/process.php:158
148
- msgid "This is an automated message that is generated because somebody with the IP address of"
149
- msgstr "Esta é uma mensagem automática que é gerado porque alguém com o endereço IP de"
150
-
151
- #: ../inc/process.php:158
152
- msgid "(possibly you) on"
153
- msgstr "(possivelmente você) em"
154
-
155
- #: ../inc/process.php:158
156
- msgid "filled out the form on the following page"
157
- msgstr "preencheu o formulário na seguinte página "
158
-
159
- #: ../inc/process.php:159
160
- msgid "If you are sure this isn't you, please ignore this message, you will not be sent another message."
161
- msgstr "Se tiver a certeza que não é você, por favor, ignore esta mensagem. Não será enviada outra mensagem."
162
-
163
- #: ../inc/process.php:176
164
- msgid "Not found your email in our database"
165
- msgstr "Seu e-mail não foi encontrado em nosso banco de dados"
166
-
167
- #: ../inc/tabledata.php:27
168
- msgid "Members"
169
- msgstr "Membros"
170
-
171
- #: ../inc/tabledata.php:37
172
- msgid "Name"
173
- msgstr "Nome"
174
-
175
- #: ../inc/tabledata.php:37
176
- msgid "Email"
177
- msgstr "E-mail"
178
-
179
- #: ../inc/widget.php:35
180
- msgid "Subscribe!"
181
- msgstr "Inscrever-se!"
182
-
183
- #: ../inc/widget.php:37
184
- msgid "Subscribe to my blog for updates"
185
- msgstr "Assine o meu blog para receber notícias sobre atualizações"
186
-
187
- #: ../inc/widget.php:117
188
- msgid "Widget title:"
189
- msgstr "Título do widget:"
190
-
191
- #: ../inc/widget.php:119
192
- msgid "Widget text:"
193
- msgstr "Texto do widget:"
194
-
195
- #: ../inc/widget.php:135
196
- #: ../inc/widget.php:141
197
- msgid "WP Email Capture"
198
- msgstr "WP Email Capture"
199
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/languages/wp-email-capture-sr_RS.mo DELETED
Binary file
trunk/languages/wp-email-capture-sr_RS.po DELETED
@@ -1,603 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: WP Email Capture v2.6\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: \n"
6
- "PO-Revision-Date: 2014-05-26 17:10+0100\n"
7
- "Last-Translator: Borisa Djuraskovic <borisad@webhostinghub.com>\n"
8
- "Language-Team: \n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "Plural-Forms: nplurals=2; plural=n != 1;\n"
13
- "X-Poedit-SourceCharset: utf-8\n"
14
- "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
15
- "_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
16
- "X-Poedit-Basepath: ../\n"
17
- "X-Textdomain-Support: yes\n"
18
- "Language: hu_HU\n"
19
- "X-Generator: Poedit 1.5.7\n"
20
- "X-Poedit-SearchPath-0: .\n"
21
-
22
- # @ WPEC
23
- #: inc/dashboard.php:13 inc/options.php:168
24
- msgid "Export"
25
- msgstr "Export"
26
-
27
- # @ WPEC
28
- #: inc/dashboard.php:15
29
- msgid ""
30
- "Use the button below to export your list as a CSV to use in software such as"
31
- msgstr ""
32
- "Koristite dugme ispod da biste exporttovali vašu listu kao CSV da biste "
33
- "koristili softver kao što je"
34
-
35
- # @ WPEC
36
- #: inc/dashboard.php:22 inc/options.php:182
37
- msgid "Temporary e-mails"
38
- msgstr "Privremeni mailovi"
39
-
40
- # @ WPEC
41
- #: inc/dashboard.php:24 inc/options.php:186
42
- msgid "There are"
43
- msgstr "Ima"
44
-
45
- # @ WPEC
46
- #: inc/dashboard.php:24 inc/options.php:186
47
- msgid ""
48
- "e-mail addresses that have been unconfirmed. Delete them to save space below."
49
- msgstr ""
50
- "e-mail adrese koje nisu potvrdjene. Obrisati da bi se sačuvao prazan prostor."
51
-
52
- # @ WPEC
53
- #: inc/dashboard.php:40
54
- msgid "WP Email Capture - At A Glance"
55
- msgstr "WP Email Capture - ukratko"
56
-
57
- # @ WPEC
58
- #: inc/display.php:22 inc/display.php:65
59
- msgid "Name:"
60
- msgstr "Ime:"
61
-
62
- # @ WPEC
63
- #: inc/display.php:24 inc/display.php:67
64
- msgid "Email:"
65
- msgstr "Email:"
66
-
67
- # @ WPEC
68
- #: inc/display.php:36 inc/display.php:75
69
- msgid "Powered by"
70
- msgstr " "
71
-
72
- # @ WPEC
73
- #: inc/admin-sidebar.php:103 inc/options.php:5 inc/options.php:18
74
- msgid "WP Email Capture Options"
75
- msgstr "WP Email Capture opcije"
76
-
77
- # @ WPEC
78
- #: inc/options.php:22
79
- msgid "Recommendations"
80
- msgstr "Preporuke"
81
-
82
- # @ WPEC
83
- #: inc/options.php:24
84
- msgid "We recommend"
85
- msgstr "Preporučujemo"
86
-
87
- # @ WPEC
88
- #: inc/options.php:24
89
- msgid "to run your email campaigns. We have tested this plugin with it."
90
- msgstr "da pokrenete vaše email kampanje. Testirali smo plugin sa tim."
91
-
92
- # @ WPEC
93
- #: inc/options.php:49
94
- msgid "Options"
95
- msgstr "Opcije"
96
-
97
- # @ WPEC
98
- #: inc/options.php:69
99
- msgid ""
100
- "Page to redirect to on sign up (full web address ie: http://www.domain.com/"
101
- "this-page/)"
102
- msgstr ""
103
- "Stranica da usmeri na sign up (cela web adresa pr: http://www.domain.com/"
104
- "this-page/)"
105
-
106
- # @ WPEC
107
- #: inc/options.php:77
108
- msgid ""
109
- "Page to redirect to on confirmation of email address (full web address ie: "
110
- "http://www.domain.com/this-other-page/)"
111
- msgstr ""
112
- "Stranica da usmeri na konformacionu email adresu (cela web adresa pr: http://"
113
- "www.domain.com/this-other-page/)"
114
-
115
- # @ WPEC
116
- #: inc/options.php:85
117
- msgid "From Which Email Address"
118
- msgstr "Sa koje email adrese"
119
-
120
- # @ WPEC
121
- #: inc/options.php:93
122
- msgid "From Which Name"
123
- msgstr "Sa kog imena"
124
-
125
- # @ WPEC
126
- #: inc/options.php:101
127
- msgid "Subject of Email"
128
- msgstr "Predmet emaila"
129
-
130
- # @ WPEC
131
- #: inc/options.php:109
132
- msgid "Body of Email"
133
- msgstr "Telo email"
134
-
135
- # @ WPEC
136
- #: inc/options.php:110
137
- #, php-format
138
- msgid ""
139
- "(use %NAME% to use the form's &quot;Name&quot; field in their welcome email)"
140
- msgstr ""
141
- "(koristi %IME%da koristi formu &quot;Name&quot; polje u njihovom emailu za "
142
- "dobrodošlicu)"
143
-
144
- # @ WPEC
145
- #: inc/options.php:118
146
- msgid "Link to us (optional, but appreciated)"
147
- msgstr "Link za nas (opcionalno, ali očekivano)"
148
-
149
- # @ WPEC
150
- #: inc/options.php:156
151
- msgid "Save Changes"
152
- msgstr "Sačuvati promene"
153
-
154
- # @ WPEC
155
- #: inc/options.php:172
156
- msgid ""
157
- "Use the button below to export your list as a CSV to use in software such as "
158
- "<a href=\"http://wpemailcapture.com/recommends/aweber\" title=\"Email "
159
- "Marketing\">Aweber</a> or <a href=\"http://wpemailcapture.com/recommends/"
160
- "mailchimp\">Mailchimp</a>"
161
- msgstr ""
162
- "Koristiti dugme ispod da biste exportovali vašu listu kao CSV da biste "
163
- "koristili u softveru kao što je <a href=\"http://wpemailcapture.com/"
164
- "recommends/aweber\" title=\"Email Marketing\">Aweber</a> or <a href=\"http://"
165
- "wpemailcapture.com/recommends/mailchimp\">Mailchimp</a>"
166
-
167
- # @ WPEC
168
- #: inc/options.php:194
169
- msgid "Delete Current List"
170
- msgstr "Obrisati trenutnu listu"
171
-
172
- # @ WPEC
173
- #: inc/options.php:198
174
- msgid ""
175
- "Want to delete the entire list? Click the link below. <strong>WARNING: </"
176
- "strong> this will delete all confirmed emails, so make sure you have a "
177
- "backup."
178
- msgstr ""
179
- "Želite da izbrišete celu listu? Klik na link ispod.<strong>UPOZORENJE: </"
180
- "strong> ovo će obrisati sve potvrdjene emailove, tako da bi trebalo da imate "
181
- "backup. "
182
-
183
- # @ WPEC
184
- #: inc/admin-sidebar.php:67
185
- msgid "Donations"
186
- msgstr "Donacije"
187
-
188
- # @ WPEC
189
- #: inc/pagedresults.php:141
190
- msgid "Prev"
191
- msgstr "Prethodno"
192
-
193
- # @ WPEC
194
- #: inc/pagedresults.php:169
195
- msgid "Next"
196
- msgstr "Sledeće"
197
-
198
- # @ WPEC
199
- #: inc/process.php:186
200
- msgid ""
201
- "This is an automated message that is generated because somebody with the IP "
202
- "address of"
203
- msgstr "Ovo je automatska poruka koja se generiše jer je neko sa IP adresom od"
204
-
205
- # @ WPEC
206
- #: inc/process.php:186
207
- msgid "(possibly you) on"
208
- msgstr "(verovatno ti) na"
209
-
210
- # @ WPEC
211
- #: inc/process.php:186
212
- msgid "filled out the form on the following page"
213
- msgstr "popuniti formu na sledećoj stranici"
214
-
215
- # @ WPEC
216
- #: inc/process.php:187
217
- msgid ""
218
- "If you are sure this isn't you, please ignore this message, you will not be "
219
- "sent another message."
220
- msgstr ""
221
- "Ako ste sigurni da ovo niste vi, ignorišite ovu poruku neće vam biti poslata "
222
- "druga."
223
-
224
- # @ WPEC
225
- #: inc/process.php:204
226
- msgid "Not found your email in our database"
227
- msgstr "Nije pronadjen mail u vašoj bazi podataka"
228
-
229
- # @ WPEC
230
- #: inc/tabledata.php:27
231
- msgid "Members"
232
- msgstr "Članovi"
233
-
234
- # @ WPEC
235
- #: inc/exportcsv.php:15 inc/tabledata.php:37
236
- msgid "Name"
237
- msgstr "Ime"
238
-
239
- # @ WPEC
240
- #: inc/exportcsv.php:15 inc/tabledata.php:37
241
- msgid "Email"
242
- msgstr "Email"
243
-
244
- # @ WPEC
245
- #: inc/widget.php:6
246
- msgid "WP Email Capture"
247
- msgstr "WP Email Capture"
248
-
249
- # @ WPEC
250
- #: inc/widget.php:6
251
- msgid "Widget for WP Email Capture"
252
- msgstr "Widget for WP Email Capture"
253
-
254
- # @ WPEC
255
- #: inc/widget.php:21 inc/widget.php:48
256
- msgid "Subscribe!"
257
- msgstr "Pretplati se!"
258
-
259
- # @ WPEC
260
- #: inc/widget.php:22 inc/widget.php:48
261
- msgid "Subscribe to my blog for updates"
262
- msgstr "Pretplati se na moj blog zbog updateova"
263
-
264
- # @ WPEC
265
- #: inc/widget.php:55
266
- msgid "Widget title:"
267
- msgstr "Naslov widgeta:"
268
-
269
- # @ WPEC
270
- #: inc/widget.php:56
271
- msgid "Widget text:"
272
- msgstr "Tekst widgeta:"
273
-
274
- # @ WPEC
275
- #: inc/dashboard.php:9
276
- msgid "Last Three Members To Join"
277
- msgstr "Posledna tri člana za priključivanje"
278
-
279
- # @ WPEC
280
- #: inc/dashboard.php:17 inc/options.php:176
281
- msgid "Export List"
282
- msgstr "Export List"
283
-
284
- # @ WPEC
285
- #: inc/dashboard.php:27 inc/options.php:190
286
- msgid "Delete Unconfirmed e-mail Addresses"
287
- msgstr "Obrisati"
288
-
289
- # @ WPEC
290
- #: inc/display.php:18
291
- msgid "Error:"
292
- msgstr "Greška:"
293
-
294
- # @ WPEC
295
- #: inc/display.php:28 inc/display.php:71
296
- msgid "Submit"
297
- msgstr "Podneti"
298
-
299
- # @ WPEC
300
- #: inc/options.php:202
301
- msgid "Delete Confirmed e-mail Addresses"
302
- msgstr "Obrisati potvrdjenu email adresu"
303
-
304
- # @ WPEC
305
- #: inc/admin-sidebar.php:14
306
- msgid "Need Help?"
307
- msgstr "Treba vam pomoć?"
308
-
309
- # @ WPEC
310
- #: inc/admin-sidebar.php:16
311
- msgid "If you are having problems with this plugin, please read the"
312
- msgstr "Ako imate problema sa ovim pluginom, pročitajte"
313
-
314
- # @ WPEC
315
- #: inc/admin-sidebar.php:16
316
- msgid "Frequently Asked Questions"
317
- msgstr "često postavljana pitanja"
318
-
319
- # @ WPEC
320
- #: inc/admin-sidebar.php:16
321
- msgid "or alternatively"
322
- msgstr "ili alternativno"
323
-
324
- # @ WPEC
325
- #: inc/admin-sidebar.php:16
326
- msgid "submit a support request here"
327
- msgstr "podneti zahtev za podršku ovde"
328
-
329
- # @ WPEC
330
- #: inc/admin-sidebar.php:19
331
- msgid "Recommended Services"
332
- msgstr "Preporučene usluge"
333
-
334
- # @ WPEC
335
- #: inc/admin-sidebar.php:21
336
- msgid "We recommend the following services for sending out emails:-"
337
- msgstr "Me preporučujemo sledeće usluge za slanje emailova:-"
338
-
339
- # @ WPEC
340
- #: inc/admin-sidebar.php:30
341
- msgid "Global List Management"
342
- msgstr "Global List Management"
343
-
344
- # @ WPEC
345
- #: inc/admin-sidebar.php:32
346
- msgid "This page allows you to create lists, either"
347
- msgstr "ova stranica vam dozvoljava da kreirate liste, ili"
348
-
349
- # @ WPEC
350
- #: inc/admin-sidebar.php:32
351
- msgid "external lists"
352
- msgstr "eksterne liste"
353
-
354
- # @ WPEC
355
- #: inc/admin-sidebar.php:32
356
- msgid ""
357
- "(WP Email Capture is compatible with most major email marketing software "
358
- "packages), or a new"
359
- msgstr ""
360
- "(WP Email Capture je kompatibilan sa većinom email marketing software "
361
- "paketa) ili noviji"
362
-
363
- # @ WPEC
364
- #: inc/admin-sidebar.php:32
365
- msgid "WP Email Capture List"
366
- msgstr "WP Email Capture Lista"
367
-
368
- # @ WPEC
369
- #: inc/admin-sidebar.php:32
370
- msgid "You can create as many different lists as you wish"
371
- msgstr "Možete da kreirate koliko želite različitih lista "
372
-
373
- # @ WPEC
374
- #: inc/admin-sidebar.php:36
375
- msgid "Add/Edit WP Email Capture List"
376
- msgstr "Dodati/Editovati WP Email Capture Listu"
377
-
378
- # @ WPEC
379
- #: inc/admin-sidebar.php:38
380
- msgid ""
381
- "This is the page for managing WP Email Capture Lists. From this page you "
382
- "can:-"
383
- msgstr ""
384
- "Ovo je stranica za upravljanje WP Email Capture Listi. Sa ove stranice "
385
- "možete:-"
386
-
387
- # @ WPEC
388
- #: inc/admin-sidebar.php:40
389
- msgid "Make Changes To Your Lists"
390
- msgstr "Napravite promene u vašim listama"
391
-
392
- # @ WPEC
393
- #: inc/admin-sidebar.php:40
394
- msgid "such as the name and the pages redirected to on form completion"
395
- msgstr "kao što su ime i stranice redirektovane u formu"
396
-
397
- # @ WPEC
398
- #: inc/admin-sidebar.php:41
399
- msgid "Email Options"
400
- msgstr "email opcije"
401
-
402
- # @ WPEC
403
- #: inc/admin-sidebar.php:41
404
- msgid ""
405
- "such as where the email comes from and what emails sent to the subscriber "
406
- "contains"
407
- msgstr ""
408
- "kao što je odakle ovaj email dolazi i koji emailovi su poslati sadržaju "
409
- "pretplatnika"
410
-
411
- # @ WPEC
412
- #: inc/admin-sidebar.php:42
413
- msgid "Error Options"
414
- msgstr "Opcije greške"
415
-
416
- # @ WPEC
417
- #: inc/admin-sidebar.php:42
418
- msgid ""
419
- "the errors that are displayed to subscribers who incorrectly fill in the form"
420
- msgstr ""
421
- "greške koje su prikazane pretplatnicima koji nisu pravilno popunili formu"
422
-
423
- # @ WPEC
424
- #: inc/admin-sidebar.php:43
425
- msgid "Styling Options"
426
- msgstr "Opcije stilizovanja"
427
-
428
- # @ WPEC
429
- #: inc/admin-sidebar.php:43
430
- msgid ""
431
- "change the button image (or use an image), as well as what to ask the user "
432
- "for besides their name"
433
- msgstr ""
434
- "promenite sliku dugmeta (ili koristite sliku), kao i šta da pitate korisnika "
435
- "osim za njihovo ime"
436
-
437
- # @ WPEC
438
- #: inc/admin-sidebar.php:45
439
- msgid "You can also on this page do the following"
440
- msgstr "Možete takodje na ovoj stranici da uradite sledeće"
441
-
442
- # @ WPEC
443
- #: inc/admin-sidebar.php:47
444
- msgid "Manage List Subscribers"
445
- msgstr "Upravljanje listom pretplatnika"
446
-
447
- # @ WPEC
448
- #: inc/admin-sidebar.php:48
449
- msgid "Delete Temporary Emails"
450
- msgstr "Obrisati privremene emailove"
451
-
452
- # @ WPEC
453
- #: inc/admin-sidebar.php:49
454
- msgid "Empty the entire list"
455
- msgstr "Ispazniti celu listu"
456
-
457
- # @ WPEC
458
- #: inc/admin-sidebar.php:54
459
- msgid "Get WP Email Capture Premium"
460
- msgstr "Nabavite WP Email Capture Premium"
461
-
462
- # @ WPEC
463
- #: inc/admin-sidebar.php:56
464
- msgid ""
465
- "Unlock the <strong>true</strong> power of WP Email Capture with the Premium "
466
- "version. With multiple lists, and stat tracking, WP Email Capture Premium is "
467
- "the missing link in your WordPress Email Marketing Puzzle"
468
- msgstr ""
469
- "Otključajte <strong>pravu</strong> moć WP Email Capture sa Premium version. "
470
- "više lista i praćenjem statistike, WP Email Capture Premiumje veza koja vam "
471
- "nedostaje u vašoj WordPress Email Marketing puzli."
472
-
473
- # @ WPEC
474
- #: inc/admin-sidebar.php:61
475
- msgid "Add/Edit External List"
476
- msgstr "Dodati/Editovati eksternu listu"
477
-
478
- # @ WPEC
479
- #: inc/admin-sidebar.php:63
480
- msgid ""
481
- "This is the page for managing External lists through WP Email Capture. "
482
- "Simply copy & paste the code from your Email Marketing software into the "
483
- "page below and you can embed your newsletter subscriptions into posts, pages "
484
- "or sidebars easily using WP Email Capture. If you do not have an Email "
485
- "Marketing Service, a few are recommended below"
486
- msgstr ""
487
- "Ova stranica je za upravljanje eksternim listam preko WP Email Capture . "
488
- "Jednostavno kopirajte i nalepite kod iz vašeg E-mail marketing softvera u "
489
- "stranu ispod i možete da ugradite svoje prijave u postove , stranice ili "
490
- "sidebarove lako koristeći WP Email Capture. Ako nemate e-mail marketing "
491
- "usluge ,nekolicina ispod se preporučuju"
492
-
493
- # @ WPEC
494
- #: inc/admin-sidebar.php:68
495
- msgid ""
496
- "If you like this plugin, please consider a small donation to help with "
497
- "future versions and plugins."
498
- msgstr "Ako vam se dopada plugin, razmislite o donacije zarad budućeg razvoja."
499
-
500
- # @ WPEC
501
- #: inc/admin-sidebar.php:78
502
- msgid "Latest News"
503
- msgstr "Posednje vesti"
504
-
505
- # @ WPEC
506
- #: inc/admin-sidebar.php:79
507
- msgid "The latest news and tutorials from WP Email Capture"
508
- msgstr "Poslednje vesti i tutorijali sa WP Email Capture"
509
-
510
- # @ WPEC
511
- #: inc/admin-sidebar.php:90
512
- msgid "Support Us!"
513
- msgstr "Podržite nas!"
514
-
515
- # @ WPEC
516
- #: inc/admin-sidebar.php:91
517
- msgid ""
518
- "We would like you if you would not mind, doing one of the following if you "
519
- "are a fan of WP Email Capture"
520
- msgstr ""
521
- "Voleli bismo kada biste uradili nešto od sledećeg ako ste fan WP Email "
522
- "Capture"
523
-
524
- # @ WPEC
525
- #: inc/admin-sidebar.php:93
526
- msgid "Rate the plugin 5* on WordPress.org"
527
- msgstr "Ocenite plugin sa 5* na WordPress.org"
528
-
529
- # @ WPEC
530
- #: inc/admin-sidebar.php:94
531
- msgid "Follow @WPEmailCapture on Twitter"
532
- msgstr "Pratite @WPEmailCapture na Twitter-u"
533
-
534
- # @ WPEC
535
- #: inc/admin-sidebar.php:95
536
- msgid "Like us on Facebook"
537
- msgstr "Lajkujte nas na Facebook"
538
-
539
- # @ WPEC
540
- #: inc/admin-sidebar.php:99
541
- msgid "Become An Affiliate!"
542
- msgstr "Postanite saradnik!"
543
-
544
- # @ WPEC
545
- #: inc/admin-sidebar.php:100
546
- msgid "Earn upto"
547
- msgstr "Zaradite do"
548
-
549
- # @ WPEC
550
- #: inc/admin-sidebar.php:100
551
- msgid "per sale of WP Email Capture"
552
- msgstr "po prodaji od WP Email Capture "
553
-
554
- # @ WPEC
555
- #: inc/admin-sidebar.php:100
556
- msgid "Join our affilite programme today"
557
- msgstr "Pridružite se programu saradnika danas"
558
-
559
- # @ WPEC
560
- #: inc/admin-sidebar.php:104
561
- msgid ""
562
- "On this page you can make changes that to the way in which WP Email Capture "
563
- "runs"
564
- msgstr ""
565
- "Na ovoj stranici možete da napravite te promene u kojima će WP Email "
566
- "Capture raditi"
567
-
568
- # @ default
569
- #: inc/functions.php:54
570
- #, php-format
571
- msgid ""
572
- "<strong>Please Note: </strong> You have not created a subscription page, "
573
- "confirmation page or both in WP Email Capture, please go to the WP Email "
574
- "Capture Settings Page to add them. | <a href=\"%1$s\">Hide Notice</a>"
575
- msgstr ""
576
- "<strong>Imajte na umu: </strong> Niste napravili stranicu za preplatu, "
577
- "stranicu za pretplatu ili oboje u WP Email Capture, idite na WP Email "
578
- "Capture postavke da biste ih dodali. | <a href=\"%1$s\">sakriti obaveštenje</"
579
- "a>"
580
-
581
- # @ WPEC
582
- #: inc/options.php:132
583
- msgid "Make The \"Name\" field a required field?"
584
- msgstr "Napraviti polje \"Ime\"zahtevanim poljem?"
585
-
586
- # @ WPEC
587
- #: inc/process.php:155
588
- msgid "Sign Up For Our Newsletter"
589
- msgstr "Upišite se za novosti"
590
-
591
- # @ WPEC
592
- #: inc/process.php:181
593
- msgid ""
594
- "Thank you for signing up for our newsletter, please click the link below to "
595
- "confirm your subscription"
596
- msgstr ""
597
- "Hvala što ste sepijavili za novosti, kliknite ispod na link da biste "
598
- "potvrdili pretplatu"
599
-
600
- # @ WPEC
601
- #: inc/tabledata.php:63
602
- msgid "Delete "
603
- msgstr "Obrisati"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/readme.md DELETED
@@ -1,424 +0,0 @@
1
- WP Email Capture
2
- ================
3
- Tags: email, marketing, capture, form, affiliates, mailing lists, email marketing, widget ready
4
-
5
- Requires at least: 3.0
6
-
7
- Tested up to: 4.7
8
-
9
- Version: 3.5.3
10
-
11
- Stable tag: 3.5.3
12
-
13
- Contributors: rhyswynne
14
-
15
- Donate link: https://www.wpemailcapture.com/premium/?utm_source=donatelink&utm_medium=wordpressorgreadme&utm_campaign=wpemailcapture
16
-
17
- Double opt-in form for building your email list. Define landing pages to distribute your ebooks & software.
18
-
19
- Description
20
- ===========
21
- This creates a 2 field form (Name & Email) for capturing emails. Email is double opt in, and allows you to forward opt in to services such as ebooks or software. When you are ready to begin your email marketing campaign, simply export the list into your chosen email marketing software or service. WP Email Capture now comes with a number of [integrations and extensions](https://www.wpemailcapture.com/downloads/?utm_source=description&utm_medium=wordpressorgreadme&utm_campaign=wpemailcapture), including [WP Email Capture Premium](https://www.wpemailcapture.com/premium?utm_source=description&utm_medium=wordpressorgreadme&utm_campaign=wpemailcapture) allows you to build multiple lists, track stats and have custom fields and templates
22
-
23
- WP Email Capture Free Features:-
24
-
25
- * Widget Ready.
26
- * Uses Wordpress' internal wp_mail function for sending mail.
27
- * Easily integrated with posts & pages.
28
- * Dashboard Widget.
29
- * Export data into CSV files, compatible with most major Email Marketing Programmes (including Aweber, Mailchimp, Groupmail, Constant Contact)
30
- * Double opt in, so compatible with CAN-SPAM act.
31
- * And completely free!
32
-
33
- For more details please visit the official site of [WP Email Capture](https://www.wpemailcapture.com/?utm_source=description&utm_medium=wordpressorgreadme&utm_campaign=wpemailcapture)
34
-
35
- **Now Released is WP Email Capture Premium!** You get all the above features plus the following:-
36
-
37
- * Stat tracking - track the visitors to your site and where your sign ups come from.
38
- * Autoresponders - Create an autoresponder email, an email sent to the user when they sign up to your site.
39
- * Multiple lists - Create multiple lists for your site.
40
- * Build External Lists - If you have a Mailchimp or Aweber account, you can use WP Email Capture to build to these services directly.
41
- * Custom Fields - You can capture more than just visitors name & email, add your own custom fields to capture (such as phone number or Address).
42
-
43
- You also get premium support and further documentation. For more information, and to purchase, [visit the plans and pricing page](https://www.wpemailcapture.com/premium/?utm_source=wpemailcapturepremium&utm_medium=wordpressorgreadme&utm_campaign=wpemailcapture).
44
-
45
- Keep in Contact:-
46
-
47
- * [WP Email Capture on Facebook](http://www.facebook.com/wpemailcapture)
48
- * [@WPEmailCapture](http://www.twitter.com/wpemailcapture) on Twitter
49
- * For support requests please visit the [FAQ's](https://www.wpemailcapture.com/free-plugin/frequently-asked-questions/?utm_source=contact&utm_medium=wordpressorgreadme&utm_campaign=wpemailcapture), or leave a message in the [Wordpress Support Forum](http://wordpress.org/support/plugin/wp-email-capture).
50
- * For general feature requests or bug notices [please contact me directly](http://wpemailcapture.com/contact/?utm_source=contact&utm_medium=wordpressorgreadme&utm_campaign=wpemailcapture), however any support requests sent via the contact form, Facebook Page or Twitter Feed will be ignored - please use the WordPress Support Forum - please note I'm unable to support CSS or styling queries, please read the "Stylings" area on [other notes](http://wordpress.org/plugins/wp-email-capture/other_notes/?utm_source=contact&utm_medium=wordpressorgreadme&utm_campaign=wpemailcapture).
51
-
52
- Translation Credits:-
53
-
54
- Translations have been done by the following parties. Thank you!
55
-
56
- * French Translation: Olivier - http://www.ticket-system.net/ & Andrew Patton (@andpatton) - http://www.acusti.ca/
57
- * German Translation: Stephan - http://www.computersniffer.com/, Marc Nilius (@libertello) - http://www.libertello.de/ and Ov3rFly
58
- * Brazilian Portugese Translation: Nick Lima (@nick_linux) - http://www.nicklima.com.br
59
- * Dutch Translation: Sander - http://www.zanderz.net/
60
- * Hungarian Translation: Surbma - http://surbma.hu/
61
- * Spanish Translation: David Bravo - http://dimensionmultimedia.com
62
- * Italian Translation: Giuseppe Marino - http://it.gravatar.com/gpmarino
63
- * Serbian Translation: Borisa Djuraskovic - http://www.webhostinghub.com/
64
- * Croatian Translation: Lem Treursić - http://grafika-dizajn.com/
65
-
66
- Installation
67
- ============
68
- 1. Upload the plugin (unzipped) into `/wp-content/plugins/`.
69
- 2. Activate the plugin under the "Plugins" menu.
70
- 3. Create a page on your site for "sign up" (this page will be forwarded to when the form is just filled in, informs the users that they need to click on a link in the email.
71
- 4. Create a page on your site "confirmation" (thanking them for their enquiry, links to download etc).
72
- 5. After creating these, fill in the settings in the "Settings > WP Email Capture" page, making sure the URL of the "sign up" page is in the "Page to redirect to on sign up" text box and the "confirmation" page URL is in the "Page to redirect to on confirmation of email address" text box.
73
-
74
- The form can be inserted into the site at any location. However, to put the form anywhere, insert the following code into your template
75
-
76
- `<?php if (function_exists('wp_email_capture_form')) { wp_email_capture_form(); } ?>`
77
-
78
- If you want to insert the form within a page, insert into any post or page the string `[wp_email_capture_form]`. It will be replaced with a simple form.
79
-
80
- You can also add a widget to any widget enabled area by going to Appearance > Widgets in the WordPress Administration.
81
-
82
- If you need more help, please read this guide on [how to set up WP Email Capture](http://wpemailcapture.com/2012/10/how-to-set-up-wp-email-capture-free/?utm_source=installation&utm_medium=wordpressorgreadme&utm_campaign=wpemailcapture)
83
-
84
- Stylings
85
- ========
86
- To style your form, you need to add to your CSS file the following ID declarations. `wp_email_capture` is for sidebar & template widgets, `wp_email_capture_2` is for on page forms.
87
-
88
- ```
89
- #wp_email_capture
90
- {
91
-
92
- }
93
- #wp_email_capture label.wp-email-capture-name
94
- {
95
-
96
- }
97
- #wp_email_capture label.wp-email-capture-email
98
- {
99
-
100
- }
101
- #wp_email_capture input.wp-email-capture-name
102
- {
103
-
104
- }
105
- #wp_email_capture input.wp-email-capture-email
106
- {
107
-
108
- }
109
- #wp_email_capture_2
110
- {
111
-
112
- }
113
- #wp_email_capture_2 label.wp-email-capture-name
114
- {
115
-
116
- }
117
- #wp_email_capture_2 label.wp-email-capture-email
118
- {
119
-
120
- }
121
- #wp_email_capture_2 input.wp-email-capture-name
122
- {
123
-
124
- }
125
- #wp_email_capture_2 input.wp-email-capture-email
126
- {
127
-
128
- }
129
- ```
130
-
131
- Screenshots
132
- ===========
133
- 1. The Dashboard Widget
134
- 2. The Options Page
135
- 3. It's appearance within the template
136
-
137
- Frequently Asked Questions
138
- ==========================
139
- Can I see/export/autoconfirm "Unverified" Email Addresses?
140
- ----------------------------------------------------------
141
- No.
142
-
143
- Why Not?
144
- --------
145
- In accordance with the CANSPAM act, I have hidden Unverified emails from view. They can not be seen. Sorry, but the temptation is too big to spam unverified emails. Hence the removal.
146
-
147
- Can Registered Users access the "thank you" page after signup? They try signing up again and get a 'user has already been registered' error
148
- -------------------------------------------------------------------------------------------------------------------------------------------
149
- Yes they can, however they can't go through the registration process. If you are using [WP Email Capture Premium](http://wpemailcapture.com/premium/?utm_source=faq&utm_medium=wordpressorgreadme&utm_campaign=wpemailcapture), you can send an autoresponder after signing up (which can contain a link to the "thank you" page). Alternatively, add a notice on your landing page to encourage users to bookmark the page.
150
-
151
- I am Upgrading to WP Email Capture 2.3+, why has my WP Email Capture Sidebar Widget disappeared?
152
- ------------------------------------------------------------------------------------------------
153
- The WP Email Capture version 2.3 saw the introduction of multiple sidebar widgets. This was coded differently to the pre 2.3 WP Email Capture sidebar widget. As such you will have to recreate the sidebar widget. It's easy to do, but apologies for this - I am working on a fix!
154
-
155
- Often My Email Is Going Into Spam, how can I stop this?
156
- -------------------------------------------------------
157
- The most likely cause is by putting an email address that doesn't exist in the "From Which Email Address". Please don't put a noreply@, as spam eats this up. Also, make sure your email address is from your server (rather than a @gmail/@hotmail/@yahoo email address). Finally, try improving your deliverability rate by sending your emails through SMTP using [WP Mail SMTP](http://wordpress.org/plugins/wp-mail-smtp/).
158
-
159
- Does this piece of software send out email?
160
- -------------------------------------------
161
- No. I feel that to do so would be counter productive, as sending out email could have a detrimental effect on your server. There are a number of services we recommend, such as Aweber, to send out lists built on WP Email Capture.
162
-
163
- Does it work with Wordpress Multisite?
164
- --------------------------------------
165
- This plugin is unsupported for Wordpress Multisite. Some people have reported success in using it. Others haven't. I have been unable to figure out why (I've been unable to get it working for Wordpress Multisite).
166
-
167
- For some reason, no emails are being sent. No errors either. What could be the issue?
168
- -------------------------------------------------------------------------------------
169
- This is sometimes the case if your hosting (usually Godaddy) disables certain ways of sending mail. If you use [WP Mail SMTP](http://wordpress.org/extend/plugins/wp-mail-smtp/), you can send emails in a different way that works.
170
-
171
- Does it work with [theme_name]?
172
- -------------------------------
173
- This plugin does use widgets, so probably yes :)
174
-
175
- How do I include the name in my emails I send to people?
176
- --------------------------------------------------------
177
- Wherever you put in %NAME% (spelt exactly like that, uppercase as well), it will be replaced with the name given by the user.
178
-
179
- Bugs/Suggestions/Support
180
- ========================
181
- Please report any bugs, support and suggestions to the [WP Email Capture Support Page](http://www.wpemailcapture.com/support/?utm_source=support&utm_medium=wordpressorgreadme&utm_campaign=wpemailcapture)
182
-
183
- Donate
184
- ======
185
- To donate to this plugin, please visit the [WP Email Capture Donations Page](http://wpemailcapture.com/premium/?utm_source=donate&utm_medium=wordpressorgreadme&utm_campaign=wpemailcapture)
186
-
187
- Change Log
188
- ==========
189
- 3.1.3
190
- -----
191
- * Added wp_email_capture_complete_before_redirect action. Allowing data to be manipulated before the redirect.
192
- * Added Extensions area of dashboard.
193
-
194
- 3.1.2
195
- -----
196
- * Reward linkers with a voucher code.
197
-
198
- 3.1.1
199
- -----
200
- * Removed a redundant file that, if hacked in, could lead to an injection of content. This file was *not* called normally but in order to remove it upgrade to this version. ** Update strongly required **
201
- * Fixed a bug which saw a notice appear of a missing option on the upgrade and dashboard page.
202
- * Removed a double header in Dashboard widget (props Ove3rfly).
203
- * Correct textdomain used in some files (props Ov3rfly).
204
- * Removed all PHP closing tags through the site (props Ov3rfly).
205
-
206
- 3.1
207
- ---
208
- * Removed the default widget title should widget text be blank (props [Hassan Raza](http://hassan-raza.com/)).
209
- * Changed word from "Update" to "Upgrade" for large lists as it was confusing people.
210
- * Changed to new Text Domain as per WordPress' new internationalisation integration (wp-email-capture).
211
-
212
- 3.0.2
213
- -----
214
- * Fixed an error with "Error: " displaying on the free version.
215
-
216
- 3.0.1
217
- -----
218
- * Fixed a minor security issue in the display.php
219
- * Removed Tracking (for now)
220
-
221
- 3.0
222
- ---
223
- * Massive refactor of code, to help improve it.
224
- * Fixed a bug that the "Hide Notice" dismissive now works.
225
- * Updated French Translation (thanks [Andrew](http://www.acusti.ca/))
226
- * Added Croatian Translation (thanks [Lem Treursić](http://grafika-dizajn.com/))
227
- * Added Welcome Screen
228
- * Added P tag around text widget introduction.
229
- * Added better help documentation within the plugin.
230
- * Added signup & confirm actions, to allow users to remove/add their own actions.
231
- * Added a filter to the display form, so it can be changed.
232
- * Add a filter for other subscription plugins (props [Dylan Kuhn](http://www.cyberhobo.net/))
233
- * Changed menu structure
234
- * Made compatible with WordPress 4.3, with new widget structure.
235
- * Made compatible with new language packs.
236
-
237
- 2.11
238
- ----
239
- * German Translation Updated (thanks Ove3rfly)
240
- * Added the filter `wp_email_capture_dashboard_capability`, which means you can choose the capability you wish users to access the dashboard widget (thanks Ove3rfly).
241
- * Added a few small fixes with the text (thanks Ove3rfly).
242
-
243
- 2.10
244
- ----
245
- * Italian Translation Done (thanks [Guiseppe](http://it.gravatar.com/gpmarino)!)
246
- * Serbian Translation Done (thanks [Borisa](http://www.webhostinghub.com/)!)
247
-
248
- 2.9 (17/12/13)
249
- --------------
250
- * Fixed a small bug that produced warnings should security fields not be passed.
251
- * Style buttons in a style for WordPress 3.8.
252
- * Remove a rogue mysql_real_escape_string() call making it compatible with WordPress 3.9.
253
- * Introduced stylings.
254
-
255
- 2.8 (10/11/13)
256
- --------------
257
- * Introduced Spanish Translation (thanks David Bravo!)
258
- * Added a feature whereby you can select the delimiter you wish to use.
259
-
260
- 2.7.7 (08/07/13)
261
- ----------------
262
- * Fixed a few bug fixes that were spotted in Debug Mode (from forum member Ov3rfly).
263
-
264
- 2.7.6 (12/06/13)
265
- ----------------
266
- * You can now translate error messages.
267
-
268
- 2.7.5 (28/01/13)
269
- ----------------
270
- * Added an option "wp_email_capture_theme_affiliate_link", so theme designers can add this option on activation with their affiliate link to WP Email Capture.
271
-
272
- 2.7.4 (14/01/13)
273
- ----------------
274
- * Added "title" attributes to the form fields, allowing WP Email Capture to play better with themes.
275
-
276
- 2.7.3 (06/01/13)
277
- ----------------
278
- * Fixed the emails so that HTML characters (ampersands, speech marks, etc) in names/subjects/content are encoded properly.
279
-
280
- 2.7.2 (11/12/12)
281
- ----------------
282
- * Compatible with WordPress 3.5. Critical upgrade if you're using WP 3.5
283
- * Fixed an admin page error so if the news feed wasn't pulling from my site, then you will get an empty box, rather than an ugly error.
284
-
285
- 2.7.1 (24/11/12)
286
- ----------------
287
- * Fixed a small bug that appears that error messages weren't appearing when sites had the defeault permalink structure.
288
- * Fixed a redirection bug that users using the default URL structure were having, that caused a usability error.
289
-
290
- 2.7 (20/11/12)
291
- --------------
292
- * Upgraded Hungarian Translation (thanks [Surbma](http://surbma.hu/)!)
293
- * Rewritten areas of the readme file as it was confusing people (sorry!)
294
-
295
- 2.6 (07/10/12)
296
- --------------
297
- * Added a checkbox that allows site owners to specify if "Name" is a required field.
298
-
299
- 2.5.1 (12/08/12)
300
- ----------------
301
- * Recoded the RSS feed fetching code so it works on more servers and doesn't use a http based referrer.
302
-
303
- 2.5 (01/08/12)
304
- --------------
305
- * A nag (which you can hide) should you not have the plugin set up correctly with a subscription or confirmation page.
306
- * More CSS classes on each individual elements of the form.
307
-
308
- 2.3.7 (23/07/12)
309
- ----------------
310
- * Improved wording of on page options, as well as documentation.
311
-
312
- 2.3.6 (08/07/12)
313
- ----------------
314
- * Better error handling, if the settings for the plugin aren't filled in then the plugin doesn't fail.
315
-
316
- 2.3.5 (01/06/12)
317
- ----------------
318
- * Added a "textwidget" class to the Widget Text Area so you can style it the same as all other text.
319
- * More things you are able to translate, including buttons and more!
320
- * Added Hungarian Translation.
321
-
322
- 2.3.1 (22/5/12)
323
- ---------------
324
- * Bug fixes so notices shouldn't appear in debug mode.
325
- * Added a for attribute to the form for accessibility.
326
-
327
- 2.3 (09/5/12)
328
- -------------
329
- * Added support to multiple widgets.
330
- * Added language support for the Dutch language.
331
-
332
- 2.2 (17/4/12)
333
- -------------
334
- * The [Jemjabella](http://www.jemjabella.co.uk) update, after the individual who supplied most of the bug fixes, cheers!
335
- * Added language support for Brazilian Portugese & German.
336
-
337
- 2.1.1 (03/02/12)
338
- ----------------
339
- * Actually fixed the display bug talked about in 2.1
340
- * Edited the Dashboard widget so that it's only displayed to user admins.
341
-
342
- 2.1 (30/01/12)
343
- --------------
344
- * Internationalisation Completed - with French Language Pack
345
- * Fixed a Small Display bug with the Plugin that occured in latest version of Wordpress.
346
-
347
- 2.0.1 (28/10/10)
348
- ----------------
349
- * Fixed a small security bug which occurred in the previous version.
350
-
351
- 2.0 (3/10/10)
352
- -------------
353
- * Switched functions to use the non depreciated functions
354
- * Compatible with Spam Free
355
- * Added a "Delete entire list" button in Wordpress.
356
-
357
- 1.9 (20/01/10)
358
- --------------
359
- * Fixed a small bug that resulted in the display for [The plugin does not have a valid header.]
360
- * Fixed a small phpmail bug
361
-
362
- 1.8.1 (13/01/10)
363
- ----------------
364
- * Included more information in sent mail including IP, Date & Referral Page
365
-
366
- 1.6 (18/10/09)
367
- --------------
368
- * You can now delete people from the confirmed members list (requested update!)
369
-
370
- 1.5 (04/10/09)
371
- --------------
372
- * Fixed small error on the error checking form.
373
-
374
- 1.4 (03/10/09)
375
- --------------
376
- * Added a check for duplicate emails.
377
-
378
- 1.3 (30/09/09)
379
- --------------
380
- * Added a new feature where you can mention the name of the recipient of the email within the email by using the %NAME% string.
381
- * Better default title & text for the WP Email Capture Widget.
382
- * Fixed a bug that dropped the last character of the "From" name.
383
-
384
- 1.2 (27/09/09)
385
- --------------
386
- * Fixed errors with the programme when using non pretty permalinks (they now work now)
387
- * Compatible with windows based PHP configurations (1.1 introduced a function that didn't work on windows boxes).
388
-
389
- 1.1 revision 2 (24/09/09)
390
- -------------------------
391
- * Fixed compatability issue with All in One SEO.
392
- * Blogs which are on a subdomain now can use the plugin (http://www.domian.com/wordpress/)
393
-
394
- 1.1 revision 1 (23/09/09)
395
- -------------------------
396
- * Fixed small upgrade bug
397
-
398
- 1.1 (22/09/09)
399
- --------------
400
- * Fixed short tag problem in tempdata.php
401
- * Emails that are not valid emails aren't processed
402
-
403
- 1.0 RC 1 (17/09/09)
404
- -------------------
405
- * First Release!
406
- * Dashboard Widget added.
407
-
408
- 0.4 (14/09/09)
409
- --------------
410
- * Used more secure internal wp_mail class for sending out mail
411
- * Implemented [wp_email_form] class for implementing plugin on form
412
-
413
- 0.3 (12/09/09)
414
- --------------
415
- * Switch to headers, rather than meta refreshes for updating the page
416
-
417
- 0.2 (09/09/09)
418
- --------------
419
- * Fixed small error in the plugin when using permalinks
420
- * Implemented more security to the plugin
421
-
422
- 0.1 (07/09/09)
423
- --------------
424
- * Plugin Launched
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/readme.txt DELETED
@@ -1,465 +0,0 @@
1
- === WordPress Email Marketing Plugin - WP Email Capture ===
2
- Tags: email marketing, email, mailing list, widget ready, gutenberg ready, gdpr
3
- Requires at least: 5.0
4
- Tested up to: 5.7
5
- Version: 3.9.1
6
- Stable tag: 3.9.1
7
- Contributors: rhyswynne
8
- Donate link: https://www.wpemailcapture.com/premium/?utm_source=donatelink&utm_medium=wordpressorgreadme&utm_campaign=wpemailcapture
9
-
10
- Double opt-in form for building your email list. Define landing pages to distribute your ebooks & software.
11
-
12
- == Description ==
13
- This creates a 2 field form (Name & Email) for capturing emails. Email is double opt in, and allows you to forward opt in to services such as ebooks or software. When you are ready to begin your email marketing campaign, simply export the list into your chosen email marketing software or service. WP Email Capture now comes with a number of [integrations and extensions](https://www.wpemailcapture.com/downloads/?utm_source=description&utm_medium=wordpressorgreadme&utm_campaign=wpemailcapture), including [WP Email Capture Premium](https://www.wpemailcapture.com/premium?utm_source=description&utm_medium=wordpressorgreadme&utm_campaign=wpemailcapture) allows you to build multiple lists, track stats and have custom fields and templates
14
-
15
- WP Email Capture Free Features:-
16
-
17
- * Widget Ready.
18
- * Uses Wordpress' internal wp_mail function for sending mail.
19
- * Easily integrated with posts & pages.
20
- * Dashboard Widget.
21
- * GDPR Friendly
22
- * Export data into CSV files, compatible with most major Email Marketing Programmes (including Aweber, Mailchimp, Groupmail, Constant Contact)
23
- * Double opt in, so compatible with CAN-SPAM act.
24
- * reCAPTCHA integration
25
- * And completely free!
26
-
27
- For more details please visit the official site of [WP Email Capture](https://www.wpemailcapture.com/?utm_source=description&utm_medium=wordpressorgreadme&utm_campaign=wpemailcapture)
28
-
29
- **Now Released is WP Email Capture Premium!** You get all the above features plus the following:-
30
-
31
- * Stat tracking - track the visitors to your site and where your sign ups come from.
32
- * Autoresponders - Create an autoresponder email, an email sent to the user when they sign up to your site.
33
- * Multiple lists - Create multiple lists for your site.
34
- * Build External Lists - If you have a Constant Contact, Mailchimp or Aweber account, you can use WP Email Capture to build to these services directly.
35
- * Custom Fields - You can capture more than just visitors name & email, add your own custom fields to capture (such as phone number or Address).
36
-
37
- You also get premium support and further documentation. For more information, and to purchase, [visit the plans and pricing page](https://www.wpemailcapture.com/premium/?utm_source=wpemailcapturepremium&utm_medium=wordpressorgreadme&utm_campaign=wpemailcapture).
38
-
39
- Keep in Contact:-
40
-
41
- * [WP Email Capture on Facebook](http://www.facebook.com/wpemailcapture)
42
- * [@WPEmailCapture](http://www.twitter.com/wpemailcapture) on Twitter
43
- * For support requests please visit the [FAQ's](https://www.wpemailcapture.com/free-plugin/frequently-asked-questions/?utm_source=contact&utm_medium=wordpressorgreadme&utm_campaign=wpemailcapture), or leave a message in the [Wordpress Support Forum](http://wordpress.org/support/plugin/wp-email-capture).
44
- * For general feature requests or bug notices [please contact me directly](http://wpemailcapture.com/contact/?utm_source=contact&utm_medium=wordpressorgreadme&utm_campaign=wpemailcapture), however any support requests sent via the contact form, Facebook Page or Twitter Feed will be ignored - please use the WordPress Support Forum - please note I'm unable to support CSS or styling queries, please read the "Stylings" area on [other notes](http://wordpress.org/plugins/wp-email-capture/other_notes/?utm_source=contact&utm_medium=wordpressorgreadme&utm_campaign=wpemailcapture).
45
-
46
- Translation Credits:-
47
-
48
- Translations have been done by the following parties. Thank you!
49
-
50
- * French Translation: Olivier - http://www.ticket-system.net/ & Andrew Patton (@andpatton) - http://www.acusti.ca/
51
- * German Translation: Stephan - http://www.computersniffer.com/, Marc Nilius (@libertello) - http://www.libertello.de/ and Ov3rFly
52
- * Brazilian Portugese Translation: Nick Lima (@nick_linux) - http://www.nicklima.com.br
53
- * Dutch Translation: Sander - http://www.zanderz.net/
54
- * Hungarian Translation: Surbma - http://surbma.hu/
55
- * Spanish Translation: David Bravo - http://dimensionmultimedia.com
56
- * Italian Translation: Giuseppe Marino - http://it.gravatar.com/gpmarino
57
- * Serbian Translation: Borisa Djuraskovic - http://www.webhostinghub.com/
58
- * Croatian Translation: Lem Treursić - http://grafika-dizajn.com/
59
-
60
- == Installation ==
61
- 1. Upload the plugin (unzipped) into `/wp-content/plugins/`.
62
- 2. Activate the plugin under the "Plugins" menu.
63
- 3. Create a page on your site for "sign up" (this page will be forwarded to when the form is just filled in, informs the users that they need to click on a link in the email.
64
- 4. Create a page on your site "confirmation" (thanking them for their enquiry, links to download etc).
65
- 5. After creating these, fill in the settings in the "Settings > WP Email Capture" page, making sure the URL of the "sign up" page is in the "Page to redirect to on sign up" text box and the "confirmation" page URL is in the "Page to redirect to on confirmation of email address" text box.
66
-
67
- The form can be inserted into the site at any location. However, to put the form anywhere, insert the following code into your template
68
-
69
- `<?php if (function_exists('wp_email_capture_form')) { wp_email_capture_form(); } ?>`
70
-
71
- If you want to insert the form within a page, insert into any post or page the string `[wp_email_capture_form]`. It will be replaced with a simple form.
72
-
73
- You can also add a widget to any widget enabled area by going to Appearance > Widgets in the WordPress Administration.
74
-
75
- If you need more help, please read this guide on [how to set up WP Email Capture](http://wpemailcapture.com/2012/10/how-to-set-up-wp-email-capture-free/?utm_source=installation&utm_medium=wordpressorgreadme&utm_campaign=wpemailcapture)
76
-
77
- == Bugs/Suggestions/Support ==
78
- Please report any bugs, support and suggestions to the [WP Email Capture Support Page](http://www.wpemailcapture.com/support/?utm_source=support&utm_medium=wordpressorgreadme&utm_campaign=wpemailcapture)
79
-
80
- == Stylings ==
81
- To style your form, you need to add to your CSS file the following ID declarations. `wp_email_capture` is for sidebar & template widgets, `wp_email_capture_2` is for on page forms.
82
-
83
- `#wp_email_capture
84
- {
85
-
86
- }
87
- #wp_email_capture label.wp-email-capture-name
88
- {
89
-
90
- }
91
- #wp_email_capture label.wp-email-capture-email
92
- {
93
-
94
- }
95
- #wp_email_capture input.wp-email-capture-name
96
- {
97
-
98
- }
99
- #wp_email_capture input.wp-email-capture-email
100
- {
101
-
102
- }
103
- #wp_email_capture_2
104
- {
105
-
106
- }
107
- #wp_email_capture_2 label.wp-email-capture-name
108
- {
109
-
110
- }
111
- #wp_email_capture_2 label.wp-email-capture-email
112
- {
113
-
114
- }
115
- #wp_email_capture_2 input.wp-email-capture-name
116
- {
117
-
118
- }
119
- #wp_email_capture_2 input.wp-email-capture-email
120
- {
121
-
122
- }`
123
-
124
- == Screenshots ==
125
- 1. The Dashboard Widget
126
- 2. The Options Page
127
- 3. It's appearance within the template
128
-
129
- == Frequently Asked Questions ==
130
- = Can I see/export/autoconfirm "Unverified" Email Addresses? =
131
- No.
132
-
133
- = Why Not? =
134
- In accordance with the CANSPAM act, I have hidden Unverified emails from view. They can not be seen. Sorry, but the temptation is too big to spam unverified emails. Hence the removal.
135
-
136
- = Can Registered Users access the "thank you" page after signup? They try signing up again and get a 'user has already been registered' error =
137
- Yes they can, however they can't go through the registration process. If you are using [WP Email Capture Premium](http://wpemailcapture.com/premium/?utm_source=faq&utm_medium=wordpressorgreadme&utm_campaign=wpemailcapture), you can send an autoresponder after signing up (which can contain a link to the "thank you" page). Alternatively, add a notice on your landing page to encourage users to bookmark the page.
138
-
139
- = I am Upgrading to WP Email Capture 2.3+, why has my WP Email Capture Sidebar Widget disappeared? =
140
- The WP Email Capture version 2.3 saw the introduction of multiple sidebar widgets. This was coded differently to the pre 2.3 WP Email Capture sidebar widget. As such you will have to recreate the sidebar widget. It's easy to do, but apologies for this - I am working on a fix!
141
-
142
- = Often My Email Is Going Into Spam, how can I stop this? =
143
- The most likely cause is by putting an email address that doesn't exist in the "From Which Email Address". Please don't put a noreply@, as spam eats this up. Also, make sure your email address is from your server (rather than a @gmail/@hotmail/@yahoo email address). Finally, try improving your deliverability rate by sending your emails through SMTP using [WP Mail SMTP](http://wordpress.org/plugins/wp-mail-smtp/).
144
-
145
- = Does this piece of software send out email? =
146
- No. I feel that to do so would be counter productive, as sending out email could have a detrimental effect on your server. There are a number of services we recommend, such as Aweber, to send out lists built on WP Email Capture.
147
-
148
- = Does it work with Wordpress MU? =
149
- This plugin is unsupported for Wordpress MU. Some people have reported success in using it. Others haven't. I have been unable to figure out why (I've been unable to get it working for Wordpress MU).
150
-
151
- = For some reason, no emails are being sent. No errors either. What could be the issue? =
152
- This is sometimes the case if your hosting (usually Godaddy) disables certain ways of sending mail. If you use [WP Mail SMTP](http://wordpress.org/extend/plugins/wp-mail-smtp/), you can send emails in a different way that works.
153
-
154
- = Does it work with [theme_name]? =
155
- This plugin does use widgets, so probably yes :)
156
-
157
- = How do I include the name in my emails I send to people? =
158
- Wherever you put in %NAME% (spelt exactly like that, uppercase as well), it will be replaced with the name given by the user.
159
-
160
- == Change Log ==
161
- = 3.9.1 =
162
- * Tested with 5.7
163
-
164
- = 3.9 =
165
- * Added the ability to spam check using reCAPTCHA
166
-
167
- = 3.8.2 =
168
- * Tested to 5.5.
169
-
170
- = 3.8.1 =
171
- * Version with all the missing files from 3.8!
172
-
173
- = 3.8 =
174
- * Added a new button to the classic editor allowing you to place the form anywhere.
175
-
176
- = 3.7.3 =
177
- * Fixed a small bug in the site.
178
-
179
- = 3.7.2 =
180
- * Tested to 5.3.
181
-
182
- = 3.7.1 =
183
- * Corrected the "Requires at Least" as it was showing as being incompatible in the plugin store (when it is).
184
-
185
- = 3.7 =
186
- * Added filter - `wp_email_capture_change_user_present_error_url`, needed for an additional plugin - [WP Email Capture: Returning User Redirect](https://www.wpemailcapture.com/downloads/wp-email-capture-returning-user-redirect/?utm_source=changelog&utm_medium=wordpressorgreadme&utm_campaign=wpemailcapture).
187
- * Tested with WordPress 5.2
188
- * Fixed a few CSS changes on the option pages.
189
-
190
- = 3.6.6 =
191
- * Tested up to 5.1
192
-
193
- = 3.6.5 =
194
- * Tested with Constant Contact so reflected help screens to mention that.
195
-
196
- = 3.6.4 =
197
- * Clarified further a couple of options that people were having problems with.
198
-
199
- = 3.6.3 =
200
- * Some files didn't manage to upload. I've now pushed them live.
201
-
202
- = 3.6.2 =
203
- * Fixed a bug in Gutenberg.
204
- * Checking for "register_block_type" rather than "the_gutenberg_project" in prep for 5.0
205
-
206
- = 3.6.1 =
207
- * Added Gutenberg information to the help section.
208
- * Removed a spelling mistake in one of the URL's on the setup form.
209
-
210
- = 3.6 =
211
- * Fix Gutenberg compatability bug. If you use Gutenberg, you may have to recreate your blocks, hence the version major bump. Otherwise you should be fine.
212
-
213
- = 3.5.4 =
214
- * Added a note should a version of MySQL earlier than 5.6 is shared.
215
-
216
- = 3.5.3 =
217
- * Fixed a bug that saving with GDPR switched off resulted in a display error (even though it was saved correctly)
218
-
219
- = 3.5.2 =
220
- * A few cosmetic changes to the help pages. Could use more work but is a bit neater for now.
221
-
222
- = 3.5.1 =
223
- * Fix a bug that the Privacy Policy checkbox didn't work on widgets.
224
-
225
- = 3.5 =
226
- * Integration with WordPress' GDPR checker.
227
- * You can have a checkbox on your forms, explicitly giving consent to users to sign up to your newsletter.
228
- * You can delete data after a period of time on the site.
229
- * You can search the database, allowing you to see and delete what data you have for people
230
- * Improved the changelog routine, allowing it to be updated more frequently.
231
-
232
- = 3.4.2 =
233
- * Introduced "wp_email_capture_is_premium" function, to make further development easier.
234
- * Fixed a bug from Gutenberg 3.4 that called a undefined variable (blocks.source.children & blocks.source.attr).
235
- * Switched from wp.blocks.InspectorControls.TextControl to wp.components.TextControl.
236
-
237
- = 3.4.1 =
238
- * Fixes a fatal error
239
-
240
- = 3.4 =
241
- * Added Default Styles should you wish to activate them.
242
- * Gutenberg Compatibility!
243
-
244
- = 3.3.4 =
245
- * Fix a few dead links in the plugin
246
-
247
- = 3.3.3 =
248
- * Fix bug in header on export (props Ov3rfly).
249
- * Tested in 4.9
250
-
251
- = 3.3.2 =
252
- * Make it compatible with 4.8
253
- * Make the "Buy Link" in WP Email Capture include a coupon
254
- * Include links to compatible services on the Plugin Dashboard
255
-
256
- = 3.3.1 =
257
- * Fixes a conflict with other plugins that send HTML emails.
258
-
259
- = 3.3 =
260
- * Introduced the ability to have "HTML" enabled lists.
261
- * Introduced the ability to send emails without headers. Useful for Amazon SES.
262
- * Added a charset on export of CSV. (Props Ov3rfly)
263
-
264
- = 3.2 =
265
- * Correction in the German translation (props [Lars Kasper](http://larskasper.de/))
266
- * Added a wp_email_capture_extra_checks action, that will allow people to run checks on the name/email address.
267
- * Removed some legacy code that was commented out.
268
- * Fix an encoding issue for new installs, now the tables match the database's encoding.
269
- * Fixed a bug for new installs that had a "The plugin generated XXX characters of unexpected output during activation.".
270
-
271
- = 3.1.4 =
272
- * Fixed a bug that caused an "Unexpected Output" on some database setups.
273
- * Used UNIQUE KEY rather than PRIMARY KEY, so activation and deactivation doesn't cause database errors.
274
-
275
- = 3.1.3 =
276
- * Added wp_email_capture_complete_before_redirect action. Allowing data to be manipulated before the redirect.
277
- * Added Extensions area of dashboard.
278
-
279
- = 3.1.2 =
280
- * Reward linkers with a voucher code.
281
- * Included the "Last Temporary Signup" date, so they get know the last attempted signup.
282
- * Tested up to 4.5.
283
-
284
- = 3.1.1 =
285
- * Removed a redundant file that, if hacked in, could lead to an injection of content. This file was *not* called normally but in order to remove it upgrade to this version. ** Update strongly required **
286
- * Fixed a bug which saw a notice appear of a missing option on the upgrade and dashboard page.
287
- * Removed a double header in Dashboard widget (props Ove3rfly).
288
- * Correct textdomain used in some files (props Ov3rfly).
289
- * Removed all PHP closing tags through the site (props Ov3rfly).
290
-
291
- = 3.1 =
292
- * Removed the default widget title should widget text be blank (props [Hassan Raza](http://hassan-raza.com/)).
293
- * Changed word from "Update" to "Upgrade" for large lists as it was confusing people.
294
- * Changed to new Text Domain as per WordPress' new internationalisation integration (wp-email-capture).
295
-
296
- = 3.0.2 =
297
- * Fixed an error with "Error: " displaying on the free version.
298
-
299
- = 3.0.1 =
300
- * Fixed a minor security issue in the display.php
301
- * Removed Tracking (for now)
302
-
303
- = 3.0 =
304
- * Massive refactor of code, to help improve it.
305
- * Fixed a bug that the "Hide Notice" dismissive now works.
306
- * Updated French Translation (thanks [Andrew](http://www.acusti.ca/))
307
- * Added Croatian Translation (thanks [Lem Treursić](http://grafika-dizajn.com/))
308
- * Added Welcome Screen
309
- * Added P tag around text widget introduction.
310
- * Added better help documentation within the plugin.
311
- * Added signup & confirm actions, to allow users to remove/add their own actions.
312
- * Added a filter to the display form, so it can be changed.
313
- * Add a filter for other subscription plugins (props [Dylan Kuhn](http://www.cyberhobo.net/))
314
- * Changed menu structure
315
- * Made compatible with WordPress 4.3, with new widget structure.
316
- * Made compatible with new language packs.
317
-
318
- = 2.11 =
319
- * German Translation Updated (thanks Ove3rfly)
320
- * Added the filter `wp_email_capture_dashboard_capability`, which means you can choose the capability you wish users to access the dashboard widget (thanks Ove3rfly).
321
- * Added a few small fixes with the text (thanks Ove3rfly).
322
-
323
- = 2.10 =
324
- * Italian Translation Done (thanks [Guiseppe](http://it.gravatar.com/gpmarino)!)
325
- * Serbian Translation Done (thanks [Borisa](http://www.webhostinghub.com/)!)
326
-
327
- = 2.9 (17/12/13) =
328
- * Fixed a small bug that produced warnings should security fields not be passed.
329
- * Style buttons in a style for WordPress 3.8.
330
- * Remove a rogue mysql_real_escape_string() call making it compatible with WordPress 3.9.
331
- * Introduced stylings.
332
-
333
- = 2.8 (10/11/13) =
334
- * Introduced Spanish Translation (thanks David Bravo!)
335
- * Added a feature whereby you can select the delimiter you wish to use.
336
-
337
- = 2.7.7 (08/07/13) =
338
- * Fixed a few bug fixes that were spotted in Debug Mode (from forum member Ov3rfly).
339
-
340
- = 2.7.6 (12/06/13) =
341
- * You can now translate error messages.
342
-
343
- = 2.7.5 (28/01/13) =
344
- * Added an option "wp_email_capture_theme_affiliate_link", so theme designers can add this option on activation with their affiliate link to WP Email Capture.
345
-
346
- = 2.7.4 (14/01/13) =
347
- * Added "title" attributes to the form fields, allowing WP Email Capture to play better with themes.
348
-
349
- = 2.7.3 (06/01/13) =
350
- * Fixed the emails so that HTML characters (ampersands, speech marks, etc) in names/subjects/content are encoded properly.
351
-
352
- = 2.7.2 (11/12/12) =
353
- * Compatible with WordPress 3.5. Critical upgrade if you're using WP 3.5
354
- * Fixed an admin page error so if the news feed wasn't pulling from my site, then you will get an empty box, rather than an ugly error.
355
-
356
- = 2.7.1 (24/11/12) =
357
- * Fixed a small bug that appears that error messages weren't appearing when sites had the defeault permalink structure.
358
- * Fixed a redirection bug that users using the default URL structure were having, that caused a usability error.
359
-
360
- = 2.7 (20/11/12) =
361
- * Upgraded Hungarian Translation (thanks [Surbma](http://surbma.hu/)!)
362
- * Rewritten areas of the readme file as it was confusing people (sorry!)
363
-
364
- = 2.6 (07/10/12) =
365
- * Added a checkbox that allows site owners to specify if "Name" is a required field.
366
-
367
- = 2.5.1 (12/08/12) =
368
- * Recoded the RSS feed fetching code so it works on more servers and doesn't use a http based referrer.
369
-
370
- = 2.5 (01/08/12) =
371
- * A nag (which you can hide) should you not have the plugin set up correctly with a subscription or confirmation page.
372
- * More CSS classes on each individual elements of the form.
373
-
374
- = 2.3.7 (23/07/12) =
375
- * Improved wording of on page options, as well as documentation.
376
-
377
- = 2.3.6 (08/07/12) =
378
- * Better error handling, if the settings for the plugin aren't filled in then the plugin doesn't fail.
379
-
380
- = 2.3.5 (01/06/12) =
381
- * Added a "textwidget" class to the Widget Text Area so you can style it the same as all other text.
382
- * More things you are able to translate, including buttons and more!
383
- * Added Hungarian Translation.
384
-
385
- = 2.3.1 (22/5/12) =
386
- * Bug fixes so notices shouldn't appear in debug mode.
387
- * Added a for attribute to the form for accessibility.
388
-
389
- = 2.3 (09/5/12) =
390
- * Added support to multiple widgets.
391
- * Added language support for the Dutch language.
392
-
393
- = 2.2 (17/4/12) =
394
- * The [Jemjabella](http://www.jemjabella.co.uk) update, after the individual who supplied most of the bug fixes, cheers!
395
- * Added language support for Brazilian Portugese & German.
396
-
397
- = 2.1.1 (03/02/12) =
398
- * Actually fixed the display bug talked about in 2.1
399
- * Edited the Dashboard widget so that it's only displayed to user admins.
400
-
401
- = 2.1 (30/01/12) =
402
- * Internationalisation Completed - with French Language Pack
403
- * Fixed a Small Display bug with the Plugin that occured in latest version of Wordpress.
404
-
405
- = 2.0.1 (28/10/10) =
406
- * Fixed a small security bug which occurred in the previous version.
407
-
408
- = 2.0 (3/10/10) =
409
- * Switched functions to use the non depreciated functions
410
- * Compatible with Spam Free
411
- * Added a "Delete entire list" button in Wordpress.
412
-
413
- = 1.9 (20/01/10) =
414
- * Fixed a small bug that resulted in the display for [The plugin does not have a valid header.]
415
- * Fixed a small phpmail bug
416
-
417
- = 1.8.1 (13/01/10) =
418
- * Included more information in sent mail including IP, Date & Referral Page
419
-
420
- = 1.6 (18/10/09) =
421
- * You can now delete people from the confirmed members list (requested update!)
422
-
423
- = 1.5 (04/10/09) =
424
- * Fixed small error on the error checking form.
425
-
426
- = 1.4 (03/10/09) =
427
- * Added a check for duplicate emails.
428
-
429
- = 1.3 (30/09/09) =
430
- * Added a new feature where you can mention the name of the recipient of the email within the email by using the %NAME% string.
431
- * Better default title & text for the WP Email Capture Widget.
432
- * Fixed a bug that dropped the last character of the "From" name.
433
-
434
- = 1.2 (27/09/09) =
435
- * Fixed errors with the programme when using non pretty permalinks (they now work now)
436
- * Compatible with windows based PHP configurations (1.1 introduced a function that didn't work on windows boxes).
437
-
438
- = 1.1 revision 2 (24/09/09) =
439
- * Fixed compatability issue with All in One SEO.
440
- * Blogs which are on a subdomain now can use the plugin (http://www.domian.com/wordpress/)
441
-
442
- = 1.1 revision 1 (23/09/09) =
443
- * Fixed small upgrade bug
444
-
445
- = 1.1 (22/09/09) =
446
- * Fixed short tag problem in tempdata.php
447
- * Emails that are not valid emails aren't processed
448
-
449
- = 1.0 RC 1 (17/09/09) =
450
- * First Release!
451
- * Dashboard Widget added.
452
-
453
- = 0.4 (14/09/09) =
454
- * Used more secure internal wp_mail class for sending out mail
455
- * Implemented [wp_email_form] class for implementing plugin on form
456
-
457
- = 0.3 (12/09/09) =
458
- * Switch to headers, rather than meta refreshes for updating the page
459
-
460
- = 0.2 (09/09/09) =
461
- * Fixed small error in the plugin when using permalinks
462
- * Implemented more security to the plugin
463
-
464
- = 0.1 (07/09/09) =
465
- * Plugin Launched
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
trunk/screenshot-1.png DELETED
Binary file
trunk/screenshot-2.png DELETED
Binary file
trunk/screenshot-3.png DELETED
Binary file
trunk/wp-email-capture.php DELETED
@@ -1,101 +0,0 @@
1
- <?php
2
-
3
- /*
4
- Plugin Name: WP Email Capture
5
- Plugin URI: https://www.wpemailcapture.com/?utm_source=plugin-link&utm_medium=plugin&utm_campaign=wpemailcapture
6
- Description: Captures email addresses for insertion into software such as <a href="https://www.wpemailcapture.com/recommends/aweber" title="Email Marketing">Aweber</a>, <a href="https://www.wpemailcapture.com/recommends/constant-contact/">Constant Contact</a> or <a href="https://www.wpemailcapture.com/recommends/mailchimp/">Mailchimp</a>
7
- Version: 3.9.1
8
- Author: Winwar Media
9
- Author URI: https://www.winwar.co.uk/?utm_source=author-link&utm_medium=plugin&utm_campaign=wpemailcapture
10
- */
11
-
12
- global $wp_email_capture_db_version;
13
- global $wpdb;
14
-
15
- // Definitions
16
- $wp_email_capture_db_version = '3.5';
17
-
18
- define( 'WP_EMAIL_CAPTURE_PATH', dirname( __FILE__ ) );
19
- define( 'WP_EMAIL_CAPTURE_URL', plugins_url( '', __FILE__ ) );
20
- define( 'WP_EMAIL_CAPTURE_TEMP_MEMBERS_TABLE', $wpdb->prefix . 'wp_email_capture_temp_members' );
21
- define( 'WP_EMAIL_CAPTURE_REGISTERED_MEMBERS_TABLE', $wpdb->prefix . 'wp_email_capture_registered_members' );
22
- define( 'WP_EMAIL_CAPTURE_VERSION', '3.9.1' );
23
- define( 'WP_EMAIL_MIN_MYSQL_VERSION', '5.6' );
24
-
25
- require_once WP_EMAIL_CAPTURE_PATH . '/inc/core.php';
26
-
27
- /**
28
- * Function to initialise all WordPress Functionality.
29
- *
30
- * Loads textdomain, then loads admin functions, then front end functionality.
31
- *
32
- * @return void
33
- */
34
- function wp_email_capture_plugins_loaded() {
35
-
36
- // Textdomain
37
- if ( function_exists( 'load_plugin_textdomain' ) ) {
38
- $plugin_dir = basename( dirname( __FILE__ ) );
39
- load_plugin_textdomain( 'wp-email-capture', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
40
- }
41
-
42
- // Admin Functions
43
- add_action( 'init', 'wp_email_capture_add_freebuttons', 10 );
44
- add_action( 'admin_init', 'wp_email_capture_options_process' );
45
- add_action( 'wp_dashboard_setup', 'wp_email_capture_add_dashboard_widgets' );
46
- add_action( 'admin_menu', 'wp_email_capture_menus', 10 );
47
- //add_action( 'admin_notices', 'wp_email_capture_admin_notice' );
48
- add_action( 'admin_notices', 'wp_email_capture_admin_upsell' );
49
- add_action( 'admin_notices', 'wp_email_capture_mysql_upsell' );
50
- add_action( 'admin_init', 'wp_email_capture_nag_ignore' );
51
- add_action( 'admin_init', 'wp_email_capture_install' );
52
- add_action( 'widgets_init', 'wp_email_capture_widget_init', 10 );
53
-
54
- // Front End Functions
55
- add_action( 'init', 'wp_email_capture_process' );
56
- add_action( 'wp_email_capture_signup_actions', 'wp_email_capture_signup', 10 );
57
- add_action( 'wp_email_capture_confirm_actions', 'wp_capture_email_confirm', 10 );
58
- add_action( 'wp_enqueue_scripts', 'wp_email_capture_scripts' );
59
- add_action( 'admin_enqueue_scripts', 'wp_email_capture_admin_scripts' );
60
- add_filter( 'wp_email_capture_send_email', 'wp_email_capture_send_email_default', 10, 4 );
61
- add_action( 'wp_email_capture_set_wp_email_capture_email_settings', 'wp_email_capture_set_email_to_html', 10 );
62
- add_action( 'wp_email_capture_set_normal_email_settings', 'wp_email_capture_set_email_to_plain', 10 );
63
-
64
- // Running this on the same hook so it can be removed if need be.
65
- add_action( 'plugins_loaded', 'wp_email_capture_database_upgdrade', 50 );
66
-
67
- add_shortcode( 'wp_email_capture_form', 'wp_email_capture_form_process_atts' );
68
-
69
- // Gutenberg Support
70
- if ( function_exists( 'register_block_type' ) ) {
71
- add_action( 'enqueue_block_editor_assets', 'wp_email_capture_enqueue_block_editor_assets', 10 );
72
- add_action( 'enqueue_block_assets', 'wp_email_capture_enqueue_block_editor_css', 10 );
73
- add_action( 'wp_email_capture_help_boxes', 'wp_email_capture_gutenberg_help', 70 );
74
- }
75
-
76
- // GDPR
77
- global $wp_version;
78
- if ( version_compare( $wp_version, '4.9.6', '>=' ) ) {
79
- //if ( get_option( 'wp_email_capture_enable_gdpr' ) ) {
80
- add_action( 'wp_email_capture_form_echo_form_before_submit_button', 'wp_email_capture_add_privacy_policy_before_submit_echo_form', 10 );
81
- add_filter( 'wp_email_capture_display_form', 'wp_email_capture_add_privacy_policy_before_submit_display_form', 10, 2 );
82
- add_action( 'wp_email_capture_signup_actions', 'wp_email_capture_gdpr_process', 5 );
83
- add_action( 'wp_email_capture_hourly', 'wp_email_capture_gdpr_deletion' );
84
- //add_action( 'admin_menu', 'wp_email_capture_add_gdpr_page', 10 );
85
- add_action( 'admin_init', 'wp_email_capture_add_privacy_policy_content', 160 );
86
- add_filter( 'wp_privacy_personal_data_exporters', 'wp_email_capture_register_plugin_exporter', 10 );
87
- add_filter( 'wp_privacy_personal_data_erasers', 'wp_email_capture_register_plugin_eraser', 10 );
88
- //}
89
- add_action( 'wp_email_capture_help_boxes', 'wp_email_capture_gdpr_help', 50 );
90
- }
91
-
92
- // Recaptcha Process
93
- if ( get_option( 'wp_email_capture_recaptcha_server_api_key') && get_option( 'wp_email_capture_recaptcha_client_api_key') ) {
94
- add_action( 'wp_email_capture_signup_actions', 'wp_email_capture_recaptcha_process', 1 );
95
- }
96
- }
97
-
98
- // Activation functionality
99
- add_action( 'plugins_loaded', 'wp_email_capture_plugins_loaded', 10 );
100
- register_activation_hook( __FILE__, 'wp_email_capture_install' );
101
- register_activation_hook( __FILE__, 'wp_email_capture_gdpr_activation' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
wp-email-capture.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin Name: WP Email Capture
5
  Plugin URI: https://www.wpemailcapture.com/?utm_source=plugin-link&utm_medium=plugin&utm_campaign=wpemailcapture
6
  Description: Captures email addresses for insertion into software such as <a href="https://www.wpemailcapture.com/recommends/aweber" title="Email Marketing">Aweber</a>, <a href="https://www.wpemailcapture.com/recommends/constant-contact/">Constant Contact</a> or <a href="https://www.wpemailcapture.com/recommends/mailchimp/">Mailchimp</a>
7
- Version: 3.9
8
  Author: Winwar Media
9
  Author URI: https://www.winwar.co.uk/?utm_source=author-link&utm_medium=plugin&utm_campaign=wpemailcapture
10
  */
@@ -19,7 +19,7 @@ define( 'WP_EMAIL_CAPTURE_PATH', dirname( __FILE__ ) );
19
  define( 'WP_EMAIL_CAPTURE_URL', plugins_url( '', __FILE__ ) );
20
  define( 'WP_EMAIL_CAPTURE_TEMP_MEMBERS_TABLE', $wpdb->prefix . 'wp_email_capture_temp_members' );
21
  define( 'WP_EMAIL_CAPTURE_REGISTERED_MEMBERS_TABLE', $wpdb->prefix . 'wp_email_capture_registered_members' );
22
- define( 'WP_EMAIL_CAPTURE_VERSION', '3.9' );
23
  define( 'WP_EMAIL_MIN_MYSQL_VERSION', '5.6' );
24
 
25
  require_once WP_EMAIL_CAPTURE_PATH . '/inc/core.php';
4
  Plugin Name: WP Email Capture
5
  Plugin URI: https://www.wpemailcapture.com/?utm_source=plugin-link&utm_medium=plugin&utm_campaign=wpemailcapture
6
  Description: Captures email addresses for insertion into software such as <a href="https://www.wpemailcapture.com/recommends/aweber" title="Email Marketing">Aweber</a>, <a href="https://www.wpemailcapture.com/recommends/constant-contact/">Constant Contact</a> or <a href="https://www.wpemailcapture.com/recommends/mailchimp/">Mailchimp</a>
7
+ Version: 3.9.2
8
  Author: Winwar Media
9
  Author URI: https://www.winwar.co.uk/?utm_source=author-link&utm_medium=plugin&utm_campaign=wpemailcapture
10
  */
19
  define( 'WP_EMAIL_CAPTURE_URL', plugins_url( '', __FILE__ ) );
20
  define( 'WP_EMAIL_CAPTURE_TEMP_MEMBERS_TABLE', $wpdb->prefix . 'wp_email_capture_temp_members' );
21
  define( 'WP_EMAIL_CAPTURE_REGISTERED_MEMBERS_TABLE', $wpdb->prefix . 'wp_email_capture_registered_members' );
22
+ define( 'WP_EMAIL_CAPTURE_VERSION', '3.9.2' );
23
  define( 'WP_EMAIL_MIN_MYSQL_VERSION', '5.6' );
24
 
25
  require_once WP_EMAIL_CAPTURE_PATH . '/inc/core.php';