[TASK] Fix typos & grammar issues in Install Tool
[Packages/TYPO3.CMS.git] / typo3 / sysext / install / Resources / Private / Partials / Action / Tool / CleanUp / Typo3TempFiles.html
1 <h4>Clean typo3temp/ folder</h4>
2
3 <div class="toggleGroup">
4 <div class="toggleButton">
5 <h4>About</h4>
6 </div>
7 <div class="toggleData" style="display:none">
8 <div class="toggleDataContent">
9 <p>
10 TYPO3 uses this directory for temporary files, mainly processed and cached images.
11 The filenames are cryptic. They are unique representations of the file properties
12 made by md5-hashing a serialized array with information.
13 </p>
14 <p>
15 Anyway this directory may contain many thousand files and a lot of them may be of no use anymore.
16 </p>
17 <p>
18 With this action you can delete the files in this folder. When you do that, you
19 should also clear the cache database tables afterwards.
20 </p>
21 <p>
22 This tool will delete files only if the last 10 characters before the extension
23 (3 chars+'.') are hexadecimal valid ciphers, which are lowercase a-f and 0-9.
24 </p>
25 </div>
26 </div>
27 </div>
28
29 <dl class="t3-install-definitionlist">
30 <dt>
31 Number of temporary files:
32 </dt>
33 <dd>
34 {typo3TempData.numberOfFilesInSelectedDirectory}
35 </dd>
36 <dt>
37 Number matching:
38 </dt>
39 <dd>
40 {typo3TempData.numberOfFilesMatchingCriteria}
41 </dd>
42 <dt>
43 Number deleted:
44 </dt>
45 <dd>
46 {typo3TempData.numberOfDeletedFiles}
47 </dd>
48 </dl>
49
50 <form method="post">
51 <f:render partial="Action/Common/HiddenFormFields" arguments="{_all}" />
52
53 <fieldset>
54 <ol>
55 <li>
56 <label for="t3-install-delete">
57 Delete files by condition
58 </label>
59 <select
60 id="t3-install-delete"
61 name="install[values][condition]"
62 >
63 <option value="0">All</option>
64 <option value="day" {f:if(condition:'{typo3TempData.selectedCondition} == \'day\'', then:'selected="selected"')}>Last access more than a day ago</option>
65 <option value="week" {f:if(condition:'{typo3TempData.selectedCondition} == \'week\'', then:'selected="selected"')}>Last access more than a week ago</option>
66 <option value="month" {f:if(condition:'{typo3TempData.selectedCondition} == \'month\'', then:'selected="selected"')}>Last access more than a month ago</option>
67 <option value="10" {f:if(condition:'{typo3TempData.selectedCondition} == \'10\'', then:'selected="selected"')}>File size greater than 10K</option>
68 <option value="50" {f:if(condition:'{typo3TempData.selectedCondition} == \'50\'', then:'selected="selected"')}>File size greater than 50K</option>
69 <option value="100" {f:if(condition:'{typo3TempData.selectedCondition} == \'100\'', then:'selected="selected"')}>File size greater than 100K</option>
70 </select>
71 </li>
72
73 <li>
74 <label for="t3-install-action">
75 Number of files at a time:
76 </label>
77 <select
78 id="t3-install-action"
79 name="install[values][numberOfFiles]"
80 >
81 <option value="0">Don't delete, just display statistics</option>
82 <option value="500" {f:if(condition:'{typo3TempData.numberOfFiles} == \'500\'', then:'selected="selected"')}>Delete 500</option>
83 <option value="1000" {f:if(condition:'{typo3TempData.numberOfFiles} == \'1000\'', then:'selected="selected"')}>Delete 1000</option>
84 <option value="5000" {f:if(condition:'{typo3TempData.numberOfFiles} == \'5000\'', then:'selected="selected"')}>Delete 5000</option>
85 </select>
86 </li>
87
88 <li>
89 <label for="t3-install-subdirectory">
90 From sub-directory:
91 </label>
92 <select
93 id="t3-install-subdirectory"
94 name="install[values][subDirectory]"
95 >
96 <f:for each="{typo3TempData.subDirectories}" as="subDirectory">
97 <option
98 value="{subDirectory.name}"
99 {f:if(condition:subDirectory.selected, then:'selected="selected"')}
100 >
101 <f:if condition="{subDirectory.name}">
102 {subDirectory.name}/ (Files: {subDirectory.filesNumber})
103 </f:if>
104 </option>
105 </f:for>
106 </select>
107 </li>
108 </ol>
109 </fieldset>
110
111 <f:render
112 partial="Action/Common/SubmitButton"
113 arguments="{name:'deleteTypo3TempFiles', text:'Execute'}"
114 />
115 </form>