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

<p>
    TYPO3 stores processed files and cached images in a dedicated directory.
    This directory is likely to grow quickly.
</p>
<p>
    With this action you can delete the files in this folder. Afterwards, you
    should also clear the cache database tables.
</p>
<p>
    The File Abstraction Layer additionally stores a database record for every file
    it needs to process. (e.g. image thumbnails). In case you modified some graphics
    settings (All Configuration [GFX]) and you need all processed files to get regenerated,
    you can use this tool to remove the "_processed_" ones.
</p>

<div class="t3js-module-content" data-clear-typo3temp-delete-token="{clearTypo3tempFilesToken}">
    <div class="module-action-list t3js-clearTypo3temp-stat-container"></div>
</div>

<template id="t3js-clearTypo3temp-stat-template">
    <div class="module-action-item">
        <div class="module-action-item-body">
            <div class="module-action-item-description">
                <strong class="t3js-clearTypo3temp-stat-directory"></strong> contains <output class="t3js-clearTypo3temp-stat-numberOfFiles"></output> files
            </div>
        </div>
        <div class="module-action-item-action">
            <button type="button" class="btn btn-default btn-sm t3js-clearTypo3temp-delete">
                <core:icon identifier="actions-delete" size="small" /> Delete files
            </button>
        </div>
    </div>
</template>

</html>
