PluginProbe ʕ •ᴥ•ʔ
Cookiebot by Usercentrics – Automatic Cookie Banner for GDPR/CCPA & Google Consent Mode / 4.2.2
Cookiebot by Usercentrics – Automatic Cookie Banner for GDPR/CCPA & Google Consent Mode v4.2.2
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 / dashboard-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 4 years ago network-settings-page.php 3 years ago settings-page.php 3 years ago support-page.php 3 years ago
dashboard-page.php
114 lines
1 <?php
2
3 use cybot\cookiebot\settings\templates\Header;
4 use cybot\cookiebot\settings\templates\Main_Tabs;
5
6 use cybot\cookiebot\settings\pages\Settings_Page;
7
8 /**
9 * @var string $cbid
10 * @var string $cb_wp
11 * @var string $europe_icon
12 * @var string $usa_icon
13 * @var string $check_icon
14 * @var string $link_icon
15 */
16
17 $header = new Header();
18 $main_tabs = new Main_Tabs();
19
20 $header->display();
21 ?>
22 <div class="cb-body">
23 <div class="cb-wrapper">
24 <?php $main_tabs->display( 'dashboard' ); ?>
25 <div class="cb-main__content <?php echo $cbid ? 'sync-account' : ''; ?>">
26 <?php
27 if ( ! $cbid ) :
28 $today = new DateTime( 'now' );
29 $end_date = new DateTime( '2022-12-31' );
30
31 if ( $today < $end_date ) :
32 ?>
33 <div class="cb-main__dashboard__promo">
34 <div class="cb-main__dashboard__promo--inner">
35 <div class="cb-dashboard__promo--label"><div class="time-icon"></div><span>End of Year Promotion</span></div>
36 <h2 class="cb-dashboard__promo--title">Get <span class="highlight">30% off</span> your premium Cookiebot CMP subscription*</h2>
37 <a href="https://www.cookiebot.com/en/new-wp-cookie-plugin/?utm_source=wordpress&utm_medium=organic&utm_campaign=banner" target="_blank" class="cb-btn cb-promo-btn">SIGN UP NOW</a>
38 <p class="promo-condition">* This promotion is valid until December 31st, 2022 and will be calculated automatically. The discount only applies to new subscriptions and is valid for the first 12 months.</p>
39 </div>
40 </div>
41 <?php
42 endif;
43 endif;
44 ?>
45 <div class="cb-main__dashboard__card--container">
46 <div class="cb-main__dashboard__card">
47 <div class="cb-main__card__inner <?php echo $cbid ? 'start_card' : 'account_card'; ?>">
48 <?php if ( ! $cbid ) : ?>
49 <img src="<?php echo esc_html( $cb_wp ); ?>" alt="Cookiebot for WordPress" class="cb-wp">
50 <div class="cb-main__card__content">
51 <h2 class="cb-main__card__title"><?php echo esc_html__( 'I already have a Cookiebot CMP account', 'cookiebot' ); ?></h2>
52 <a href="/wp-admin/admin.php?page=<?php echo esc_html( Settings_Page::ADMIN_SLUG ); ?>" class="cb-btn cb-main-btn"><?php echo esc_html__( 'Connect my existing account', 'cookiebot' ); ?></a>
53 </div>
54 <?php else : ?>
55 <h2 class="cb-main__card__title"><?php echo esc_html__( 'Your Cookiebot CMP for WordPress solution', 'cookiebot' ); ?></h2>
56 <div class="cb-main__card__success">
57 <div class="cb-btn cb-success-btn"><img src="<?php echo esc_html( $check_icon ); ?>" alt="Check"> <?php echo esc_html__( 'Congratulations!', 'cookiebot' ); ?></div>
58 <p class="cb-main__success__text"> <?php echo esc_html__( 'You have added your Domain Group ID to WordPress. You are all set!', 'cookiebot' ); ?></p>
59 </div>
60 <?php endif; ?>
61 </div>
62 </div>
63
64 <div class="cb-main__dashboard__card">
65 <div class="cb-main__card__inner <?php echo $cbid ? 'start_card' : 'new_card'; ?>">
66 <?php if ( ! $cbid ) : ?>
67 <div class="cb-main__card__content">
68 <p class="cb-main__card__label"><?php echo esc_html__( 'Get started', 'cookiebot' ); ?></p>
69 <h2 class="cb-main__card__title"><?php echo esc_html__( 'Create a new Cookiebot CMP account', 'cookiebot' ); ?></h2>
70 <a href="https://manage.cookiebot.com/en/signup/?utm_source=wordpress&utm_medium=organic&utm_campaign=banner" target="_blank" class="cb-btn cb-white-btn"><?php echo esc_html__( 'Create a new account', 'cookiebot' ); ?></a>
71 </div>
72 <?php else : ?>
73 <h3 class="cb-main__card__subtitle"><?php echo esc_html__( 'Learn more about how to optimize your Cookiebot CMP setup?', 'cookiebot' ); ?></h3>
74 <a href="https://support.cookiebot.com/hc/en-us" target="_blank" class="cb-btn cb-link-btn"><?php echo esc_html__( 'Visit Help Center', 'cookiebot' ); ?></a>
75 <?php endif; ?>
76 </div>
77 </div>
78 </div>
79
80 <div class="cb-main__dashboard__card--container">
81 <div class="cb-main__dashboard__card">
82 <div class="cb-main__card__inner start_card">
83 <div class="cb-main__video">
84 <iframe src="https://www.youtube.com/embed/eSVFnjoMKFk" title="Cookiebot WordPress Installation" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
85 </div>
86 <div class="cb-main__card--content">
87 <p class="cb-main__card__label"><?php echo esc_html__( 'Video guide', 'cookiebot' ); ?></p>
88 <h2 class="cb-main__card__title"><?php echo esc_html__( 'How to get started with Cookiebot CMP', 'cookiebot' ); ?></h2>
89 <a href="https://support.cookiebot.com/hc/en-us/articles/4408356523282-Getting-started" target="_blank" class="cb-btn cb-link-btn"><?php echo esc_html__( 'Learn more about Cookiebot CMP', 'cookiebot' ); ?></a>
90 </div>
91 </div>
92 </div>
93 <div class="cb-main__dashboard__card">
94 <div class="cb-main__card__inner legislations_card">
95 <div class="cb-main__legislation__item">
96 <div class="cb-main__legislation____icon"><img src="<?php echo esc_html( $europe_icon ); ?>" alt="GDPR"></div>
97 <div class="cb-main__legislation__name"><?php echo esc_html__( 'GDPR', 'cookiebot' ); ?></div>
98 <div class="cb-main__legislation__region"><?php echo esc_html__( 'Europe', 'cookiebot' ); ?></div>
99 <a href="https://www.cookiebot.com/en/gdpr/" target="_blank" class="cb-btn cb-link-btn external-icon legislation-link"><?php echo esc_html__( 'Learn More', 'cookiebot' ); ?> <img src="<?php echo esc_html( $link_icon ); ?>" alt="<?php echo esc_html__( 'Learn More', 'cookiebot' ); ?>"></a>
100 </div>
101 <div class="cb-main__legislation__item">
102 <div class="cb-main__legislation____icon"><img src="<?php echo esc_html( $usa_icon ); ?>" alt="CCPA"></div>
103 <div class="cb-main__legislation__name"><?php echo esc_html__( 'CCPA', 'cookiebot' ); ?></div>
104 <div class="cb-main__legislation__region"><?php echo esc_html__( 'North America', 'cookiebot' ); ?></div>
105 <a href="https://www.cookiebot.com/en/what-is-ccpa/" target="_blank" class="cb-btn cb-link-btn external-icon legislation-link"><?php echo esc_html__( 'Learn More', 'cookiebot' ); ?> <img src="<?php echo esc_html( $link_icon ); ?>" alt="<?php echo esc_html__( 'Learn More', 'cookiebot' ); ?>"></a>
106 </div>
107 <a href="https://www.cookiebot.com/en/blog/" target="_blank" class="cb-btn cb-link-btn cb-right-btn"><?php echo esc_html__( 'See other legislations', 'cookiebot' ); ?></a>
108 </div>
109 </div>
110 </div>
111 </div>
112 </div>
113 </div>
114