TYPO3 v15 dev-main snapshot ()
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
|
||||
<f:if condition="{subheader}">
|
||||
<f:switch expression="{layout}">
|
||||
<f:case value="1">
|
||||
<h2 class="{positionClass}">
|
||||
{subheader}
|
||||
</h2>
|
||||
</f:case>
|
||||
<f:case value="2">
|
||||
<h3 class="{positionClass}">
|
||||
{subheader}
|
||||
</h3>
|
||||
</f:case>
|
||||
<f:case value="3">
|
||||
<h4 class="{positionClass}">
|
||||
{subheader}
|
||||
</h4>
|
||||
</f:case>
|
||||
<f:case value="4">
|
||||
<h5 class="{positionClass}">
|
||||
{subheader}
|
||||
</h5>
|
||||
</f:case>
|
||||
<f:case value="5">
|
||||
<h6 class="{positionClass}">
|
||||
{subheader}
|
||||
</h6>
|
||||
</f:case>
|
||||
<f:defaultCase>
|
||||
<f:if condition="{default}">
|
||||
<f:render partial="Header/SubHeader" arguments="{
|
||||
subheader: subheader,
|
||||
positionClass: positionClass,
|
||||
layout: default}" />
|
||||
</f:if>
|
||||
</f:defaultCase>
|
||||
</f:switch>
|
||||
</f:if>
|
||||
</html>
|
||||
Reference in New Issue
Block a user