Replaces a tags with typolink viewhelpers to enable target attribute
This commit is contained in:
@@ -18,7 +18,11 @@
|
||||
<ul class="list-disc text-white mb-0 pl-4">
|
||||
<f:for each="{menuheader.children}" as="submenuitem">
|
||||
<li>
|
||||
<a class="text-white" href="{submenuitem.link}"{f:if(condition: '{submenuitem.doktype} == 3', then: ' target="_blank"')} title="{submenuitem.linktext}">{submenuitem.title}</a>
|
||||
<f:link.typolink parameter="{submenuitem.link}"
|
||||
title="{submenuitem.linktext}"
|
||||
class="text-white">
|
||||
{submenuitem.title}
|
||||
</f:link.typolink>
|
||||
</li>
|
||||
</f:for>
|
||||
</ul>
|
||||
@@ -90,25 +94,25 @@
|
||||
<div class="md:col-span-3 text-center md:text-left">
|
||||
<ul class="p-0 m-0">
|
||||
<li>
|
||||
<a href="{f:uri.typolink(parameter: settings.legalNoticePageUid)}"
|
||||
class="text-white"
|
||||
title="Impressum">
|
||||
<f:link.typolink parameter="{settings.legalNoticePageUid}"
|
||||
class="text-white"
|
||||
title="Impressum">
|
||||
Impressum
|
||||
</a>
|
||||
</f:link.typolink>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{f:uri.typolink(parameter: settings.termsAndConditionsPageUid)}"
|
||||
class="text-white"
|
||||
title="AGB">
|
||||
<f:link.typolink parameter="{settings.termsAndConditionsPageUid}"
|
||||
class="text-white"
|
||||
title="AGB">
|
||||
AGB
|
||||
</a>
|
||||
</f:link.typolink>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{f:uri.typolink(parameter: settings.dataProtectionPageUid)}"
|
||||
class="text-white"
|
||||
title="AGB">
|
||||
<f:link.typolink parameter="{settings.dataProtectionPageUid}"
|
||||
class="text-white"
|
||||
title="Datenschutz">
|
||||
Datenschutz
|
||||
</a>
|
||||
</f:link.typolink>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#"
|
||||
@@ -151,6 +155,7 @@
|
||||
<a class="block bg-white p-2 w-24 mx-auto rounded"
|
||||
href="https://www.unglobalcompact.org/"
|
||||
target="_blank"
|
||||
rel="nofollow"
|
||||
title="Global Compact">
|
||||
<ep:lazyLoadImage src="EXT:ep_theme/Resources/Public/images/global_compact.png"
|
||||
loaderimg="EXT:ep_theme/Resources/Public/images/lazy.png"
|
||||
|
||||
Reference in New Issue
Block a user