[TASK] Database analyzer: Enable add tables and add fields
[Packages/TYPO3.CMS.git] / typo3 / sysext / install / Resources / Private / Partials / Action / Tool / ImportantActions / DatabaseAnalyzerData.html
1 <h4>Database analyzer</h4>
2
3 <form method="post">
4 <f:render partial="Action/Common/HiddenFormFields" arguments="{_all}" />
5 <input type="hidden" name="install[set][databaseAnalyzerAnalyze]" />
6
7 <f:if condition="{databaseAnalyzerSuggestion.addTable}">
8 <f:render
9 partial="Action/Tool/ImportantActions/DatabaseAnalyzerSuggestion"
10 arguments="{
11 key: 'addTable',
12 label: 'Add tables',
13 data: '{databaseAnalyzerSuggestion.addTable}',
14 enabled: 1
15 }"
16 />
17 </f:if>
18
19 <f:if condition="{databaseAnalyzerSuggestion.addField}">
20 <f:render
21 partial="Action/Tool/ImportantActions/DatabaseAnalyzerSuggestion"
22 arguments="{
23 key: 'addField',
24 label: 'Add fields to tables',
25 data: '{databaseAnalyzerSuggestion.addField}',
26 enabled: 1
27 }"
28 />
29 </f:if>
30
31 <f:if condition="{databaseAnalyzerSuggestion.change}">
32 <f:render
33 partial="Action/Tool/ImportantActions/DatabaseAnalyzerSuggestion"
34 arguments="{
35 key: 'change',
36 label: 'Change fields',
37 data: '{databaseAnalyzerSuggestion.change}'
38 }"
39 />
40 </f:if>
41
42 <f:if condition="{databaseAnalyzerSuggestion.renameTableToUnused}">
43 <f:render
44 partial="Action/Tool/ImportantActions/DatabaseAnalyzerSuggestion"
45 arguments="{
46 key: 'renameTableToUnused',
47 label: 'Remove tables (rename with prefix)',
48 data: '{databaseAnalyzerSuggestion.renameTableToUnused}'
49 }"
50 />
51 </f:if>
52
53 <f:if condition="{databaseAnalyzerSuggestion.renameTableFieldToUnused}">
54 <f:render
55 partial="Action/Tool/ImportantActions/DatabaseAnalyzerSuggestion"
56 arguments="{
57 key: 'renameTableFieldToUnused',
58 label: 'Remove unused fields (rename with prefix)',
59 data: '{databaseAnalyzerSuggestion.renameTableFieldToUnused}'
60 }"
61 />
62 </f:if>
63
64 <f:if condition="{databaseAnalyzerSuggestion.deleteField}">
65 <f:render
66 partial="Action/Tool/ImportantActions/DatabaseAnalyzerSuggestion"
67 arguments="{
68 key: 'deleteField',
69 label: 'Drop fields (really!)',
70 data: '{databaseAnalyzerSuggestion.deleteField}'
71 }"
72 />
73 </f:if>
74
75 <f:if condition="{databaseAnalyzerSuggestion.deleteTable}">
76 <f:render
77 partial="Action/Tool/ImportantActions/DatabaseAnalyzerSuggestion"
78 arguments="{
79 key: 'deleteTable',
80 label: 'Drop tables (really!)',
81 data: '{databaseAnalyzerSuggestion.deleteTable}'
82 }"
83 />
84 </f:if>
85
86 <f:render partial="Action/Common/SubmitButton" arguments="{name:'databaseAnalyzerExecute', text:'Execute'}"/>
87 </form>