PluginProbe ʕ •ᴥ•ʔ
Cookiebot by Usercentrics – Automatic Cookie Banner for GDPR/CCPA & Google Consent Mode / 4.2.0
Cookiebot by Usercentrics – Automatic Cookie Banner for GDPR/CCPA & Google Consent Mode v4.2.0
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
112 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 <?= $cbid ? 'sync-account' : '';?>">
26 <?php if(!$cbid) :
27 $today = new DateTime('now');
28 $end_date = new DateTime('2022-12-31');
29
30 if($today<$end_date) :
31 ?>
32 <div class="cb-main__dashboard__promo">
33 <div class="cb-main__dashboard__promo--inner">
34 <div class="cb-dashboard__promo--label"><div class="time-icon"></div><span>End of Year Promotion</span></div>
35 <h2 class="cb-dashboard__promo--title">Get <span class="highlight">30% off</span> your premium Cookiebot CMP subscription*</h2>
36 <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>
37 <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>
38 </div>
39 </div>
40 <?php
41 endif;
42 endif;
43 ?>
44 <div class="cb-main__dashboard__card--container">
45 <div class="cb-main__dashboard__card">
46 <div class="cb-main__card__inner <?= $cbid ? 'start_card' : 'account_card'; ?>">
47 <?php if(!$cbid) : ?>
48 <img src="<?= $cb_wp?>" alt="Cookiebot for WordPress" class="cb-wp">
49 <div class="cb-main__card__content">
50 <h2 class="cb-main__card__title"><?= __('I already have a Cookiebot CMP account' , 'cookiebot' ) ; ?></h2>
51 <a href="/wp-admin/admin.php?page=<?= Settings_Page::ADMIN_SLUG?>" class="cb-btn cb-main-btn"><?= __('Connect my existing account' , 'cookiebot' ) ; ?></a>
52 </div>
53 <?php else: ?>
54 <h2 class="cb-main__card__title"><?= __('Your Cookiebot CMP for WordPress solution' , 'cookiebot' ) ; ?></h2>
55 <div class="cb-main__card__success">
56 <div class="cb-btn cb-success-btn"><img src="<?= $check_icon ?>" alt="Check"> <?= __('Congratulations!' , 'cookiebot' ) ; ?></div>
57 <p class="cb-main__success__text"> <?= __('You have added your Domain Group ID to WordPress. You are all set!' , 'cookiebot' ) ; ?></p>
58 </div>
59 <?php endif; ?>
60 </div>
61 </div>
62
63 <div class="cb-main__dashboard__card">
64 <div class="cb-main__card__inner <?= $cbid ? 'start_card' : 'new_card'; ?>">
65 <?php if(!$cbid) : ?>
66 <div class="cb-main__card__content">
67 <p class="cb-main__card__label"><?= __('Get started' , 'cookiebot' ) ; ?></p>
68 <h2 class="cb-main__card__title"><?= __('Create a new Cookiebot CMP account' , 'cookiebot' ) ; ?></h2>
69 <a href="https://manage.cookiebot.com/en/signup" target="_blank" class="cb-btn cb-white-btn"><?= __('Create a new account' , 'cookiebot' ) ; ?></a>
70 </div>
71 <?php else: ?>
72 <h3 class="cb-main__card__subtitle"><?= __('Learn more about how to optimize your Cookiebot CMP setup?' , 'cookiebot' ) ; ?></h3>
73 <a href="https://support.cookiebot.com/hc/en-us" target="_blank" class="cb-btn cb-link-btn"><?= __('Visit Help Center' , 'cookiebot' ) ; ?></a>
74 <?php endif; ?>
75 </div>
76 </div>
77 </div>
78
79 <div class="cb-main__dashboard__card--container">
80 <div class="cb-main__dashboard__card">
81 <div class="cb-main__card__inner start_card">
82 <div class="cb-main__video">
83 <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>
84 </div>
85 <div class="cb-main__card--content">
86 <p class="cb-main__card__label"><?= __('Video guide' , 'cookiebot' ) ; ?></p>
87 <h2 class="cb-main__card__title"><?= __('How to get started with Cookiebot CMP' , 'cookiebot' ) ; ?></h2>
88 <a href="https://support.cookiebot.com/hc/en-us/articles/4408356523282-Getting-started" target="_blank" class="cb-btn cb-link-btn"><?= __('Learn more about Cookiebot CMP' , 'cookiebot' ) ; ?></a>
89 </div>
90 </div>
91 </div>
92 <div class="cb-main__dashboard__card">
93 <div class="cb-main__card__inner legislations_card">
94 <div class="cb-main__legislation__item">
95 <div class="cb-main__legislation____icon"><img src="<?= $europe_icon ?>" alt="GDPR"></div>
96 <div class="cb-main__legislation__name"><?= __('GDPR' , 'cookiebot' ) ; ?></div>
97 <div class="cb-main__legislation__region"><?= __('Europe' , 'cookiebot' ) ; ?></div>
98 <a href="https://www.cookiebot.com/en/gdpr/" target="_blank" class="cb-btn cb-link-btn external-icon legislation-link"><?= __('Learn More' , 'cookiebot' ) ; ?> <img src="<?= $link_icon ?>" alt="<?= __('Learn More' , 'cookiebot' ) ; ?>"></a>
99 </div>
100 <div class="cb-main__legislation__item">
101 <div class="cb-main__legislation____icon"><img src="<?= $usa_icon ?>" alt="CCPA"></div>
102 <div class="cb-main__legislation__name"><?= __('CCPA' , 'cookiebot' ) ; ?></div>
103 <div class="cb-main__legislation__region"><?= __('North America' , 'cookiebot' ) ; ?></div>
104 <a href="https://www.cookiebot.com/en/what-is-ccpa/" target="_blank" class="cb-btn cb-link-btn external-icon legislation-link"><?= __('Learn More' , 'cookiebot' ) ; ?> <img src="<?= $link_icon ?>" alt="<?= __('Learn More' , 'cookiebot' ) ; ?>"></a>
105 </div>
106 <a href="https://www.cookiebot.com/en/blog/" target="_blank" class="cb-btn cb-link-btn cb-right-btn"><?= __('See other legislations' , 'cookiebot' ) ; ?></a>
107 </div>
108 </div>
109 </div>
110 </div>
111 </div>
112 </div>