PluginProbe ʕ •ᴥ•ʔ
Matomo Analytics – Powerful, Privacy-First Insights for WordPress / 5.0.7
Matomo Analytics – Powerful, Privacy-First Insights for WordPress v5.0.7
5.11.1 5.11.0 5.10.2 5.10.1 trunk 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.1.0 1.1.1 1.1.2 1.1.3 1.2.0 1.3.0 1.3.1 1.3.2 4.0.0 4.0.1 4.0.2 4.0.3 4.0.4 4.1.0 4.1.1 4.1.2 4.1.3 4.10.0 4.11.0 4.12.0 4.13.0 4.13.2 4.13.3 4.13.4 4.13.5 4.14.0 4.14.1 4.14.2 4.15.0 4.15.1 4.15.2 4.15.3 4.2.0 4.3.0 4.3.1 4.4.1 4.4.2 4.5.0 4.6.0 5.0.1 5.0.2 5.0.3 5.0.4 5.0.5 5.0.6 5.0.7 5.0.8 5.1.0 5.1.1 5.1.2 5.1.3 5.1.4 5.1.5 5.1.6 5.1.7 5.10.0 5.2.0 5.2.1 5.2.2 5.3.0 5.3.1 5.3.2 5.3.3 5.6.0 5.6.1 5.7.0 5.7.1 5.8.0 5.8.1 5.8.2
matomo / classes / WpMatomo / Admin / views / info_newsletter.php
matomo / classes / WpMatomo / Admin / views Last commit date
access.php 2 years ago advanced_settings.php 2 years ago exclusion_settings.php 4 years ago geolocation_settings.php 2 years ago get_started.php 4 years ago import_wp_statistics.php 4 years ago info.php 4 years ago info_bug_report.php 2 years ago info_help.php 4 years ago info_high_traffic.php 2 years ago info_multisite.php 2 years ago info_newsletter.php 4 years ago info_shared.php 4 years ago marketplace.php 2 years ago marketplace_setup_wizard.php 2 years ago measurable_settings.php 2 years ago privacy_gdpr.php 4 years ago scheduled_tasks_failures.php 2 years ago settings.php 4 years ago settings_errors.php 4 years ago summary.php 4 years ago systemreport.php 2 years ago tracking.php 3 years ago update_notice_clear_cache.php 5 years ago
info_newsletter.php
47 lines
1 <?php
2 /**
3 * Matomo - free/libre analytics platform
4 *
5 * @link https://matomo.org
6 * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
7 * @package matomo
8 */
9
10 use WpMatomo\Admin\Info;
11
12 if ( ! defined( 'ABSPATH' ) ) {
13 exit;
14 }
15 /** @var bool $signedup_newsletter */
16 /** @var bool $show_newsletter */
17
18 if ( $signedup_newsletter ) {
19 ?>
20 <div class="notice notice-success is-dismissible">
21 <p><?php esc_html_e( 'Thank you for signing up to our newsletter.', 'matomo' ); ?></p>
22 </div>
23 <?php
24 return;
25 }
26 if ( ! $show_newsletter ) {
27 return;
28 }
29 ?>
30
31 <div class="notice notice-success">
32 <h2><?php esc_html_e( 'Newsletter', 'matomo' ); ?></h2>
33 <form method="post">
34 <p>
35 <?php wp_nonce_field( Info::NONCE_NAME ); ?>
36 <input type="checkbox" id="<?php echo esc_attr( Info::FORM_NAME ); ?>" name="<?php echo esc_attr( Info::FORM_NAME ); ?>" value="1">
37 <label for="<?php echo esc_attr( Info::FORM_NAME ); ?>">
38 <?php esc_html_e( 'Subscribe to our newsletter to receive regular information about Matomo, web analytics, and privacy. You can unsubscribe from it any time.', 'matomo' ); ?>
39 <?php esc_html_e( 'This service uses MadMimi.', 'matomo' ); ?>
40 <?php echo sprintf( esc_html__( 'Learn more about it on our %1$sPrivacy Policy page%2$s.', 'matomo' ), '<a href="https://matomo.org/privacy-policy/" target="_blank" rel="noreferrer noopener">', '</a>' ); ?>
41 </label>
42 <br><br>
43 <input type="submit" class="button-secondary" value="<?php esc_attr_e( 'Subscribe', 'matomo' ); ?>">
44 </p>
45 </form>
46 </div>
47