| 1 |
<?php |
| 2 |
/** |
| 3 |
* Data-collection consent notice. |
| 4 |
* |
| 5 |
* @package ULTP\Notice |
| 6 |
* |
| 7 |
* @var \ULTP\Includes\Notice\Consent_Notice $notice |
| 8 |
*/ |
| 9 |
|
| 10 |
defined( 'ABSPATH' ) || exit; |
| 11 |
?> |
| 12 |
<div class="ultp-consent-box ultp-notice-wrapper notice data_collection_notice"> |
| 13 |
<div class="ultp-consent-content"> |
| 14 |
<div class="ultp-consent-text"> |
| 15 |
<div class="ultp-consent-text-first"><?php esc_html_e( 'Want to help make PostX even more awesome?', 'ultimate-post' ); ?></div> |
| 16 |
<div class="ultp-consent-text-last"> |
| 17 |
<?php esc_html_e( 'Allow us to collect diagnostic data and usage information. see ', 'ultimate-post' ); ?> |
| 18 |
<a href="https://www.wpxpo.com/data-collection-policy/" target="_blank" ><?php esc_html_e( 'what we collect.', 'ultimate-post' ); ?></a> |
| 19 |
</div> |
| 20 |
</div> |
| 21 |
<a |
| 22 |
class="ultp-consent-accept" |
| 23 |
href="<?php echo esc_url( $notice->get_accept_url() ); ?>" |
| 24 |
><?php esc_html_e( 'Accept & Close', 'ultimate-post' ); ?></a> |
| 25 |
</div> |
| 26 |
<a href="<?php echo esc_url( $notice->get_close_url() ); ?>" |
| 27 |
class="ultp-notice-close" |
| 28 |
style=" |
| 29 |
position: absolute; |
| 30 |
right: 2px; |
| 31 |
top: 5px; |
| 32 |
text-decoration: unset; |
| 33 |
color: #b6b6b6; |
| 34 |
font-family: dashicons; |
| 35 |
font-size: 16px; |
| 36 |
font-style: normal; |
| 37 |
font-weight: 400; |
| 38 |
line-height: 20px; |
| 39 |
" |
| 40 |
> |
| 41 |
<span |
| 42 |
style="font-size: 14px;" |
| 43 |
class="ultp-notice-close-icon dashicons dashicons-dismiss"> </span></a> |
| 44 |
</div> |
| 45 |
|