Changeset 3366362
- Timestamp:
- 09/23/2025 10:09:34 AM (6 months ago)
- Location:
- cookiebot/trunk
- Files:
-
- 1 added
- 8 edited
-
assets/css/backend/dashboard-old.css (modified) (1 diff)
-
assets/img/cb-wp.png (modified) (previous)
-
readme.txt (modified) (1 diff)
-
src/lib/Cookiebot_WP.php (modified) (2 diffs)
-
src/settings/pages/Dashboard_Page.php (modified) (1 diff)
-
src/view/admin/cb_frame/support-page.php (modified) (3 diffs)
-
src/view/admin/common/dashboard-cookiebot.php (added)
-
src/view/admin/common/support-page.php (modified) (1 diff)
-
src/view/admin/common/templates/main-tabs.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
cookiebot/trunk/assets/css/backend/dashboard-old.css
r3270515 r3366362 30 30 display: grid; 31 31 margin-bottom: 30px; 32 } 33 34 .cb-main__dashboard__card__cookiebot { 35 width: 100%; 36 display: grid; 32 37 } 33 38 -
cookiebot/trunk/readme.txt
r3343501 r3366362 197 197 ## Changelog ## 198 198 **Cookiebot CMP Plugin will soon no longer support PHP 5. If your website still runs on this version we recommend upgrading so you can continue enjoying the features Cookiebot CMP offers.** 199 200 ### 4.6.0 ### 201 Release date: September 23rd 2025 202 203 Cookiebot CMP version 4.6.0 is out! This release has a new feature 204 205 ####What's new#### 206 207 * Added a new dashboard for new users to improve onboarding. 208 * Enabled sign-up through Cookiebot for smoother registration. 209 210 ####Improved#### 211 212 * Simplified the account connection process, making it more intuitive. 199 213 200 214 ### 4.5.11 ### -
cookiebot/trunk/src/lib/Cookiebot_WP.php
r3343501 r3366362 360 360 private function set_default_options() { 361 361 $options = array( 362 'cookiebot-nooutput-admin' => '1', 363 'cookiebot-gcm' => '1', 364 'cookiebot-banner-enabled' => '1', 362 'cookiebot-nooutput-admin' => '1', 363 'cookiebot-gcm' => '1', 364 'cookiebot-banner-enabled' => '1', 365 'cookiebot-cookie-blocking-mode' => 'auto', 365 366 ); 366 367 … … 373 374 update_option( $option . self::OPTION_FIRST_RUN_SUFFIX, '1' ); 374 375 } 376 } 377 378 // Safeguard to always garantee the blocking mode has a value. 379 // There is one situation in which this value is cleared after disconnecting an onboarded user account 380 if ( empty( get_option( 'cookiebot-cookie-blocking-mode' ) ) ) { 381 update_option( 'cookiebot-cookie-blocking-mode', 'auto' ); 375 382 } 376 383 -
cookiebot/trunk/src/settings/pages/Dashboard_Page.php
r3343491 r3366362 229 229 } 230 230 231 // Redirect new users to cookiebot dashboard page 232 if ( empty( $cbid ) ) { 233 $args = array( 234 'cbid' => Cookiebot_WP::get_cbid(), 235 'cb_wp' => asset_url( 'img/cb-wp.png' ), 236 'europe_icon' => asset_url( 'img/europe.png' ), 237 'usa_icon' => asset_url( 'img/usa.png' ), 238 'check_icon' => asset_url( 'img/icons/check.svg' ), 239 'link_icon' => asset_url( 'img/icons/link.svg' ), 240 ); 241 242 $style_sheets = array( 243 array( 'cookiebot-dashboard-css', 'css/backend/dashboard-old.css' ), 244 ); 245 246 foreach ( $style_sheets as $style ) { 247 wp_enqueue_style( 248 $style[0], 249 asset_url( $style[1] ), 250 null, 251 Cookiebot_WP::COOKIEBOT_PLUGIN_VERSION 252 ); 253 } 254 255 include_view( Cookiebot_Frame::get_view_path() . 'dashboard-cookiebot.php', $args ); 256 return; 257 } 258 231 259 wp_enqueue_style( 232 260 'cookiebot-dashboard-css', -
cookiebot/trunk/src/view/admin/cb_frame/support-page.php
r3343491 r3366362 77 77 // translators: the first placeholder string will be replaced with a html anchor open tag and the second placeholder string will be replaced by the html anchor closing tag 78 78 esc_html__( 'Log in to your %1$sCookiebot CMP account%2$s.', 'cookiebot' ), 79 '<a href="https:// www.cookiebot.com/en/account/?utm_source=wordpress&utm_medium=referral&utm_campaign=banner" target="_blank" rel="noopener">',79 '<a href="https://admin.cookiebot.com" target="_blank" rel="noopener">', 80 80 '</a>' 81 81 ); … … 86 86 printf( 87 87 // translators: the placeholder strings denote the positions of <b>, </b>, <b> and </b> HTML tags 88 esc_html__( 'Go to %1$s" Settings"%2$s and setup your Cookiebot CMP', 'cookiebot' ),88 esc_html__( 'Go to %1$s"Domains & Aliases"%2$s and setup your Cookiebot CMP', 'cookiebot' ), 89 89 '<b>', 90 90 '</b>' … … 96 96 printf( 97 97 // translators: the placeholder strings denote the positions of <b> and </b> HTML tags 98 esc_html__( 'Go to the %1$s"Your scripts"%2$s tab', 'cookiebot' ), 99 '<b>', 100 '</b>' 101 ); 102 ?> 103 </li> 104 <li><?php esc_html_e( 'Copy the value inside the data-cid parameter - eg.: abcdef12-3456-7890-abcd-ef1234567890', 'cookiebot' ); ?></li> 98 esc_html__( 'Go to %1$s"Implementation"%2$s and scroll down to the %1$s"Installation guides"%2$s section', 'cookiebot' ), 99 '<b>', 100 '</b>' 101 ); 102 ?> 103 </li> 104 <li> 105 <?php 106 printf( 107 // translators: the placeholder strings denote the positions of <b> and </b> HTML tags 108 esc_html__( 'Copy the value of %1$s"Domain group ID"%2$s - eg.: abcdef12-3456-7890-abcd-ef1234567890', 'cookiebot' ), 109 '<b>', 110 '</b>' 111 ); 112 ?> 113 </li> 105 114 <li> 106 115 <?php -
cookiebot/trunk/src/view/admin/common/support-page.php
r3289355 r3366362 57 57 <?php esc_html_e( 'Visit Support Center', 'cookiebot' ); ?> 58 58 </a> 59 <a href="#" onclick="copyDebugInfo();" class="cb-btn cb-secondary-btn" style="margin-left: 20px;"> 60 <?php esc_html_e( 'Copy Debug Info', 'cookiebot' ); ?> 61 </a> 59 60 <?php if ( Cookiebot_Frame::is_cb_frame_type() !== 'empty' ) : ?> 61 <a href="#" onclick="copyDebugInfo();" class="cb-btn cb-secondary-btn" style="margin-left: 20px;"> 62 <?php esc_html_e( 'Copy Debug Info', 'cookiebot' ); ?> 63 </a> 64 <?php endif; ?> 62 65 </div> 63 66 </div> 64 67 65 <div class="cb-debug__code__container"> 66 <textarea 67 cols="50" 68 rows="40" 69 id="cookiebot-debug-info" 70 readonly="readonly" 71 ><?php echo esc_textarea( $debug_output ); ?></textarea> 72 </div> 73 68 <?php if ( Cookiebot_Frame::is_cb_frame_type() !== 'empty' ) : ?> 69 <div class="cb-debug__code__container"> 70 <textarea 71 cols="50" 72 rows="40" 73 id="cookiebot-debug-info" 74 readonly="readonly" 75 ><?php echo esc_textarea( $debug_output ); ?></textarea> 76 </div> 77 <?php endif; ?> 74 78 </div> 75 79 </div> -
cookiebot/trunk/src/view/admin/common/templates/main-tabs.php
r3343491 r3366362 17 17 $auth_token = get_option( 'cookiebot-auth-token' ); 18 18 $user_data = Cookiebot_WP::get_user_data(); 19 $show_settings = $active_tab === 'settings' || ! empty( $cbid );20 $show_plugins = ( ! $isnw && Cookiebot_Frame::is_cb_frame_type() !== 'empty' ) || empty( $user_data );19 $show_settings = true; 20 $show_plugins = ! $isnw && Cookiebot_Frame::is_cb_frame_type() !== 'empty'; 21 21 $feedback_url = 'https://form.typeform.com/to/n6ZlunZP'; 22 22
Note: See TracChangeset
for help on using the changeset viewer.