[!!!][FEATURE] Streamline Fluid Styled Content and CSS Styled Content
[Packages/TYPO3.CMS.git] / typo3 / sysext / fluid_styled_content / Resources / Private / Templates / Textmedia.html
1 <html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
2 <f:layout name="Default" />
3 <f:section name="Header">
4
5 <f:if condition="{gallery.position.noWrap} != 1">
6 <f:render partial="Header/All" arguments="{_all}" />
7 </f:if>
8
9 </f:section>
10 <f:section name="Main">
11
12 <div class="ce-textpic ce-{gallery.position.horizontal} ce-{gallery.position.vertical}{f:if(condition: gallery.position.noWrap, then: ' ce-nowrap')}">
13 <f:if condition="{gallery.position.vertical} != 'below'">
14 <f:render partial="Media/Gallery" arguments="{_all}" />
15 </f:if>
16
17 <f:if condition="{data.bodytext}">
18 <f:then>
19 <div class="ce-bodytext">
20 <f:if condition="{gallery.position.noWrap}">
21 <f:render partial="Header/All" arguments="{_all}" />
22 </f:if>
23 <f:format.html>{data.bodytext}</f:format.html>
24 </div>
25 </f:then>
26 <f:else>
27 <f:if condition="{gallery.position.noWrap}">
28 <f:if condition="{data.header}">
29 <div class="ce-bodytext">
30 <f:render partial="Header" arguments="{_all}" />
31 </div>
32 </f:if>
33 </f:if>
34 </f:else>
35 </f:if>
36
37 <f:if condition="{gallery.position.vertical} == 'below'">
38 <f:render partial="Media/Gallery" arguments="{_all}" />
39 </f:if>
40 </div>
41
42 </f:section>
43 </html>