aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/prosilver/template/overall_footer.html
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2017-01-06 00:57:12 +0100
committerMarc Alexander <admin@m-a-styles.de>2017-01-06 00:57:12 +0100
commite0eeea800cb51217e4511c3bcfcba6406d89f314 (patch)
treef8164d23eb8290b230ddd1d1192eabf368a387bb /phpBB/styles/prosilver/template/overall_footer.html
parent0c6c94e527fca6edc0d79430088142f4828610e4 (diff)
downloadforums-e0eeea800cb51217e4511c3bcfcba6406d89f314.tar
forums-e0eeea800cb51217e4511c3bcfcba6406d89f314.tar.gz
forums-e0eeea800cb51217e4511c3bcfcba6406d89f314.tar.bz2
forums-e0eeea800cb51217e4511c3bcfcba6406d89f314.tar.xz
forums-e0eeea800cb51217e4511c3bcfcba6406d89f314.zip
[ticket/14961] Add cookie notice as enablable feature
Uses Insites cookieconsent v3.0.3: https://cookieconsent.insites.com PHPBB3-14961
Diffstat (limited to 'phpBB/styles/prosilver/template/overall_footer.html')
-rw-r--r--phpBB/styles/prosilver/template/overall_footer.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/phpBB/styles/prosilver/template/overall_footer.html b/phpBB/styles/prosilver/template/overall_footer.html
index 39468201e5..e650d17752 100644
--- a/phpBB/styles/prosilver/template/overall_footer.html
+++ b/phpBB/styles/prosilver/template/overall_footer.html
@@ -59,6 +59,28 @@
</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}"
+ }
+ })});
+ </script>
+<!-- ENDIF -->
+
<!-- EVENT overall_footer_after -->
<!-- IF S_PLUPLOAD --><!-- INCLUDE plupload.html --><!-- ENDIF -->