| Current Path : /var/www/surf/TYPO3/vendor/typo3/cms-tstemplate/Resources/Private/Partials/ |
| Current File : /var/www/surf/TYPO3/vendor/typo3/cms-tstemplate/Resources/Private/Partials/ActiveOptions.html |
<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 align-items-md-end">
<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="#">
<div class="input-group">
<input
type="text"
class="form-control form-control-clearable t3js-collapse-search-term"
name="searchValue"
id="searchValue"
data-persist-collapse-search-key="collapse-search-term-typoscript-active"
value=""
minlength="3"
placeholder="{f:translate(key: 'LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.enterSearchString')}"
/>
<button type="submit" class="btn btn-default disabled"><core:icon identifier="actions-search" /></button>
</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">
<input type="hidden" name="displayConstantSubstitutions" value="0" />
<div class="form-check form-switch form-check-size-input">
<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">
<input type="hidden" name="displayComments" value="0" />
<div class="form-check form-switch form-check-size-input">
<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">
<input type="hidden" name="sortAlphabetically" value="0" />
<div class="form-check form-switch form-check-size-input">
<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>