Email Encoder Bundle – Protect Email Address - Version 1.4.2

Version Description

  • Fixed potential xss vulnerability
Download this release

Release Info

Developer freelancephp
Plugin Icon 128x128 Email Encoder Bundle – Protect Email Address
Version 1.4.2
Comparing to
See all releases

Code changes from version 1.4.1 to 1.4.2

LICENSE CHANGED
@@ -1,20 +1,20 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2014 Victor Villaverde Laan
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy of
6
- this software and associated documentation files (the "Software"), to deal in
7
- the Software without restriction, including without limitation the rights to
8
- use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9
- the Software, and to permit persons to whom the Software is furnished to do so,
10
- subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17
- FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18
- COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19
- IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20
- CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2014 Victor Villaverde Laan
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
6
+ this software and associated documentation files (the "Software"), to deal in
7
+ the Software without restriction, including without limitation the rights to
8
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9
+ the Software, and to permit persons to whom the Software is furnished to do so,
10
+ subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
README.md CHANGED
@@ -1,6 +1,6 @@
1
- Email Encoder Bundle
2
- ====================
3
-
4
- Sharing the code of this WordPress plugin. Now everybody can contribute their improvements, bug fixes and new features.
5
-
6
  See http://wordpress.org/plugins/email-encoder-bundle/
1
+ Email Encoder Bundle
2
+ ====================
3
+
4
+ Sharing the code of this WordPress plugin. Now everybody can contribute their improvements, bug fixes and new features.
5
+
6
  See http://wordpress.org/plugins/email-encoder-bundle/
email-encoder-bundle.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Email Encoder Bundle - Protect Email Address
4
  Plugin URI: http://www.freelancephp.net/email-encoder-php-class-wp-plugin/
5
  Description: Protect email addresses on your site and hide them from spambots by using an encoding method. Easy to use, flexible .
6
  Author: Victor Villaverde Laan
7
- Version: 1.4.1
8
  Author URI: http://www.freelancephp.net
9
  License: Dual licensed under the MIT and GPL licenses
10
  Text Domain: email-encoder-bundle
@@ -12,7 +12,7 @@ Domain Path: /languages
12
  */
13
 
14
  // constants
15
- if (!defined('EMAIL_ENCODER_BUNDLE_VERSION')) { define('EMAIL_ENCODER_BUNDLE_VERSION', '1.4.1'); }
16
  if (!defined('EMAIL_ENCODER_BUNDLE_FILE')) { define('EMAIL_ENCODER_BUNDLE_FILE', __FILE__); }
17
  if (!defined('EMAIL_ENCODER_BUNDLE_KEY')) { define('EMAIL_ENCODER_BUNDLE_KEY', 'WP_Email_Encoder_Bundle'); }
18
  if (!defined('EMAIL_ENCODER_BUNDLE_DOMAIN')) { define('EMAIL_ENCODER_BUNDLE_DOMAIN', 'email-encoder-bundle'); }
