42 |
49 |
new file mode 100644
|
... |
... |
@@ -0,0 +1,103 @@
|
|
1 |
+<script>
|
|
2 |
+ window.CookieConsent.init({
|
|
3 |
+ // More link URL on bar
|
|
4 |
+ modalMainTextMoreLink: <?= $this->privacy_policy_link ?>,
|
|
5 |
+ // How lond to wait until bar comes up
|
|
6 |
+ barTimeout: 1000,
|
|
7 |
+ // Look and feel
|
|
8 |
+ theme: {
|
|
9 |
+ barColor: '#2C7CBF',
|
|
10 |
+ barTextColor: '#FFF',
|
|
11 |
+ barMainButtonColor: '#FFF',
|
|
12 |
+ barMainButtonTextColor: '#2C7CBF',
|
|
13 |
+ modalMainButtonColor: '#4285F4',
|
|
14 |
+ modalMainButtonTextColor: '#FFF',
|
|
15 |
+ },
|
|
16 |
+ language: {
|
|
17 |
+ // Current language
|
|
18 |
+ current: '{{iflng::de}}de{{iflng}}{{ifnlng::de}}en{{ifnlng}}',
|
|
19 |
+ locale: {
|
|
20 |
+ de: {
|
|
21 |
+ barMainText: 'Diese Webseite nutzt teilweise Cookies um Ihnen das bestmögliche Besuchererlebnis zu ermöglichen. Wir verwenden auch Cookies von Drittanbietern um unsere Seitennutzung zu analysieren und zu verbessern. Genaue Infos über die verwendeten Tools und die Nutzung der Daten erhalten Sie in unserer Datenschutzerklärung. Sie können der Nutzung von Cookies, die nicht zwingend für die Funktion der Webseite erforderlich sind widersprechen.',
|
|
22 |
+ barLinkSetting: 'Cookie-Einstellungen',
|
|
23 |
+ barBtnAcceptAll: 'Alle Cookies akzeptieren',
|
|
24 |
+ modalMainTitle: 'Cookie-Einstellungen',
|
|
25 |
+ modalMainText: 'Cookies sind kleine Datenspeicher, die von einer Website gesendet und von Ihrem Webbrowser während des Besuchs auf Ihrem Computer gespeichert werden. Ihr Browser speichert diese Informationen in einer kleinen Datei, dem sogenannten Cookie. Wenn Sie eine andere Seite vom Server anfordern, sendet Ihr Browser das Cookie an den Server zurück. Cookies wurden als zuverlässiger Mechanismus für Websites entwickelt, um Informationen zu speichern oder die Browseraktivitäten des Benutzers aufzuzeichnen.',
|
|
26 |
+ modalBtnSave: 'Einstellungen speichern',
|
|
27 |
+ modalBtnAcceptAll: 'Alle Cookies akzeptieren und schließen',
|
|
28 |
+ modalAffectedSolutions: 'Betroffene Services:',
|
|
29 |
+ learnMore: 'Mehr dazu',
|
|
30 |
+ on: 'Ein',
|
|
31 |
+ off: 'Aus',
|
|
32 |
+ },
|
|
33 |
+ en: {
|
|
34 |
+ barMainText: 'This website uses cookies to provide you with the best possible visitor experience. We also use third party cookies to analyze and improve our site usage. You can find out more about the tools we use and how we use them in our privacy policy. You may refuse the use of cookies, which are not required for the functionality of this website.',
|
|
35 |
+ barLinkSetting: 'Cookie Settings',
|
|
36 |
+ barBtnAcceptAll: 'Accept all cookies',
|
|
37 |
+ modalMainTitle: 'Cookie settings',
|
|
38 |
+ modalMainText: 'Cookies are small data pieces that are sent by a website and stored on your computer by your web browser during your visit. Your browser stores this information in a small file called a cookie. If you request another page from the server, your browser sends the cookie back to the server. Cookies have been developed as a reliable mechanism for websites to store information or record user browser activity.',
|
|
39 |
+ modalBtnSave: 'Save current settings',
|
|
40 |
+ modalBtnAcceptAll: 'Accept all cookies and close',
|
|
41 |
+ modalAffectedSolutions: 'Affected solutions:',
|
|
42 |
+ learnMore: 'Learn More',
|
|
43 |
+ on: 'On',
|
|
44 |
+ off: 'Off',
|
|
45 |
+ }
|
|
46 |
+ }
|
|
47 |
+ },
|
|
48 |
+ // List all the categories you want to display
|
|
49 |
+ categories: {
|
|
50 |
+ // Unique name
|
|
51 |
+ // This probably will be the default category
|
|
52 |
+ necessary: {
|
|
53 |
+ // The cookies here are necessary and category cant be turned off.
|
|
54 |
+ // Wanted config value will be ignored.
|
|
55 |
+ needed: true,
|
|
56 |
+ // The cookies in this category will be let trough.
|
|
57 |
+ // This probably should be false if not necessary category
|
|
58 |
+ wanted: true,
|
|
59 |
+ // If the checkbox is on or off at first run.
|
|
60 |
+ checked: true,
|
|
61 |
+ // Language settings for categories
|
|
62 |
+ language: {
|
|
63 |
+ locale: {
|
|
64 |
+ de: {
|
|
65 |
+ name: 'Unbedingt erforderliche Cookies',
|
|
66 |
+ description: 'Diese Cookies sind für die vollständige Funktion der Webseite erforderlich. Diese Cookies werden ausschließlich für die Funktion der Webseite verwendet. In der Regel werden diese Cookies nach dem Schließen Ihres Browsers gelöscht.',
|
|
67 |
+ },
|
|
68 |
+ en: {
|
|
69 |
+ name: 'Strictly Necessary Cookies',
|
|
70 |
+ description: 'These cookies are necessary for the full functionality of this website. These cookies are used exclusively for the operation of this website. Usually, these cookies are deleted when you close your browser.',
|
|
71 |
+ }
|
|
72 |
+ }
|
|
73 |
+ }
|
|
74 |
+ }<?php if ($this->services): ?>,
|
|
75 |
+ statistics: {
|
|
76 |
+ // The cookies here are necessary and category cant be turned off.
|
|
77 |
+ // Wanted config value will be ignored.
|
|
78 |
+ needed: false,
|
|
79 |
+ // The cookies in this category will be let trough.
|
|
80 |
+ // This probably should be false if not necessary category
|
|
81 |
+ wanted: false,
|
|
82 |
+ // If the checkbox is on or off at first run.
|
|
83 |
+ checked: false,
|
|
84 |
+ // Language settings for categories
|
|
85 |
+ language: {
|
|
86 |
+ locale: {
|
|
87 |
+ de: {
|
|
88 |
+ name: 'Performance und Statistik Cookies',
|
|
89 |
+ description: 'Diese Cookies erlauben uns die Nutzung unserer Webseite zu analysieren und Ihren Besuch auszuwerten, so dass wir die Leistung unserer Webseite messen und verbessern können. Die gesammelten Daten werden dabei anonymisiert gespeichert für eine statistische Auswertung.',
|
|
90 |
+ },
|
|
91 |
+ en: {
|
|
92 |
+ name: 'Performance and Statistics Cookies',
|
|
93 |
+ description: 'These cookies allow us to analyze the use of our website and evaluate your visit so that we can measure and improve the performance of our website. The collected data is stored anonymously for statistical purposes.',
|
|
94 |
+ }
|
|
95 |
+ }
|
|
96 |
+ }
|
|
97 |
+ }<?php endif; ?>
|
|
98 |
+ <?php if ($this->custom_categories): ?><?= $this->custom_categories ?><?php endif; ?>
|
|
99 |
+ }
|
|
100 |
+ // List actual services here
|
|
101 |
+ <?php if ($this->services): ?>,services: <?= $this->services ?><?php endif; ?>
|
|
102 |
+ });
|
|
103 |
+</script>
|
0 |
104 |
\ No newline at end of file
|