aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2017-01-07 00:20:18 +0100
committerMarc Alexander <admin@m-a-styles.de>2017-01-07 00:20:18 +0100
commit44f130808fc8ce9d125094d5294355d2b014014a (patch)
treebefb81e1a7022af32452871677629bbba63fdd04 /phpBB/styles
parente096137537d1526ae914c73c66619cd1821c2f7a (diff)
parent743d3af3c52f21a47795b76598b0136ad261839a (diff)
downloadforums-44f130808fc8ce9d125094d5294355d2b014014a.tar
forums-44f130808fc8ce9d125094d5294355d2b014014a.tar.gz
forums-44f130808fc8ce9d125094d5294355d2b014014a.tar.bz2
forums-44f130808fc8ce9d125094d5294355d2b014014a.tar.xz
forums-44f130808fc8ce9d125094d5294355d2b014014a.zip
Merge pull request #4618 from marc1706/ticket/14961
[ticket/14961] Add cookie notice as enablable feature
Diffstat (limited to 'phpBB/styles')
-rw-r--r--phpBB/styles/prosilver/template/overall_footer.html23
-rw-r--r--phpBB/styles/prosilver/template/overall_header.html4
2 files changed, 27 insertions, 0 deletions
diff --git a/phpBB/styles/prosilver/template/overall_footer.html b/phpBB/styles/prosilver/template/overall_footer.html
index 39468201e5..413c93f79a 100644
--- a/phpBB/styles/prosilver/template/overall_footer.html
+++ b/phpBB/styles/prosilver/template/overall_footer.html
@@ -59,6 +59,29 @@
</script>
<!-- ENDIF -->
+<!-- IF S_COOKIE_NOTICE -->
+ <script src="{T_ASSETS_PATH}/cookieconsent/cookieconsent.min.js?assets_version={T_ASSETS_VERSION}"></script>
+ <script>
+ window.addEventListener("load", function(){
+ window.cookieconsent.initialise({
+ "palette": {
+ "popup": {
+ "background": "#0F538A"
+ },
+ "button": {
+ "background": "#E5E5E5"
+ }
+ },
+ "theme": "classic",
+ "content": {
+ "message": "{LA_COOKIE_CONSENT_MSG}",
+ "dismiss": "{LA_COOKIE_CONSENT_OK}",
+ "link": "{LA_COOKIE_CONSENT_INFO}"
+ }
+ })});
+ </script>
+<!-- ENDIF -->
+
<!-- EVENT overall_footer_after -->
<!-- IF S_PLUPLOAD --><!-- INCLUDE plupload.html --><!-- ENDIF -->
diff --git a/phpBB/styles/prosilver/template/overall_header.html b/phpBB/styles/prosilver/template/overall_header.html
index 4a31a0adde..4438137f7d 100644
--- a/phpBB/styles/prosilver/template/overall_header.html
+++ b/phpBB/styles/prosilver/template/overall_header.html
@@ -57,6 +57,10 @@
<link href="{T_THEME_PATH}/plupload.css?assets_version={T_ASSETS_VERSION}" rel="stylesheet">
<!-- ENDIF -->
+<!-- IF S_COOKIE_NOTICE -->
+ <link href="{T_ASSETS_PATH}/cookieconsent/cookieconsent.min.css?assets_version={T_ASSETS_VERSION}" rel="stylesheet">
+<!-- ENDIF -->
+
<!--[if lte IE 9]>
<link href="{T_THEME_PATH}/tweaks.css?assets_version={T_ASSETS_VERSION}" rel="stylesheet">
<![endif]-->