Version Description
- 2019-03-25
- minor bug fixes
- 161,000 downloads; 30,000 installs
Download this release
Release Info
Developer | WebFactory |
Plugin | Email Encoder Bundle – Protect Email Address |
Version | 1.5 |
Comparing to | |
See all releases |
Code changes from version 1.4.6 to 1.5
- email-encoder-bundle.php +13 -9
- images/icon-301-redirects.png +0 -0
- images/icon-email-encoder-16.png +0 -0
- images/icon-email-encoder-bundle-16.png +0 -0
- images/icon-email-encoder-bundle.png +0 -0
- images/icon-email-encoder.png +0 -0
- images/icon-google-maps-widget.png +0 -0
- images/icon-security-ninja.png +0 -0
- images/icon-wp-external-links.png +0 -0
- images/icon-wp-mailto-links.png +0 -0
- includes/.htaccess +0 -1
- includes/class-eeb-admin.php +89 -76
- includes/class-eeb-site.php +26 -23
- includes/deprecated.php +6 -4
- includes/template-functions.php +7 -4
- languages/email-encoder-bundle-nl_NL.mo +0 -0
- languages/email-encoder-bundle-nl_NL.po +0 -622
- languages/email-encoder-bundle.pot +0 -502
- readme.txt +29 -24
- screenshot-1.png +0 -0
- screenshot-2.png +0 -0
- screenshot-3.png +0 -0
email-encoder-bundle.php
CHANGED
@@ -1,18 +1,22 @@
|
|
1 |
-
<?php
|
2 |
/*
|
3 |
-
Plugin Name: Email Encoder
|
4 |
-
Plugin URI:
|
5 |
-
Description: Protect email addresses on your site and hide them from spambots by
|
6 |
-
Author:
|
7 |
-
Version: 1.
|
8 |
-
Author URI:
|
9 |
License: Dual licensed under the MIT and GPL licenses
|
10 |
Text Domain: email-encoder-bundle
|
11 |
-
Domain Path: /languages
|
12 |
*/
|
13 |
|
|
|
|
|
|
|
|
|
|
|
14 |
// constants
|
15 |
-
if (!defined('EMAIL_ENCODER_BUNDLE_VERSION')) { define('EMAIL_ENCODER_BUNDLE_VERSION', '1.
|
16 |
if (!defined('EMAIL_ENCODER_BUNDLE_FILE')) { define('EMAIL_ENCODER_BUNDLE_FILE', defined('TEST_EEB_PLUGIN_FILE') ? TEST_EEB_PLUGIN_FILE : __FILE__); }
|
17 |
if (!defined('EMAIL_ENCODER_BUNDLE_KEY')) { define('EMAIL_ENCODER_BUNDLE_KEY', 'WP_Email_Encoder_Bundle'); }
|
18 |
if (!defined('EMAIL_ENCODER_BUNDLE_OPTIONS_NAME')) { define('EMAIL_ENCODER_BUNDLE_OPTIONS_NAME', 'WP_Email_Encoder_Bundle_options'); }
|
1 |
+
<?php
|
2 |
/*
|
3 |
+
Plugin Name: Email Encoder - Protect Email Address
|
4 |
+
Plugin URI: https://wordpress.org/plugins/email-encoder-bundle/
|
5 |
+
Description: Protect email addresses on your site and hide them from spambots by encoding them. Easy to use & flexible.
|
6 |
+
Author: WebFactory Ltd
|
7 |
+
Version: 1.5
|
8 |
+
Author URI: https://www.webfactoryltd.com/
|
9 |
License: Dual licensed under the MIT and GPL licenses
|
10 |
Text Domain: email-encoder-bundle
|
|
|
11 |
*/
|
12 |
|
13 |
+
// this is an include only WP file
|
14 |
+
if (!defined('ABSPATH')) {
|
15 |
+
die;
|
16 |
+
}
|
17 |
+
|
18 |
// constants
|
19 |
+
if (!defined('EMAIL_ENCODER_BUNDLE_VERSION')) { define('EMAIL_ENCODER_BUNDLE_VERSION', '1.5'); }
|
20 |
if (!defined('EMAIL_ENCODER_BUNDLE_FILE')) { define('EMAIL_ENCODER_BUNDLE_FILE', defined('TEST_EEB_PLUGIN_FILE') ? TEST_EEB_PLUGIN_FILE : __FILE__); }
|
21 |
if (!defined('EMAIL_ENCODER_BUNDLE_KEY')) { define('EMAIL_ENCODER_BUNDLE_KEY', 'WP_Email_Encoder_Bundle'); }
|
22 |
if (!defined('EMAIL_ENCODER_BUNDLE_OPTIONS_NAME')) { define('EMAIL_ENCODER_BUNDLE_OPTIONS_NAME', 'WP_Email_Encoder_Bundle_options'); }
|
images/icon-301-redirects.png
ADDED
Binary file
|
images/icon-email-encoder-16.png
ADDED
Binary file
|
images/icon-email-encoder-bundle-16.png
DELETED
Binary file
|
images/icon-email-encoder-bundle.png
DELETED
Binary file
|
images/icon-email-encoder.png
ADDED
Binary file
|
images/icon-google-maps-widget.png
ADDED
Binary file
|
images/icon-security-ninja.png
ADDED
Binary file
|
images/icon-wp-external-links.png
DELETED
Binary file
|
images/icon-wp-mailto-links.png
DELETED
Binary file
|
includes/.htaccess
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
deny from all
|
|
includes/class-eeb-admin.php
CHANGED
@@ -1,15 +1,20 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
/**
|
4 |
* Class Eeb_Admin
|
5 |
*
|
6 |
-
* Contains all code
|
7 |
*
|
8 |
* @abstract
|
9 |
*
|
10 |
* @package Email_Encoder_Bundle
|
11 |
* @category WordPress Plugins
|
12 |
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
if (!class_exists('Eeb_Admin')):
|
14 |
|
15 |
abstract class Eeb_Admin {
|
@@ -76,15 +81,15 @@ abstract class Eeb_Admin {
|
|
76 |
$this->methods = array(
|
77 |
'enc_ascii' => array(
|
78 |
'name' => __('JS Rot13', 'email-encoder-bundle'),
|
79 |
-
'description' => __('Recommended, the
|
80 |
),
|
81 |
'enc_escape' => array(
|
82 |
'name' => __('JS Escape', 'email-encoder-bundle'),
|
83 |
-
'description' => __('Pretty
|
84 |
),
|
85 |
'enc_html' => array(
|
86 |
'name' => __('Html Encode', 'email-encoder-bundle'),
|
87 |
-
'description' => __('Not recommended, equal to <a href="http://codex.wordpress.org/Function_Reference/antispambot" target="_blank"><code>antispambot()</code></a> function of WordPress
|
88 |
),
|
89 |
);
|
90 |
|
@@ -104,6 +109,8 @@ abstract class Eeb_Admin {
|
|
104 |
add_action('wp', array($this, 'wp'));
|
105 |
add_action('admin_init', array($this, 'admin_init'));
|
106 |
add_action('admin_menu', array($this, 'admin_menu'));
|
|
|
|
|
107 |
}
|
108 |
|
109 |
/**
|
@@ -207,12 +214,12 @@ abstract class Eeb_Admin {
|
|
207 |
// add page and menu item
|
208 |
if ($this->options['own_admin_menu']) {
|
209 |
// create main menu item
|
210 |
-
$page_hook = add_menu_page(__('Email Encoder
|
211 |
'manage_options', EMAIL_ENCODER_BUNDLE_ADMIN_PAGE, array($this, 'show_options_page'),
|
212 |
-
plugins_url('images/icon-email-encoder-
|
213 |
} else {
|
214 |
// create submenu item under "Settings"
|
215 |
-
$page_hook = add_submenu_page('options-general.php', __('Email Encoder
|
216 |
'manage_options', EMAIL_ENCODER_BUNDLE_ADMIN_PAGE, array($this, 'show_options_page'));
|
217 |
}
|
218 |
|
@@ -224,6 +231,21 @@ abstract class Eeb_Admin {
|
|
224 |
* Admin Options Page
|
225 |
* ------------------------------------------------------------------------*/
|
226 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
227 |
/**
|
228 |
* Load admin options page
|
229 |
*/
|
@@ -252,9 +274,8 @@ abstract class Eeb_Admin {
|
|
252 |
add_meta_box('rss_settings', __('RSS Settings', 'email-encoder-bundle'), array($this, 'show_meta_box_content'), null, 'normal', 'core', array('rss_settings'));
|
253 |
add_meta_box('admin_settings', __('Admin Settings', 'email-encoder-bundle'), array($this, 'show_meta_box_content'), null, 'normal', 'core', array('admin_settings'));
|
254 |
add_meta_box('encode_form', __('Email Encoder Form', 'email-encoder-bundle'), array($this, 'show_meta_box_content'), null, 'normal', 'core', array('encode_form'));
|
255 |
-
add_meta_box('future', __('Future, end of support...', 'email-encoder-bundle'), array($this, 'show_meta_box_content'), null, 'normal', 'core', array('future'));
|
256 |
add_meta_box('this_plugin', __('Support', 'email-encoder-bundle'), array($this, 'show_meta_box_content'), null, 'side', 'core', array('this_plugin'));
|
257 |
-
add_meta_box('other_plugins', __('
|
258 |
}
|
259 |
|
260 |
/**
|
@@ -263,9 +284,27 @@ abstract class Eeb_Admin {
|
|
263 |
public function show_options_page() {
|
264 |
$this->set_options();
|
265 |
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
266 |
<div class="wrap">
|
267 |
-
<
|
268 |
-
<h2><?php echo get_admin_page_title() ?> - <em><small><?php _e('Protect Email Addresses', 'email-encoder-bundle') ?></small></em></h2>
|
269 |
|
270 |
<?php if (isset($_GET['settings-updated']) && $_GET['settings-updated'] == 'true' && $this->options['own_admin_menu']): ?>
|
271 |
<div class="updated settings-error" id="setting-error-settings_updated">
|
@@ -325,18 +364,18 @@ abstract class Eeb_Admin {
|
|
325 |
<label><input type="checkbox" id="encode_mailtos" name="<?php echo EMAIL_ENCODER_BUNDLE_OPTIONS_NAME ?>[encode_mailtos]" value="1" <?php checked('1', (int) $options['encode_mailtos']); ?> />
|
326 |
<span><?php _e('Protect mailto links, like f.e. <code><a href="info@myemail.com">My Email</a></code>', 'email-encoder-bundle') ?></span>
|
327 |
<br/><label><input type="checkbox" id="encode_emails" name="<?php echo EMAIL_ENCODER_BUNDLE_OPTIONS_NAME ?>[encode_emails]" value="1" <?php checked('1', (int) $options['encode_emails']); ?> disabled="disabled" />
|
328 |
-
<span><?php _e('Replace plain email addresses to protected mailto links
|
329 |
-
<!--<span class="description notice-form-field-bug"><br/><?php _e('Notice: be
|
330 |
</label>
|
331 |
<br/><label><input type="checkbox" id="encode_fields" name="<?php echo EMAIL_ENCODER_BUNDLE_OPTIONS_NAME ?>[encode_fields]" value="1" <?php checked('1', (int) $options['encode_fields']); ?> />
|
332 |
-
<span><?php _e('Replace
|
333 |
-
<span class="description"><?php _e(' -
|
334 |
</label>
|
335 |
<br/>
|
336 |
</td>
|
337 |
</tr>
|
338 |
<tr>
|
339 |
-
<th><?php _e('Apply on
|
340 |
<td>
|
341 |
<label><input type="checkbox" name="<?php echo EMAIL_ENCODER_BUNDLE_OPTIONS_NAME ?>[filter_posts]" value="1" <?php checked('1', (int) $options['filter_posts']); ?> />
|
342 |
<span><?php _e('All posts and pages', 'email-encoder-bundle') ?></span>
|
@@ -368,13 +407,13 @@ abstract class Eeb_Admin {
|
|
368 |
<tr>
|
369 |
<th><?php _e('Protect emails in RSS feeds', 'email-encoder-bundle') ?></th>
|
370 |
<td><label><input type="checkbox" id="filter_rss" name="<?php echo EMAIL_ENCODER_BUNDLE_OPTIONS_NAME ?>[filter_rss]" value="1" <?php checked('1', (int) $options['filter_rss']); ?> />
|
371 |
-
<span><?php _e('Replace emails in RSS feeds
|
372 |
</td>
|
373 |
</tr>
|
374 |
<tr>
|
375 |
<th><?php _e('Remove shortcodes from RSS feeds', 'email-encoder-bundle') ?></th>
|
376 |
<td><label><input type="checkbox" id="remove_shortcodes_rss" name="<?php echo EMAIL_ENCODER_BUNDLE_OPTIONS_NAME ?>[remove_shortcodes_rss]" value="1" <?php checked('1', (int) $options['remove_shortcodes_rss']); ?> />
|
377 |
-
<span><?php _e('Remove all shortcodes from the RSS feeds
|
378 |
</td>
|
379 |
</tr>
|
380 |
<tr>
|
@@ -440,7 +479,7 @@ abstract class Eeb_Admin {
|
|
440 |
<th><?php _e('Use shortcodes in widgets', 'email-encoder-bundle') ?></th>
|
441 |
<td>
|
442 |
<label><input type="checkbox" name="<?php echo EMAIL_ENCODER_BUNDLE_OPTIONS_NAME ?>[shortcodes_in_widgets]" value="1" <?php checked('1', (int) $options['shortcodes_in_widgets']); ?> />
|
443 |
-
<span><?php _e('Also use shortcodes in widgets
|
444 |
<br/><span class="description"><?php if (!$this->options['widget_logic_filter']) { _e('Notice: only works for text widgets!', 'email-encoder-bundle'); } else { _e('All text widgets', 'email-encoder-bundle'); } ?></span></label>
|
445 |
</label>
|
446 |
</td>
|
@@ -448,7 +487,7 @@ abstract class Eeb_Admin {
|
|
448 |
<tr>
|
449 |
<th><?php _e('Use deprecated names', 'email-encoder-bundle') ?></th>
|
450 |
<td><label><input type="checkbox" id="<?php echo EMAIL_ENCODER_BUNDLE_OPTIONS_NAME ?>[support_deprecated_names]" name="<?php echo EMAIL_ENCODER_BUNDLE_OPTIONS_NAME ?>[support_deprecated_names]" value="1" <?php checked('1', (int) $options['support_deprecated_names']); ?> />
|
451 |
-
<span><?php _e('Keep supporting the old names for action, shortcodes and template functions
|
452 |
<br /><span class="description">These deprecated will still be available: <code>init_email_encoder_bundle</code>, <code>[encode_email]</code>, <code>[encode_content]</code>, <code>[email_encoder_form]</code>, <code>encode_email()</code>, <code>encode_content()</code>, <code>encode_email_filter()</code></span></label></td>
|
453 |
</tr>
|
454 |
</table>
|
@@ -466,7 +505,7 @@ abstract class Eeb_Admin {
|
|
466 |
<tr>
|
467 |
<th><?php _e('Check "succesfully encoded"', 'email-encoder-bundle') ?></th>
|
468 |
<td><label><input type="checkbox" id="<?php echo EMAIL_ENCODER_BUNDLE_OPTIONS_NAME ?>[show_encoded_check]" name="<?php echo EMAIL_ENCODER_BUNDLE_OPTIONS_NAME ?>[show_encoded_check]" value="1" <?php checked('1', (int) $options['show_encoded_check']); ?> />
|
469 |
-
<span><?php _e('Show "successfully encoded" text for all encoded content, only when logged in as admin user
|
470 |
<br/><span class="description"><?php _e('This way you can check if emails are really encoded on your site.', 'email-encoder-bundle') ?></span>
|
471 |
</label>
|
472 |
</td>
|
@@ -474,7 +513,7 @@ abstract class Eeb_Admin {
|
|
474 |
<tr>
|
475 |
<th><?php _e('Choose admin menu position', 'email-encoder-bundle') ?></th>
|
476 |
<td><label><input type="checkbox" id="<?php echo EMAIL_ENCODER_BUNDLE_OPTIONS_NAME ?>[own_admin_menu]" name="<?php echo EMAIL_ENCODER_BUNDLE_OPTIONS_NAME ?>[own_admin_menu]" value="1" <?php checked('1', (int) $options['own_admin_menu']); ?> />
|
477 |
-
<span><?php _e('Show as main menu item
|
478 |
<br /><span class="description">When disabled this page will be available under "<?php _e('Settings') ?>".</span>
|
479 |
</label>
|
480 |
</td>
|
@@ -490,7 +529,7 @@ abstract class Eeb_Admin {
|
|
490 |
<?php
|
491 |
} else if ($key === 'encode_form') {
|
492 |
?>
|
493 |
-
<p><?php _e('If you like you can also create you own secure mailto links manually with this form. Just copy the generated code and put it
|
494 |
|
495 |
<hr style="border:1px solid #FFF; border-top:1px solid #EEE;" />
|
496 |
|
@@ -505,7 +544,7 @@ abstract class Eeb_Admin {
|
|
505 |
<tr>
|
506 |
<th><?php _e('Show "powered by"', 'email-encoder-bundle') ?></th>
|
507 |
<td><label><input type="checkbox" id="<?php echo EMAIL_ENCODER_BUNDLE_OPTIONS_NAME ?>[powered_by]" name="<?php echo EMAIL_ENCODER_BUNDLE_OPTIONS_NAME ?>[powered_by]" value="1" <?php checked('1', (int) $options['powered_by']); ?> />
|
508 |
-
<span><?php _e('Show
|
509 |
</label>
|
510 |
</td>
|
511 |
</tr>
|
@@ -517,57 +556,32 @@ abstract class Eeb_Admin {
|
|
517 |
</p>
|
518 |
<br class="clear" />
|
519 |
|
520 |
-
<?php
|
521 |
-
} else if ($key === 'future') {
|
522 |
-
?>
|
523 |
-
|
524 |
-
<p>The support and further development of <strong>Email Encoder Bundle</strong> will soon come to an end and will continue as <strong>WP Mailto Links</strong>.</p>
|
525 |
-
|
526 |
-
<p>Therefore I would like to know, why do you like this plugin? Which features or settings do you use?
|
527 |
-
<br>And what features are you missing in the WP Mailto Links plugin to make the transfer?
|
528 |
-
</p>
|
529 |
-
|
530 |
-
<p>Please share your thoughts on <a href="https://wordpress.org/support/topic/why-prefer-email-encoder-bundle-over-wp-mailto-links?replies=1" target="_blank">this page</a>.
|
531 |
-
</p>
|
532 |
-
|
533 |
-
<p><a class="button button-secondary" href="javascript:;" onclick="jQuery('#future-hide').click();">Hide this message</a></p>
|
534 |
-
|
535 |
<?php
|
536 |
} else if ($key === 'this_plugin') {
|
537 |
?>
|
538 |
<ul>
|
539 |
<li><a href="#" class="eeb-help-link"><?php _e('Documentation', 'email-encoder-bundle') ?></a></li>
|
540 |
<li><a href="http://wordpress.org/support/plugin/email-encoder-bundle#postform" target="_blank"><?php _e('Report a problem', 'email-encoder-bundle') ?></a></li>
|
|
|
|
|
541 |
</ul>
|
542 |
|
543 |
-
<p><strong><a href="http://wordpress.org/support/view/plugin-reviews/email-encoder-bundle" target="_blank"><?php _e('Please rate this plugin!', 'email-encoder-bundle') ?></a></strong></p>
|
544 |
<?php
|
545 |
} else if ($key === 'other_plugins') {
|
546 |
?>
|
547 |
-
<h4><img src="<?php echo plugins_url('images/icon-
|
548 |
-
|
549 |
-
|
550 |
-
<?php elseif( file_exists( WP_PLUGIN_DIR . '/wp-external-links/wp-external-links.php')): ?>
|
551 |
-
<a href="<?php echo get_bloginfo('url') ?>/wp-admin/plugins.php?plugin_status=inactive"><?php _e('Activate', 'email-encoder-bundle') ?></a>
|
552 |
-
<?php else: ?>
|
553 |
-
<a href="<?php echo get_bloginfo('url') ?>/wp-admin/plugin-install.php?tab=search&type=term&s=WP+External+Links+freelancephp&plugin-search-input=Search+Plugins"><?php _e('Get this plugin', 'email-encoder-bundle') ?></a>
|
554 |
-
<?php endif; ?>
|
555 |
-
</h4>
|
556 |
-
<p><?php _e('Manage external links on your site: open in new window/tab, set icon, add "external", add "nofollow" and more.', 'email-encoder-bundle') ?>
|
557 |
-
<br /><a href="http://wordpress.org/extend/plugins/wp-external-links/" target="_blank">WordPress.org</a> | <a href="http://www.freelancephp.net/wp-external-links-plugin/" target="_blank">FreelancePHP.net</a>
|
558 |
</p>
|
559 |
|
560 |
-
<h4><img src="<?php echo plugins_url('images/icon-
|
561 |
-
|
562 |
-
|
563 |
-
|
564 |
-
|
565 |
-
|
566 |
-
|
567 |
-
<?php
|
568 |
-
</h4>
|
569 |
-
<p><?php _e('Manage mailto links on your site and protect emails from spambots, set mail icon and more.', 'email-encoder-bundle') ?>
|
570 |
-
<br /><a href="http://wordpress.org/extend/plugins/wp-mailto-links/" target="_blank">WordPress.org</a> | <a href="http://www.freelancephp.net/wp-mailto-links-plugin/" target="_blank">FreelancePHP.net</a>
|
571 |
</p>
|
572 |
<?php
|
573 |
}
|
@@ -629,17 +643,17 @@ abstract class Eeb_Admin {
|
|
629 |
private function get_help_text($key) {
|
630 |
if ($key === 'quickstart') {
|
631 |
$plugin_title = get_admin_page_title();
|
632 |
-
$icon_url = plugins_url('images/icon-email-encoder
|
633 |
$quick_start_url = plugins_url('images/quick-start.png', EMAIL_ENCODER_BUNDLE_FILE);
|
634 |
$version = EMAIL_ENCODER_BUNDLE_VERSION;
|
635 |
|
636 |
$content = sprintf(__('<h3><img src="%s" width="16" height="16" /> %s - version %s</h3>'
|
637 |
-
. '<p>
|
638 |
. '<img src="%s" width="600" height="273" />'
|
639 |
, 'email-encoder-bundle'), $icon_url, $plugin_title, $version, $quick_start_url);
|
640 |
} else if ($key === 'shortcodes') {
|
641 |
$content = __('<h3>Shortcodes</h3>'
|
642 |
-
. '<p>You can use these shortcodes within your
|
643 |
. '<h4>eeb_email</h4>'
|
644 |
. '<p>Create an encoded mailto link:</p>'
|
645 |
. '<p><code>[eeb_email email="..." display="..."]</code></p>'
|
@@ -706,7 +720,7 @@ abstract class Eeb_Admin {
|
|
706 |
} else if ($key === 'filters') {
|
707 |
$content = __('<h3>Filter Hooks</h3>'
|
708 |
. '<h4>eeb_mailto_regexp</h4>'
|
709 |
-
. '<p>You can change the regular expression used for
|
710 |
. '<pre><code><?php' . "\n"
|
711 |
. 'add_filter(\'eeb_mailto_regexp\', \'change_mailto_regexp\');' . "\n\n"
|
712 |
. 'function change_mailto_regexp($regexp) {' . "\n"
|
@@ -714,7 +728,7 @@ abstract class Eeb_Admin {
|
|
714 |
. '}' . "\n"
|
715 |
. '?></code></pre>'
|
716 |
. '<h4>eeb_email_regexp</h4>'
|
717 |
-
. '<p>You can change the regular expression used for
|
718 |
. '<pre><code><?php' . "\n"
|
719 |
. 'add_filter(\'eeb_email_regexp\', \'change_email_regexp\');' . "\n\n"
|
720 |
. 'function change_email_regexp($regexp) {' . "\n"
|
@@ -733,13 +747,14 @@ abstract class Eeb_Admin {
|
|
733 |
, 'email-encoder-bundle');
|
734 |
} else if ($key === 'faq') {
|
735 |
$content = __('<h3>FAQ</h3>'
|
736 |
-
. '<p>Please
|
737 |
, 'email-encoder-bundle');
|
738 |
} else if ($key === 'sidebar') {
|
739 |
-
$content = __('<h4>
|
740 |
. '<ul>'
|
741 |
-
. '<li><a href="
|
742 |
-
. '<li><a href="http://
|
|
|
743 |
. '</ul>'
|
744 |
, 'email-encoder-bundle');
|
745 |
} else {
|
@@ -766,7 +781,7 @@ abstract class Eeb_Admin {
|
|
766 |
$show_powered_by = (bool) $this->options['powered_by'];
|
767 |
$powered_by = '';
|
768 |
if ($show_powered_by) {
|
769 |
-
$powered_by .= '<p class="powered-by">' . __('Powered by', 'email-encoder-bundle') . ' <a rel="external" href="
|
770 |
}
|
771 |
|
772 |
$labels = array(
|
@@ -837,5 +852,3 @@ FORM;
|
|
837 |
} // end class Eeb_Admin
|
838 |
|
839 |
endif;
|
840 |
-
|
841 |
-
/* ommit PHP closing tag, to prevent unwanted whitespace at the end of the parts generated by the included files */
|
1 |
+
<?php
|
|
|
2 |
/**
|
3 |
* Class Eeb_Admin
|
4 |
*
|
5 |
+
* Contains all code necessary for the Admin part
|
6 |
*
|
7 |
* @abstract
|
8 |
*
|
9 |
* @package Email_Encoder_Bundle
|
10 |
* @category WordPress Plugins
|
11 |
*/
|
12 |
+
|
13 |
+
// this is an include only WP file
|
14 |
+
if (!defined('ABSPATH')) {
|
15 |
+
die;
|
16 |
+
}
|
17 |
+
|
18 |
if (!class_exists('Eeb_Admin')):
|
19 |
|
20 |
abstract class Eeb_Admin {
|
81 |
$this->methods = array(
|
82 |
'enc_ascii' => array(
|
83 |
'name' => __('JS Rot13', 'email-encoder-bundle'),
|
84 |
+
'description' => __('Recommended, the safest method using a rot13 method in JavaScript', 'email-encoder-bundle'),
|
85 |
),
|
86 |
'enc_escape' => array(
|
87 |
'name' => __('JS Escape', 'email-encoder-bundle'),
|
88 |
+
'description' => __('Pretty safe method using JavaScipt\'s escape function', 'email-encoder-bundle'),
|
89 |
),
|
90 |
'enc_html' => array(
|
91 |
'name' => __('Html Encode', 'email-encoder-bundle'),
|
92 |
+
'description' => __('Not recommended, equal to <a href="http://codex.wordpress.org/Function_Reference/antispambot" target="_blank"><code>antispambot()</code></a> function of WordPress', 'email-encoder-bundle'),
|
93 |
),
|
94 |
);
|
95 |
|
109 |
add_action('wp', array($this, 'wp'));
|
110 |
add_action('admin_init', array($this, 'admin_init'));
|
111 |
add_action('admin_menu', array($this, 'admin_menu'));
|
112 |
+
add_action('admin_footer_text', array($this, 'admin_footer_text'));
|
113 |
+
// todo
|
114 |
}
|
115 |
|
116 |
/**
|
214 |
// add page and menu item
|
215 |
if ($this->options['own_admin_menu']) {
|
216 |
// create main menu item
|
217 |
+
$page_hook = add_menu_page(__('Email Encoder', 'email-encoder-bundle'), __('Email Encoder', 'email-encoder-bundle'),
|
218 |
'manage_options', EMAIL_ENCODER_BUNDLE_ADMIN_PAGE, array($this, 'show_options_page'),
|
219 |
+
plugins_url('images/icon-email-encoder-16.png', EMAIL_ENCODER_BUNDLE_FILE));
|
220 |
} else {
|
221 |
// create submenu item under "Settings"
|
222 |
+
$page_hook = add_submenu_page('options-general.php', __('Email Encoder', 'email-encoder-bundle'), __('Email Encoder', 'email-encoder-bundle'),
|
223 |
'manage_options', EMAIL_ENCODER_BUNDLE_ADMIN_PAGE, array($this, 'show_options_page'));
|
224 |
}
|
225 |
|
231 |
* Admin Options Page
|
232 |
* ------------------------------------------------------------------------*/
|
233 |
|
234 |
+
/**
|
235 |
+
* Add text to footer
|
236 |
+
*/
|
237 |
+
function admin_footer_text($text_org) {
|
238 |
+
if (0 && false === $this->is_plugin_page()) {
|
239 |
+
return $text_org;
|
240 |
+
}
|
241 |
+
|
242 |
+
$text = '<i><a target="_blank" href="https://wordpress.org/plugins/email-encoder-bundle/">Email Encoder</a> v' . EMAIL_ENCODER_BUNDLE_VERSION . ' by <a href="https://www.webfactoryltd.com/" title="Visit our site to get more great plugins" target="_blank">WebFactory Ltd</a>.';
|
243 |
+
$text .= ' Please <a target="_blank" href="https://wordpress.org/support/plugin/email-encoder-bundle/reviews/#new-post" title="Rate the plugin">Rate the plugin ★★★★★</a>.</i> ';
|
244 |
+
|
245 |
+
return $text;
|
246 |
+
} // admin_footer_text
|
247 |
+
|
248 |
+
|
249 |
/**
|
250 |
* Load admin options page
|
251 |
*/
|
274 |
add_meta_box('rss_settings', __('RSS Settings', 'email-encoder-bundle'), array($this, 'show_meta_box_content'), null, 'normal', 'core', array('rss_settings'));
|
275 |
add_meta_box('admin_settings', __('Admin Settings', 'email-encoder-bundle'), array($this, 'show_meta_box_content'), null, 'normal', 'core', array('admin_settings'));
|
276 |
add_meta_box('encode_form', __('Email Encoder Form', 'email-encoder-bundle'), array($this, 'show_meta_box_content'), null, 'normal', 'core', array('encode_form'));
|
|
|
277 |
add_meta_box('this_plugin', __('Support', 'email-encoder-bundle'), array($this, 'show_meta_box_content'), null, 'side', 'core', array('this_plugin'));
|
278 |
+
add_meta_box('other_plugins', __('You Might Need These Plugins', 'email-encoder-bundle'), array($this, 'show_meta_box_content'), null, 'side', 'core', array('other_plugins'));
|
279 |
}
|
280 |
|
281 |
/**
|
284 |
public function show_options_page() {
|
285 |
$this->set_options();
|
286 |
?>
|
287 |
+
<style>
|
288 |
+
#other_plugins img {
|
289 |
+
vertical-align: middle;
|
290 |
+
height: 24px;
|
291 |
+
width: auto;
|
292 |
+
padding: 0 5px 0 0;
|
293 |
+
}
|
294 |
+
|
295 |
+
#other_plugins h4 {
|
296 |
+
margin: 0;
|
297 |
+
padding: 0;
|
298 |
+
}
|
299 |
+
|
300 |
+
#other_plugins p {
|
301 |
+
margin: 5px 0 25px 0;
|
302 |
+
padding: 0;
|
303 |
+
}
|
304 |
+
|
305 |
+
</style>
|
306 |
<div class="wrap">
|
307 |
+
<h2><?php echo get_admin_page_title() ?> - <em><small><?php _e('Protect Email Addresses From Bots & Scrapers', 'email-encoder-bundle') ?></small></em></h2>
|
|
|
308 |
|
309 |
<?php if (isset($_GET['settings-updated']) && $_GET['settings-updated'] == 'true' && $this->options['own_admin_menu']): ?>
|
310 |
<div class="updated settings-error" id="setting-error-settings_updated">
|
364 |
<label><input type="checkbox" id="encode_mailtos" name="<?php echo EMAIL_ENCODER_BUNDLE_OPTIONS_NAME ?>[encode_mailtos]" value="1" <?php checked('1', (int) $options['encode_mailtos']); ?> />
|
365 |
<span><?php _e('Protect mailto links, like f.e. <code><a href="info@myemail.com">My Email</a></code>', 'email-encoder-bundle') ?></span>
|
366 |
<br/><label><input type="checkbox" id="encode_emails" name="<?php echo EMAIL_ENCODER_BUNDLE_OPTIONS_NAME ?>[encode_emails]" value="1" <?php checked('1', (int) $options['encode_emails']); ?> disabled="disabled" />
|
367 |
+
<span><?php _e('Replace plain email addresses to protected mailto links', 'email-encoder-bundle') ?></span>
|
368 |
+
<!--<span class="description notice-form-field-bug"><br/><?php _e('Notice: be careful with this option when using email addresses on form fields, please <a href="http://wordpress.org/extend/plugins/email-encoder-bundle/faq/" target="_blank">check the FAQ</a> for more info.', 'email-encoder-bundle') ?></span>-->
|
369 |
</label>
|
370 |
<br/><label><input type="checkbox" id="encode_fields" name="<?php echo EMAIL_ENCODER_BUNDLE_OPTIONS_NAME ?>[encode_fields]" value="1" <?php checked('1', (int) $options['encode_fields']); ?> />
|
371 |
+
<span><?php _e('Replace pre-filled email addresses in input fields', 'email-encoder-bundle') ?></span>
|
372 |
+
<span class="description"><?php _e(' - recommended!', 'email-encoder-bundle') ?></span>
|
373 |
</label>
|
374 |
<br/>
|
375 |
</td>
|
376 |
</tr>
|
377 |
<tr>
|
378 |
+
<th><?php _e('Apply on', 'email-encoder-bundle') ?></th>
|
379 |
<td>
|
380 |
<label><input type="checkbox" name="<?php echo EMAIL_ENCODER_BUNDLE_OPTIONS_NAME ?>[filter_posts]" value="1" <?php checked('1', (int) $options['filter_posts']); ?> />
|
381 |
<span><?php _e('All posts and pages', 'email-encoder-bundle') ?></span>
|
407 |
<tr>
|
408 |
<th><?php _e('Protect emails in RSS feeds', 'email-encoder-bundle') ?></th>
|
409 |
<td><label><input type="checkbox" id="filter_rss" name="<?php echo EMAIL_ENCODER_BUNDLE_OPTIONS_NAME ?>[filter_rss]" value="1" <?php checked('1', (int) $options['filter_rss']); ?> />
|
410 |
+
<span><?php _e('Replace emails in RSS feeds', 'email-encoder-bundle') ?></span></label>
|
411 |
</td>
|
412 |
</tr>
|
413 |
<tr>
|
414 |
<th><?php _e('Remove shortcodes from RSS feeds', 'email-encoder-bundle') ?></th>
|
415 |
<td><label><input type="checkbox" id="remove_shortcodes_rss" name="<?php echo EMAIL_ENCODER_BUNDLE_OPTIONS_NAME ?>[remove_shortcodes_rss]" value="1" <?php checked('1', (int) $options['remove_shortcodes_rss']); ?> />
|
416 |
+
<span><?php _e('Remove all shortcodes from the RSS feeds', 'email-encoder-bundle') ?></span></label>
|
417 |
</td>
|
418 |
</tr>
|
419 |
<tr>
|
479 |
<th><?php _e('Use shortcodes in widgets', 'email-encoder-bundle') ?></th>
|
480 |
<td>
|
481 |
<label><input type="checkbox" name="<?php echo EMAIL_ENCODER_BUNDLE_OPTIONS_NAME ?>[shortcodes_in_widgets]" value="1" <?php checked('1', (int) $options['shortcodes_in_widgets']); ?> />
|
482 |
+
<span><?php _e('Also use shortcodes in widgets', 'email-encoder-bundle') ?></span>
|
483 |
<br/><span class="description"><?php if (!$this->options['widget_logic_filter']) { _e('Notice: only works for text widgets!', 'email-encoder-bundle'); } else { _e('All text widgets', 'email-encoder-bundle'); } ?></span></label>
|
484 |
</label>
|
485 |
</td>
|
487 |
<tr>
|
488 |
<th><?php _e('Use deprecated names', 'email-encoder-bundle') ?></th>
|
489 |
<td><label><input type="checkbox" id="<?php echo EMAIL_ENCODER_BUNDLE_OPTIONS_NAME ?>[support_deprecated_names]" name="<?php echo EMAIL_ENCODER_BUNDLE_OPTIONS_NAME ?>[support_deprecated_names]" value="1" <?php checked('1', (int) $options['support_deprecated_names']); ?> />
|
490 |
+
<span><?php _e('Keep supporting the old names for action, shortcodes and template functions', 'email-encoder-bundle') ?></span>
|
491 |
<br /><span class="description">These deprecated will still be available: <code>init_email_encoder_bundle</code>, <code>[encode_email]</code>, <code>[encode_content]</code>, <code>[email_encoder_form]</code>, <code>encode_email()</code>, <code>encode_content()</code>, <code>encode_email_filter()</code></span></label></td>
|
492 |
</tr>
|
493 |
</table>
|
505 |
<tr>
|
506 |
<th><?php _e('Check "succesfully encoded"', 'email-encoder-bundle') ?></th>
|
507 |
<td><label><input type="checkbox" id="<?php echo EMAIL_ENCODER_BUNDLE_OPTIONS_NAME ?>[show_encoded_check]" name="<?php echo EMAIL_ENCODER_BUNDLE_OPTIONS_NAME ?>[show_encoded_check]" value="1" <?php checked('1', (int) $options['show_encoded_check']); ?> />
|
508 |
+
<span><?php _e('Show "successfully encoded" text for all encoded content, only when logged in as admin user', 'email-encoder-bundle') ?></span>
|
509 |
<br/><span class="description"><?php _e('This way you can check if emails are really encoded on your site.', 'email-encoder-bundle') ?></span>
|
510 |
</label>
|
511 |
</td>
|
513 |
<tr>
|
514 |
<th><?php _e('Choose admin menu position', 'email-encoder-bundle') ?></th>
|
515 |
<td><label><input type="checkbox" id="<?php echo EMAIL_ENCODER_BUNDLE_OPTIONS_NAME ?>[own_admin_menu]" name="<?php echo EMAIL_ENCODER_BUNDLE_OPTIONS_NAME ?>[own_admin_menu]" value="1" <?php checked('1', (int) $options['own_admin_menu']); ?> />
|
516 |
+
<span><?php _e('Show as main menu item', 'email-encoder-bundle') ?></span>
|
517 |
<br /><span class="description">When disabled this page will be available under "<?php _e('Settings') ?>".</span>
|
518 |
</label>
|
519 |
</td>
|
529 |
<?php
|
530 |
} else if ($key === 'encode_form') {
|
531 |
?>
|
532 |
+
<p><?php _e('If you like you can also create you own secure mailto links manually with this form. Just copy/paste the generated code and put it in your post, page or template.', 'email-encoder-bundle') ?></p>
|
533 |
|
534 |
<hr style="border:1px solid #FFF; border-top:1px solid #EEE;" />
|
535 |
|
544 |
<tr>
|
545 |
<th><?php _e('Show "powered by"', 'email-encoder-bundle') ?></th>
|
546 |
<td><label><input type="checkbox" id="<?php echo EMAIL_ENCODER_BUNDLE_OPTIONS_NAME ?>[powered_by]" name="<?php echo EMAIL_ENCODER_BUNDLE_OPTIONS_NAME ?>[powered_by]" value="1" <?php checked('1', (int) $options['powered_by']); ?> />
|
547 |
+
<span><?php _e('Show a "powered by" link on bottom of the encoder form', 'email-encoder-bundle') ?></span>
|
548 |
</label>
|
549 |
</td>
|
550 |
</tr>
|
556 |
</p>
|
557 |
<br class="clear" />
|
558 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
559 |
<?php
|
560 |
} else if ($key === 'this_plugin') {
|
561 |
?>
|
562 |
<ul>
|
563 |
<li><a href="#" class="eeb-help-link"><?php _e('Documentation', 'email-encoder-bundle') ?></a></li>
|
564 |
<li><a href="http://wordpress.org/support/plugin/email-encoder-bundle#postform" target="_blank"><?php _e('Report a problem', 'email-encoder-bundle') ?></a></li>
|
565 |
+
<li><a href="http://wordpress.org/support/plugin/email-encoder-bundle#postform" target="_blank"><?php _e('Get support', 'email-encoder-bundle') ?></a></li>
|
566 |
+
<li><strong><a href="http://wordpress.org/support/view/plugin-reviews/email-encoder-bundle" target="_blank"><?php _e('Rate the plugin ★★★★★', 'email-encoder-bundle') ?></a></strong></li>
|
567 |
</ul>
|
568 |
|
|
|
569 |
<?php
|
570 |
} else if ($key === 'other_plugins') {
|
571 |
?>
|
572 |
+
<h4><img src="<?php echo plugins_url('images/icon-301-redirects.png', EMAIL_ENCODER_BUNDLE_FILE) ?>"> 301 Redirects</h4>
|
573 |
+
<p>Easily manage and create 301 & 302 redirects to improve SEO and visitor experience. User-friendly interface, easy to install and configure.
|
574 |
+
<br /><a href="<?php echo admin_url('plugin-install.php?s=301+Redirects+WebFactory+Ltd&tab=search&type=term'); ?>" target="_blank">Install now for free</a> | <a href="https://wordpress.org/plugins/eps-301-redirects/" target="_blank">More info</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
575 |
</p>
|
576 |
|
577 |
+
<h4><img src="<?php echo plugins_url('images/icon-google-maps-widget.png', EMAIL_ENCODER_BUNDLE_FILE) ?>"> Google Maps Widget</h4>
|
578 |
+
<p>Tired of buggy & slow Google Maps plugins that take hours to setup? With Google Maps Widget you’ll have a perfect map with a thumbnail & lightbox in minutes!
|
579 |
+
<br /><a href="<?php echo admin_url('plugin-install.php?s=Google+Maps+Widget+WebFactoryLtd&tab=search&type=term'); ?>" target="_blank">Install now for free</a> | <a href="https://gmapswidget.com/" target="_blank">More info</a>
|
580 |
+
</p>
|
581 |
+
|
582 |
+
<h4><img src="<?php echo plugins_url('images/icon-security-ninja.png', EMAIL_ENCODER_BUNDLE_FILE) ?>"> Security Ninja</h4>
|
583 |
+
<p>Perform 50+ security tests with one click. Get a color-coded report on your site's security & how to secure it. Easy to use! Protecting sites like yours for over 7 years.
|
584 |
+
<br /><a href="<?php echo admin_url('plugin-install.php?s=Web+Factory+Ltd+Security+Ninja+WordPress+Security+50&tab=search&type=term'); ?>" target="_blank">Install now for free</a> | <a href="https://wpsecurityninja.com/" target="_blank">More info</a>
|
|
|
|
|
|
|
585 |
</p>
|
586 |
<?php
|
587 |
}
|
643 |
private function get_help_text($key) {
|
644 |
if ($key === 'quickstart') {
|
645 |
$plugin_title = get_admin_page_title();
|
646 |
+
$icon_url = plugins_url('images/icon-email-encoder.png', EMAIL_ENCODER_BUNDLE_FILE);
|
647 |
$quick_start_url = plugins_url('images/quick-start.png', EMAIL_ENCODER_BUNDLE_FILE);
|
648 |
$version = EMAIL_ENCODER_BUNDLE_VERSION;
|
649 |
|
650 |
$content = sprintf(__('<h3><img src="%s" width="16" height="16" /> %s - version %s</h3>'
|
651 |
+
. '<p>By default, out-of-the-box all mailto links in your posts, pages, comments and (text) widgets will be encoded and protected. <br/>If you also want to encode plain email address, you have to enable that option.</p>'
|
652 |
. '<img src="%s" width="600" height="273" />'
|
653 |
, 'email-encoder-bundle'), $icon_url, $plugin_title, $version, $quick_start_url);
|
654 |
} else if ($key === 'shortcodes') {
|
655 |
$content = __('<h3>Shortcodes</h3>'
|
656 |
+
. '<p>You can use these shortcodes within your posts or pages.</p>'
|
657 |
. '<h4>eeb_email</h4>'
|
658 |
. '<p>Create an encoded mailto link:</p>'
|
659 |
. '<p><code>[eeb_email email="..." display="..."]</code></p>'
|
720 |
} else if ($key === 'filters') {
|
721 |
$content = __('<h3>Filter Hooks</h3>'
|
722 |
. '<h4>eeb_mailto_regexp</h4>'
|
723 |
+
. '<p>You can change the regular expression used to search for mailto links.</p>'
|
724 |
. '<pre><code><?php' . "\n"
|
725 |
. 'add_filter(\'eeb_mailto_regexp\', \'change_mailto_regexp\');' . "\n\n"
|
726 |
. 'function change_mailto_regexp($regexp) {' . "\n"
|
728 |
. '}' . "\n"
|
729 |
. '?></code></pre>'
|
730 |
. '<h4>eeb_email_regexp</h4>'
|
731 |
+
. '<p>You can change the regular expression used to search for mailto links.</p>'
|
732 |
. '<pre><code><?php' . "\n"
|
733 |
. 'add_filter(\'eeb_email_regexp\', \'change_email_regexp\');' . "\n\n"
|
734 |
. 'function change_email_regexp($regexp) {' . "\n"
|
747 |
, 'email-encoder-bundle');
|
748 |
} else if ($key === 'faq') {
|
749 |
$content = __('<h3>FAQ</h3>'
|
750 |
+
. '<p>Please see the <a href="http://wordpress.org/extend/plugins/email-encoder-bundle/faq/" target="_blank">official FAQ</a>.'
|
751 |
, 'email-encoder-bundle');
|
752 |
} else if ($key === 'sidebar') {
|
753 |
+
$content = __('<h4>More Info</h4>'
|
754 |
. '<ul>'
|
755 |
+
. '<li><a href="https://profiles.wordpress.org/webfactory/#content-plugins" target="_blank">Quality free plugins</a></li>'
|
756 |
+
. '<li><a href="http://wordpress.org/support/plugin/email-encoder-bundle#postform" target="_blank">Get Support</a></li>'
|
757 |
+
. '<li><a href="https://webfactoryltd.com/" target="_blank">WebFactory Ltd</a></li>'
|
758 |
. '</ul>'
|
759 |
, 'email-encoder-bundle');
|
760 |
} else {
|
781 |
$show_powered_by = (bool) $this->options['powered_by'];
|
782 |
$powered_by = '';
|
783 |
if ($show_powered_by) {
|
784 |
+
$powered_by .= '<p class="powered-by">' . __('Powered by free', 'email-encoder-bundle') . ' <a rel="external" href="https://wordpress.org/plugins/email-encoder-bundle/">Email Encoder</a></p>';
|
785 |
}
|
786 |
|
787 |
$labels = array(
|
852 |
} // end class Eeb_Admin
|
853 |
|
854 |
endif;
|
|
|
|
includes/class-eeb-site.php
CHANGED
@@ -1,9 +1,8 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
/**
|
4 |
* Class Eeb_Site (singleton)
|
5 |
*
|
6 |
-
* Contains all
|
7 |
*
|
8 |
* @extends Eeb_Admin
|
9 |
* @final
|
@@ -11,6 +10,12 @@
|
|
11 |
* @package Email_Encoder_Bundle
|
12 |
* @category WordPress Plugins
|
13 |
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
if (!class_exists('Eeb_Site') && class_exists('Eeb_Admin')):
|
15 |
|
16 |
final class Eeb_Site extends Eeb_Admin {
|
@@ -151,9 +156,10 @@ final class Eeb_Site extends Eeb_Admin {
|
|
151 |
|
152 |
// add styling for encoding check message + icon
|
153 |
if ($this->is_admin_user && $this->options['show_encoded_check']) {
|
154 |
-
$css .= 'a.encoded-check {
|
155 |
-
$css .= 'a.encoded-check:hover {
|
156 |
-
$css .= 'a.encoded-check img {
|
|
|
157 |
}
|
158 |
|
159 |
// $css .= 'a[href^="mailto:"] .fa { margin-right:0.4em; }';
|
@@ -437,10 +443,9 @@ final class Eeb_Site extends Eeb_Admin {
|
|
437 |
|
438 |
return $content
|
439 |
. '<a href="javascript:;" class="encoded-check"'
|
440 |
-
. ' title="' . __('Successfully Encoded (this is a check and only visible when logged in as admin)', 'email-encoder-bundle') . '">'
|
441 |
-
. '<img class="encoded-check-icon" src="' . plugins_url('images/icon-email-encoder
|
442 |
-
. '" alt="' . __('Encoded', 'email-encoder-bundle') . '" />'
|
443 |
-
. __('Successfully Encoded', 'email-encoder-bundle') . '</a>';
|
444 |
}
|
445 |
|
446 |
/* -------------------------------------------------------------------------
|
@@ -526,19 +531,19 @@ final class Eeb_Site extends Eeb_Admin {
|
|
526 |
|
527 |
// break string into array of characters, we can't use string_split because its php5 only
|
528 |
$split = preg_split('||', $string);
|
529 |
-
$out =
|
530 |
-
|
531 |
|
532 |
-
|
533 |
-
|
534 |
-
|
535 |
-
|
536 |
-
|
537 |
-
|
538 |
|
539 |
-
|
540 |
-
|
541 |
-
|
542 |
|
543 |
return $out;
|
544 |
}
|
@@ -579,5 +584,3 @@ final class Eeb_Site extends Eeb_Admin {
|
|
579 |
} // end class Eeb_Site
|
580 |
|
581 |
endif;
|
582 |
-
|
583 |
-
/* ommit PHP closing tag, to prevent unwanted whitespace at the end of the parts generated by the included files */
|
1 |
+
<?php
|
|
|
2 |
/**
|
3 |
* Class Eeb_Site (singleton)
|
4 |
*
|
5 |
+
* Contains all necessary code for the site part
|
6 |
*
|
7 |
* @extends Eeb_Admin
|
8 |
* @final
|
10 |
* @package Email_Encoder_Bundle
|
11 |
* @category WordPress Plugins
|
12 |
*/
|
13 |
+
|
14 |
+
// this is an include only WP file
|
15 |
+
if (!defined('ABSPATH')) {
|
16 |
+
die;
|
17 |
+
}
|
18 |
+
|
19 |
if (!class_exists('Eeb_Site') && class_exists('Eeb_Admin')):
|
20 |
|
21 |
final class Eeb_Site extends Eeb_Admin {
|
156 |
|
157 |
// add styling for encoding check message + icon
|
158 |
if ($this->is_admin_user && $this->options['show_encoded_check']) {
|
159 |
+
$css .= 'a.encoded-check { position:absolute; text-decoration:none !important; margin:0; padding:0; box-shadow: none; background: none; }';
|
160 |
+
$css .= 'a.encoded-check:hover { margin:0; padding:0; box-shadow: none; cursor:help; text-decoration: none!important; }';
|
161 |
+
$css .= 'a.encoded-check:hover img { opacity: 1; cursor:help; text-decoration: none!important; margin:0; padding:0; box-shadow: none; }';
|
162 |
+
$css .= 'a.encoded-check img { opacity: 0.5; width:auto; height:16px; margin:0; padding:0; box-shadow: none; }';
|
163 |
}
|
164 |
|
165 |
// $css .= 'a[href^="mailto:"] .fa { margin-right:0.4em; }';
|
443 |
|
444 |
return $content
|
445 |
. '<a href="javascript:;" class="encoded-check"'
|
446 |
+
. ' title="' . __('Successfully Encoded (this is a check and it\'s only visible when logged in as admin)', 'email-encoder-bundle') . '">'
|
447 |
+
. '<img class="encoded-check-icon" src="' . plugins_url('images/icon-email-encoder.png', EMAIL_ENCODER_BUNDLE_FILE)
|
448 |
+
. '" alt="' . __('Encoded', 'email-encoder-bundle') . '" />' . '</a>';
|
|
|
449 |
}
|
450 |
|
451 |
/* -------------------------------------------------------------------------
|
531 |
|
532 |
// break string into array of characters, we can't use string_split because its php5 only
|
533 |
$split = preg_split('||', $string);
|
534 |
+
$out = '<span id="'. $element_id . '"></span>'
|
535 |
+
. '<script type="text/javascript">' . 'document.getElementById("' . $element_id . '").innerHTML = ev' . 'al(decodeURIComponent("';
|
536 |
|
537 |
+
foreach ($split as $c) {
|
538 |
+
// preg split will return empty first and last characters, check for them and ignore
|
539 |
+
if (!empty($c)) {
|
540 |
+
$out .= '%' . dechex(ord($c));
|
541 |
+
}
|
542 |
+
}
|
543 |
|
544 |
+
$out .= '"))' . '</script><noscript>'
|
545 |
+
. $protection_text
|
546 |
+
. '</noscript>';
|
547 |
|
548 |
return $out;
|
549 |
}
|
584 |
} // end class Eeb_Site
|
585 |
|
586 |
endif;
|
|
|
|
includes/deprecated.php
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
/**
|
4 |
* Deprecated template Functions
|
5 |
*
|
@@ -7,6 +6,11 @@
|
|
7 |
* @category WordPress Plugins
|
8 |
*/
|
9 |
|
|
|
|
|
|
|
|
|
|
|
10 |
/**
|
11 |
* Template function for encoding email
|
12 |
*
|
@@ -58,5 +62,3 @@ if (!function_exists('encode_email_filter')):
|
|
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
|
|
|
2 |
/**
|
3 |
* Deprecated template Functions
|
4 |
*
|
6 |
* @category WordPress Plugins
|
7 |
*/
|
8 |
|
9 |
+
// this is an include only WP file
|
10 |
+
if (!defined('ABSPATH')) {
|
11 |
+
die;
|
12 |
+
}
|
13 |
+
|
14 |
/**
|
15 |
* Template function for encoding email
|
16 |
*
|
62 |
return eeb_email_filter($content, $enc_tags, $enc_mailtos, $enc_plain_emails);
|
63 |
}
|
64 |
endif;
|
|
|
|
includes/template-functions.php
CHANGED
@@ -1,11 +1,16 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
/**
|
4 |
* Template Functions
|
5 |
*
|
6 |
* @package Email_Encoder_Bundle
|
7 |
* @category WordPress Plugins
|
8 |
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
if (!is_admin()):
|
10 |
|
11 |
/**
|
@@ -69,5 +74,3 @@ if (!is_admin()):
|
|
69 |
endif;
|
70 |
|
71 |
endif;
|
72 |
-
|
73 |
-
/* ommit PHP closing tag, to prevent unwanted whitespace at the end of the parts generated by the included files */
|
1 |
+
<?php
|
|
|
2 |
/**
|
3 |
* Template Functions
|
4 |
*
|
5 |
* @package Email_Encoder_Bundle
|
6 |
* @category WordPress Plugins
|
7 |
*/
|
8 |
+
|
9 |
+
// this is an include only WP file
|
10 |
+
if (!defined('ABSPATH')) {
|
11 |
+
die;
|
12 |
+
}
|
13 |
+
|
14 |
if (!is_admin()):
|
15 |
|
16 |
/**
|
74 |
endif;
|
75 |
|
76 |
endif;
|
|
|
|
languages/email-encoder-bundle-nl_NL.mo
DELETED
Binary file
|
languages/email-encoder-bundle-nl_NL.po
DELETED
@@ -1,622 +0,0 @@
|
|
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><a href=\"info@myemail.com\">My "
|
119 |
-
"Email</a></code>"
|
120 |
-
msgstr ""
|
121 |
-
"Bescherm mailto links, zoals bijv. <code><a href=\"info@myemail.com\">"
|
122 |
-
"Mijn Email</a></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><noscript></code> text"
|
220 |
-
msgstr "Zet <code><noscript></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><noscript></code> fallback for JavaScrip methods."
|
232 |
-
msgstr ""
|
233 |
-
"Gebruikt als <code><noscript></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><?php\n"
|
434 |
-
"if (function_exists('eeb_email')) {\n"
|
435 |
-
" echo eeb_email('info@somedomain.com');\n"
|
436 |
-
"}\n"
|
437 |
-
"?></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><?php\n"
|
440 |
-
"if (function_exists('eeb_content')) {\n"
|
441 |
-
" echo eeb_content('Encode this text');\n"
|
442 |
-
"}\n"
|
443 |
-
"?></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><?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 |
-
"?></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><?php\n"
|
454 |
-
"if (function_exists('eeb_form')) {\n"
|
455 |
-
" echo eeb_form();\n"
|
456 |
-
"}\n"
|
457 |
-
"?></code></pre>"
|
458 |
-
msgstr ""
|
459 |
-
"<h3>Template Functies</h3><h4>eeb_email()</h4><p>Maak een beschermde mailto "
|
460 |
-
"link:</p><pre><code><?php\n"
|
461 |
-
"if (function_exists('eeb_email')) {\n"
|
462 |
-
" echo eeb_email('info@somedomain.com');\n"
|
463 |
-
"}\n"
|
464 |
-
"?></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><?php\n"
|
468 |
-
"if (function_exists('eeb_content')) {\n"
|
469 |
-
" echo eeb_content('Encode this text');\n"
|
470 |
-
"}\n"
|
471 |
-
"?></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><?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 |
-
"?></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><?"
|
482 |
-
"php\n"
|
483 |
-
"if (function_exists('eeb_form')) {\n"
|
484 |
-
" echo eeb_form();\n"
|
485 |
-
"}\n"
|
486 |
-
"?></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><?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 |
-
"?></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><?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 |
-
"?></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><?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 |
-
"?></code></pre><h4>eeb_email_regexp</h4><p>You can change the regular "
|
519 |
-
"expression used for searching mailto links.</p><pre><code><?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 |
-
"?></code></pre><h4>eeb_form_content</h4><p>Filter for changing the form "
|
526 |
-
"layout.</p><pre><code><?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 <div>-wrapper\n"
|
531 |
-
" return '<div class=\"form-wrapper\">' . $content . '</"
|
532 |
-
"div>';\n"
|
533 |
-
"}\n"
|
534 |
-
"?></code></pre>"
|
535 |
-
msgstr ""
|
536 |
-
"<h3>Filter Hooks</h3><h4>eeb_mailto_regexp</h4><p></p><pre><code><?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 |
-
"?></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><?"
|
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 |
-
"?></code></pre><h4>eeb_form_content</h4><p>Filter for changing the form "
|
551 |
-
"layout.</p><pre><code><?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 <div>-wrapper\n"
|
556 |
-
" return '<div class=\"form-wrapper\">' . $content . '</"
|
557 |
-
"div>';\n"
|
558 |
-
"}\n"
|
559 |
-
"?></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 >>"
|
602 |
-
msgstr "Maak Beschermde Email Link >>"
|
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
DELETED
@@ -1,502 +0,0 @@
|
|
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><a href=\"info@myemail.com\">My "
|
111 |
-
"Email</a></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><noscript></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><noscript></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><?php\n"
|
382 |
-
"if (function_exists('eeb_email')) {\n"
|
383 |
-
" echo eeb_email('info@somedomain.com');\n"
|
384 |
-
"}\n"
|
385 |
-
"?></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><?php\n"
|
388 |
-
"if (function_exists('eeb_content')) {\n"
|
389 |
-
" echo eeb_content('Encode this text');\n"
|
390 |
-
"}\n"
|
391 |
-
"?></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><?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 |
-
"?></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><?php\n"
|
402 |
-
"if (function_exists('eeb_form')) {\n"
|
403 |
-
" echo eeb_form();\n"
|
404 |
-
"}\n"
|
405 |
-
"?></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><?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 |
-
"?></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><?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 |
-
"?></code></pre><h4>eeb_email_regexp</h4><p>You can change the regular "
|
430 |
-
"expression used for searching mailto links.</p><pre><code><?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 |
-
"?></code></pre><h4>eeb_form_content</h4><p>Filter for changing the form "
|
437 |
-
"layout.</p><pre><code><?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 <div>-wrapper\n"
|
442 |
-
" return '<div class=\"form-wrapper\">' . $content . '</"
|
443 |
-
"div>';\n"
|
444 |
-
"}\n"
|
445 |
-
"?></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 >>"
|
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
@@ -1,15 +1,18 @@
|
|
1 |
-
=== Email Encoder
|
2 |
-
Contributors:
|
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:
|
5 |
-
|
6 |
-
|
|
|
|
|
|
|
7 |
|
8 |
-
Encode mailto links, email addresses, phone numbers
|
9 |
|
10 |
== Description ==
|
11 |
|
12 |
-
Encode mailto links, email addresses, phone numbers
|
13 |
|
14 |
= Features =
|
15 |
* Protect mailto links and plain email addresses
|
@@ -24,32 +27,30 @@ After activating the plugin all mailto links will be protected automatically.
|
|
24 |
You could use shortcodes or template functions to protect plain email addresses, phone numbers or other text.
|
25 |
|
26 |
= Support =
|
27 |
-
* Documentation - When activated check the
|
28 |
* [FAQ](http://wordpress.org/extend/plugins/email-encoder-bundle/faq/)
|
29 |
-
* [Github](https://github.com/freelancephp/Email-Encoder-Bundle)
|
30 |
|
31 |
= Like this plugin? =
|
32 |
-
[
|
33 |
|
34 |
== Installation ==
|
35 |
|
36 |
1. Go to `Plugins` in the Admin menu
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
|
41 |
== Frequently Asked Questions ==
|
42 |
|
43 |
-
= How can I test if an
|
44 |
|
45 |
First you can enable the plugin option (in the admin panel) called *"Show 'successfully encoded' text for all encoded content, only when logged in as admin user."*.
|
46 |
-
When you are logged in and look on the page there will be a sign on the
|
47 |
|
48 |
The other way is to check the source code yourself by right-clicking on the page and select *Page Source Code* (the exact text depends on the browser).
|
49 |
-
Now your (real) source code will be shown.
|
50 |
|
51 |
-
**Important:** in the element inspector of the browser the
|
52 |
-
a real time representation of the page. This means an encoded emailaddress is already decoded and made usable for the visistor of the page.
|
53 |
|
54 |
= How do I encode my email address(es)? =
|
55 |
|
@@ -79,14 +80,14 @@ There are 2 ways to solve this problem:
|
|
79 |
1. Turn off the option "Replace plain email addresses to protected mailto links". Keep in mind that this will be the case for the whole site.
|
80 |
1. Add the page ID of the form to the option "Do not apply Auto-Protect on posts with ID". The page content will be skipped by the plugin.
|
81 |
|
82 |
-
= How to use email
|
83 |
|
84 |
You will have to use the template function `eeb_email()` or `eeb_content()`.
|
85 |
For example, if your template contains:
|
86 |
-
`echo get_post_meta($post->ID, '
|
87 |
|
88 |
Then change it to:
|
89 |
-
`$emailaddress = get_post_meta($post->ID, '
|
90 |
echo eeb_email($emailaddress, 'Mail Me');`
|
91 |
|
92 |
= How to create mailto links that opens in a new window? =
|
@@ -94,7 +95,7 @@ echo eeb_email($emailaddress, 'Mail Me');`
|
|
94 |
You could add extra params to the mailto link and add `target='_blank'` for opening them in a new window, like:
|
95 |
`[eeb_email email="yourmail@test.nl" display="My Mail" extra_attrs="target='_blank'"]`
|
96 |
|
97 |
-
In
|
98 |
`<a href="mailto:yourmail@test.nl" target="_blank">My Mail</a>`
|
99 |
|
100 |
= How can I encode content of BBPress, WP e-Commerce or other plugins? =
|
@@ -112,14 +113,13 @@ function extra_encode_filters($filter_callback) {
|
|
112 |
|
113 |
= Can I use special characters (like Chinese)? =
|
114 |
|
115 |
-
Yes, since version 1.3.0 also
|
116 |
|
117 |
= How to encode emails in all widgets (and not only text widgets)? =
|
118 |
|
119 |
If the option 'All text widgets' is activated, only text widgets will be filtered for encoding.
|
120 |
It's possible to filter all widgets by using the [Widget Logic Plugin](https://wordpress.org/plugins/widget-logic/) and activate the 'widget_content' filter.
|
121 |
|
122 |
-
[Do you have another question? Please ask me](http://www.freelancephp.net/contact/)
|
123 |
|
124 |
== Screenshots ==
|
125 |
|
@@ -135,6 +135,11 @@ It's possible to filter all widgets by using the [Widget Logic Plugin](https://w
|
|
135 |
|
136 |
== Changelog ==
|
137 |
|
|
|
|
|
|
|
|
|
|
|
138 |
= 1.4.6 =
|
139 |
* Fixed bug retina png and gif images
|
140 |
|
1 |
+
=== Email Encoder - Protect Email Address ===
|
2 |
+
Contributors: WebFactory, UnderConstructionPage, googlemapswidget, securityninja, wpreset
|
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: 4.0
|
5 |
+
Requires PHP: 5.1
|
6 |
+
Tested up to: 5.1
|
7 |
+
Stable tag: 1.5
|
8 |
+
License: GPLv2 or later
|
9 |
+
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
+
Encode mailto links, email addresses, phone numbers or any text to hide it from spam-bots. Mailto links are protected automatically.
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
+
Encode mailto links, email addresses, phone numbers or any text to hide it from spam-bots and data harvesters.
|
16 |
|
17 |
= Features =
|
18 |
* Protect mailto links and plain email addresses
|
27 |
You could use shortcodes or template functions to protect plain email addresses, phone numbers or other text.
|
28 |
|
29 |
= Support =
|
30 |
+
* Documentation - When activated check the Help tab on the plugin options page
|
31 |
* [FAQ](http://wordpress.org/extend/plugins/email-encoder-bundle/faq/)
|
|
|
32 |
|
33 |
= Like this plugin? =
|
34 |
+
[Please Review it](http://wordpress.org/support/view/plugin-reviews/email-encoder-bundle)
|
35 |
|
36 |
== Installation ==
|
37 |
|
38 |
1. Go to `Plugins` in the Admin menu
|
39 |
+
2. Click on the button `Add new`
|
40 |
+
3. Search for `Email Encoder` and click 'Install Now' or click on the `upload` link to upload `email-encode-bundle.zip`
|
41 |
+
4. Click on `Activate plugin`
|
42 |
|
43 |
== Frequently Asked Questions ==
|
44 |
|
45 |
+
= How can I test if an email address (or other content) is encoded? =
|
46 |
|
47 |
First you can enable the plugin option (in the admin panel) called *"Show 'successfully encoded' text for all encoded content, only when logged in as admin user."*.
|
48 |
+
When you are logged in and look on the page there will be a sign on the right side of the email address confirming it was successfully encoded.
|
49 |
|
50 |
The other way is to check the source code yourself by right-clicking on the page and select *Page Source Code* (the exact text depends on the browser).
|
51 |
+
Now your (real) source code will be shown. Your email address should not be shown in a readable way in the source.
|
52 |
|
53 |
+
**Important:** in the element inspector of the browser the email address is *always* shown, so don't worry about that. That is because the inspector shows a real time representation of the page. This means an encoded email address is already decoded and made usable for the visitor of the page.
|
|
|
54 |
|
55 |
= How do I encode my email address(es)? =
|
56 |
|
80 |
1. Turn off the option "Replace plain email addresses to protected mailto links". Keep in mind that this will be the case for the whole site.
|
81 |
1. Add the page ID of the form to the option "Do not apply Auto-Protect on posts with ID". The page content will be skipped by the plugin.
|
82 |
|
83 |
+
= How to use email encoding in Custom Fields? =
|
84 |
|
85 |
You will have to use the template function `eeb_email()` or `eeb_content()`.
|
86 |
For example, if your template contains:
|
87 |
+
`echo get_post_meta($post->ID, 'email address', true);`
|
88 |
|
89 |
Then change it to:
|
90 |
+
`$emailaddress = get_post_meta($post->ID, 'email address', true);
|
91 |
echo eeb_email($emailaddress, 'Mail Me');`
|
92 |
|
93 |
= How to create mailto links that opens in a new window? =
|
95 |
You could add extra params to the mailto link and add `target='_blank'` for opening them in a new window, like:
|
96 |
`[eeb_email email="yourmail@test.nl" display="My Mail" extra_attrs="target='_blank'"]`
|
97 |
|
98 |
+
In HTML this will look like:
|
99 |
`<a href="mailto:yourmail@test.nl" target="_blank">My Mail</a>`
|
100 |
|
101 |
= How can I encode content of BBPress, WP e-Commerce or other plugins? =
|
113 |
|
114 |
= Can I use special characters (like Chinese)? =
|
115 |
|
116 |
+
Yes, since version 1.3.0 also special characters are supported.
|
117 |
|
118 |
= How to encode emails in all widgets (and not only text widgets)? =
|
119 |
|
120 |
If the option 'All text widgets' is activated, only text widgets will be filtered for encoding.
|
121 |
It's possible to filter all widgets by using the [Widget Logic Plugin](https://wordpress.org/plugins/widget-logic/) and activate the 'widget_content' filter.
|
122 |
|
|
|
123 |
|
124 |
== Screenshots ==
|
125 |
|
135 |
|
136 |
== Changelog ==
|
137 |
|
138 |
+
= 1.5 =
|
139 |
+
* 2019-03-25
|
140 |
+
* minor bug fixes
|
141 |
+
* 161,000 downloads; 30,000 installs
|
142 |
+
|
143 |
= 1.4.6 =
|
144 |
* Fixed bug retina png and gif images
|
145 |
|
screenshot-1.png
DELETED
Binary file
|
screenshot-2.png
DELETED
Binary file
|
screenshot-3.png
DELETED
Binary file
|