PluginProbe ʕ •ᴥ•ʔ
Cookiebot by Usercentrics – Automatic Cookie Banner for GDPR/CCPA & Google Consent Mode / 4.4.0
Cookiebot by Usercentrics – Automatic Cookie Banner for GDPR/CCPA & Google Consent Mode v4.4.0
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 3.6.1 3.6.2 3.6.5 3.6.6 3.7.0 3.7.1 3.8.0 3.9.0 4.0.0 4.0.1 4.0.2 4.0.3 4.1.0 4.1.1 4.2.0 4.2.1 4.2.10 4.2.11 4.2.12 4.2.13 4.2.14 4.2.2 4.2.3 4.2.4 4.2.5 4.2.6 4.2.7 4.2.8 4.2.9 4.3.0 4.3.1 4.3.10 4.3.11 4.3.12 4.3.2 4.3.3 4.3.4 4.3.5 4.3.6 4.3.7 4.3.7.1 4.3.8 4.3.9 4.3.9.1 4.4.0 4.4.1 4.4.2 4.5.0 4.5.1 4.5.10 4.5.11 4.5.2 4.5.3 4.5.4 4.5.5 4.5.6 4.5.7 4.5.8 4.5.9 4.6.0 4.6.1 4.6.2 4.6.3 4.6.4 4.6.5 4.6.6 4.6.7 4.7.0
cookiebot / src / view / admin / common / network-settings-page.php
cookiebot / src / view / admin / common Last commit date
prior-consent 1 year ago templates 1 year ago dashboard-page.php 1 year ago network-settings-page.php 1 year ago settings-page.php 1 year ago support-page.php 1 year ago
network-settings-page.php
129 lines
1 <?php
2
3 use cybot\cookiebot\settings\templates\Header;
4 use cybot\cookiebot\settings\templates\Main_Tabs;
5
6 /**
7 * @var string $logo
8 * @var string $cookiebot_gdpr_url
9 * @var string $cbm
10 * @var string $ruleset_id
11 */
12
13 $header = new Header();
14 $main_tabs = new Main_Tabs();
15
16 $header->display();
17 ?>
18 <div class="cb-body">
19 <div class="cb-wrapper">
20 <?php $main_tabs->display( 'settings' ); ?>
21 <div class="cb-main__content">
22 <form method="post" action="edit.php?action=cookiebot_network_settings">
23 <?php wp_nonce_field( 'cookiebot-network-settings' ); ?>
24 <div class="cb-settings__header">
25 <h1 class="cb-main__page_title"><?php esc_html_e( 'Network Settings', 'cookiebot' ); ?></h1>
26 </div>
27
28 <div class="cb-settings__tabs">
29 </div>
30
31 <div class="cb-settings__tabs__content">
32 <div class="cb-settings__tabs__content--item active-item">
33 <?php if ( ! esc_attr( get_site_option( 'cookiebot-cbid', '' ) ) ) : ?>
34 <div class="cb-general__new__account">
35 <h2 class="cb-general__info__title"><?php esc_html_e( 'New to our solutions? Create your account. ', 'cookiebot' ); ?></h2>
36 <p class="cb-general__info__text">
37 <?php esc_html_e( 'If you’re new to our solutions, create an account first to obtain your settings ID.', 'cookiebot' ); ?>
38 </p>
39 <div class="new-account-actions">
40 <a href="https://account.usercentrics.eu/?trial=standard&uc_subscription_type=web&pricing_plan=FreeExtended/?utm_source=wordpress&utm_medium=referral&utm_campaign=banner"
41 target="_blank" class="cb-btn cb-main-btn" rel="noopener">
42 <?php esc_html_e( 'Create your account', 'cookiebot' ); ?>
43 </a>
44 </div>
45 </div>
46 <?php endif; ?>
47
48 <div class="cb-settings__config__item">
49 <div class="cb-settings__config__content">
50 <h3 class="cb-settings__config__subtitle">
51 <?php esc_html_e( 'Connect your account', 'cookiebot' ); ?>
52 </h3>
53 <p class="cb-general__info__text">
54 <?php esc_html_e( 'Enter your settings ID to quickly link your account with the plugin.', 'cookiebot' ); ?>
55 </p>
56 <p class="cb-general__info__text">
57 <?php esc_html_e( 'If added this will be the default account for all subsites. Subsites are able to override this and use their own account.', 'cookiebot' ); ?>
58 </p>
59 <a href="https://support.usercentrics.com/hc/en-us/articles/18097606499100-What-is-a-Settings-ID-and-where-can-I-find-it"
60 target="_blank" class="cb-btn cb-link-btn" rel="noopener">
61 <?php esc_html_e( 'Where to find settings ID', 'cookiebot' ); ?>
62 </a>
63 </div>
64 <div class="cb-settings__config__data">
65 <div class="cb-settings__config__data__inner">
66 <h3 class="cb-settings__data__subtitle">
67 <?php esc_html_e( 'Your settings ID', 'cookiebot' ); ?>
68 </h3>
69 <div class="cookiebot-cbid-container">
70 <div class="cookiebot-cbid-input">
71 <input placeholder="XxxXXXxx"
72 type="text" id="cookiebot-cbid" class="initial-cbid-setup"
73 name="cookiebot-cbid"
74 value="<?php echo esc_attr( get_site_option( 'cookiebot-cbid', '' ) ); ?>"/>
75 <div class="cookiebot-cbid-check <?php echo get_site_option( 'cookiebot-cbid' ) ? 'check-pass' : ''; ?>"></div>
76 </div>
77 <?php submit_button( esc_html__( 'Connect account', 'cookiebot' ), 'disabled' ); ?>
78 </div>
79 </div>
80 </div>
81 </div>
82 <div id="cookiebot-ruleset-id-selector" class="cb-settings__config__item hidden">
83 <div class="cb-settings__config__content">
84 <p class="cb-general__info__text">
85 <?php esc_html_e( 'Let us know if your account is set for compliance with a single privacy law (e.g. GDPR) or multiple laws (e.g. GDPR and CCPA) based on user’s location. The default is a single privacy law, so this is likely your setting unless modified.', 'cookiebot' ); ?>
86 </p>
87 </div>
88 <div class="cb-settings__config__data">
89 <div class="cb-settings__config__data__inner">
90 <h3 class="cb-settings__data__subtitle">
91 <?php esc_html_e( 'Your current account setup:', 'cookiebot' ); ?>
92 </h3>
93 <label class="recommended-item">
94 <input <?php checked( 'settings', $ruleset_id ); ?>
95 type="radio"
96 name="cookiebot-ruleset-id"
97 value="settings"/>
98 <?php esc_html_e( 'Compliance with one privacy law', 'cookiebot' ); ?>
99 </label>
100 <label>
101 <input <?php checked( 'ruleset', $ruleset_id ); ?>
102 type="radio"
103 name="cookiebot-ruleset-id"
104 value="ruleset"/>
105 <?php esc_html_e( 'Compliance with multiple privacy laws (geolocation)', 'cookiebot' ); ?>
106 </label>
107 </div>
108 </div>
109 </div>
110
111 <div>
112 <input type="hidden" name="cookiebot-cookie-blocking-mode"
113 value="<?php echo esc_attr( $cbm ); ?>">
114 <input type="hidden" name="cookiebot-script-tag-uc-attribute"
115 value="<?php echo esc_attr( get_site_option( 'cookiebot-script-tag-uc-attribute', 'custom' ) ); ?>">
116 <input type="hidden" name="cookiebot-script-tag-cd-attribute"
117 value="<?php echo esc_attr( get_site_option( 'cookiebot-script-tag-cd-attribute', 'custom' ) ); ?>">
118 <input type="hidden" name="cookiebot-autoupdate"
119 value="<?php echo esc_attr( get_site_option( 'cookiebot-autoupdate' ) ); ?>">
120 <input type="hidden" name="cookiebot-nooutput"
121 value="<?php echo esc_attr( get_site_option( 'cookiebot-nooutput' ) ); ?>">
122 </div>
123 </div>
124 </div>
125 </form>
126 </div>
127 </div>
128 </div>
129