diff --git a/web/typo3conf/ext/ep_theme/Configuration/TypoScript/Page/Main.ts b/web/typo3conf/ext/ep_theme/Configuration/TypoScript/Page/Main.ts
index 26cdeef8..3b684653 100644
--- a/web/typo3conf/ext/ep_theme/Configuration/TypoScript/Page/Main.ts
+++ b/web/typo3conf/ext/ep_theme/Configuration/TypoScript/Page/Main.ts
@@ -13,6 +13,10 @@ page {
shortcutIcon = EXT:ep_theme/Resources/Public/images/favicon_ep.ico
+ includeCSS {
+ main = EXT:ep_theme/Resources/Public/css/main.css
+ }
+
includeJSFooterlibs {
manifest = EXT:ep_theme/Resources/Public/js/manifest.js
vendor = EXT:ep_theme/Resources/Public/js/vendor.js
@@ -26,8 +30,34 @@ page {
main = EXT:ep_theme/Resources/Public/js/main.js
}
- includeCSS {
- main = EXT:ep_theme/Resources/Public/css/main.css
+ jsFooterInline {
+ 10 = TEXT
+ 10.typolink.parameter = {$plugin.tx_eptheme.settings.dataProtectionPageUid}
+ 10.typolink.returnLast = url
+ 10.typolink.forceAbsoluteUrl = 1
+ 10.wrap (
+ window.addEventListener("load", function () {
+ window.cookieconsent.initialise({
+ "palette": {
+ "popup": {
+ "background": "#006db6",
+ "text": "#ffffff"
+ },
+ "button": {
+ "background": "#f9cb0d",
+ "text": "#ffffff"
+ }
+ },
+ "dismissOnTimeout": 5000,
+ "content": {
+ "message": "Wir verwenden Cookies. Durch die Benutzung unserer Website akzeptierst Du unsere Richtlinien.",
+ "dismiss": "Cookies akzeptieren",
+ "link": "Mehr Infos",
+ "href": "|"
+ }
+ })
+ });
+ )
}
10 = FLUIDTEMPLATE
diff --git a/web/typo3conf/ext/ep_theme/Resources/Private/Layouts/Page/Detail.html b/web/typo3conf/ext/ep_theme/Resources/Private/Layouts/Page/Detail.html
index 785263f4..7e9c1ec6 100644
--- a/web/typo3conf/ext/ep_theme/Resources/Private/Layouts/Page/Detail.html
+++ b/web/typo3conf/ext/ep_theme/Resources/Private/Layouts/Page/Detail.html
@@ -19,5 +19,4 @@
-