PluginProbe
Cookiebot by Usercentrics – Automatic Cookie Banner for GDPR/CCPA & Google Consent Mode / 4.5.6
Cookiebot by Usercentrics – Automatic Cookie Banner for GDPR/CCPA & Google Consent Mode v4.5.6
4.7.3 4.7.2 4.7.1 trunk 2.3.0 2.4.0 2.4.1 2.4.2 2.5.0 3.0.0 3.0.1 3.1.0 3.10.0 3.10.1 3.11.1 3.11.2 3.11.3 3.2.0 3.3.0 3.3.1 3.4.0 3.4.1 3.4.2 3.5.0 3.6.0 All 93 releases
cookiebot / src / view / admin / uc_frame / settings / additional-page.php

additional-page.php in Cookiebot by Usercentrics – Automatic Cookie Banner for GDPR/CCPA & Google Consent Mode 4.5.6, at src/view/admin/uc_frame/settings/additional-page.php

71 lines 2.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * @var bool $is_ms
4 * @var string $network_scrip_tag_cd_attr
5 */
6 ?>
7 <div class="cb-settings__config__item">
8 <div class="cb-settings__config__content">
9 <h3 class="cb-settings__config__subtitle">
10 <?php esc_html_e( 'Automatic updates', 'cookiebot' ); ?>
11 </h3>
12 <p class="cb-general__info__text">
13 <?php esc_html_e( 'Enable automatic updates whenever we release a new version of the plugin.', 'cookiebot' ); ?>
14 </p>
15 </div>
16 <div class="cb-settings__config__data">
17 <div class="cb-settings__config__data__inner">
18 <label class="switch-checkbox" for="cookiebot-autoupdate">
19 <input id="cookiebot-autoupdate" type="checkbox" name="cookiebot-autoupdate" value="1"
20 <?php
21 checked(
22 1,
23 get_option( 'cookiebot-autoupdate', false )
24 );
25 ?>
26 />
27 <div class="switcher"></div>
28 <?php esc_html_e( 'Automatically update to new version', 'cookiebot' ); ?>
29 </label>
30 </div>
31 </div>
32 </div>
33
34 <div class="cb-settings__config__item">
35 <div class="cb-settings__config__content">
36 <h3 class="cb-settings__config__subtitle">
37 <?php esc_html_e( 'Show banner on site', 'cookiebot' ); ?>
38 </h3>
39 <p class="cb-general__info__text">
40 <?php esc_html_e( 'You can choose to display or hide the consent banner on your website.', 'cookiebot' ); ?>
41 </p>
42 </div>
43 <div class="cb-settings__config__data">
44 <div class="cb-settings__config__data__inner">
45 <label class="switch-checkbox" for="cookiebot-banner-enabled">
46 <?php
47 $disabled = false;
48 if ( $is_ms && get_site_option( 'cookiebot-banner-enabled' ) ) {
49 echo '<input type="checkbox" checked disabled />';
50 $disabled = true;
51 } else {
52 ?>
53 <input id="cookiebot-banner-enabled" type="checkbox"
54 name="cookiebot-banner-enabled" value="1"
55 <?php
56 checked(
57 1,
58 get_option( 'cookiebot-banner-enabled', false )
59 );
60 ?>
61 />
62 <?php
63 }
64 ?>
65 <div class="switcher"></div>
66 <?php esc_html_e( 'Show banner on site', 'cookiebot' ); ?>
67 </label>
68 </div>
69 </div>
70 </div>
71