[!!!][FEATURE] Streamline Fluid Styled Content and CSS Styled Content
[Packages/TYPO3.CMS.git] / typo3 / sysext / fluid_styled_content / Resources / Private / Partials / Header / SubHeader.html
1 <html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
2 <f:if condition="{subheader}">
3 <f:switch expression="{layout}">
4 <f:case value="1">
5 <h2 class="{positionClass}">
6 {subheader}
7 </h2>
8 </f:case>
9 <f:case value="2">
10 <h3 class="{positionClass}">
11 {subheader}
12 </h3>
13 </f:case>
14 <f:case value="3">
15 <h4 class="{positionClass}">
16 {subheader}
17 </h4>
18 </f:case>
19 <f:case value="4">
20 <h5 class="{positionClass}">
21 {subheader}
22 </h5>
23 </f:case>
24 <f:case value="5">
25 <h6 class="{positionClass}">
26 {subheader}
27 </h6>
28 </f:case>
29 <f:defaultCase>
30 <f:if condition="{default}">
31 <f:render partial="Header/SubHeader" arguments="{
32 subheader: subheader,
33 positionClass: positionClass,
34 layout: default}" />
35 </f:if>
36 </f:defaultCase>
37 </f:switch>
38 </f:if>
39 </html>