add tarteaucitron

This commit is contained in:
2019-06-16 17:47:42 +02:00
parent fba3521dff
commit a6f0a9e7bd
9 changed files with 844 additions and 44 deletions

View File

@@ -193,8 +193,33 @@ function ajaxformulaire() {
}
jQuery(document).ready(function(){
// ajaxformulaire();
tarteaucitron.init({
"privacyUrl": "/charte-cookies", /* Privacy policy url */
"hashtag": "#gestions_des_cookies", /* Open the panel with this hashtag */
"cookieName": "gestions_des_cookies", /* Cookie name */
"orientation": "bottom", /* Banner position (top - bottom) */
"showAlertSmall": false, /* Show the small banner on bottom right */
"cookieslist": false, /* Show the cookie list */
"adblocker": false, /* Show a Warning if an adblocker is detected */
"AcceptAllCta" : true, /* Show the accept all button when highPrivacy on */
"highPrivacy": true, /* Disable auto consent */
"handleBrowserDNTRequest": true, /* If Do Not Track == 1, disallow all */
"removeCredit": false, /* Remove credit link */
"moreInfoLink": true, /* Show more info link */
"useExternalCss": true, /* If false, the tarteaucitron.css file will be loaded */
//"cookieDomain": ".my-multisite-domaine.fr", /* Shared cookie for multisite */
"readmoreLink": "/cookiespolicy" /* Change the default readmore link */
});
addclass();
mapsalles();
clickbutton();