prior-consent
4 years ago
debug-page.php
4 years ago
gtm-page.php
4 years ago
iab-page.php
4 years ago
legislations-page.php
4 years ago
network-settings-page.php
4 years ago
settings-page.php
4 years ago
support-page.php
4 years ago
legislations-page.php
52 lines
| 1 | <div class="wrap"> |
| 2 | <h1><?php esc_html_e( 'Legislations', 'cookiebot' ); ?></h1> |
| 3 | |
| 4 | <p> |
| 5 | <?php |
| 6 | echo sprintf( |
| 7 | /* translators: The first placeholder is the HTML anchor open tag, and the second placeholder is the closing tag. */ |
| 8 | esc_html__( |
| 9 | 'For more details about Cookiebot\'s CCPA Legislation integration, see %1$sarticle about cookiebot and the CCPA compliance%2$s', |
| 10 | 'cookiebot' |
| 11 | ), |
| 12 | '<a href="https://support.cookiebot.com/hc/en-us/articles/360010932419-Use-multiple-banners-on-the-same-website-support-both-CCPA-GDPR-compliance-" target="_blank">', |
| 13 | '</a>' |
| 14 | ); |
| 15 | ?> |
| 16 | </p> |
| 17 | |
| 18 | <form method="post" action="options.php"> |
| 19 | <?php settings_fields( 'cookiebot-legislations' ); ?> |
| 20 | <?php do_settings_sections( 'cookiebot-legislations' ); ?> |
| 21 | |
| 22 | |
| 23 | <table class="form-table"> |
| 24 | <tbody> |
| 25 | <tr> |
| 26 | <th scope="row"> |
| 27 | <label><?php esc_html_e( 'Enable CCPA configuration for visitors from California', 'cookiebot' ); ?></label> |
| 28 | </th> |
| 29 | <td> |
| 30 | <input |
| 31 | type="checkbox" |
| 32 | name="cookiebot-ccpa" |
| 33 | value="1" <?php checked( 1, esc_attr( get_option( 'cookiebot-ccpa' ) ) ); ?>> |
| 34 | </td> |
| 35 | </tr> |
| 36 | <tr> |
| 37 | <th><label><?php esc_html_e( 'Domain Group ID', 'cookiebot' ); ?></label></th> |
| 38 | <td> |
| 39 | <input |
| 40 | type="text" |
| 41 | style="width: 300px;" |
| 42 | name="cookiebot-ccpa-domain-group-id" |
| 43 | value="<?php echo esc_attr( get_option( 'cookiebot-ccpa-domain-group-id' ) ); ?>"> |
| 44 | </td> |
| 45 | </tr> |
| 46 | </tbody> |
| 47 | </table> |
| 48 | |
| 49 | <?php submit_button(); ?> |
| 50 | </form> |
| 51 | </div> |
| 52 |