PluginProbe ʕ •ᴥ•ʔ
Cookiebot by Usercentrics – Automatic Cookie Banner for GDPR/CCPA & Google Consent Mode / 4.2.6
Cookiebot by Usercentrics – Automatic Cookie Banner for GDPR/CCPA & Google Consent Mode v4.2.6
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 / settings / network-settings-page.php
cookiebot / src / view / admin / settings Last commit date
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
network-settings-page.php
277 lines
1 <?php
2 use cybot\cookiebot\settings\templates\Header;
3 use cybot\cookiebot\settings\templates\Main_Tabs;
4 /**
5 * @var string $logo
6 * @var string $cookiebot_gdpr_url
7 * @var string $cbm
8 */
9
10 $header = new Header();
11 $main_tabs = new Main_Tabs();
12
13 $header->display();
14 ?>
15 <div class="cb-body">
16 <div class="cb-wrapper">
17 <?php $main_tabs->display( 'settings' ); ?>
18 <div class="cb-main__content">
19 <form method="post" action="edit.php?action=cookiebot_network_settings">
20 <?php wp_nonce_field( 'cookiebot-network-settings' ); ?>
21 <div class="cb-settings__header">
22 <h1 class="cb-main__page_title"><?php esc_html_e( 'Network Settings', 'cookiebot' ); ?></h1>
23 <?php submit_button(); ?>
24 </div>
25
26 <div class="cb-settings__tabs">
27 </div>
28
29 <div class="cb-settings__tabs__content">
30 <div class="cb-settings__tabs__content--item active-item">
31 <?php if ( ! esc_attr( get_site_option( 'cookiebot-cbid', '' ) ) ) : ?>
32 <div class="cb-general__new__account">
33 <h2 class="cb-general__info__title"><?php esc_html_e( 'Do you not have an account yet?', 'cookiebot' ); ?></h2>
34 <p class="cb-general__info__text">
35 <?php esc_html_e( 'To use Cookiebot for WordPress you need to visit our website and sign-up. After you have signed up, you can configure your banner and then place the Cookiebot Domain Group ID below. Navigate to Settings and to "Your Scripts" to find your ID.', 'cookiebot' ); ?>
36 </p>
37 <div class="new-account-actions">
38 <a href="#" class="cb-btn cb-main-btn"><?php esc_html_e( 'Create a new Account', 'cookiebot' ); ?></a>
39 <a href="#" class="cb-btn cb-link-btn"><?php esc_html_e( 'Get help with connecting your account', 'cookiebot' ); ?></a>
40 </div>
41 </div>
42 <?php endif; ?>
43
44 <div class="cb-settings__config__item">
45 <div class="cb-settings__config__content">
46 <h3 class="cb-settings__config__subtitle"><?php esc_html_e( 'Network Domain Group:', 'cookiebot' ); ?></h3>
47 <p class="cb-general__info__text">
48 <?php esc_html_e( 'If added this will be the default Cookiebot ID for all subsites. Subsites are able to override the Cookiebot ID.', 'cookiebot' ); ?>
49 </p>
50 <a href="#" class="cb-btn cb-link-btn"><?php esc_html_e( 'Read more on the Domain Group ID', 'cookiebot' ); ?></a>
51 </div>
52 <div class="cb-settings__config__data">
53 <div class="cb-settings__config__data__inner">
54 <h3 class="cb-settings__data__subtitle"><?php esc_html_e( 'Add your Domain Group ID', 'cookiebot' ); ?></h3>
55 <input
56 type="text"
57 name="cookiebot-cbid"
58 value="<?php echo esc_attr( get_site_option( 'cookiebot-cbid', '' ) ); ?>"
59 />
60 </div>
61 </div>
62 </div>
63
64 <div class="cb-settings__config__item">
65 <div class="cb-settings__config__content">
66 <h3 class="cb-settings__config__subtitle"><?php esc_html_e( 'Cookie-blocking mode', 'cookiebot' ); ?></h3>
67 <p class="cb-general__info__text">
68 <?php esc_html_e( 'Select your cookie-blocking mode here. Auto cookie-blocking mode will automatically block all cookies (except for ‘strictly necessary’ cookies) until a user has given consent. Manual cookie-blocking mode requests manual adjustments to the cookie-setting scripts. Please find our implementation guides below:', 'cookiebot' ); ?>
69 </p>
70 </div>
71 <div class="cb-settings__config__data">
72 <div class="cb-settings__config__data__inner">
73 <h3 class="cb-settings__data__subtitle"><?php esc_html_e( 'Select the Cookie-blocking mode', 'cookiebot' ); ?></h3>
74 <label class="recommended-item">
75 <input <?php checked( 'auto', $cbm ); ?>
76 type="radio"
77 name="cookiebot-cookie-blocking-mode"
78 value="auto"
79 />
80 <?php esc_html_e( 'Automatic cookie-blocking mode', 'cookiebot' ); ?>
81 </label>
82 <label>
83 <input <?php checked( 'manual', $cbm ); ?>
84 type="radio"
85 name="cookiebot-cookie-blocking-mode"
86 value="manual"
87 />
88 <?php esc_html_e( 'Manual cookie-blocking mode', 'cookiebot' ); ?>
89 </label>
90 </div>
91 </div>
92 </div>
93
94 <div class="cb-settings__config__item secondary__item" id="declaration-tag">
95 <div class="cb-settings__config__content">
96 <h3 class="cb-settings__config__subtitle"><?php esc_html_e( 'Cookiebot™ script tag', 'cookiebot' ); ?></h3>
97 <p class="cb-general__info__note">
98 <?php esc_html_e( 'Depending on Cookie-blocking mode', 'cookiebot' ); ?>
99 </p>
100 <p class="cb-general__info__note">
101 <?php esc_html_e( 'Setting will apply for all subsites. Subsites will not be able to override.', 'cookiebot' ); ?>
102 </p>
103 <p class="cb-general__info__text">
104 <?php esc_html_e( 'Add async or defer attribute to Cookie banner script tag. Default: Choose per subsite', 'cookiebot' ); ?>
105 </p>
106 </div>
107 <div class="cb-settings__config__data">
108 <div class="cb-settings__config__data__inner">
109 <?php
110 $cv = get_site_option( 'cookiebot-script-tag-uc-attribute', 'custom' );
111 ?>
112 <label>
113 <input
114 type="radio"
115 name="cookiebot-script-tag-uc-attribute"
116 value="" <?php checked( '', $cv ); ?> />
117 <?php esc_html_e( 'None', 'cookiebot' ); ?>
118 </label>
119 <label>
120 <input
121 type="radio"
122 name="cookiebot-script-tag-uc-attribute"
123 value="async" <?php checked( 'async', $cv ); ?> />
124 async
125 </label>
126 <label>
127 <input
128 type="radio"
129 name="cookiebot-script-tag-uc-attribute"
130 value="defer" <?php checked( 'defer', $cv ); ?> />
131 defer
132 </label>
133 <label>
134 <input
135 type="radio"
136 name="cookiebot-script-tag-uc-attribute"
137 value="custom" <?php checked( 'custom', $cv ); ?> />
138 <?php esc_html_e( 'Choose per subsite', 'cookiebot' ); ?>
139 </label>
140 </div>
141 </div>
142 </div>
143
144 <div class="cb-settings__config__item">
145 <div class="cb-settings__config__content">
146 <h3 class="cb-settings__config__subtitle"><?php esc_html_e( 'Cookiebot declaration script tag', 'cookiebot' ); ?></h3>
147 <p class="cb-general__info__note">
148 <?php esc_html_e( 'Setting will apply for all subsites. Subsites will not be able to override.', 'cookiebot' ); ?>
149 </p>
150 <p class="cb-general__info__text">
151 <?php esc_html_e( 'Add async or defer attribute to Cookie declaration script tag. Default: Choose per subsite', 'cookiebot' ); ?>
152 </p>
153 </div>
154 <div class="cb-settings__config__data">
155 <div class="cb-settings__config__data__inner">
156 <?php
157 $cv = get_site_option( 'cookiebot-script-tag-cd-attribute', 'custom' );
158 ?>
159 <label>
160 <input
161 type="radio"
162 name="cookiebot-script-tag-cd-attribute"
163 value="" <?php checked( '', $cv ); ?> />
164 <?php esc_html_e( 'None', 'cookiebot' ); ?>
165 </label>
166 <label>
167 <input
168 type="radio"
169 name="cookiebot-script-tag-cd-attribute"
170 value="async" <?php checked( 'async', $cv ); ?> />
171 async
172 </label>
173 <label>
174 <input
175 type="radio"
176 name="cookiebot-script-tag-cd-attribute"
177 value="defer" <?php checked( 'defer', $cv ); ?> />
178 defer
179 </label>
180 <label>
181 <input
182 type="radio"
183 name="cookiebot-script-tag-cd-attribute"
184 value="custom" <?php checked( 'custom', $cv ); ?> />
185 <?php esc_html_e( 'Choose per subsite', 'cookiebot' ); ?>
186 </label>
187 </div>
188 </div>
189 </div>
190
191 <div class="cb-settings__config__item">
192 <div class="cb-settings__config__content">
193 <h3 class="cb-settings__config__subtitle"><?php esc_html_e( 'Auto-update Cookiebot™ Plugin:', 'cookiebot' ); ?></h3>
194 <p class="cb-general__info__text">
195 <?php esc_html_e( 'Automatically update your Cookiebot™ plugin when new releases becomes available.', 'cookiebot' ); ?>
196 </p>
197 </div>
198 <div class="cb-settings__config__data">
199 <div class="cb-settings__config__data__inner">
200 <label class="switch-checkbox" for="cookiebot-autoupdate">
201 <input id="cookiebot-autoupdate" type="checkbox" name="cookiebot-autoupdate" value="1"
202 <?php
203 checked(
204 1,
205 get_site_option( 'cookiebot-autoupdate' )
206 );
207 ?>
208 />
209 <div class="switcher"></div>
210 <?php esc_html_e( 'Automatically update Cookiebot Plugin', 'cookiebot' ); ?>
211 </label>
212 </div>
213 </div>
214 </div>
215
216 <div class="cb-settings__config__item" id="cookie-popup">
217 <div class="cb-settings__config__content">
218 <h3 class="cb-settings__config__subtitle"><?php esc_html_e( 'Hide cookie popup', 'cookiebot' ); ?></h3>
219 <p class="cb-general__info__note">
220 <?php esc_html_e( 'Setting will apply for all subsites. Subsites will not be able to override.', 'cookiebot' ); ?>
221 </p>
222 <p class="cb-general__info__text">
223 <?php esc_html_e( 'This checkbox will remove the cookie consent banner from your website. The declaration shortcode will still be available. If you are using Google Tag Manager (or equal), you need to add the Cookiebot script in your Tag Manager.', 'cookiebot' ); ?>
224 </p>
225 </div>
226 <div class="cb-settings__config__data">
227 <div class="cb-settings__config__data__inner">
228 <label class="switch-checkbox" for="cookiebot-nooutput">
229 <input id="cookiebot-nooutput" type="checkbox" name="cookiebot-nooutput" value="1"
230 <?php
231 checked(
232 1,
233 get_site_option( 'cookiebot-nooutput', false )
234 );
235 ?>
236 />
237 <div class="switcher"></div>
238 <?php esc_html_e( 'Hide the cookie popup banner', 'cookiebot' ); ?>
239 </label>
240 </div>
241 </div>
242 </div>
243
244 <div class="cb-settings__config__item">
245 <div class="cb-settings__config__content">
246 <h3 class="cb-settings__config__subtitle"><?php esc_html_e( 'Cookiebot CMP in WP Admin:', 'cookiebot' ); ?></h3>
247 <p class="cb-general__info__note">
248 <?php esc_html_e( 'Setting will apply for all subsites. Subsites will not be able to override.', 'cookiebot' ); ?>
249 </p>
250 <p class="cb-general__info__text">
251 <?php esc_html_e( 'This checkbox will disable Cookiebot to act within the WordPress Admin area', 'cookiebot' ); ?>
252 </p>
253 </div>
254 <div class="cb-settings__config__data">
255 <div class="cb-settings__config__data__inner">
256 <label class="switch-checkbox" for="cookiebot-nooutput-admin">
257 <input id="cookiebot-nooutput-admin" type="checkbox" name="cookiebot-nooutput-admin" value="1"
258 <?php
259 checked(
260 1,
261 get_site_option( 'cookiebot-nooutput-admin' )
262 );
263 ?>
264 />
265 <div class="switcher"></div>
266 <?php esc_html_e( 'Disable Cookiebot CMP in the WordPress Admin area', 'cookiebot' ); ?>
267 </label>
268 </div>
269 </div>
270 </div>
271 </div>
272 </div>
273 </form>
274 </div>
275 </div>
276 </div>
277