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