TYPO3 v15 dev-main snapshot ()
This commit is contained in:
@@ -0,0 +1,122 @@
|
||||
<html
|
||||
xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
|
||||
xmlns:core="http://typo3.org/ns/TYPO3/CMS/Core/ViewHelpers"
|
||||
data-namespace-typo3-fluid="true"
|
||||
>
|
||||
|
||||
<div class="form-row-md">
|
||||
<f:if condition="{f:count(subject: allTemplatesOnPage)} > 1">
|
||||
<div class="form-group">
|
||||
<form action="{f:be.uri(route: 'typoscript_active', parameters: '{id: pageUid}')}" method="post">
|
||||
<label class="form-label" for="selectedTemplate">
|
||||
<f:translate key="LLL:EXT:tstemplate/Resources/Private/Language/locallang_active.xlf:options.selectedRecord" />
|
||||
</label>
|
||||
<select
|
||||
name="selectedTemplate"
|
||||
id="selectedTemplate"
|
||||
class="form-select"
|
||||
data-global-event="change"
|
||||
data-action-navigate="$data=~s/$value/"
|
||||
data-action-submit="$form"
|
||||
>
|
||||
<f:for each="{allTemplatesOnPage}" as="template">
|
||||
<option
|
||||
value="{template.uid}"
|
||||
{f:if(condition:'{selectedTemplateUid} == {template.uid}', then:'selected="selected"')}
|
||||
>
|
||||
{template.title}
|
||||
</option>
|
||||
</f:for>
|
||||
</select>
|
||||
</form>
|
||||
</div>
|
||||
</f:if>
|
||||
<div class="form-group">
|
||||
<form action="#">
|
||||
<label for="searchValue" class="form-label">
|
||||
<f:translate key="LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.label.searchString" />
|
||||
</label>
|
||||
<div class="input-group">
|
||||
<input
|
||||
type="search"
|
||||
autocomplete="off"
|
||||
class="form-control t3js-collapse-search-term"
|
||||
name="searchValue"
|
||||
id="searchValue"
|
||||
data-persist-collapse-search-key="collapse-search-term-typoscript-active"
|
||||
value=""
|
||||
minlength="3"
|
||||
/>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="form-row-md">
|
||||
<div class="form-group">
|
||||
<form action="{f:be.uri(route: 'typoscript_active', parameters: '{id: pageUid}')}" method="post">
|
||||
<div class="form-check form-switch form-check-size-input">
|
||||
<input type="hidden" name="displayConstantSubstitutions" value="0" />
|
||||
<input
|
||||
type="checkbox"
|
||||
class="form-check-input"
|
||||
name="displayConstantSubstitutions"
|
||||
id="displayConstantSubstitutions"
|
||||
value="1"
|
||||
{f:if(condition: displayConstantSubstitutions, then:'checked="checked"')}
|
||||
data-global-event="change"
|
||||
data-action-submit="$form"
|
||||
data-value-selector="input[name='displayConstantSubstitutions']"
|
||||
/>
|
||||
<label class="form-check-label" for="displayConstantSubstitutions">
|
||||
<f:translate key="LLL:EXT:tstemplate/Resources/Private/Language/locallang_active.xlf:options.displayConstantSubstitutions" />
|
||||
</label>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<form action="{f:be.uri(route: 'typoscript_active', parameters: '{id: pageUid}')}" method="post">
|
||||
<div class="form-check form-switch form-check-size-input">
|
||||
<input type="hidden" name="displayComments" value="0" />
|
||||
<input
|
||||
type="checkbox"
|
||||
class="form-check-input"
|
||||
name="displayComments"
|
||||
id="displayComments"
|
||||
value="1"
|
||||
{f:if(condition: displayComments, then:'checked="checked"')}
|
||||
data-global-event="change"
|
||||
data-action-submit="$form"
|
||||
data-value-selector="input[name='displayComments']"
|
||||
/>
|
||||
<label class="form-check-label" for="displayComments">
|
||||
<f:translate key="LLL:EXT:tstemplate/Resources/Private/Language/locallang_active.xlf:options.displayComments" />
|
||||
</label>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<form action="{f:be.uri(route: 'typoscript_active', parameters: '{id: pageUid}')}" method="post">
|
||||
<div class="form-check form-switch form-check-size-input">
|
||||
<input type="hidden" name="sortAlphabetically" value="0" />
|
||||
<input
|
||||
type="checkbox"
|
||||
class="form-check-input"
|
||||
name="sortAlphabetically"
|
||||
id="sortAlphabetically"
|
||||
value="1"
|
||||
{f:if(condition: sortAlphabetically, then:'checked="checked"')}
|
||||
data-global-event="change"
|
||||
data-action-submit="$form"
|
||||
data-value-selector="input[name='sortAlphabetically']"
|
||||
/>
|
||||
<label class="form-check-label" for="sortAlphabetically">
|
||||
<f:translate key="LLL:EXT:tstemplate/Resources/Private/Language/locallang_active.xlf:options.sortAlphabetically" />
|
||||
</label>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user