On ajoute le code tarteaucitron pour le RGPD

This commit is contained in:
2021-04-21 19:19:15 +02:00
parent 678dce5e18
commit f69d29e3ec
45 changed files with 9302 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 71 KiB

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 355 B

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

File diff suppressed because one or more lines are too long

View File

@@ -713,3 +713,41 @@ var pseManager = (function($){
addressState.init();
});
})(jQuery);
(function($) {
tarteaucitron.init({
"AcceptAllCta": true,
"european": true,
// Ouverture automatique du panel avec le hashtag
"hashtag": "#tarteaucitron",
// Nom du cookie - A CHANGER
"cookieName": 'auxbieauxlegumes_rgpd',
// désactiver le consentement implicite (en naviguant) ?
"highPrivacy": true,
// le bandeau doit être en haut (top) ou en bas (bottom) ?
"orientation": "bottom",
// Afficher un message si un adblocker est détecté ?
"adblocker": false,
// afficher le petit bandeau en bas à droite ?
"showAlertSmall": true,
// Afficher la liste des cookies installés ?
"cookieslist": true,
// supprimer le lien vers la source ?
"removeCredit": false,
// Deny everything if DNT is on
"handleBrowserDNTRequest": false,
// Show more info link
"moreInfoLink": false,
// If false, the tarteaucitron.css file will be loaded
"useExternalCss": false,
// URL de la page "politique de confidentialité"
"privacyUrl": privacyPolicyUrl || "/confidentialite.html"
});
// Paramétrage de Google Analytics.
tarteaucitron.user.gajsUa = analyticsId || "UNDEFINED analyticsId";
(tarteaucitron.job = tarteaucitron.job || []).push('gajs');
// Ajouter le paramétrage des autres services ici
})(jQuery);

View File

@@ -289,6 +289,23 @@ GNU General Public License : http://www.gnu.org/licenses/
</script>
{block name="javascript-initialization"}{/block}
<script>
{* Privacy policy URL pour tarteaucitron *}
{loop type="content" name="privacy" tag="privacy-policy"}
var privacyPolicyUrl = "{$URL}";
{/loop}
// ID google analytics utilisé dans thelia.js
var analyticsId = 'ID GOOGLE ANALYTICS';
// Ajouter les éventuelles variables qui sont utilisées dans thelia.js
</script>
<!-- JavaScript -->
<script
src="{url file="assets-dist/js/vendors/tarteaucitron/tarteaucitron.js"}">
</script>
<!-- Custom scripts -->
<script src="{javascript file='assets/dist/js/thelia.min.js'}"></script>
<script src="{javascript file='assets/src/js/customJS.js'}"></script>