feat: bumped cookie-notice to v6

This commit is contained in:
Noah Lancien 2024-06-25 16:26:08 +02:00
parent 127ce011c2
commit 1719a7da59
3 changed files with 8 additions and 8 deletions

View file

@ -2,7 +2,7 @@
return [
// * GGW version
'version' => '2.3.2',
'version' => '2.4.0',
// * Theme name
'name' => 'le-gaulois-tdf',
// * Picture BO validation sizes

View file

@ -33,7 +33,11 @@ $cookies['matomo'] = [
'description' => __('cookie-notice.custom.matomo.description'),
'link' => 'https://fr.matomo.org/gdpr-analytics/',
'labelLink' => __('En savoir +'),
'cookies' => ['_pk']
'cookies' => [
"_pk*",
"_pk_ref", "_pk_cvar", "_pk_id", "_pk_ses", "_pk_hsr", "piwik_ignore", "_pk_uid",
"mtm_consent", "matomo_ignore", "matomo_sessid"
]
];
$cookies['matomo']['script'] = <<<SCRIPT

View file

@ -34,8 +34,6 @@
</div>
<div class="cn-banner-para-p">
<p>{!! nl2br(e($strings->banner_text)) !!}</p>
<br>
<br>
<a href="{{ route('fo.charte') }}"
title="{{ __('Voir la charte de confidentialité') }}">{{ __('Charte de confidentialité') }}</a>
</div>
@ -43,10 +41,8 @@
</div>
{{-- 2ND PAGE CUSTOMIZE PANEL --}}
<div class="cn-modal-container d-none">
<div class="cn-modal-wrapper">
{{-- COOKIES LIST --}}
<ul id="cn-modal-list"></ul>
</div>
{{-- COOKIES LIST --}}
<ul id="cn-modal-list"></ul>
</div>
</div>
{{-- NAV BAR --}}