@@ -36,15 +36,20 @@ if (version_compare($wp_version, '3.6', '>=') && version_compare(phpversion(), '
36
  $Eeb_Site = Eeb_Site::getInstance();
37
 
38
  // handle AJAX request
39
- if (!empty($_GET['ajaxEncodeEmail'])):
40
- // input vars
41
- $method = $_GET['method'];
42
- $email = $_GET['email'];
43
- $display = (empty($_GET['display'])) ? $email : $_GET['display'];
 
 
 
 
 
44
 
45
  echo $Eeb_Site->encode_email($email, $display, '', $method, true);
46
  exit;
47
- endif;
48
 
49
  } else {
50
 
4
  Plugin URI: http://www.freelancephp.net/email-encoder-php-class-wp-plugin/
5
  Description: Protect email addresses on your site and hide them from spambots by using an encoding method. Easy to use, flexible .
6
  Author: Victor Villaverde Laan
7
+ Version: 1.4.2
8
  Author URI: http://www.freelancephp.net
9
  License: Dual licensed under the MIT and GPL licenses
10
  Text Domain: email-encoder-bundle
12
  */
13
 
14
  // constants
15
+ if (!defined('EMAIL_ENCODER_BUNDLE_VERSION')) { define('EMAIL_ENCODER_BUNDLE_VERSION', '1.4.2'); }
16
  if (!defined('EMAIL_ENCODER_BUNDLE_FILE')) { define('EMAIL_ENCODER_BUNDLE_FILE', __FILE__); }
17
  if (!defined('EMAIL_ENCODER_BUNDLE_KEY')) { define('EMAIL_ENCODER_BUNDLE_KEY', 'WP_Email_Encoder_Bundle'); }
18
  if (!defined('EMAIL_ENCODER_BUNDLE_DOMAIN')) { define('EMAIL_ENCODER_BUNDLE_DOMAIN', 'email-encoder-bundle'); }
36
  $Eeb_Site = Eeb_Site::getInstance();
37
 
38
  // handle AJAX request
39
+ // input vars
40
+ if (!empty($_POST['eebActionEncodeEmail'])) {
41
+ $eebActionEncodeEmail = sanitize_text_field($_POST['eebActionEncodeEmail']);
42
+ $method = sanitize_text_field($_POST['eebMethod']);
43
+ $email = sanitize_email($_POST['eebEmail']);
44
+ $display = wp_kses_post($_POST['eebDisplay']);
45
+
46
+ if (empty($display)) {
47
+ $display = $email;
48
+ }
49
 
50
  echo $Eeb_Site->encode_email($email, $display, '', $method, true);
51
  exit;
52
+ }
53
 
54
  } else {
55
 
includes/class-eeb-site.php CHANGED
@@ -475,12 +475,15 @@ final class Eeb_Site extends Eeb_Admin {
475
  $mail_indices = str_replace("\\", "\\\\", $mail_indices);
476
  $mail_indices = str_replace("\"", "\\\"", $mail_indices);
477
 
478
- return '<script type="text/javascript">'
 
 
 
479
  . '(function(){'
480
  . 'var ml="'. $mail_letters_enc .'",mi="'. $mail_indices .'",o="";'
481
  . 'for(var j=0,l=mi.length;j<l;j++){'
482
  . 'o+=ml.charAt(mi.charCodeAt(j)-48);'
483
- . '}document.write(decodeURIComponent(o));' // decode at the end, this way special chars can be supported
484
  . '}());'
485
  . '</script><noscript>'
486
  . $protection_text
@@ -507,11 +510,13 @@ final class Eeb_Site extends Eeb_Admin {
507
  * @return string
508
  */
509
  private function enc_escape($value, $protection_text) {
510
- $string = 'document.write(\'' . $value . '\')';
 
511
 
512
  // break string into array of characters, we can't use string_split because its php5 only
513
  $split = preg_split('||', $string);
514
- $out = '<script type="text/javascript">' . "eval(decodeURIComponent('";
 
515
 
516
  foreach ($split as $c) {
517
  // preg split will return empty first and last characters, check for them and ignore
475
  $mail_indices = str_replace("\\", "\\\\", $mail_indices);
476
  $mail_indices = str_replace("\"", "\\\"", $mail_indices);
477
 
478
+ $element_id = 'eeb-' . mt_rand(0, 1000000);
479
+
480
+ return '<span id="'. $element_id . '"></span>'
481
+ . '<script type="text/javascript">'
482
  . '(function(){'
483
  . 'var ml="'. $mail_letters_enc .'",mi="'. $mail_indices .'",o="";'
484
  . 'for(var j=0,l=mi.length;j<l;j++){'
485
  . 'o+=ml.charAt(mi.charCodeAt(j)-48);'
486
+ . '}document.getElementById("' . $element_id . '").innerHTML = decodeURIComponent(o);' // decode at the end, this way special chars can be supported
487
  . '}());'
488
  . '</script><noscript>'
489
  . $protection_text
510
  * @return string
511
  */
512
  private function enc_escape($value, $protection_text) {
513
+ $element_id = 'eeb-' . mt_rand(0, 1000000);
514
+ $string = '\'' . $value . '\'';
515
 
516
  // break string into array of characters, we can't use string_split because its php5 only
517
  $split = preg_split('||', $string);
518
+ $out = '<span id="'. $element_id . '"></span>'
519
+ . '<script type="text/javascript">' . "document.getElementById('" . $element_id . "').innerHTML = eval(decodeURIComponent('";
520
 
521
  foreach ($split as $c) {
522
  // preg split will return empty first and last characters, check for them and ignore
includes/deprecated.php CHANGED
@@ -1,62 +1,62 @@
1
- <?php defined('ABSPATH') OR die('No direct access.');
2
-
3
- /**
4
- * Deprecated template Functions
5
- *
6
- * @package Email_Encoder_Bundle
7
- * @category WordPress Plugins
8
- */
9
-
10
- /**
11
- * Template function for encoding email
12
- *
13
- * @deprecated
14
- *
15
- * @global Eeb_Site $Eeb_Site
16
- * @param string $email
17
- * @param string $display if non given will be same as email
18
- * @param string $method Optional, else the default setted method will; be used
19
- * @param string $extra_attrs Optional
20
- * @return string
21
- */
22
- if (!function_exists('encode_email')):
23
- function encode_email($email, $display = null, $method = null, $extra_attrs = '') {
24
- return eeb_email($email, $display, $extra_attrs, $method);
25
- }
26
- endif;
27
-
28
- /**
29
- * Template function for encoding content
30
- *
31
- * @deprecated
32
- *
33
- * @global Eeb_Site $Eeb_Site
34
- * @param string $content
35
- * @param string $method Optional, default null
36
- * @return string
37
- */
38
- if (!function_exists('encode_content')):
39
- function encode_content($content, $method = null) {
40
- return eeb_content($content, $method);
41
- }
42
- endif;
43
-
44
- /**
45
- * Template function for encoding emails in the given content
46
- *
47
- * @deprecated
48
- *
49
- * @global Eeb_Site $Eeb_Site
50
- * @param string $content
51
- * @param boolean $enc_tags Optional, default true
52
- * @param boolean $enc_mailtos Optional, default true
53
- * @param boolean $enc_plain_emails Optional, default true
54
- * @return string
55
- */
56
- if (!function_exists('encode_email_filter')):
57
- function encode_email_filter($content, $enc_tags = true, $enc_mailtos = true, $enc_plain_emails = true) {
58
- return eeb_email_filter($content, $enc_tags, $enc_mailtos, $enc_plain_emails);
59
- }
60
- endif;
61
-
62
  /* ommit PHP closing tag, to prevent unwanted whitespace at the end of the parts generated by the included files */
1
+ <?php defined('ABSPATH') OR die('No direct access.');
2
+
3
+ /**
4
+ * Deprecated template Functions
5
+ *
6
+ * @package Email_Encoder_Bundle
7
+ * @category WordPress Plugins
8
+ */
9
+
10
+ /**
11
+ * Template function for encoding email
12
+ *
13
+ * @deprecated
14
+ *
15
+ * @global Eeb_Site $Eeb_Site
16
+ * @param string $email
17
+ * @param string $display if non given will be same as email
18
+ * @param string $method Optional, else the default setted method will; be used
19
+ * @param string $extra_attrs Optional
20
+ * @return string
21
+ */
22
+ if (!function_exists('encode_email')):
23
+ function encode_email($email, $display = null, $method = null, $extra_attrs = '') {
24
+ return eeb_email($email, $display, $extra_attrs, $method);
25
+ }
26
+ endif;
27
+
28
+ /**
29
+ * Template function for encoding content
30
+ *
31
+ * @deprecated
32
+ *
33
+ * @global Eeb_Site $Eeb_Site
34
+ * @param string $content
35
+ * @param string $method Optional, default null
36
+ * @return string
37
+ */
38
+ if (!function_exists('encode_content')):
39
+ function encode_content($content, $method = null) {
40
+ return eeb_content($content, $method);
41
+ }
42
+ endif;
43
+
44
+ /**
45
+ * Template function for encoding emails in the given content
46
+ *
47
+ * @deprecated
48
+ *
49
+ * @global Eeb_Site $Eeb_Site
50
+ * @param string $content
51
+ * @param boolean $enc_tags Optional, default true
52
+ * @param boolean $enc_mailtos Optional, default true
53
+ * @param boolean $enc_plain_emails Optional, default true
54
+ * @return string
55
+ */
56
+ if (!function_exists('encode_email_filter')):
57
+ function encode_email_filter($content, $enc_tags = true, $enc_mailtos = true, $enc_plain_emails = true) {
58
+ return eeb_email_filter($content, $enc_tags, $enc_mailtos, $enc_plain_emails);
59
+ }
60
+ endif;
61
+
62
  /* ommit PHP closing tag, to prevent unwanted whitespace at the end of the parts generated by the included files */
js/email-encoder-bundle.min.js CHANGED
@@ -1,2 +1,2 @@
1
- /* Email Encoder Bundle */
2
- jQuery(function(e){"use strict";var t=e(".eeb-form");var n=t.find("#eeb-email");var r=t.find("#eeb-display");var i;var s=function(){if(!n.val()){return}t.find("#eeb-encoded-output").val("");e.get("",{ajaxEncodeEmail:true,email:n.val(),display:r.val()||n.val(),method:t.find("#eeb-encode-method").val()},function(e){t.find("#eeb-encoded-output").val(e);t.find(".eeb-output").fadeIn()})};t.find(".eeb-output").hide();n.keyup(function(){var e=n.val();var t=r.val();if(!t||t===i){r.val(e)}i=e});t.find("#eeb-email, #eeb-display").keyup(function(){if(r.val().length>0){t.find(".eeb-example").html('<a href="mailto:'+n.val()+'">'+r.val()+"</a>").parents("tr").fadeIn()}else{t.find(".eeb-example").parents("tr").fadeOut()}t.find(".eeb-output").fadeOut();t.find("#eeb-encoded-output").val("")}).keyup();t.find("#eeb-encode-method").bind("change keyup",function(){s()});t.find("#eeb-ajax-encode").click(function(){s()})});jQuery(function(e){"use strict";var t=e("#encode_emails");e("#setting-error-settings_updated").click(function(){e(this).hide()});e("#encode_mailtos").change(function(){var n=e(this).prop("checked");t.attr("disabled",!n);if(!n){t.attr("checked",false)}t.change()}).change();t.change(function(){e(".notice-form-field-bug")[t.prop("checked")?"fadeIn":"fadeOut"]()});e(".eeb-form table").addClass("form-table");e(".eeb-help-link").click(function(t){e("#contextual-help-link").click();t.preventDefault()});e(".wrap form").submit(function(){e('*[type="checkbox"]:not(:checked)').css({visibility:"hidden"}).attr({value:"0",checked:"checked"})});e('*[type="submit"]').attr("disabled",false).removeClass("submit")})
1
+ /* Email Encoder Bundle */
2
+ jQuery(function(e){"use strict";var t=e(".eeb-form");var n=t.find("#eeb-email");var r=t.find("#eeb-display");var i;var s=function(){if(!n.val()){return}t.find("#eeb-encoded-output").val("");e.post("",{eebActionEncodeEmail:true,eebEmail:n.val(),eebDisplay:r.val()||n.val(),eebMethod:t.find("#eeb-encode-method").val()},function(e){t.find("#eeb-encoded-output").val(e);t.find(".eeb-output").fadeIn()})};t.find(".eeb-output").hide();n.keyup(function(){var e=n.val();var t=r.val();if(!t||t===i){r.val(e)}i=e});t.find("#eeb-email, #eeb-display").keyup(function(){if(r.val().length>0){t.find(".eeb-example").html('<a href="mailto:'+n.val()+'">'+r.val()+"</a>").parents("tr").fadeIn()}else{t.find(".eeb-example").parents("tr").fadeOut()}t.find(".eeb-output").fadeOut();t.find("#eeb-encoded-output").val("")}).keyup();t.find("#eeb-encode-method").bind("change keyup",function(){s()});t.find("#eeb-ajax-encode").click(function(){s()})});jQuery(function(e){"use strict";var t=e("#encode_emails");e("#setting-error-settings_updated").click(function(){e(this).hide()});e("#encode_mailtos").change(function(){var n=e(this).prop("checked");t.attr("disabled",!n);if(!n){t.attr("checked",false)}t.change()}).change();t.change(function(){e(".notice-form-field-bug")[t.prop("checked")?"fadeIn":"fadeOut"]()});e(".eeb-form table").addClass("form-table");e(".eeb-help-link").click(function(t){e("#contextual-help-link").click();t.preventDefault()});e(".wrap form").submit(function(){e('*[type="checkbox"]:not(:checked)').css({visibility:"hidden"}).attr({value:"0",checked:"checked"})});e('*[type="submit"]').attr("disabled",false).removeClass("submit")})
js/src/email-encoder-bundle-admin.js CHANGED
@@ -1,59 +1,59 @@
1
- /* Email Encoder Bundle - Admin */
2
- /*global jQuery*/
3
- jQuery(function ($) {
4
- 'use strict';
5
-
6
- var $encodeEmails = $('#encode_emails');
7
-
8
- $('#setting-error-settings_updated').click(function () {
9
- $(this).hide();
10
- });
11
-
12
- // enable/disable plain emails
13
- $('#encode_mailtos')
14
- .change(function () {
15
- var checked = $(this).prop('checked');
16
-
17
- $encodeEmails.attr('disabled', !checked);
18
-
19
- if (!checked) {
20
- $encodeEmails.attr('checked', false);
21
- }
22
-
23
- // force change trigger
24
- $encodeEmails.change();
25
- })
26
- .change();
27
-
28
- // show/hide notice
29
- $encodeEmails.change(function () {
30
- $('.notice-form-field-bug')[$encodeEmails.prop('checked') ? 'fadeIn' : 'fadeOut']();
31
- });
32
-
33
- // add form-table class to Encoder Form tables
34
- $('.eeb-form table').addClass('form-table');
35
-
36
- //
37
- $('.eeb-help-link').click(function (e) {
38
- $('#contextual-help-link').click();
39
- e.preventDefault();
40
- });
41
-
42
- // Workaround for saving disabled checkboxes in options db
43
- // prepare checkboxes before submit
44
- $('.wrap form').submit(function () {
45
- // force value 0 being saved in options
46
- $('*[type="checkbox"]:not(:checked)')
47
- .css({ 'visibility': 'hidden' })
48
- .attr({
49
- 'value': '0',
50
- 'checked': 'checked'
51
- });
52
- });
53
-
54
- // enable submit buttons
55
- $('*[type="submit"]')
56
- .attr('disabled', false)
57
- .removeClass('submit'); // remove class to fix button background
58
-
59
- });
1
+ /* Email Encoder Bundle - Admin */
2
+ /*global jQuery*/
3
+ jQuery(function ($) {
4
+ 'use strict';
5
+
6
+ var $encodeEmails = $('#encode_emails');
7
+
8
+ $('#setting-error-settings_updated').click(function () {
9
+ $(this).hide();
10
+ });
11
+
12
+ // enable/disable plain emails
13
+ $('#encode_mailtos')
14
+ .change(function () {
15
+ var checked = $(this).prop('checked');
16
+
17
+ $encodeEmails.attr('disabled', !checked);
18
+
19
+ if (!checked) {
20
+ $encodeEmails.attr('checked', false);
21
+ }
22
+
23
+ // force change trigger
24
+ $encodeEmails.change();
25
+ })
26
+ .change();
27
+
28
+ // show/hide notice
29
+ $encodeEmails.change(function () {
30
+ $('.notice-form-field-bug')[$encodeEmails.prop('checked') ? 'fadeIn' : 'fadeOut']();
31
+ });
32
+
33
+ // add form-table class to Encoder Form tables
34
+ $('.eeb-form table').addClass('form-table');
35
+
36
+ //
37
+ $('.eeb-help-link').click(function (e) {
38
+ $('#contextual-help-link').click();
39
+ e.preventDefault();
40
+ });
41
+
42
+ // Workaround for saving disabled checkboxes in options db
43
+ // prepare checkboxes before submit
44
+ $('.wrap form').submit(function () {
45
+ // force value 0 being saved in options
46
+ $('*[type="checkbox"]:not(:checked)')
47
+ .css({ 'visibility': 'hidden' })
48
+ .attr({
49
+ 'value': '0',
50
+ 'checked': 'checked'
51
+ });
52
+ });
53
+
54
+ // enable submit buttons
55
+ $('*[type="submit"]')
56
+ .attr('disabled', false)
57
+ .removeClass('submit'); // remove class to fix button background
58
+
59
+ });
js/src/email-encoder-bundle.js CHANGED
@@ -1,74 +1,74 @@
1
- /* Email Encoder Bundle - Encoder Form */
2
- /*global jQuery*/
3
- jQuery(function ($) {
4
- 'use strict';
5
-
6
- var $wrap = $('.eeb-form');
7
- var $email = $wrap.find('#eeb-email');
8
- var $display = $wrap.find('#eeb-display');
9
- var prevEmail;
10
-
11
- // get encoded email ( ajax call )
12
- var getEncoded = function () {
13
- // stop when email field is empty
14
- if (!$email.val()) {
15
- return;
16
- }
17
-
18
- // empty the output field
19
- $wrap.find('#eeb-encoded-output').val('');
20
-
21
- // get the encoded email link
22
- $.get('', {
23
- ajaxEncodeEmail: true,
24
- email: $email.val(),
25
- display: $display.val() || $email.val(),
26
- method: $wrap.find('#eeb-encode-method').val()
27
- }, function (data) {
28
- $wrap.find('#eeb-encoded-output').val(data);
29
- $wrap.find('.eeb-output').fadeIn();
30
- });
31
- };
32
-
33
- // hide output
34
- $wrap.find('.eeb-output').hide();
35
-
36
- // auto-set display field
37
- $email.keyup(function () {
38
- var email = $email.val();
39
- var display = $display.val();
40
-
41
- if (!display || display === prevEmail) {
42
- $display.val(email);
43
- }
44
-
45
- prevEmail = email;
46
- });
47
-
48
- // get encoded link on these events
49
- $wrap.find('#eeb-email, #eeb-display')
50
- .keyup(function () {
51
- if ($display.val().length > 0) {
52
- // show example how it will appear on the page
53
- $wrap.find('.eeb-example')
54
- .html('<a href="mailto:' + $email.val() + '">' + $display.val() + '</a>')
55
- .parents('tr').fadeIn();
56
- } else {
57
- $wrap.find('.eeb-example').parents('tr').fadeOut();
58
- }
59
-
60
- // clear code field
61
- $wrap.find('.eeb-output').fadeOut();
62
- $wrap.find('#eeb-encoded-output').val('');
63
- })
64
- .keyup();
65
-
66
- $wrap.find('#eeb-encode-method').bind('change keyup', function () {
67
- getEncoded();
68
- });
69
-
70
- $wrap.find('#eeb-ajax-encode').click(function () {
71
- getEncoded();
72
- });
73
-
74
- });
1
+ /* Email Encoder Bundle - Encoder Form */
2
+ /*global jQuery*/
3
+ jQuery(function ($) {
4
+ 'use strict';
5
+
6
+ var $wrap = $('.eeb-form');
7
+ var $email = $wrap.find('#eeb-email');
8
+ var $display = $wrap.find('#eeb-display');
9
+ var prevEmail;
10
+
11
+ // get encoded email ( ajax call )
12
+ var getEncoded = function () {
13
+ // stop when email field is empty
14
+ if (!$email.val()) {
15
+ return;
16
+ }
17
+
18
+ // empty the output field
19
+ $wrap.find('#eeb-encoded-output').val('');
20
+
21
+ // get the encoded email link
22
+ $.post('', {
23
+ eebActionEncodeEmail: true,
24
+ eebEmail: $email.val(),
25
+ eebDisplay: $display.val() || $email.val(),
26
+ eebMethod: $wrap.find('#eeb-encode-method').val()
27
+ }, function (data) {
28
+ $wrap.find('#eeb-encoded-output').val(data);
29
+ $wrap.find('.eeb-output').fadeIn();
30
+ });
31
+ };
32
+
33
+ // hide output
34
+ $wrap.find('.eeb-output').hide();
35
+
36
+ // auto-set display field
37
+ $email.keyup(function () {
38
+ var email = $email.val();
39
+ var display = $display.val();
40
+
41
+ if (!display || display === prevEmail) {
42
+ $display.val(email);
43
+ }
44
+
45
+ prevEmail = email;
46
+ });
47
+
48
+ // get encoded link on these events
49
+ $wrap.find('#eeb-email, #eeb-display')
50
+ .keyup(function () {
51
+ if ($display.val().length > 0) {
52
+ // show example how it will appear on the page
53
+ $wrap.find('.eeb-example')
54
+ .html('<a href="mailto:' + $email.val() + '">' + $display.val() + '</a>')
55
+ .parents('tr').fadeIn();
56
+ } else {
57
+ $wrap.find('.eeb-example').parents('tr').fadeOut();
58
+ }
59
+
60
+ // clear code field
61
+ $wrap.find('.eeb-output').fadeOut();
62
+ $wrap.find('#eeb-encoded-output').val('');
63
+ })
64
+ .keyup();
65
+
66
+ $wrap.find('#eeb-encode-method').bind('change keyup', function () {
67
+ getEncoded();
68
+ });
69
+
70
+ $wrap.find('#eeb-ajax-encode').click(function () {
71
+ getEncoded();
72
+ });
73
+
74
+ });
languages/email-encoder-bundle-nl_NL.mo ADDED
Binary file
languages/email-encoder-bundle-nl_NL.po ADDED
@@ -0,0 +1,622 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: email-encoder-bundle\n"
4
+ "POT-Creation-Date: 2015-06-22 15:26+0100\n"
5
+ "PO-Revision-Date: 2015-06-22 18:12+0100\n"
6
+ "Last-Translator: Victor <info@freelancephp.net>\n"
7
+ "Language-Team: <info@freelancephp.net>\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "X-Generator: Poedit 1.6.3\n"
12
+ "X-Poedit-Basepath: .\n"
13
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
14
+ "X-Poedit-KeywordsList: __;_e\n"
15
+ "Language: nl_NL\n"
16
+ "X-Poedit-SearchPath-0: ..\n"
17
+
18
+ #: ../email-encoder-bundle.php:57
19
+ #, php-format
20
+ msgid ""
21
+ "<p>Warning - The plugin <strong>%s</strong> requires PHP 5.2.4+ and WP "
22
+ "3.6+. Please upgrade your PHP and/or WordPress.<br/>Disable the plugin to "
23
+ "remove this message.</p>"
24
+ msgstr ""
25
+ "<p>Waarschuwing - Deze plugin <strong>%s</strong> vereist PHP 5.2.4+ en WP "
26
+ "3.6+. Upgrade PHP en/of WordPress versie.<br/>Deze waarschuwing verdwijnt "
27
+ "zodra u de plugin uitschakelt.</p>"
28
+
29
+ #: ../includes/class-eeb-admin.php:78
30
+ msgid "JS Rot13"
31
+ msgstr "JS Rot13"
32
+
33
+ #: ../includes/class-eeb-admin.php:79
34
+ msgid "Recommended, the savest method using a rot13 method in JavaScript."
35
+ msgstr "Aanbevolen, de veiligste methode is rot13 met JavaScript"
36
+
37
+ #: ../includes/class-eeb-admin.php:82
38
+ msgid "JS Escape"
39
+ msgstr "JS Escape"
40
+
41
+ #: ../includes/class-eeb-admin.php:83
42
+ msgid "Pretty save method using JavaScipt's escape function."
43
+ msgstr "Redelijk veilige methode, gebruikt de JavaScript escape functie"
44
+
45
+ #: ../includes/class-eeb-admin.php:86
46
+ msgid "Html Encode"
47
+ msgstr "Html Encoderen"
48
+
49
+ #: ../includes/class-eeb-admin.php:87
50
+ msgid ""
51
+ "Not recommended, equal to <a href=\"http://codex.wordpress.org/"
52
+ "Function_Reference/antispambot\" target=\"_blank\"><code>antispambot()</"
53
+ "code></a> function of WordPress."
54
+ msgstr ""
55
+ "Niet aanbevolen, equivalent van de ingebouwde <a href=\"http://codex."
56
+ "wordpress.org/Function_Reference/antispambot\" target=\"_blank"
57
+ "\"><code>antispambot()</code></a> functie in WordPress"
58
+
59
+ #: ../includes/class-eeb-admin.php:196 ../includes/class-eeb-admin.php:478
60
+ #: ../includes/class-eeb-admin.php:534 ../includes/class-eeb-admin.php:547
61
+ msgid "Settings"
62
+ msgstr "Instellingen"
63
+
64
+ #: ../includes/class-eeb-admin.php:210 ../includes/class-eeb-admin.php:215
65
+ msgid "Email Encoder Bundle"
66
+ msgstr "Email Encoder Bundle"
67
+
68
+ #: ../includes/class-eeb-admin.php:251
69
+ msgid "Main Settings"
70
+ msgstr "Algemene Instellingen"
71
+
72
+ #: ../includes/class-eeb-admin.php:252
73
+ msgid "Additional Settings"
74
+ msgstr "Aanvullende Instellingen"
75
+
76
+ #: ../includes/class-eeb-admin.php:253
77
+ msgid "RSS Settings"
78
+ msgstr "RSS Instellingen"
79
+
80
+ #: ../includes/class-eeb-admin.php:254
81
+ msgid "Admin Settings"
82
+ msgstr "Admin Instellingen"
83
+
84
+ #: ../includes/class-eeb-admin.php:255
85
+ msgid "Email Encoder Form"
86
+ msgstr "Email Encoder Formulier"
87
+
88
+ #: ../includes/class-eeb-admin.php:256
89
+ msgid "Support"
90
+ msgstr "Ondersteuning"
91
+
92
+ #: ../includes/class-eeb-admin.php:257
93
+ msgid "Other Plugins"
94
+ msgstr "Andere Plugins"
95
+
96
+ #: ../includes/class-eeb-admin.php:268
97
+ msgid "Protect Email Addresses"
98
+ msgstr "Bescherm Email Adressen"
99
+
100
+ #: ../includes/class-eeb-admin.php:272
101
+ msgid "Settings saved."
102
+ msgstr "Instellingen opgeslagen."
103
+
104
+ #: ../includes/class-eeb-admin.php:318
105
+ msgid ""
106
+ "Warning: \"WP Mailto Links\"-plugin is also activated, which could cause "
107
+ "conflicts."
108
+ msgstr ""
109
+ "Waarschuwing: \"WP Mailto Links\"-plugin is ook geactiveerd en kan "
110
+ "conflicten veroorzaken."
111
+
112
+ #: ../includes/class-eeb-admin.php:323
113
+ msgid "Choose what to protect"
114
+ msgstr "Kies wat te beschermen"
115
+
116
+ #: ../includes/class-eeb-admin.php:326
117
+ msgid ""
118
+ "Protect mailto links, like f.e. <code>&lt;a href=\"info@myemail.com\"&gt;My "
119
+ "Email&lt;/a&gt;</code>"
120
+ msgstr ""
121
+ "Bescherm mailto links, zoals bijv. <code>&lt;a href=\"info@myemail.com\"&gt;"
122
+ "Mijn Email&lt;/a&gt;</code>"
123
+
124
+ #: ../includes/class-eeb-admin.php:328
125
+ msgid "Replace plain email addresses to protected mailto links."
126
+ msgstr "Maak van email adressen veilige mailto links"
127
+
128
+ #: ../includes/class-eeb-admin.php:329
129
+ msgid ""
130
+ "Notice: be carefull with this option when using email addresses on form "
131
+ "fields, please <a href=\"http://wordpress.org/extend/plugins/email-encoder-"
132
+ "bundle/faq/\" target=\"_blank\">check the FAQ</a> for more info."
133
+ msgstr ""
134
+ "Opmerking: wees voorzichtig met deze optie als je email addressen in "
135
+ "formulier velden gebruikt, <a href=\"http://wordpress.org/extend/plugins/"
136
+ "email-encoder-bundle/faq/\" target=\"_blank\">check deFAQ</a> voor meer info."
137
+
138
+ #: ../includes/class-eeb-admin.php:332
139
+ msgid "Replace prefilled email addresses in input fields."
140
+ msgstr "Bescherm vooringevulde email adressen in formulier velden"
141
+
142
+ #: ../includes/class-eeb-admin.php:333
143
+ msgid " - Recommended!"
144
+ msgstr " - Aanbevolen!"
145
+
146
+ #: ../includes/class-eeb-admin.php:339
147
+ msgid "Apply on..."
148
+ msgstr "Toepassen op..."
149
+
150
+ #: ../includes/class-eeb-admin.php:342
151
+ msgid "All posts and pages"
152
+ msgstr "Alle posts en pagina's"
153
+
154
+ #: ../includes/class-eeb-admin.php:345
155
+ msgid "All comments"
156
+ msgstr "Alle reacties"
157
+
158
+ #: ../includes/class-eeb-admin.php:347
159
+ msgid ""
160
+ "All widgets (uses the <code>widget_content</code> filter of the Widget Logic "
161
+ "plugin)"
162
+ msgstr ""
163
+ "Alle widgets (maakt gebruik van de <code>widget_content</code> filter van de "
164
+ "Widget Logic plugin)"
165
+
166
+ #: ../includes/class-eeb-admin.php:347 ../includes/class-eeb-admin.php:444
167
+ msgid "All text widgets"
168
+ msgstr "Alle tekst widgets"
169
+
170
+ #: ../includes/class-eeb-admin.php:351
171
+ msgid "Add class to protected mailto links"
172
+ msgstr "Voeg een CSS class toe aan de mailto links"
173
+
174
+ #: ../includes/class-eeb-admin.php:353
175
+ msgid ""
176
+ "All protected mailto links will get these class(es). Optional, else keep "
177
+ "blank."
178
+ msgstr ""
179
+ "Alle beschermde mailto links krijgen deze class(es). Optioneel, mag ook leeg "
180
+ "laten."
181
+
182
+ #: ../includes/class-eeb-admin.php:359 ../includes/class-eeb-admin.php:391
183
+ #: ../includes/class-eeb-admin.php:458 ../includes/class-eeb-admin.php:486
184
+ #: ../includes/class-eeb-admin.php:516
185
+ msgid "Save Changes"
186
+ msgstr "Wijzigingen Opgeslagen"
187
+
188
+ #: ../includes/class-eeb-admin.php:369
189
+ msgid "Protect emails in RSS feeds"
190
+ msgstr "Bescherm emails in RSS feeds"
191
+
192
+ #: ../includes/class-eeb-admin.php:371
193
+ msgid "Replace emails in RSS feeds."
194
+ msgstr "Bescherm emails in RSS feeds"
195
+
196
+ #: ../includes/class-eeb-admin.php:375
197
+ msgid "Remove shortcodes from RSS feeds"
198
+ msgstr "Verwijder shortcodes uit RSS feeds"
199
+
200
+ #: ../includes/class-eeb-admin.php:377
201
+ msgid "Remove all shortcodes from the RSS feeds."
202
+ msgstr "Verwijder alle shortcodes uit de RSS feeds"
203
+
204
+ #: ../includes/class-eeb-admin.php:381
205
+ msgid "Set protection text in RSS feeds"
206
+ msgstr "Zet de vervangende text voor RSS feeds"
207
+
208
+ #: ../includes/class-eeb-admin.php:383
209
+ msgid "Used as replacement for email addresses in RSS feeds."
210
+ msgstr ""
211
+ "Deze tekst wordt gebruikt om te tonen op de plek van de email adressen in "
212
+ "RSS feeds"
213
+
214
+ #: ../includes/class-eeb-admin.php:400
215
+ msgid "Choose protection method"
216
+ msgstr "Kies een beschermmethode"
217
+
218
+ #: ../includes/class-eeb-admin.php:413
219
+ msgid "Set <code>&lt;noscript&gt;</code> text"
220
+ msgstr "Zet <code>&lt;noscript&gt;</code> tekst"
221
+
222
+ #: ../includes/class-eeb-admin.php:415
223
+ msgid "For encoded emails:"
224
+ msgstr "Voor beschermde emails:"
225
+
226
+ #: ../includes/class-eeb-admin.php:421
227
+ msgid "For other encoded content:"
228
+ msgstr "Voor ander beschermde content:"
229
+
230
+ #: ../includes/class-eeb-admin.php:425
231
+ msgid "Used as <code>&lt;noscript&gt;</code> fallback for JavaScrip methods."
232
+ msgstr ""
233
+ "Gebruikt als <code>&lt;noscript&gt;</code> vangnet voor JavaScrip methoden."
234
+
235
+ #: ../includes/class-eeb-admin.php:429
236
+ msgid "Exclude posts"
237
+ msgstr "Posts uitsluiten"
238
+
239
+ #: ../includes/class-eeb-admin.php:432
240
+ msgid ""
241
+ "Do <strong>not</strong> apply protection on posts or pages with the "
242
+ "folllowing ID:"
243
+ msgstr ""
244
+ "Do <strong>not</strong> apply protection on posts or pages with the "
245
+ "folllowing ID:"
246
+
247
+ #: ../includes/class-eeb-admin.php:434
248
+ msgid "Seperate Id's by comma, f.e.: 2, 7, 13, 32."
249
+ msgstr "Scheid Id's met een komma, bijv: 2, 7, 13, 32"
250
+
251
+ #: ../includes/class-eeb-admin.php:435
252
+ msgid "Notice: shortcodes still work on these posts."
253
+ msgstr "Opmerking: shortcodes werken nog steeds voor deze posts."
254
+
255
+ #: ../includes/class-eeb-admin.php:440
256
+ msgid "Use shortcodes in widgets"
257
+ msgstr "Gebruik shortcodes in widgets"
258
+
259
+ #: ../includes/class-eeb-admin.php:443
260
+ msgid "Also use shortcodes in widgets."
261
+ msgstr "Gebruik ook shortcodes in widgets"
262
+
263
+ #: ../includes/class-eeb-admin.php:444
264
+ msgid "Notice: only works for text widgets!"
265
+ msgstr "Opmerking: werkt alleen voor tekst widgets!"
266
+
267
+ #: ../includes/class-eeb-admin.php:449
268
+ msgid "Use deprecated names"
269
+ msgstr "Gebruik afgeschafte (deprecated) namen"
270
+
271
+ #: ../includes/class-eeb-admin.php:451
272
+ msgid ""
273
+ "Keep supporting the old names for action, shortcodes and template functions."
274
+ msgstr ""
275
+ "Blijf de oude namen voor acties, shortcodes en template functies ondersteunen"
276
+
277
+ #: ../includes/class-eeb-admin.php:467
278
+ msgid "Check \"succesfully encoded\""
279
+ msgstr "Check \"Veilig beschermd\""
280
+
281
+ #: ../includes/class-eeb-admin.php:469
282
+ msgid ""
283
+ "Show \"successfully encoded\" text for all encoded content, only when logged "
284
+ "in as admin user."
285
+ msgstr ""
286
+ "Toont \"Veilig beschermd\" tekst voor alle beschermde content, alleen "
287
+ "wanneer je bent ingelogd als admin gebruiker."
288
+
289
+ #: ../includes/class-eeb-admin.php:470
290
+ msgid "This way you can check if emails are really encoded on your site."
291
+ msgstr ""
292
+ "Op deze manier kun je checken of emails echt beschermd zijn op je site."
293
+
294
+ #: ../includes/class-eeb-admin.php:475
295
+ msgid "Choose admin menu position"
296
+ msgstr "Kies admin menu positie"
297
+
298
+ #: ../includes/class-eeb-admin.php:477
299
+ msgid "Show as main menu item."
300
+ msgstr "Toon als hoofdmenu item"
301
+
302
+ #: ../includes/class-eeb-admin.php:493
303
+ msgid ""
304
+ "If you like you can also create you own secure mailto links manually with "
305
+ "this form. Just copy the generated code and put it on your post, page or "
306
+ "template."
307
+ msgstr ""
308
+ "Met dit formulier kun je handmatig je eigen beschermde mailto links maken. "
309
+ "Kopiëer de gegenereerde code en plaats het in je post, pagina of template."
310
+
311
+ #: ../includes/class-eeb-admin.php:501
312
+ msgid ""
313
+ "You can also put the encoder form on your site by using the shortcode "
314
+ "<code>[eeb_form]</code> or the template function <code>eeb_form()</code>."
315
+ msgstr ""
316
+ "Je kunt ook de encodeer formulier op je site plaatsen met behulp van de "
317
+ "shortcode <code>[eeb_form]</code> of de template functie <code>eeb_form()</"
318
+ "code>."
319
+
320
+ #: ../includes/class-eeb-admin.php:506
321
+ msgid "Show \"powered by\""
322
+ msgstr "Toon \"gemaakt door\""
323
+
324
+ #: ../includes/class-eeb-admin.php:508
325
+ msgid "Show the \"powered by\"-link on bottom of the encoder form"
326
+ msgstr "Toon \"gemaakt door\"-link onderaan de encodeer formulier"
327
+
328
+ #: ../includes/class-eeb-admin.php:524
329
+ msgid "Documentation"
330
+ msgstr "Documentatie"
331
+
332
+ #: ../includes/class-eeb-admin.php:525
333
+ msgid "Report a problem"
334
+ msgstr "Meld een probleem"
335
+
336
+ #: ../includes/class-eeb-admin.php:528
337
+ msgid "Please rate this plugin!"
338
+ msgstr "Laat een review achter!"
339
+
340
+ #: ../includes/class-eeb-admin.php:536 ../includes/class-eeb-admin.php:549
341
+ msgid "Activate"
342
+ msgstr "Activeer"
343
+
344
+ #: ../includes/class-eeb-admin.php:538 ../includes/class-eeb-admin.php:551
345
+ msgid "Get this plugin"
346
+ msgstr "Zoek deze plugin"
347
+
348
+ #: ../includes/class-eeb-admin.php:541
349
+ msgid ""
350
+ "Manage external links on your site: open in new window/tab, set icon, add "
351
+ "\"external\", add \"nofollow\" and more."
352
+ msgstr ""
353
+ "Magage externe links op je site: open in een nieuwe window/tab, zet een "
354
+ "icoon, voeg \"external\" en \"nofollow\" toe en meer."
355
+
356
+ #: ../includes/class-eeb-admin.php:554
357
+ msgid ""
358
+ "Manage mailto links on your site and protect emails from spambots, set mail "
359
+ "icon and more."
360
+ msgstr ""
361
+ "Manage mailto links op je site en bescherm emails van spambots, zet mail "
362
+ "icoon en meer."
363
+
364
+ #: ../includes/class-eeb-admin.php:579
365
+ msgid "Quick Start"
366
+ msgstr "Snel Start"
367
+
368
+ #: ../includes/class-eeb-admin.php:584
369
+ msgid "Shortcodes"
370
+ msgstr "Shortcodes"
371
+
372
+ #: ../includes/class-eeb-admin.php:589
373
+ msgid "Template Functions"
374
+ msgstr "Template Functies"
375
+
376
+ #: ../includes/class-eeb-admin.php:594
377
+ msgid "Action Hook"
378
+ msgstr "Action Hook"
379
+
380
+ #: ../includes/class-eeb-admin.php:599
381
+ msgid "Filter Hooks"
382
+ msgstr "Filter Hooks"
383
+
384
+ #: ../includes/class-eeb-admin.php:604
385
+ msgid "FAQ"
386
+ msgstr "FAQ"
387
+
388
+ #: ../includes/class-eeb-admin.php:621
389
+ #, php-format
390
+ msgid ""
391
+ "<h3><img src=\"%s\" width=\"16\" height=\"16\" /> %s - version %s</h3><p>The "
392
+ "plugin works out-of-the-box. All mailto links in your posts, pages, comments "
393
+ "and (text) widgets will be encoded (by default). <br/>If you also want to "
394
+ "encode plain email address as well, you have to check the option.</p><img "
395
+ "src=\"%s\" width=\"600\" height=\"273\" />"
396
+ msgstr ""
397
+ "<h3><img src=\"%s\" width=\"16\" height=\"16\" /> %s - versie %s</h3><p>De "
398
+ "plugin werkt out-of-the-box. Alle mailto links in posts, pagina's, reacties "
399
+ "en (tekst) widgets worden beschermd (standaard). <br/>Als je ook gewone "
400
+ "email adressen automatisch wilt beschermen, dan moet je de optie aanvinken.</"
401
+ "p><img src=\"%s\" width=\"600\" height=\"273\" />"
402
+
403
+ #: ../includes/class-eeb-admin.php:626
404
+ msgid ""
405
+ "<h3>Shortcodes</h3><p>You can use these shortcodes within your post or page."
406
+ "</p><h4>eeb_email</h4><p>Create an encoded mailto link:</"
407
+ "p><p><code>[eeb_email email=\"...\" display=\"...\"]</code></p><ul><li>"
408
+ "\"display\" is optional or the email wil be shown as display (also "
409
+ "protected)</li><li>\"extra_attrs\" is optional, example: <code>extra_attrs="
410
+ "\"target='_blank'\"</code></li><li>\"method\" is optional, else the method "
411
+ "option will be used.</li></ul><h4>eeb_content</h4><p>Encode some text:</"
412
+ "p><p><code>[eeb_content method=\"...\"]...[/eeb_content]</code></p><ul><li>"
413
+ "\"method\" is optional, else the method option will be used.</li></"
414
+ "ul><h4>eeb_form</h4><p>Create an encoder form:</p><p><code>[eeb_form]</"
415
+ "code></p>"
416
+ msgstr ""
417
+ "<h3>Shortcodes</h3><p>Je kunt deze shortcodes gebruiken in een post of "
418
+ "pagina.</p><h4>eeb_email</h4><p>Maak een beschermde mailto link:</"
419
+ "p><p><code>[eeb_email email=\"...\" display=\"...\"]</code></p><ul><li>"
420
+ "\"display\" is optioneel, anders wordt het emailadres getoond (uiteraard ook "
421
+ "beschermd)</li><li>\"extra_attrs\" is optioneel, bijv: <code>extra_attrs="
422
+ "\"target='_blank'\"</code></li><li>\"method\" is optioneel, anders wordt de "
423
+ "methode gebruikt, die je hebt ingesteld bij de instellingen.</li></"
424
+ "ul><h4>eeb_content</h4><p>Bescherm willekeurige tekst:</"
425
+ "p><p><code>[eeb_content method=\"...\"]...[/eeb_content]</code></p><ul><li>"
426
+ "\"method\" is optioneel, anders wordt de methode gebruikt, die je hebt "
427
+ "ingesteld bij de instellingen.</li></ul><h4>eeb_form</h4><p>Maak een "
428
+ "encodeer formulier:</p><p><code>[eeb_form]</code></p>"
429
+
430
+ #: ../includes/class-eeb-admin.php:647
431
+ msgid ""
432
+ "<h3>Template Functions</h3><h4>eeb_email()</h4><p>Create an encoded mailto "
433
+ "link:</p><pre><code><&#63;php\n"
434
+ "if (function_exists('eeb_email')) {\n"
435
+ " echo eeb_email('info@somedomain.com');\n"
436
+ "}\n"
437
+ "&#63;></code></pre><p>You can pass a few extra optional params (in this "
438
+ "order): <code>display</code>, <code>extra_attrs</code>, <code>method</code></"
439
+ "p><h4>eeb_content()</h4><p>Encode some text:</p><pre><code><&#63;php\n"
440
+ "if (function_exists('eeb_content')) {\n"
441
+ " echo eeb_content('Encode this text');\n"
442
+ "}\n"
443
+ "&#63;></code></pre><p>You can pas an extra optional param: <code>method</"
444
+ "code></p><h4>eeb_email_filter()</h4><p>Filter given content and encode all "
445
+ "email addresses or mailto links:</p><pre><code><&#63;php\n"
446
+ "if (function_exists('eeb_email_filter')) {\n"
447
+ " echo eeb_email_filter('Some content with email like info@somedomein.com "
448
+ "or a mailto link');\n"
449
+ "}\n"
450
+ "&#63;></code></pre><p>You can pass a few extra optional params (in this "
451
+ "order): <code>enc_tags</code>, <code>enc_mailtos</code>, "
452
+ "<code>enc_plain_emails</code>, <code>enc_input_fields</code></"
453
+ "p><h4>eeb_form()</h4><p>Create an encoder form:</p><pre><code><&#63;php\n"
454
+ "if (function_exists('eeb_form')) {\n"
455
+ " echo eeb_form();\n"
456
+ "}\n"
457
+ "&#63;></code></pre>"
458
+ msgstr ""
459
+ "<h3>Template Functies</h3><h4>eeb_email()</h4><p>Maak een beschermde mailto "
460
+ "link:</p><pre><code><&#63;php\n"
461
+ "if (function_exists('eeb_email')) {\n"
462
+ " echo eeb_email('info@somedomain.com');\n"
463
+ "}\n"
464
+ "&#63;></code></pre><p>Je kunt enkele optionele parameters toevoegen (in deze "
465
+ "volgorde): <code>display</code>, <code>extra_attrs</code>, <code>method</"
466
+ "code></p><h4>eeb_content()</h4><p>Bescherm willekeurige tekst:</"
467
+ "p><pre><code><&#63;php\n"
468
+ "if (function_exists('eeb_content')) {\n"
469
+ " echo eeb_content('Encode this text');\n"
470
+ "}\n"
471
+ "&#63;></code></pre><p>Je kunt een extra optionele parameter toevoegen: "
472
+ "<code>method</code></p><h4>eeb_email_filter()</h4><p>Filter de content en "
473
+ "bescherm alle email adressen of mailto links:</p><pre><code><&#63;php\n"
474
+ "if (function_exists('eeb_email_filter')) {\n"
475
+ " echo eeb_email_filter('Some content with email like info@somedomein.com "
476
+ "or a mailto link');\n"
477
+ "}\n"
478
+ "&#63;></code></pre><p>Je kunt enkele optionele parameters toevoegen (in deze "
479
+ "volgorde): <code>enc_tags</code>, <code>enc_mailtos</code>, "
480
+ "<code>enc_plain_emails</code>, <code>enc_input_fields</code></"
481
+ "p><h4>eeb_form()</h4><p>Maak een encodeer formulier:</p><pre><code><&#63;"
482
+ "php\n"
483
+ "if (function_exists('eeb_form')) {\n"
484
+ " echo eeb_form();\n"
485
+ "}\n"
486
+ "&#63;></code></pre>"
487
+
488
+ #: ../includes/class-eeb-admin.php:681
489
+ msgid ""
490
+ "<h3>Action Hooks</h3><h4>eeb_ready</h4><p>Add extra code on initializing "
491
+ "this plugin, like extra filters for encoding.</p><pre><code><&#63;php\n"
492
+ "add_action('eeb_ready', 'extra_encode_filters');\n"
493
+ "\n"
494
+ "function extra_encode_filters($eeb_object) {\n"
495
+ " add_filter('some_filter', array($eeb_object, 'callback_filter'));\n"
496
+ "}\n"
497
+ "&#63;></code></pre>"
498
+ msgstr ""
499
+ "<h3>Action Hooks</h3><h4>eeb_ready</h4><p>Voeg extra code toe bij de "
500
+ "initialisatie van de plugin, zoals extra filters voor encoderen.</"
501
+ "p><pre><code><&#63;php\n"
502
+ "add_action('eeb_ready', 'extra_encode_filters');\n"
503
+ "\n"
504
+ "function extra_encode_filters($eeb_object) {\n"
505
+ " add_filter('some_filter', array($eeb_object, 'callback_filter'));\n"
506
+ "}\n"
507
+ "&#63;></code></pre>"
508
+
509
+ #: ../includes/class-eeb-admin.php:692
510
+ msgid ""
511
+ "<h3>Filter Hooks</h3><h4>eeb_mailto_regexp</h4><p>You can change the regular "
512
+ "expression used for searching mailto links.</p><pre><code><&#63;php\n"
513
+ "add_filter('eeb_mailto_regexp', 'change_mailto_regexp');\n"
514
+ "\n"
515
+ "function change_mailto_regexp($regexp) {\n"
516
+ " return '-your regular expression-';\n"
517
+ "}\n"
518
+ "&#63;></code></pre><h4>eeb_email_regexp</h4><p>You can change the regular "
519
+ "expression used for searching mailto links.</p><pre><code><&#63;php\n"
520
+ "add_filter('eeb_email_regexp', 'change_email_regexp');\n"
521
+ "\n"
522
+ "function change_email_regexp($regexp) {\n"
523
+ " return '-your regular expression-';\n"
524
+ "}\n"
525
+ "&#63;></code></pre><h4>eeb_form_content</h4><p>Filter for changing the form "
526
+ "layout.</p><pre><code><&#63;php\n"
527
+ "add_filter('eeb_form_content', 'eeb_form_content', 10, 4);\n"
528
+ "\n"
529
+ "function eeb_form_content($content, $labels, $show_powered_by, $methods) {\n"
530
+ " // add a &lt;div&gt;-wrapper\n"
531
+ " return '&lt;div class=\"form-wrapper\"&gt;' . $content . '&lt;/"
532
+ "div&gt;';\n"
533
+ "}\n"
534
+ "&#63;></code></pre>"
535
+ msgstr ""
536
+ "<h3>Filter Hooks</h3><h4>eeb_mailto_regexp</h4><p></p><pre><code><&#63;php\n"
537
+ "add_filter('eeb_mailto_regexp', 'change_mailto_regexp');\n"
538
+ "\n"
539
+ "function change_mailto_regexp($regexp) {\n"
540
+ " return '-your regular expression-';\n"
541
+ "}\n"
542
+ "&#63;></code></pre><h4>eeb_email_regexp</h4><p>De regular expression voor "
543
+ "het vinden van email adressen, kun je zelf wijzigen.</p><pre><code><&#63;"
544
+ "php\n"
545
+ "add_filter('eeb_email_regexp', 'change_email_regexp');\n"
546
+ "\n"
547
+ "function change_email_regexp($regexp) {\n"
548
+ " return '-your regular expression-';\n"
549
+ "}\n"
550
+ "&#63;></code></pre><h4>eeb_form_content</h4><p>Filter for changing the form "
551
+ "layout.</p><pre><code><&#63;php\n"
552
+ "add_filter('eeb_form_content', 'eeb_form_content', 10, 4);\n"
553
+ "\n"
554
+ "function eeb_form_content($content, $labels, $show_powered_by, $methods) {\n"
555
+ " // add a &lt;div&gt;-wrapper\n"
556
+ " return '&lt;div class=\"form-wrapper\"&gt;' . $content . '&lt;/"
557
+ "div&gt;';\n"
558
+ "}\n"
559
+ "&#63;></code></pre>"
560
+
561
+ #: ../includes/class-eeb-admin.php:720
562
+ msgid ""
563
+ "<h3>FAQ</h3><p>Please check the <a href=\"http://wordpress.org/extend/"
564
+ "plugins/email-encoder-bundle/faq/\" target=\"_blank\">FAQ on the Plugin "
565
+ "site</a>."
566
+ msgstr ""
567
+ "<h3>FAQ</h3><p>Kijk op de <a href=\"http://wordpress.org/extend/plugins/"
568
+ "email-encoder-bundle/faq/\" target=\"_blank\">FAQ van de Plugin site</a>."
569
+
570
+ #: ../includes/class-eeb-admin.php:724
571
+ msgid ""
572
+ "<h4>About the author</h4><ul><li><a href=\"http://www.freelancephp.net/\" "
573
+ "target=\"_blank\">FreelancePHP.net</a></li><li><a href=\"http://www."
574
+ "freelancephp.net/contact/\" target=\"_blank\">Contact</a></li></ul>"
575
+ msgstr ""
576
+ "<h4>Over de auteur</h4><ul><li><a href=\"http://www.freelancephp.net/\" "
577
+ "target=\"_blank\">FreelancePHP.net</a></li><li><a href=\"http://www."
578
+ "freelancephp.net/contact/\" target=\"_blank\">Contact</a></li></ul>"
579
+
580
+ #: ../includes/class-eeb-admin.php:754
581
+ msgid "Powered by"
582
+ msgstr "Gemaakt door"
583
+
584
+ #: ../includes/class-eeb-admin.php:758
585
+ msgid "Email Address:"
586
+ msgstr "Email Adres:"
587
+
588
+ #: ../includes/class-eeb-admin.php:759
589
+ msgid "Display Text:"
590
+ msgstr "Link Tekst:"
591
+
592
+ #: ../includes/class-eeb-admin.php:760
593
+ msgid "Mailto Link:"
594
+ msgstr "Mailto Link:"
595
+
596
+ #: ../includes/class-eeb-admin.php:761
597
+ msgid "Encoding Method:"
598
+ msgstr "Encodeer Methode:"
599
+
600
+ #: ../includes/class-eeb-admin.php:762
601
+ msgid "Create Protected Mail Link &gt;&gt;"
602
+ msgstr "Maak Beschermde Email Link &gt;&gt;"
603
+
604
+ #: ../includes/class-eeb-admin.php:763
605
+ msgid "Protected Mail Link (code):"
606
+ msgstr "Beschermde Email Link (code):"
607
+
608
+ #: ../includes/class-eeb-site.php:429
609
+ msgid ""
610
+ "Successfully Encoded (this is a check and only visible when logged in as "
611
+ "admin)"
612
+ msgstr ""
613
+ "Veilig Beschermd (deze check is alleen zichtbaar omdat je bent ingelogd als "
614
+ "admin)"
615
+
616
+ #: ../includes/class-eeb-site.php:431
617
+ msgid "Encoded"
618
+ msgstr "Beschermd"
619
+
620
+ #: ../includes/class-eeb-site.php:432
621
+ msgid "Successfully Encoded"
622
+ msgstr "Veilig Beschermd"
languages/email-encoder-bundle.pot ADDED
@@ -0,0 +1,502 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: email-encoder-bundle\n"
4
+ "POT-Creation-Date: 2015-06-22 15:26+0100\n"
5
+ "PO-Revision-Date: 2015-06-22 15:41+0100\n"
6
+ "Last-Translator: Victor <info@freelancephp.net>\n"
7
+ "Language-Team: <info@freelancephp.net>\n"
8
+ "Language: en\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.6.3\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
+ "X-Poedit-KeywordsList: __;_e\n"
16
+ "X-Poedit-SearchPath-0: ..\n"
17
+
18
+ #: ../email-encoder-bundle.php:57
19
+ #, php-format
20
+ msgid ""
21
+ "<p>Warning - The plugin <strong>%s</strong> requires PHP 5.2.4+ and WP "
22
+ "3.6+. Please upgrade your PHP and/or WordPress.<br/>Disable the plugin to "
23
+ "remove this message.</p>"
24
+ msgstr ""
25
+
26
+ #: ../includes/class-eeb-admin.php:78
27
+ msgid "JS Rot13"
28
+ msgstr ""
29
+
30
+ #: ../includes/class-eeb-admin.php:79
31
+ msgid "Recommended, the savest method using a rot13 method in JavaScript."
32
+ msgstr ""
33
+
34
+ #: ../includes/class-eeb-admin.php:82
35
+ msgid "JS Escape"
36
+ msgstr ""
37
+
38
+ #: ../includes/class-eeb-admin.php:83
39
+ msgid "Pretty save method using JavaScipt's escape function."
40
+ msgstr ""
41
+
42
+ #: ../includes/class-eeb-admin.php:86
43
+ msgid "Html Encode"
44
+ msgstr ""
45
+
46
+ #: ../includes/class-eeb-admin.php:87
47
+ msgid ""
48
+ "Not recommended, equal to <a href=\"http://codex.wordpress.org/"
49
+ "Function_Reference/antispambot\" target=\"_blank\"><code>antispambot()</"
50
+ "code></a> function of WordPress."
51
+ msgstr ""
52
+
53
+ #: ../includes/class-eeb-admin.php:196 ../includes/class-eeb-admin.php:478
54
+ #: ../includes/class-eeb-admin.php:534 ../includes/class-eeb-admin.php:547
55
+ msgid "Settings"
56
+ msgstr ""
57
+
58
+ #: ../includes/class-eeb-admin.php:210 ../includes/class-eeb-admin.php:215
59
+ msgid "Email Encoder Bundle"
60
+ msgstr ""
61
+
62
+ #: ../includes/class-eeb-admin.php:251
63
+ msgid "Main Settings"
64
+ msgstr ""
65
+
66
+ #: ../includes/class-eeb-admin.php:252
67
+ msgid "Additional Settings"
68
+ msgstr ""
69
+
70
+ #: ../includes/class-eeb-admin.php:253
71
+ msgid "RSS Settings"
72
+ msgstr ""
73
+
74
+ #: ../includes/class-eeb-admin.php:254
75
+ msgid "Admin Settings"
76
+ msgstr ""
77
+
78
+ #: ../includes/class-eeb-admin.php:255
79
+ msgid "Email Encoder Form"
80
+ msgstr ""
81
+
82
+ #: ../includes/class-eeb-admin.php:256
83
+ msgid "Support"
84
+ msgstr ""
85
+
86
+ #: ../includes/class-eeb-admin.php:257
87
+ msgid "Other Plugins"
88
+ msgstr ""
89
+
90
+ #: ../includes/class-eeb-admin.php:268
91
+ msgid "Protect Email Addresses"
92
+ msgstr ""
93
+
94
+ #: ../includes/class-eeb-admin.php:272
95
+ msgid "Settings saved."
96
+ msgstr ""
97
+
98
+ #: ../includes/class-eeb-admin.php:318
99
+ msgid ""
100
+ "Warning: \"WP Mailto Links\"-plugin is also activated, which could cause "
101
+ "conflicts."
102
+ msgstr ""
103
+
104
+ #: ../includes/class-eeb-admin.php:323
105
+ msgid "Choose what to protect"
106
+ msgstr ""
107
+
108
+ #: ../includes/class-eeb-admin.php:326
109
+ msgid ""
110
+ "Protect mailto links, like f.e. <code>&lt;a href=\"info@myemail.com\"&gt;My "
111
+ "Email&lt;/a&gt;</code>"
112
+ msgstr ""
113
+
114
+ #: ../includes/class-eeb-admin.php:328
115
+ msgid "Replace plain email addresses to protected mailto links."
116
+ msgstr ""
117
+
118
+ #: ../includes/class-eeb-admin.php:329
119
+ msgid ""
120
+ "Notice: be carefull with this option when using email addresses on form "
121
+ "fields, please <a href=\"http://wordpress.org/extend/plugins/email-encoder-"
122
+ "bundle/faq/\" target=\"_blank\">check the FAQ</a> for more info."
123
+ msgstr ""
124
+
125
+ #: ../includes/class-eeb-admin.php:332
126
+ msgid "Replace prefilled email addresses in input fields."
127
+ msgstr ""
128
+
129
+ #: ../includes/class-eeb-admin.php:333
130
+ msgid " - Recommended!"
131
+ msgstr ""
132
+
133
+ #: ../includes/class-eeb-admin.php:339
134
+ msgid "Apply on..."
135
+ msgstr ""
136
+
137
+ #: ../includes/class-eeb-admin.php:342
138
+ msgid "All posts and pages"
139
+ msgstr ""
140
+
141
+ #: ../includes/class-eeb-admin.php:345
142
+ msgid "All comments"
143
+ msgstr ""
144
+
145
+ #: ../includes/class-eeb-admin.php:347
146
+ msgid ""
147
+ "All widgets (uses the <code>widget_content</code> filter of the Widget Logic "
148
+ "plugin)"
149
+ msgstr ""
150
+
151
+ #: ../includes/class-eeb-admin.php:347 ../includes/class-eeb-admin.php:444
152
+ msgid "All text widgets"
153
+ msgstr ""
154
+
155
+ #: ../includes/class-eeb-admin.php:351
156
+ msgid "Add class to protected mailto links"
157
+ msgstr ""
158
+
159
+ #: ../includes/class-eeb-admin.php:353
160
+ msgid ""
161
+ "All protected mailto links will get these class(es). Optional, else keep "
162
+ "blank."
163
+ msgstr ""
164
+
165
+ #: ../includes/class-eeb-admin.php:359 ../includes/class-eeb-admin.php:391
166
+ #: ../includes/class-eeb-admin.php:458 ../includes/class-eeb-admin.php:486
167
+ #: ../includes/class-eeb-admin.php:516
168
+ msgid "Save Changes"
169
+ msgstr ""
170
+
171
+ #: ../includes/class-eeb-admin.php:369
172
+ msgid "Protect emails in RSS feeds"
173
+ msgstr ""
174
+
175
+ #: ../includes/class-eeb-admin.php:371
176
+ msgid "Replace emails in RSS feeds."
177
+ msgstr ""
178
+
179
+ #: ../includes/class-eeb-admin.php:375
180
+ msgid "Remove shortcodes from RSS feeds"
181
+ msgstr ""
182
+
183
+ #: ../includes/class-eeb-admin.php:377
184
+ msgid "Remove all shortcodes from the RSS feeds."
185
+ msgstr ""
186
+
187
+ #: ../includes/class-eeb-admin.php:381
188
+ msgid "Set protection text in RSS feeds"
189
+ msgstr ""
190
+
191
+ #: ../includes/class-eeb-admin.php:383
192
+ msgid "Used as replacement for email addresses in RSS feeds."
193
+ msgstr ""
194
+
195
+ #: ../includes/class-eeb-admin.php:400
196
+ msgid "Choose protection method"
197
+ msgstr ""
198
+
199
+ #: ../includes/class-eeb-admin.php:413
200
+ msgid "Set <code>&lt;noscript&gt;</code> text"
201
+ msgstr ""
202
+
203
+ #: ../includes/class-eeb-admin.php:415
204
+ msgid "For encoded emails:"
205
+ msgstr ""
206
+
207
+ #: ../includes/class-eeb-admin.php:421
208
+ msgid "For other encoded content:"
209
+ msgstr ""
210
+
211
+ #: ../includes/class-eeb-admin.php:425
212
+ msgid "Used as <code>&lt;noscript&gt;</code> fallback for JavaScrip methods."
213
+ msgstr ""
214
+
215
+ #: ../includes/class-eeb-admin.php:429
216
+ msgid "Exclude posts"
217
+ msgstr ""
218
+
219
+ #: ../includes/class-eeb-admin.php:432
220
+ msgid ""
221
+ "Do <strong>not</strong> apply protection on posts or pages with the "
222
+ "folllowing ID:"
223
+ msgstr ""
224
+
225
+ #: ../includes/class-eeb-admin.php:434
226
+ msgid "Seperate Id's by comma, f.e.: 2, 7, 13, 32."
227
+ msgstr ""
228
+
229
+ #: ../includes/class-eeb-admin.php:435
230
+ msgid "Notice: shortcodes still work on these posts."
231
+ msgstr ""
232
+
233
+ #: ../includes/class-eeb-admin.php:440
234
+ msgid "Use shortcodes in widgets"
235
+ msgstr ""
236
+
237
+ #: ../includes/class-eeb-admin.php:443
238
+ msgid "Also use shortcodes in widgets."
239
+ msgstr ""
240
+
241
+ #: ../includes/class-eeb-admin.php:444
242
+ msgid "Notice: only works for text widgets!"
243
+ msgstr ""
244
+
245
+ #: ../includes/class-eeb-admin.php:449
246
+ msgid "Use deprecated names"
247
+ msgstr ""
248
+
249
+ #: ../includes/class-eeb-admin.php:451
250
+ msgid ""
251
+ "Keep supporting the old names for action, shortcodes and template functions."
252
+ msgstr ""
253
+
254
+ #: ../includes/class-eeb-admin.php:467
255
+ msgid "Check \"succesfully encoded\""
256
+ msgstr ""
257
+
258
+ #: ../includes/class-eeb-admin.php:469
259
+ msgid ""
260
+ "Show \"successfully encoded\" text for all encoded content, only when logged "
261
+ "in as admin user."
262
+ msgstr ""
263
+
264
+ #: ../includes/class-eeb-admin.php:470
265
+ msgid "This way you can check if emails are really encoded on your site."
266
+ msgstr ""
267
+
268
+ #: ../includes/class-eeb-admin.php:475
269
+ msgid "Choose admin menu position"
270
+ msgstr ""
271
+
272
+ #: ../includes/class-eeb-admin.php:477
273
+ msgid "Show as main menu item."
274
+ msgstr ""
275
+
276
+ #: ../includes/class-eeb-admin.php:493
277
+ msgid ""
278
+ "If you like you can also create you own secure mailto links manually with "
279
+ "this form. Just copy the generated code and put it on your post, page or "
280
+ "template."
281
+ msgstr ""
282
+
283
+ #: ../includes/class-eeb-admin.php:501
284
+ msgid ""
285
+ "You can also put the encoder form on your site by using the shortcode "
286
+ "<code>[eeb_form]</code> or the template function <code>eeb_form()</code>."
287
+ msgstr ""
288
+
289
+ #: ../includes/class-eeb-admin.php:506
290
+ msgid "Show \"powered by\""
291
+ msgstr ""
292
+
293
+ #: ../includes/class-eeb-admin.php:508
294
+ msgid "Show the \"powered by\"-link on bottom of the encoder form"
295
+ msgstr ""
296
+
297
+ #: ../includes/class-eeb-admin.php:524
298
+ msgid "Documentation"
299
+ msgstr ""
300
+
301
+ #: ../includes/class-eeb-admin.php:525
302
+ msgid "Report a problem"
303
+ msgstr ""
304
+
305
+ #: ../includes/class-eeb-admin.php:528
306
+ msgid "Please rate this plugin!"
307
+ msgstr ""
308
+
309
+ #: ../includes/class-eeb-admin.php:536 ../includes/class-eeb-admin.php:549
310
+ msgid "Activate"
311
+ msgstr ""
312
+
313
+ #: ../includes/class-eeb-admin.php:538 ../includes/class-eeb-admin.php:551
314
+ msgid "Get this plugin"
315
+ msgstr ""
316
+
317
+ #: ../includes/class-eeb-admin.php:541
318
+ msgid ""
319
+ "Manage external links on your site: open in new window/tab, set icon, add "
320
+ "\"external\", add \"nofollow\" and more."
321
+ msgstr ""
322
+
323
+ #: ../includes/class-eeb-admin.php:554
324
+ msgid ""
325
+ "Manage mailto links on your site and protect emails from spambots, set mail "
326
+ "icon and more."
327
+ msgstr ""
328
+
329
+ #: ../includes/class-eeb-admin.php:579
330
+ msgid "Quick Start"
331
+ msgstr ""
332
+
333
+ #: ../includes/class-eeb-admin.php:584
334
+ msgid "Shortcodes"
335
+ msgstr ""
336
+
337
+ #: ../includes/class-eeb-admin.php:589
338
+ msgid "Template Functions"
339
+ msgstr ""
340
+
341
+ #: ../includes/class-eeb-admin.php:594
342
+ msgid "Action Hook"
343
+ msgstr ""
344
+
345
+ #: ../includes/class-eeb-admin.php:599
346
+ msgid "Filter Hooks"
347
+ msgstr ""
348
+
349
+ #: ../includes/class-eeb-admin.php:604
350
+ msgid "FAQ"
351
+ msgstr ""
352
+
353
+ #: ../includes/class-eeb-admin.php:621
354
+ #, php-format
355
+ msgid ""
356
+ "<h3><img src=\"%s\" width=\"16\" height=\"16\" /> %s - version %s</h3><p>The "
357
+ "plugin works out-of-the-box. All mailto links in your posts, pages, comments "
358
+ "and (text) widgets will be encoded (by default). <br/>If you also want to "
359
+ "encode plain email address as well, you have to check the option.</p><img "
360
+ "src=\"%s\" width=\"600\" height=\"273\" />"
361
+ msgstr ""
362
+
363
+ #: ../includes/class-eeb-admin.php:626
364
+ msgid ""
365
+ "<h3>Shortcodes</h3><p>You can use these shortcodes within your post or page."
366
+ "</p><h4>eeb_email</h4><p>Create an encoded mailto link:</"
367
+ "p><p><code>[eeb_email email=\"...\" display=\"...\"]</code></p><ul><li>"
368
+ "\"display\" is optional or the email wil be shown as display (also "
369
+ "protected)</li><li>\"extra_attrs\" is optional, example: <code>extra_attrs="
370
+ "\"target='_blank'\"</code></li><li>\"method\" is optional, else the method "
371
+ "option will be used.</li></ul><h4>eeb_content</h4><p>Encode some text:</"
372
+ "p><p><code>[eeb_content method=\"...\"]...[/eeb_content]</code></p><ul><li>"
373
+ "\"method\" is optional, else the method option will be used.</li></"
374
+ "ul><h4>eeb_form</h4><p>Create an encoder form:</p><p><code>[eeb_form]</"
375
+ "code></p>"
376
+ msgstr ""
377
+
378
+ #: ../includes/class-eeb-admin.php:647
379
+ msgid ""
380
+ "<h3>Template Functions</h3><h4>eeb_email()</h4><p>Create an encoded mailto "
381
+ "link:</p><pre><code><&#63;php\n"
382
+ "if (function_exists('eeb_email')) {\n"
383
+ " echo eeb_email('info@somedomain.com');\n"
384
+ "}\n"
385
+ "&#63;></code></pre><p>You can pass a few extra optional params (in this "
386
+ "order): <code>display</code>, <code>extra_attrs</code>, <code>method</code></"
387
+ "p><h4>eeb_content()</h4><p>Encode some text:</p><pre><code><&#63;php\n"
388
+ "if (function_exists('eeb_content')) {\n"
389
+ " echo eeb_content('Encode this text');\n"
390
+ "}\n"
391
+ "&#63;></code></pre><p>You can pas an extra optional param: <code>method</"
392
+ "code></p><h4>eeb_email_filter()</h4><p>Filter given content and encode all "
393
+ "email addresses or mailto links:</p><pre><code><&#63;php\n"
394
+ "if (function_exists('eeb_email_filter')) {\n"
395
+ " echo eeb_email_filter('Some content with email like info@somedomein.com "
396
+ "or a mailto link');\n"
397
+ "}\n"
398
+ "&#63;></code></pre><p>You can pass a few extra optional params (in this "
399
+ "order): <code>enc_tags</code>, <code>enc_mailtos</code>, "
400
+ "<code>enc_plain_emails</code>, <code>enc_input_fields</code></"
401
+ "p><h4>eeb_form()</h4><p>Create an encoder form:</p><pre><code><&#63;php\n"
402
+ "if (function_exists('eeb_form')) {\n"
403
+ " echo eeb_form();\n"
404
+ "}\n"
405
+ "&#63;></code></pre>"
406
+ msgstr ""
407
+
408
+ #: ../includes/class-eeb-admin.php:681
409
+ msgid ""
410
+ "<h3>Action Hooks</h3><h4>eeb_ready</h4><p>Add extra code on initializing "
411
+ "this plugin, like extra filters for encoding.</p><pre><code><&#63;php\n"
412
+ "add_action('eeb_ready', 'extra_encode_filters');\n"
413
+ "\n"
414
+ "function extra_encode_filters($eeb_object) {\n"
415
+ " add_filter('some_filter', array($eeb_object, 'callback_filter'));\n"
416
+ "}\n"
417
+ "&#63;></code></pre>"
418
+ msgstr ""
419
+
420
+ #: ../includes/class-eeb-admin.php:692
421
+ msgid ""
422
+ "<h3>Filter Hooks</h3><h4>eeb_mailto_regexp</h4><p>You can change the regular "
423
+ "expression used for searching mailto links.</p><pre><code><&#63;php\n"
424
+ "add_filter('eeb_mailto_regexp', 'change_mailto_regexp');\n"
425
+ "\n"
426
+ "function change_mailto_regexp($regexp) {\n"
427
+ " return '-your regular expression-';\n"
428
+ "}\n"
429
+ "&#63;></code></pre><h4>eeb_email_regexp</h4><p>You can change the regular "
430
+ "expression used for searching mailto links.</p><pre><code><&#63;php\n"
431
+ "add_filter('eeb_email_regexp', 'change_email_regexp');\n"
432
+ "\n"
433
+ "function change_email_regexp($regexp) {\n"
434
+ " return '-your regular expression-';\n"
435
+ "}\n"
436
+ "&#63;></code></pre><h4>eeb_form_content</h4><p>Filter for changing the form "
437
+ "layout.</p><pre><code><&#63;php\n"
438
+ "add_filter('eeb_form_content', 'eeb_form_content', 10, 4);\n"
439
+ "\n"
440
+ "function eeb_form_content($content, $labels, $show_powered_by, $methods) {\n"
441
+ " // add a &lt;div&gt;-wrapper\n"
442
+ " return '&lt;div class=\"form-wrapper\"&gt;' . $content . '&lt;/"
443
+ "div&gt;';\n"
444
+ "}\n"
445
+ "&#63;></code></pre>"
446
+ msgstr ""
447
+
448
+ #: ../includes/class-eeb-admin.php:720
449
+ msgid ""
450
+ "<h3>FAQ</h3><p>Please check the <a href=\"http://wordpress.org/extend/"
451
+ "plugins/email-encoder-bundle/faq/\" target=\"_blank\">FAQ on the Plugin "
452
+ "site</a>."
453
+ msgstr ""
454
+
455
+ #: ../includes/class-eeb-admin.php:724
456
+ msgid ""
457
+ "<h4>About the author</h4><ul><li><a href=\"http://www.freelancephp.net/\" "
458
+ "target=\"_blank\">FreelancePHP.net</a></li><li><a href=\"http://www."
459
+ "freelancephp.net/contact/\" target=\"_blank\">Contact</a></li></ul>"
460
+ msgstr ""
461
+
462
+ #: ../includes/class-eeb-admin.php:754
463
+ msgid "Powered by"
464
+ msgstr ""
465
+
466
+ #: ../includes/class-eeb-admin.php:758
467
+ msgid "Email Address:"
468
+ msgstr ""
469
+
470
+ #: ../includes/class-eeb-admin.php:759
471
+ msgid "Display Text:"
472
+ msgstr ""
473
+
474
+ #: ../includes/class-eeb-admin.php:760
475
+ msgid "Mailto Link:"
476
+ msgstr ""
477
+
478
+ #: ../includes/class-eeb-admin.php:761
479
+ msgid "Encoding Method:"
480
+ msgstr ""
481
+
482
+ #: ../includes/class-eeb-admin.php:762
483
+ msgid "Create Protected Mail Link &gt;&gt;"
484
+ msgstr ""
485
+
486
+ #: ../includes/class-eeb-admin.php:763
487
+ msgid "Protected Mail Link (code):"
488
+ msgstr ""
489
+
490
+ #: ../includes/class-eeb-site.php:429
491
+ msgid ""
492
+ "Successfully Encoded (this is a check and only visible when logged in as "
493
+ "admin)"
494
+ msgstr ""
495
+
496
+ #: ../includes/class-eeb-site.php:431
497
+ msgid "Encoded"
498
+ msgstr ""
499
+
500
+ #: ../includes/class-eeb-site.php:432
501
+ msgid "Successfully Encoded"
502
+ msgstr ""
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: freelancephp
3
  Tags: email address, protect, antispam, mailto, spambot, secure, e-mail, email, mail, obfuscate, encode, encoder, encrypt, hide, bot, crawl, spider, robots, spam, protection, harvest, harvesting, security
4
  Requires at least: 3.6.0
5
- Tested up to: 4.2.2
6
- Stable tag: 1.4.1
7
 
8
  Encode mailto links, email addresses, phone numbers and any text to hide them from (spam)bots. Mailto links will be protected automatically.
9
 
@@ -125,6 +125,9 @@ It's possible to filter all widgets by using the [Widget Logic Plugin](https://w
125
 
126
  == Changelog ==
127
 
 
 
 
128
  = 1.4.1 =
129
  * Fixed [preserving classes on mailto links](https://wordpress.org/support/topic/preserve-link-classes)
130
 
2
  Contributors: freelancephp
3
  Tags: email address, protect, antispam, mailto, spambot, secure, e-mail, email, mail, obfuscate, encode, encoder, encrypt, hide, bot, crawl, spider, robots, spam, protection, harvest, harvesting, security
4
  Requires at least: 3.6.0
5
+ Tested up to: 4.2.4
6
+ Stable tag: 1.4.2
7
 
8
  Encode mailto links, email addresses, phone numbers and any text to hide them from (spam)bots. Mailto links will be protected automatically.
9
 
125
 
126
  == Changelog ==
127
 
128
+ = 1.4.2 =
129
+ * Fixed potential xss vulnerability
130
+
131
  = 1.4.1 =
132
  * Fixed [preserving classes on mailto links](https://wordpress.org/support/topic/preserve-link-classes)
133