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