cookie consent OK

This commit is contained in:
pvincent
2022-12-10 19:36:21 +04:00
parent fc5e1cc4d2
commit a0405e885d
6 changed files with 293 additions and 98 deletions
+11
View File
@@ -185,6 +185,17 @@
</div>
::if user == null::
<script language="javascript">
if (document.cookie.includes("rgpd=true")) console.log("RGPD consent OK");
else {
console.log("no consent YET");
_.cookieConsentBox('::redirect::');
}
</script>
::end::
</div>
::use 'footer.mtt'::
::end::