[!!!][TASK] Rewrite install tool
[Packages/TYPO3.CMS.git] / typo3 / sysext / install / Resources / Private / Partials / Action / Tool / CleanUp / ClearTables.html
1 <h4>Clear tables</h4>
2
3 <p>
4 Use with care! Clearing tables here can have a negative impact on your site functionality.
5 You could log out all users and delete all their basket data and loose logging
6 information!
7 </p>
8 <p>
9 Some database tables in TYPO3 CMS hold semi-temporary data that is not deleted if
10 clicking "Clear all cache" in the backend. Those can be cleared here, effectively
11 removing *all* rows from it. This can be useful in rare cases.
12 </p>
13
14 <form method="post">
15 <f:render partial="Action/Common/HiddenFormFields" arguments="{_all}" />
16
17 <f:for each="{cleanableTables}" as="cleanableTable">
18 <fieldset>
19 <ol>
20 <li class="t3-install-form-label-after">
21 <input
22 id="t3-install-database_clearcache-{cleanableTable.name}"
23 name="install[values][{cleanableTable.name}]"
24 value="1"
25 type="checkbox"
26 />
27 <label for="t3-install-database_clearcache-{cleanableTable.name}">
28 <strong>{cleanableTable.name}</strong>, Rows: {cleanableTable.rows}, Description: {cleanableTable.description}
29 </label>
30 </li>
31 </ol>
32 </fieldset>
33 </f:for>
34
35 <f:render
36 partial="Action/Common/SubmitButton"
37 arguments="{name:'clearTables', text:'Clear selected tables'}"
38 />
39 </form>