Created
November 25, 2022 10:16
-
-
Save elmarputz/4ebfb9a8a437c4c6d9087aa1a5b1707d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true"> | |
<f:layout name="Default" /> | |
<f:section name="Header"> | |
<f:comment> | |
<f:debug>{_all}</f:debug> | |
</f:comment> | |
<f:if condition="{gallery.position.noWrap} != 1"> | |
<f:if condition="{data.layout} < 10"> | |
<f:render partial="Header/All" arguments="{_all}" /> | |
</f:if> | |
</f:if> | |
</f:section> | |
<f:section name="Main"> | |
<f:switch expression="{data.layout}"> | |
<f:case value="11"> | |
<f:render partial="Textmedia/KWMBanner" arguments="{_all}" /> | |
</f:case> | |
<f:defaultCase> | |
<div class="ce-textpic ce-{gallery.position.horizontal} ce-{gallery.position.vertical}{f:if(condition: gallery.position.noWrap, then: ' ce-nowrap')}"> | |
<f:if condition="{gallery.position.vertical} != 'below'"> | |
<f:render partial="Media/Gallery" arguments="{_all}" /> | |
</f:if> | |
<f:if condition="{data.bodytext}"> | |
<f:then> | |
<div class="ce-bodytext"> | |
<f:if condition="{gallery.position.noWrap}"> | |
<f:render partial="Header/All" arguments="{_all}" /> | |
</f:if> | |
<f:format.html>{data.bodytext}</f:format.html> | |
</div> | |
</f:then> | |
<f:else> | |
<f:if condition="{gallery.position.noWrap}"> | |
<f:if condition="{data.header}"> | |
<div class="ce-bodytext"> | |
<f:render partial="Header/All" arguments="{_all}" /> | |
</div> | |
</f:if> | |
</f:if> | |
</f:else> | |
</f:if> | |
<f:if condition="{gallery.position.vertical} == 'below'"> | |
<f:render partial="Media/Gallery" arguments="{_all}" /> | |
</f:if> | |
</div> | |
</f:defaultCase> | |
</f:switch> | |
</f:section> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment