since the upgrade to 2.0.1, the first line in the following code
Code: Select all
{if empty($smarty.cookies.cookie_consent)}
<!-- Begin EU cookie consent (HTML) -->
<div id="cookie_consent">
{if $page_lang == 'de_DE'}
<p>Wir verwenden Cookies, um Ihnen auf unserer Webseite die bestmögliche Darstellung und Seitennutzung anbieten zu können.<br />
Wenn Sie unsere Webseite weiter nutzen, ohne Ihre Browsereinstellungen zu ändern, stimmen Sie sder Nutzung von Cookies auf dieser Webseite zu.<br />
<br />
<a class="accept_cookies">Fortsetzen</a><a href="datenschutz" target="_blank" class="more_info">Mehr Informationen...</a></p>
{else}
<p>We use cookies to ensure that we give you the best experience on our website.<br />
If you continue without changing your browser settings, we will assume that you are happy to receive all cookies on this website.<br />
<br />
<a class="accept_cookies">Continue</a><a href="privacy" target="_blank" class="more_info">More info...</a></p>
{/if}
</div>
<!-- End EU cookie consent (HTML) -->
{/if}
The cookie is set as follows:
Code: Select all
{literal}
<!-- Begin EU cookie consent (JQuery) -->
<__script__ type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></__script>
<__script__ type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery-cookie/1.4.1/jquery.cookie.min.js"></__script>
<__script__ type="text/javascript">
$(".accept_cookies").click(function () {
$("#cookie_consent").toggle("slow");
location.reload();
} );
$(document).ready(function() {
$.cookie("cookie_consent", "yes", { domain: "klangexzellenz.de", path: "/", expires: 1095 } );
} );
</__script>
<!-- End EU cookie consent (JQuery) -->
{/literal}



