[TASK] Store System Maintenance tokens in data attributes
[Packages/TYPO3.CMS.git] / typo3 / sysext / install / Resources / Private / Templates / Maintenance / ClearTypo3tempFiles.html
index 6abd99c..d5d83c8 100644 (file)
@@ -1,43 +1,44 @@
-       <h4>About</h4>
-       <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>
+<h4>About</h4>
+<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="t3js-clearTypo3temp-output"></div>
 
        <hr>
 
-<div class="form-group">
-       <div class="t3js-clearTypo3temp-stat-container"></div>
-</div>
+       <div class="form-group">
+               <div class="t3js-clearTypo3temp-stat-container"></div>
+       </div>
 
-<div style="display:none;">
-       <div id="t3js-clearTypo3temp-delete-token" style="display:none;">{clearTypo3tempFilesToken}</div>
-       <div class="t3js-clearTypo3temp-stat-template">
-               <button
+       <div style="display:none;">
+               <div class="t3js-clearTypo3temp-stat-template">
+                       <button
                                class="btn btn-warning t3js-clearTypo3temp-delete"
                                type="button"
-               >
-                       Delete <span class="t3js-clearTypo3temp-stat-numberOfFiles"></span> files in
-                       typo3temp/assets/<span class="t3js-clearTypo3temp-stat-directory"></span>
-               </button>
-               <hr class="t3js-clearTypo3temp-stat-lastRuler">
+                       >
+                               Delete <span class="t3js-clearTypo3temp-stat-numberOfFiles"></span> files in
+                               typo3temp/assets/<span class="t3js-clearTypo3temp-stat-directory"></span>
+                       </button>
+                       <hr class="t3js-clearTypo3temp-stat-lastRuler">
+               </div>
        </div>
-</div>
        <button
                class="btn btn-default t3js-clearTypo3temp-stats"
                type="button"
        >
                Scan again
        </button>
+</div>