gdpr-ad.php
82 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Template for GDPR side bar ad in settings page. |
| 4 | * |
| 5 | * @package GoogleAnalytics |
| 6 | */ |
| 7 | |
| 8 | if (!defined('ABSPATH')) exit; |
| 9 | ?> |
| 10 | <div class="sidebar-ad"> |
| 11 | <div id="gdpr-ad"> |
| 12 | <h2 style="text-decoration: underline;"> |
| 13 | <?php esc_html_e( 'Check out our new GDPR Compliance Tool!', 'googleanalytics' ); ?> |
| 14 | </h2> |
| 15 | <div class="row"> |
| 16 | <div class="col-md-12"> |
| 17 | <img width="600px;" src="<?php echo esc_url( $plugin_uri . 'assets/images/gdpr-ex.png' ); ?>" /> |
| 18 | </div> |
| 19 | <div class="col-md-6"> |
| 20 | <h3><?php esc_html_e( 'Confirm Consent', 'googleanalytics' ); ?></h3> |
| 21 | <p> |
| 22 | <?php |
| 23 | esc_html_e( |
| 24 | 'A simple and streamlined way to confirm a user’s initial acceptance or rejection of cookie collection', |
| 25 | 'googleanalytics' |
| 26 | ); |
| 27 | ?> |
| 28 | </p> |
| 29 | </div> |
| 30 | <div class="col-md-6"> |
| 31 | <h3><?php esc_html_e( 'Select Purpose', 'googleanalytics' ); ?></h3> |
| 32 | <p> |
| 33 | <?php |
| 34 | esc_html_e( |
| 35 | 'A transparent system of verifying the intent of collecting a user’s cookies, and giving the option to opt in or out', |
| 36 | 'googleanalytics' |
| 37 | ); |
| 38 | ?> |
| 39 | </p> |
| 40 | </div> |
| 41 | </div> |
| 42 | <div class="row"> |
| 43 | <div class="col-md-6"> |
| 44 | <h3><?php esc_html_e( 'Indicate Company', 'googleanalytics' ); ?></h3> |
| 45 | <p> |
| 46 | <?php |
| 47 | esc_html_e( |
| 48 | 'A comprehensive record of company-level information that allows users to monitor and control the recipients of cookie collection', |
| 49 | 'googleanalytics' |
| 50 | ); |
| 51 | ?> |
| 52 | </p> |
| 53 | </div> |
| 54 | <div class="col-md-6"> |
| 55 | <h3><?php esc_html_e( 'Access Data Rights', 'googleanalytics' ); ?></h3> |
| 56 | <p> |
| 57 | <?php |
| 58 | esc_html_e( |
| 59 | 'A centralized database where users can review the latest privacy policies and information pertaining to their cookie collection', |
| 60 | 'googleanalytics' |
| 61 | ); |
| 62 | ?> |
| 63 | </p> |
| 64 | </div> |
| 65 | </div> |
| 66 | <div class="row register-section"> |
| 67 | <?php if ( true === Ga_Helper::are_features_enabled() ) : ?> |
| 68 | <td> |
| 69 | <button class="gdpr-enable"><?php esc_html_e( 'Enable', 'googleanalytics' ); ?></button> |
| 70 | </td> |
| 71 | <?php else : ?> |
| 72 | <td> |
| 73 | <label class="<?php echo esc_attr( false === Ga_Helper::are_features_enabled() ? 'label-grey ga-tooltip' : '' ); ?>"> |
| 74 | <button class="gdpr-enable" disabled="disabled"><?php esc_html_e( 'Enable', 'googleanalytics' ); ?></button> |
| 75 | <span class="ga-tooltiptext ga-tt-abs"><?php echo esc_html( $tooltip ); ?></span> |
| 76 | </label> |
| 77 | </td> |
| 78 | <?php endif; ?> |
| 79 | </div> |
| 80 | </div> |
| 81 | </div> |
| 82 |