<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">

<f:be.infobox state="{f:if(condition:'{preset.isAvailable}', then:'0', else:'2')}" disableIcon="true">
    <input
        type="radio"
        class="t3-install-tool-configuration-radio"
        id="t3-install-tool-configuration-mail-sendmail"
        name="install[values][{feature.name}][enable]"
        value="{preset.name}"
        {f:if(condition:'{preset.isAvailable}', then:'', else:'disabled="disabled"')}
        {f:if(condition: preset.isActive, then:'checked="checked"')}
    />
    <label for="t3-install-tool-configuration-mail-sendmail" class="t3-install-tool-configuration-radio-label">
        <strong>Import sendmail command from PHP settings</strong> {f:if(condition: preset.isActive, then:' [Active]')}
    </label>
    <f:if condition="{preset.isAvailable}">
        <f:then>
            <p>If you enable this setting the sendmail command will be set to:</p>
            <p><pre>{preset.sendmailPath}</pre></p>
        </f:then>
        <f:else>
            <p>Sendmail was not found in your PHP settings.</p>
        </f:else>
    </f:if>
</f:be.infobox>

</html>
