<html
    xmlns:core="http://typo3.org/ns/TYPO3/CMS/Core/ViewHelpers"
    xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
    data-namespace-typo3-fluid="true"
>
<div class="form-section">

    <h4>
        <f:translate key="LLL:EXT:impexp/Resources/Private/Language/locallang.xlf:makeadvanc_files"/>
    </h4>
    <div class="form-group">
        <div class="form-check">
            <input type="hidden" name="tx_impexp[saveFilesOutsideExportFile]" value="" />
            <input
                class="form-check-input"
                type="checkbox"
                id="saveFilesOutsideExportFile"
                name="tx_impexp[saveFilesOutsideExportFile]"
                value="1"
                {f:if(condition:'{inData.saveFilesOutsideExportFile} == 1', then:'checked="checked"')}
            />
            <label class="form-check-label" for="saveFilesOutsideExportFile">
                <f:translate key="LLL:EXT:impexp/Resources/Private/Language/locallang.xlf:makeadvanc_saveFilesOutsideExportFile"/>
                <f:translate key="LLL:EXT:impexp/Resources/Private/Language/locallang.xlf:makeadvanc_saveFilesOutsideExportFile_limit"/>
            </label>
        </div>
    </div>

</div>
<div class="form-section">

    <h4>
        <f:translate key="makeadvanc_siteConfigurations" domain="impexp.messages"/>
    </h4>
    <div class="form-group">
        <div class="form-check">
            <input type="hidden" name="tx_impexp[includeSiteConfigurations]" value="" />
            <input
                class="form-check-input"
                type="checkbox"
                id="checkIncludeSiteConfigurations"
                name="tx_impexp[includeSiteConfigurations]"
                value="1"
                {f:if(condition:'{inData.includeSiteConfigurations} == 1', then:'checked="checked"')}
                {f:if(condition:'!{isAdmin}', then:'disabled="disabled"')}
            />
            <label class="form-check-label" for="checkIncludeSiteConfigurations">
                <f:translate key="makeadvanc_includeSiteConfigurations" domain="impexp.messages"/>
            </label>
        </div>
    </div>

</div>
<div class="form-section">

    <h4>
        <f:translate key="LLL:EXT:impexp/Resources/Private/Language/locallang.xlf:makeadvanc_extensionDependencies"/>
    </h4>
    <div class="form-group">
        <label class="form-label" for="extension_dep">
            <f:translate key="LLL:EXT:impexp/Resources/Private/Language/locallang.xlf:makeadvanc_selectExtensionsThatThe"/>
        </label>
        <select
            id="extension_dep"
            class="form-select"
            name="tx_impexp[extension_dep][]"
            multiple="multiple"
            size="{f:if(condition: '{tableSelectOptions -> f:count()} > 9', then: '10', else: '5')}"
        >
            <f:for each="{extensions}" as="optionLabel" key="optionValue">
                <option value="{optionValue}" {f:contains(value: optionValue, subject: inData.extension_dep, then: 'selected="selected"')}>{optionLabel}</option>
            </f:for>
        </select>
    </div>
    <div class="form-group">
        <button
            type="submit"
            class="btn btn-default"
        >
            <core:icon identifier="actions-refresh" size="small" />
            <f:translate key="LLL:EXT:impexp/Resources/Private/Language/locallang.xlf:makesavefo_update"/>
        </button>
    </div>

</div>
