TYPO3 v15 dev-main snapshot ()
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" xmlns:ce="http://typo3.org/ns/TYPO3/CMS/FluidStyledContent/ViewHelpers" data-namespace-typo3-fluid="true">
|
||||
<f:if condition="{gallery.rows}">
|
||||
<div class="ce-gallery{f:if(condition: data.imageborder, then: ' ce-border')}" data-ce-columns="{gallery.count.columns}" data-ce-images="{gallery.count.files}">
|
||||
<f:if condition="{gallery.position.horizontal} == 'center'">
|
||||
<div class="ce-outer">
|
||||
<div class="ce-inner">
|
||||
</f:if>
|
||||
<f:for each="{gallery.rows}" as="row">
|
||||
<div class="ce-row">
|
||||
<f:for each="{row.columns}" as="column">
|
||||
<f:if condition="{column.media}">
|
||||
<div class="ce-column">
|
||||
<f:render partial="Media/Type" arguments="{file: column.media, dimensions: column.dimensions, data: data, settings: settings}" />
|
||||
</div>
|
||||
</f:if>
|
||||
</f:for>
|
||||
</div>
|
||||
</f:for>
|
||||
<f:if condition="{gallery.position.horizontal} == 'center'">
|
||||
</div>
|
||||
</div>
|
||||
</f:if>
|
||||
</div>
|
||||
</f:if>
|
||||
</html>
|
||||
@@ -0,0 +1,3 @@
|
||||
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
|
||||
<f:media class="audio-embed-item" file="{file}" width="{dimensions.width}" height="{dimensions.height}" alt="{file.alternative}" title="{file.title}" />
|
||||
</html>
|
||||
@@ -0,0 +1,3 @@
|
||||
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
|
||||
<f:media class="image-embed-item" file="{file}" width="{dimensions.width}" height="{dimensions.height}" alt="{file.alternative}" title="{file.title}" loading="{settings.media.lazyLoading}" decoding="{settings.media.imageDecoding}" />
|
||||
</html>
|
||||
@@ -0,0 +1,3 @@
|
||||
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
|
||||
<f:media class="video-embed-item" file="{file}" width="{dimensions.width}" height="{dimensions.height}" alt="{file.alternative}" title="{file.title}" additionalConfig="{settings.media.additionalConfig}" />
|
||||
</html>
|
||||
@@ -0,0 +1,13 @@
|
||||
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
|
||||
<f:switch expression="{file.type}">
|
||||
<f:case value="3">
|
||||
<f:render partial="Media/Type/Audio" arguments="{file: file, dimensions: dimensions, data: data, settings: settings}" />
|
||||
</f:case>
|
||||
<f:case value="4">
|
||||
<f:render partial="Media/Type/Video" arguments="{file: file, dimensions: dimensions, data: data, settings: settings}" />
|
||||
</f:case>
|
||||
<f:defaultCase>
|
||||
<f:render partial="Media/Type/Image" arguments="{file: file, dimensions: dimensions, data: data, settings: settings}" />
|
||||
</f:defaultCase>
|
||||
</f:switch>
|
||||
</html>
|
||||
@@ -0,0 +1,12 @@
|
||||
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
|
||||
<figure class="audio">
|
||||
<div class="audio-embed">
|
||||
<f:render partial="Media/Rendering/Audio" arguments="{file: file, dimensions: dimensions, settings: settings}" />
|
||||
</div>
|
||||
<f:if condition="{file.description}">
|
||||
<figcaption class="audio-caption">
|
||||
{file.description -> f:format.nl2br()}
|
||||
</figcaption>
|
||||
</f:if>
|
||||
</figure>
|
||||
</html>
|
||||
@@ -0,0 +1,28 @@
|
||||
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" xmlns:ce="http://typo3.org/ns/TYPO3/CMS/FluidStyledContent/ViewHelpers" data-namespace-typo3-fluid="true">
|
||||
<figure class="image">
|
||||
<f:if condition="{file.link}">
|
||||
<f:then>
|
||||
<f:link.typolink parameter="{file.link}" title="{file.title}">
|
||||
<f:render partial="Media/Rendering/Image" arguments="{file: file, dimensions: dimensions, settings: settings}" />
|
||||
</f:link.typolink>
|
||||
</f:then>
|
||||
<f:else>
|
||||
<f:if condition="{data.image_zoom}">
|
||||
<f:then>
|
||||
<ce:link.clickEnlarge image="{file}" configuration="{settings.media.popup}">
|
||||
<f:render partial="Media/Rendering/Image" arguments="{file: file, dimensions: dimensions, settings: settings}" />
|
||||
</ce:link.clickEnlarge>
|
||||
</f:then>
|
||||
<f:else>
|
||||
<f:render partial="Media/Rendering/Image" arguments="{file: file, dimensions: dimensions, settings: settings}" />
|
||||
</f:else>
|
||||
</f:if>
|
||||
</f:else>
|
||||
</f:if>
|
||||
<f:if condition="{file.description}">
|
||||
<figcaption class="image-caption">
|
||||
{file.description -> f:format.nl2br()}
|
||||
</figcaption>
|
||||
</f:if>
|
||||
</figure>
|
||||
</html>
|
||||
@@ -0,0 +1,12 @@
|
||||
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
|
||||
<figure class="video">
|
||||
<div class="video-embed">
|
||||
<f:render partial="Media/Rendering/Video" arguments="{file: file, dimensions: dimensions, settings: settings}" />
|
||||
</div>
|
||||
<f:if condition="{file.description}">
|
||||
<figcaption class="video-caption">
|
||||
{file.description -> f:format.nl2br()}
|
||||
</figcaption>
|
||||
</f:if>
|
||||
</figure>
|
||||
</html>
|
||||
Reference in New Issue
Block a user