setting-ad-ignore-consent.php
8 years ago
setting-consent-method.php
8 years ago
setting-enable.php
8 years ago
setting-consent-method.php
19 lines
| 1 | <?php |
| 2 | //dynamically show activated cookie consent plugins here |
| 3 | ?> |
| 4 | <ul> |
| 5 | <?php foreach ( $methods as $method => $description ): ?> |
| 6 | <li><label><input type="radio" name="<?php echo Advanced_Ads_Privacy::OPTION_KEY; ?>[consent-method]" value="<?php echo $method; ?>" <?php checked( $method , $current_method ); ?> /><?php echo $description ?></label> |
| 7 | <?php if ( $method === 'custom' ): ?> |
| 8 | <input type="text" name="<?php echo Advanced_Ads_Privacy::OPTION_KEY; ?>[custom-cookie-name]" value="<?php esc_attr_e( $custom_cookie_name ); |
| 9 | ?>" placeholder="<?php _e( 'Name', 'advanced-ads' ); ?>"/> |
| 10 | <label><?php _e( 'contains', 'advanced-ads' ) ?> <input type="text" name="<?php |
| 11 | echo Advanced_Ads_Privacy::OPTION_KEY; ?>[custom-cookie-value]" value="<?php esc_attr_e( $custom_cookie_value ); |
| 12 | ?>" placeholder="<?php _e( 'Value', 'advanced-ads' ); ?>"/> </label> |
| 13 | <?php endif; ?> |
| 14 | </li> |
| 15 | <?php endforeach; ?> |
| 16 | </ul> |
| 17 | |
| 18 | <label><input type="checkbox" name="<?php echo Advanced_Ads_Privacy::OPTION_KEY; ?>[show-non-personalized-adsense]" value="1" <?php checked( $show_non_personalized_adsense, 1 ); ?> /><?php _e( 'Show non-personalized AdSense ads until consent is given.', 'advanced-ads' ); ?></label> |
| 19 |