| @@ -141,9 +141,9 @@ | ||
| 141 | 141 | </div> |
| 142 | 142 | <?php endif; ?> |
| 143 | 143 | </div> |
| 144 | 144 | |
| 145 | - <?php if ( empty( $template_args['user_data'] ) || empty( $template_args['cbid'] ) && ! empty( $template_args['scan_id'] ) ) : ?> | |
| 145 | + <?php if ( empty( $template_args['user_data'] ) || ( empty( $template_args['cbid'] ) && ! empty( $template_args['scan_id'] ) ) ) : ?> | |
| 146 | 146 | <div class="banner-preview-container"> |
| 147 | 147 | <div class="divider"></div> |
| 148 | 148 | <p class="step-description"> |
| 149 | 149 | • <?php echo \esc_html__( 'Instant setup & automatic cookie blocking', 'cookiebot' ); ?><br> |
| @@ -367,9 +367,9 @@ | ||
| 367 | 367 | value="1" |
| 368 | 368 | <?php |
| 369 | 369 | checked( 1, $template_args['banner_enabled'] === '1' ); |
| 370 | 370 | ?> |
| 371 | - /> | |
| 371 | + /> | |
| 372 | 372 | <label for="cookiebot-banner-enabled" class="toggle-label"></label> |
| 373 | 373 | </div> |
| 374 | 374 | <div class="label-wrapper status-badge <?php echo ! empty( $template_args['cbid'] ) && $template_args['banner_enabled'] === '1' ? 'active' : ' inactive'; ?>" id="cookiebot-banner-badge"> |
| 375 | 375 | <div class="label-2"> |
| @@ -396,9 +396,9 @@ | ||
| 396 | 396 | value="1" |
| 397 | 397 | <?php |
| 398 | 398 | checked( 1, $template_args['auto_blocking_mode'] === '1' ); |
| 399 | 399 | ?> |
| 400 | - /> | |
| 400 | + /> | |
| 401 | 401 | <label for="cookiebot-uc-auto-blocking-mode" class="toggle-label"></label> |
| 402 | 402 | </div> |
| 403 | 403 | <div class="label-wrapper status-badge <?php echo ! empty( $template_args['cbid'] ) && $template_args['auto_blocking_mode'] === '1' ? 'active' : ' inactive'; ?>" id="cookiebot-uc-auto-blocking-mode-badge"> |
| 404 | 404 | <div class="label-2"> |
| @@ -427,9 +427,9 @@ | ||
| 427 | 427 | value="1" |
| 428 | 428 | <?php |
| 429 | 429 | checked( 1, $template_args['gcm_enabled'] === '1' ); |
| 430 | 430 | ?> |
| 431 | - /> | |
| 431 | + /> | |
| 432 | 432 | <label for="cookiebot-gcm" class="toggle-label"></label> |
| 433 | 433 | </div> |
| 434 | 434 | |
| 435 | 435 | <div class="label-wrapper status-badge <?php echo ! empty( $template_args['cbid'] ) && $template_args['gcm_enabled'] === '1' ? 'active' : 'inactive'; ?>" id="cookiebot-gcm-badge"> |