PluginProbe ʕ •ᴥ•ʔ
Cookiebot by Usercentrics – Automatic Cookie Banner for GDPR/CCPA & Google Consent Mode / 4.5.2
Cookiebot by Usercentrics – Automatic Cookie Banner for GDPR/CCPA & Google Consent Mode v4.5.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 / common / dashboard-page-old.php
cookiebot / src / view / admin / common Last commit date
prior-consent 1 year ago templates 1 year ago dashboard-page-old.php 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
dashboard-page-old.php
167 lines
1 <?php
2
3 use cybot\cookiebot\settings\templates\Header;
4 use cybot\cookiebot\settings\templates\Main_Tabs;
5 use cybot\cookiebot\settings\pages\Settings_Page;
6 use function cybot\cookiebot\lib\cookiebot_is_trial_expired;
7 use function cybot\cookiebot\lib\cookiebot_is_upgraded;
8
9 /**
10 * @var array $template_args Array containing all template variables
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( 'dashboard' ); ?>
21
22 <div class="cb-main__content <?php echo ! empty( $template_args['cbid'] ) ? 'sync-account' : ''; ?>">
23 <div class="cb-main__dashboard__card--container">
24 <div class="cb-main__dashboard__card">
25 <div class="cb-main__card__inner <?php echo ! empty( $template_args['cbid'] ) ? 'start_card' : 'account_card'; ?>">
26 <?php if ( empty( $template_args['cbid'] ) ) : ?>
27 <img src="<?php echo esc_html( $template_args['cb_wp'] ); ?>" alt="Cookiebot for WordPress" class="cb-wp">
28 <div class="cb-main__card__content">
29 <h2 class="cb-main__card__title">
30 <?php echo esc_html__( 'I already have a Cookiebot CMP account', 'cookiebot' ); ?>
31 </h2>
32 <a href="<?php echo esc_url( add_query_arg( 'page', Settings_Page::ADMIN_SLUG, admin_url( 'admin.php' ) ) ); ?>"
33 class="cb-btn cb-main-btn">
34 <?php echo esc_html__( 'Connect my existing account', 'cookiebot' ); ?>
35 </a>
36 </div>
37 <?php else : ?>
38 <h2 class="cb-main__card__title">
39 <?php echo esc_html__( 'Your Cookiebot CMP for WordPress solution', 'cookiebot' ); ?>
40 </h2>
41 <div class="cb-main__card__success">
42 <div class="cb-btn cb-success-btn">
43 <img src="<?php echo esc_html( $template_args['check_icon'] ); ?>" alt="Check">
44 <?php echo esc_html__( 'Account added', 'cookiebot' ); ?>
45 </div>
46 <p class="cb-main__success__text">
47 <span><?php echo esc_html__( 'Congratulations!', 'cookiebot' ); ?></span>
48 <?php echo esc_html__( 'You have added your Domain Group ID to WordPress. You are all set!', 'cookiebot' ); ?>
49 </p>
50 </div>
51 <?php endif; ?>
52 </div>
53 </div>
54
55 <?php if ( ! empty( $template_args['cbid'] ) ) : ?>
56 <div class="cb-main__dashboard__card">
57 <div class="cb-main__card__inner <?php echo ! empty( $template_args['cbid'] ) ? 'start_card' : 'new_card'; ?>">
58 <h3 class="cb-main__card__subtitle">
59 <?php echo esc_html__( 'Your opinion matters', 'cookiebot' ); ?>
60 </h3>
61 <p class="cb-main__review__text">
62 <?php echo esc_html__( 'Are you happy with our WordPress plugin? Your feedback will help us make our product better for you.', 'cookiebot' ); ?>
63 </p>
64 <a href="https://wordpress.org/support/plugin/cookiebot/reviews/#new-post" target="_blank"
65 class="cb-btn cb-link-btn" rel="noopener">
66 <?php echo esc_html__( 'Write a review', 'cookiebot' ); ?>
67 </a>
68 </div>
69 </div>
70 <?php endif; ?>
71
72 <div class="cb-main__dashboard__card">
73 <div class="cb-main__card__inner <?php echo ! empty( $template_args['cbid'] ) ? 'start_card' : 'new_card'; ?>">
74 <?php if ( empty( $template_args['cbid'] ) ) : ?>
75 <div class="cb-main__card__content">
76 <p class="cb-main__card__label">
77 <?php echo esc_html__( 'Get started', 'cookiebot' ); ?>
78 </p>
79 <h2 class="cb-main__card__title">
80 <?php echo esc_html__( 'Create a new Cookiebot CMP account', 'cookiebot' ); ?>
81 </h2>
82 <a href="https://admin.cookiebot.com/signup/?utm_source=wordpress&utm_medium=referral&utm_campaign=banner"
83 target="_blank" class="cb-btn cb-white-btn" rel="noopener">
84 <?php echo esc_html__( 'Create a new account', 'cookiebot' ); ?>
85 </a>
86 </div>
87 <?php else : ?>
88 <h3 class="cb-main__card__subtitle">
89 <?php echo esc_html__( 'Learn more about how to optimize your Cookiebot CMP setup?', 'cookiebot' ); ?>
90 </h3>
91 <a href="https://support.cookiebot.com/hc/en-us" target="_blank" class="cb-btn cb-link-btn"
92 rel="noopener">
93 <?php echo esc_html__( 'Visit Help Center', 'cookiebot' ); ?>
94 </a>
95 <?php endif; ?>
96 </div>
97 </div>
98 </div>
99
100 <div class="cb-main__dashboard__card--container">
101 <div class="cb-main__dashboard__card">
102 <div class="cb-main__card__inner start_card">
103 <div class="cb-main__video">
104 <iframe src="https://www.youtube.com/embed/1-lvuJa42P0"
105 title="Cookiebot WordPress Installation"
106 allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
107 allowfullscreen></iframe>
108 </div>
109 <div class="cb-main__card--content">
110 <p class="cb-main__card__label"><?php echo esc_html__( 'Video guide', 'cookiebot' ); ?></p>
111 <h2 class="cb-main__card__title">
112 <?php echo esc_html__( 'How to get started with Cookiebot CMP', 'cookiebot' ); ?>
113 </h2>
114 <a href="https://support.cookiebot.com/hc/en-us/articles/4408356523282-Getting-started"
115 target="_blank" class="cb-btn cb-link-btn" rel="noopener">
116 <?php echo esc_html__( 'Learn more about Cookiebot CMP', 'cookiebot' ); ?>
117 </a>
118 </div>
119 </div>
120 </div>
121 <div class="cb-main__dashboard__card">
122 <div class="cb-main__card__inner legislations_card">
123 <div class="cb-main__legislation__item">
124 <div class="cb-main__legislation____icon">
125 <img src="<?php echo esc_html( $template_args['europe_icon'] ); ?>" alt="GDPR">
126 </div>
127 <div class="cb-main__legislation__name">
128 <?php echo esc_html__( 'GDPR', 'cookiebot' ); ?>
129 </div>
130 <div class="cb-main__legislation__region">
131 <?php echo esc_html__( 'Europe', 'cookiebot' ); ?>
132 </div>
133 <a href="https://support.cookiebot.com/hc/en-us/articles/4416376763922-Using-Cookiebot-for-GDPR-compliance" target="_blank"
134 class="cb-btn cb-link-btn external-icon legislation-link" rel="noopener">
135 <span><?php echo esc_html__( 'Learn More', 'cookiebot' ); ?></span>
136 <img src="<?php echo esc_html( $template_args['link_icon'] ); ?>"
137 alt="<?php echo esc_html__( 'Learn More', 'cookiebot' ); ?>">
138 </a>
139 </div>
140 <div class="cb-main__legislation__item">
141 <div class="cb-main__legislation____icon">
142 <img src="<?php echo esc_html( $template_args['usa_icon'] ); ?>" alt="CCPA">
143 </div>
144 <div class="cb-main__legislation__name">
145 <?php echo esc_html__( 'CCPA', 'cookiebot' ); ?>
146 </div>
147 <div class="cb-main__legislation__region">
148 <?php echo esc_html__( 'North America', 'cookiebot' ); ?>
149 </div>
150 <a href="https://support.cookiebot.com/hc/en-us/articles/360010952259-Using-Cookiebot-CMP-for-CCPA-CPRA-compliance" target="_blank"
151 class="cb-btn cb-link-btn external-icon legislation-link" rel="noopener">
152 <span><?php echo esc_html__( 'Learn More', 'cookiebot' ); ?></span>
153 <img src="<?php echo esc_html( $template_args['link_icon'] ); ?>"
154 alt="<?php echo esc_html__( 'Learn More', 'cookiebot' ); ?>">
155 </a>
156 </div>
157 <a href="https://support.cookiebot.com/hc/en-us/categories/360000349934-Regulations" target="_blank"
158 class="cb-btn cb-link-btn cb-right-btn" rel="noopener">
159 <?php echo esc_html__( 'See other legislations', 'cookiebot' ); ?>
160 </a>
161 </div>
162 </div>
163 </div>
164 </div>
165 </div>
166 </div>
167