Initial commit - Typo3 11.5.41
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
<!--
|
||||
~ Copyright (c) 2021.
|
||||
~
|
||||
~ @category TYPO3
|
||||
~
|
||||
~ @copyright 2021 Dirk Persky (https://github.com/DirkPersky)
|
||||
~ @author Dirk Persky <info@dp-wired.de>
|
||||
~ @license MIT
|
||||
-->
|
||||
|
||||
<html data-namespace-typo3-fluid="true"
|
||||
xmlns:dp="http://typo3.org/ns/DirkPersky/DpCookieconsent/ViewHelpers"
|
||||
xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers">
|
||||
<f:format.raw>{flexform.consentscript}</f:format.raw>
|
||||
</html>
|
||||
@@ -0,0 +1,24 @@
|
||||
<!--
|
||||
~ Copyright (c) 2021.
|
||||
~
|
||||
~ @category TYPO3
|
||||
~
|
||||
~ @copyright 2021 Dirk Persky (https://github.com/DirkPersky)
|
||||
~ @author Dirk Persky <info@dp-wired.de>
|
||||
~ @license MIT
|
||||
-->
|
||||
|
||||
<html data-namespace-typo3-fluid="true"
|
||||
xmlns:dp="http://typo3.org/ns/DirkPersky/DpCookieconsent/ViewHelpers"
|
||||
xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers">
|
||||
|
||||
<dp-content
|
||||
data-cookieconsent="{flexform.type}"
|
||||
class="dp--iframe"
|
||||
{f:if(condition:flexform.notice, then:'data-cookieconsent-notice="{flexform.notice}"')}
|
||||
{f:if(condition:flexform.description, then:'data-cookieconsent-description="{flexform.description}"')}
|
||||
{f:if(condition:flexform.btn, then:'data-cookieconsent-btn="{flexform.btn}"')}
|
||||
data-src="{f:uri.action(action:"show", arguments:"{content: data.uid}")}"
|
||||
>
|
||||
</dp-content>
|
||||
</html>
|
||||
@@ -0,0 +1,43 @@
|
||||
<!--
|
||||
~ Copyright (c) 2021.
|
||||
~
|
||||
~ @category TYPO3
|
||||
~
|
||||
~ @copyright 2021 Dirk Persky (https://github.com/DirkPersky)
|
||||
~ @author Dirk Persky <info@dp-wired.de>
|
||||
~ @license MIT
|
||||
-->
|
||||
<html data-namespace-typo3-fluid="true"
|
||||
xmlns:dp="http://typo3.org/ns/DirkPersky/DpCookieconsent/ViewHelpers"
|
||||
xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers">
|
||||
<tr>
|
||||
<td class="cc-no-wrap">
|
||||
<f:format.raw>{cookieItem.name}</f:format.raw>
|
||||
</td>
|
||||
<td>
|
||||
<f:if condition="{cookieItem.description}">
|
||||
<f:then>
|
||||
<f:format.raw>{cookieItem.description}</f:format.raw>
|
||||
</f:then>
|
||||
<f:else>
|
||||
<f:format.raw>{settings.base_uri.host}</f:format.raw>
|
||||
</f:else>
|
||||
</f:if>
|
||||
</td>
|
||||
<td class="text-end cc-no-wrap">
|
||||
<f:format.raw>{cookieItem.duration}</f:format.raw> <f:translate key="cookie.duration_time.{cookieItem.durationTime}"/>
|
||||
</td>
|
||||
<td class="cc-no-wrap">
|
||||
<f:if condition="{cookieItem.vendorLink}">
|
||||
<f:then>
|
||||
<f:link.typolink parameter="{cookieItem.vendorLink}" target="_blank">
|
||||
<f:format.raw>{cookieItem.vendor}</f:format.raw>
|
||||
</f:link.typolink>
|
||||
</f:then>
|
||||
<f:else>
|
||||
<f:format.raw>{cookieItem.vendor}</f:format.raw>
|
||||
</f:else>
|
||||
</f:if>
|
||||
</td>
|
||||
</tr>
|
||||
</html>
|
||||
@@ -0,0 +1,23 @@
|
||||
<!--
|
||||
~ Copyright (c) 2021.
|
||||
~
|
||||
~ @category TYPO3
|
||||
~
|
||||
~ @copyright 2021 Dirk Persky (https://github.com/DirkPersky)
|
||||
~ @author Dirk Persky <info@dp-wired.de>
|
||||
~ @license MIT
|
||||
-->
|
||||
|
||||
<f:translate key="message" extensionName="dp_cookieconsent" />
|
||||
|
||||
<f:if condition="{settings.url}">
|
||||
<a aria-label="learn more about cookies"
|
||||
role=button tabindex="1"
|
||||
class="cc-link"
|
||||
href="{f:uri.page(pageUid:'{settings.url}')}"
|
||||
rel="noopener noreferrer nofollow"
|
||||
target="{settings.target}"
|
||||
>
|
||||
<f:translate key="link" extensionName="dp_cookieconsent"/>
|
||||
</a>
|
||||
</f:if>
|
||||
@@ -0,0 +1,11 @@
|
||||
<div class="cc-revoke dp--revoke <f:format.raw>{{</f:format.raw>classes}}">
|
||||
<i class="dp--icon-fingerprint"></i>
|
||||
<span class="dp--hover"><f:translate key="policy" extensionName="dp_cookieconsent" /></span>
|
||||
</div>
|
||||
|
||||
<f:comment>
|
||||
<!-- The Default Cookie Consent Button -->
|
||||
<div class="cc-revoke <f:format.raw>{{</f:format.raw>classes}}">
|
||||
<f:translate key="policy" extensionName="dp_cookieconsent" />
|
||||
</div>
|
||||
</f:comment>
|
||||
@@ -0,0 +1,27 @@
|
||||
<!--
|
||||
~ Copyright (c) 2021.
|
||||
~
|
||||
~ @category TYPO3
|
||||
~
|
||||
~ @copyright 2021 Dirk Persky (https://github.com/DirkPersky)
|
||||
~ @author Dirk Persky <info@dp-wired.de>
|
||||
~ @license MIT
|
||||
-->
|
||||
|
||||
<div class="dp--cookie-check" xmlns:f="http://www.w3.org/1999/html">
|
||||
<label for="dp--cookie-require">
|
||||
<f:form.checkbox checked="true" class="dp--check-box" disabled="disabled" id="dp--cookie-require" tabindex="-1"
|
||||
value=""/>
|
||||
<f:translate key="dpRequire" extensionName="dp_cookieconsent" />
|
||||
</label>
|
||||
<label for="dp--cookie-statistics">
|
||||
<f:form.checkbox checked="{settings.checkboxes.statistics}" class="dp--check-box" id="dp--cookie-statistics"
|
||||
tabindex="1" value=""/>
|
||||
<f:translate key="dpStatistik" extensionName="dp_cookieconsent" />
|
||||
</label>
|
||||
<label for="dp--cookie-marketing">
|
||||
<f:form.checkbox checked="{settings.checkboxes.marketing}" class="dp--check-box" id="dp--cookie-marketing"
|
||||
tabindex="1" value=""/>
|
||||
<f:translate key="dpMarketing" extensionName="dp_cookieconsent" />
|
||||
</label>
|
||||
</div>
|
||||
@@ -0,0 +1,10 @@
|
||||
<div class="dp--overlay-inner">
|
||||
<div class="dp--overlay-header"><f:format.raw>{{</f:format.raw>notice}}</div>
|
||||
<div class="dp--overlay-description"><f:format.raw>{{</f:format.raw>desc}}</div>
|
||||
<div class="dp--overlay-button">
|
||||
<button class="db--overlay-submit" onclick="window.DPCookieConsent.forceAccept(this)"
|
||||
data-cookieconsent="<f:format.raw>{{</f:format.raw>type}}" <f:format.raw>{{</f:format.raw>style}}>
|
||||
<f:format.raw>{{</f:format.raw>btn}}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,24 @@
|
||||
<!--
|
||||
~ Copyright (c) 2021.
|
||||
~
|
||||
~ @category TYPO3
|
||||
~
|
||||
~ @copyright 2021 Dirk Persky (https://github.com/DirkPersky)
|
||||
~ @author Dirk Persky <info@dp-wired.de>
|
||||
~ @license MIT
|
||||
-->
|
||||
|
||||
<html data-namespace-typo3-fluid="true"
|
||||
xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers">
|
||||
|
||||
<f:if condition="{script.scriptSrc}!=''">
|
||||
<script data-cookieconsent="{script.type}" data-ignore="1"
|
||||
data-src="{f:uri.typolink(parameter: '{script.scriptSrc}')}" type="text/plain"></script>
|
||||
</f:if>
|
||||
<f:if condition="{script.script}!=''">
|
||||
<script data-cookieconsent="{script.type}" data-ignore="1" type="text/plain">
|
||||
<f:format.raw>{script.script}</f:format.raw>
|
||||
</script>
|
||||
</f:if>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user