-
Notifications
You must be signed in to change notification settings - Fork 3
/
Textmedia.html
43 lines (37 loc) · 1.55 KB
/
Textmedia.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<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:if condition="{gallery.position.noWrap} != 1">
<f:render partial="Header/All" arguments="{_all}" />
</f:if>
</f:section>
<f:section name="Main">
<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:section>
</html>