xref: /webtrees/resources/views/modules/privacy-policy/page.phtml (revision afa67798854828b1edc33dd077960ec2b18e6140)
1<?php
2
3use Fisharebest\Webtrees\Contracts\UserInterface;
4use Fisharebest\Webtrees\I18N;
5use Fisharebest\Webtrees\Module\ModuleAnalyticsInterface;
6use Illuminate\Support\Collection;
7
8/**
9 * @var Collection<UserInterface>            $administrators
10 * @var Collection<ModuleAnalyticsInterface> $analytics
11 * @var string                               $title
12 */
13
14?>
15
16<h2><?= $title ?></h2>
17
18<h3><?= I18N::translate('Personal data') ?></h3>
19
20<ul>
21    <li>
22        <?= I18N::translate('This website processes personal data for the purpose of historical and genealogical research.') ?>
23    </li>
24    <li>
25        <?= I18N::translate('This research is a “legitimate interest” under article 6(f) of the EU General Data Protection Regulations.') ?>
26    </li>
27</ul>
28
29<h3><?= I18N::translate('Cookies') ?></h3>
30
31<ul>
32    <li>
33        <?= I18N::translate('This website uses cookies to enable login sessions, and to remember preferences such as your chosen language.') ?>
34    </li>
35    <li>
36        <?= I18N::translate('These cookies are “essential”, and do not require consent.') ?>
37    </li>
38</ul>
39
40<?php if ($analytics->isNotEmpty()) : ?>
41    <h3><?= I18N::translate('Tracking and analytics') ?></h3>
42
43    <ul>
44        <li>
45            <?= I18N::translate('This website uses third-party services to learn about visitor behavior.') ?>
46            <ul>
47                <?php foreach ($analytics as $module) : ?>
48                    <li>
49                        <?= $module->title() ?>50                        <a href="<?= e($module->externalUrl()) ?>"><?= e($module->externalUrl()) ?></a>
51                    </li>
52                <?php endforeach ?>
53            </ul>
54        </li>
55
56        <li>
57            <?= I18N::translate('These services may use cookies or other tracking technology.') ?>
58        </li>
59
60        <li>
61            <?= I18N::translate('You can opt out of tracking by setting the “Do Not Track” header in your browser preferences.') ?>
62        </li>
63    </ul>
64<?php endif ?>
65
66<h3><?= I18N::translate('Data controller') ?></h3>
67
68<ul>
69    <li>
70        <?= I18N::translate('This website is operated by the following individuals.') ?>
71
72        <ul>
73            <?php foreach ($administrators as $administrator) : ?>
74                <li>
75                    <?= e($administrator->realName()) ?>76                    <a href="mailto:<?= e($administrator->email()) ?>"><?= e($administrator->email()) ?></a>
77
78
79                </li>
80            <?php endforeach ?>
81        </ul>
82
83    </li>
84</ul>
85
86