multiple-configuration
3 years ago
prior-consent
3 years ago
dashboard-page.php
3 years ago
debug-page.php
3 years ago
gtm-page.php
3 years ago
iab-page.php
3 years ago
legislations-page.php
3 years ago
network-settings-page.php
3 years ago
settings-page.php
3 years ago
support-page.php
3 years ago
legislations-page.php
55 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-" ' . |
| 13 | 'target="_blank" rel="noopener">', |
| 14 | '</a>' |
| 15 | ); |
| 16 | ?> |
| 17 | </p> |
| 18 | |
| 19 | <form method="post" action="options.php"> |
| 20 | <?php settings_fields( 'cookiebot-legislations' ); ?> |
| 21 | <?php do_settings_sections( 'cookiebot-legislations' ); ?> |
| 22 | |
| 23 | |
| 24 | <table class="form-table" role="presentation"> |
| 25 | <tbody> |
| 26 | <tr> |
| 27 | <th scope="row"> |
| 28 | <label> |
| 29 | <?php esc_html_e( 'Enable CCPA configuration for visitors from California', 'cookiebot' ); ?> |
| 30 | </label> |
| 31 | </th> |
| 32 | <td> |
| 33 | <input |
| 34 | type="checkbox" |
| 35 | name="cookiebot-ccpa" |
| 36 | value="1" <?php checked( 1, esc_attr( get_option( 'cookiebot-ccpa' ) ) ); ?>> |
| 37 | </td> |
| 38 | </tr> |
| 39 | <tr> |
| 40 | <th><label><?php esc_html_e( 'Domain Group ID', 'cookiebot' ); ?></label></th> |
| 41 | <td> |
| 42 | <input |
| 43 | type="text" |
| 44 | style="width: 300px;" |
| 45 | name="cookiebot-ccpa-domain-group-id" |
| 46 | value="<?php echo esc_attr( get_option( 'cookiebot-ccpa-domain-group-id' ) ); ?>"> |
| 47 | </td> |
| 48 | </tr> |
| 49 | </tbody> |
| 50 | </table> |
| 51 | |
| 52 | <?php submit_button(); ?> |
| 53 | </form> |
| 54 | </div> |
| 55 |