[TASK] impexp: Remove 'max number of records' restriction
[Packages/TYPO3.CMS.git] / typo3 / sysext / impexp / Resources / Private / Partials / Export / Configuration.html
1 <html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
2 <h3>
3 <f:translate key="makeconfig_exportPagetreeConfiguration" />
4 <f:be.buttons.csh table="xMOD_tx_impexp" field="pageTreeCfg" />
5 </h3>
6 <div class="row">
7 <div class="col-sm-2">
8 <label class="control-label"><f:translate key="makeconfig_pageId" /></label>
9 </div>
10 <div class="col-sm-10">
11 {inData.pagetree.id}
12 <f:form.hidden value="{inData.pagetree.id}" name="tx_impexp[pagetree][id]" />
13 </div>
14 </div>
15 <div class="row">
16 <div class="col-sm-2">
17 <label class="control-label">
18 <f:translate key="makeconfig_tree" />
19 <f:be.buttons.csh table="xMOD_tx_impexp" field="pageTreeDisplay" />
20 </label>
21 </div>
22 <div class="col-sm-10">
23 <f:if condition="{treeHTML}">
24 <f:then><f:format.raw>{treeHTML}</f:format.raw></f:then>
25 <f:else><f:translate key="makeconfig_noTreeExportedOnly" /></f:else>
26 </f:if>
27 </div>
28 </div>
29 <div class="form-group">
30 <label for="impexp-pagetree-levels">
31 <f:translate key="makeconfig_levels" />
32 </label>
33 <f:be.buttons.csh table="xMOD_tx_impexp" field="pageTreeMode" />
34 <f:form.select class="form-control" name="tx_impexp[pagetree][levels]" id="impexp-pagetree-levels" options="{levelSelectOptions}" value="{inData.pagetree.levels}" />
35 </div>
36 <div class="form-group">
37 <label for="impexp-pagetree-includetables">
38 <f:translate key="makeconfig_includeTables" />
39 </label>
40 <f:be.buttons.csh table="xMOD_tx_impexp" field="pageTreeRecordLimit"/>
41 <f:form.select class="form-control" name="tx_impexp[pagetree][tables]" id="impexp-pagetree-includetables"
42 options="{tableSelectOptions}" multiple="multiple" value="{inData.pagetree.tables}"
43 size="{f:if(condition: '{tableSelectOptions -> f:count()} > 9', then: '10', else: '5')}" />
44 </div>
45 <f:if condition="{records -> f:count()} > 0">
46 <h4>
47 <f:translate key="makeconfig_exportSingleRecord" />
48 <f:be.buttons.csh table="xMOD_tx_impexp" field="singleRecord" />
49 </h4>
50 <div class="row">
51 <div class="col-sm-2">
52 <label><f:translate key="makeconfig_record" /></label>
53 </div>
54 <div class="col-sm-10">
55 <f:for each="{records}" as="record">
56 <f:format.raw>{record.icon}</f:format.raw>
57 {record.title}
58 <f:form.hidden name="tx_impexp[record][]" value="{record.tableName}:{record.recordUid}" />
59 <br />
60 </f:for>
61 </div>
62 </div>
63 </f:if>
64 <f:if condition="{tableList -> f:count()} > 0">
65 <h4><f:translate key="makeconfig_exportTablesFromPages" /></h4>
66 <div class="row">
67 <div class="col-sm-2">
68 <label>
69 <f:translate key="makeconfig_tablePids" />
70 <f:be.buttons.csh table="xMOD_tx_impexp" field="tableList" />
71 </label>
72 </div>
73 <div class="col-sm-10">
74 <f:for each="{tableList}" as="table">
75 <f:format.raw>{table.iconAndTitle}</f:format.raw>
76 <f:form.hidden name="tx_impexp[list][]" value="{table.reference}" />
77 <br />
78 </f:for>
79 </div>
80 </div>
81 </f:if>
82 <h4><f:translate key="makeconfig_relationsAndExclusions" /></h4>
83 <div class="form-group">
84 <label for="impexp-externalref-tables">
85 <f:translate key="makeconfig_includeRelationsToTables" />
86 </label>
87 <f:be.buttons.csh table="xMOD_tx_impexp" field="inclRelations" />
88 <f:form.select class="form-control" name="tx_impexp[external_ref][tables]" id="impexp-externalref-tables"
89 options="{externalReferenceTableSelectOptions}" multiple="multiple" value="{inData.external_ref.tables}"
90 size="{f:if(condition: '{externalReferenceTableSelectOptions -> f:count()} > 9', then: '10', else: '5')}" />
91 </div>
92 <div class="form-group">
93 <label for="impexp-externalstatic-tables">
94 <f:translate key="makeconfig_useStaticRelationsFor" />
95 </label>
96 <f:be.buttons.csh table="xMOD_tx_impexp" field="staticRelations" />
97 <f:form.select class="form-control" name="tx_impexp[external_static][tables]" id="impexp-externalstatic-tables"
98 options="{externalStaticTableSelectOptions}" multiple="multiple" value="{inData.external_static.tables}"
99 size="{f:if(condition: '{externalStaticTableSelectOptions -> f:count()} > 9', then: '10', else: '5')}" />
100 </div>
101 <div class="form-group">
102 <label for="checkShowStaticRelations">
103 <f:form.checkbox name="tx_impexp[showStaticRelations]" id="checkShowStaticRelations" value="1"
104 checked="{inData.showStaticRelations} == 1" />
105 <f:translate key="makeconfig_showStaticRelations" />
106 </label>
107 </div>
108
109 <div class="form-group">
110 <label class="control-label">
111 <f:translate key="makeconfig_excludeElements" />
112 <f:be.buttons.csh table="xMOD_tx_impexp" field="excludedElements" />
113 </label>
114 <p class="form-control-static">
115 <f:if condition="{inData.exclude -> f:count()} > 0">
116 <f:then>
117 <f:for each="{inData.exclude}" key="key" as="value" iteration="index">
118 <f:form.hidden name="tx_impexp[exclude][{key}]" value="1" />
119 <f:if condition="{index.isLast}">
120 <f:then>{key}</f:then>
121 <f:else>{key}, </f:else>
122 </f:if>
123 </f:for>
124 <label for="checkExclude">
125 <input type="checkbox" name="tx_impexp[exclude]" id="checkExclude" value="1" />
126 <f:translate key="makeconfig_clearAllExclusions" />
127 </label>
128 </f:then>
129 <f:else>
130 <f:translate key="makeconfig_noManuallyExcludedElementsYet" />
131 </f:else>
132 </f:if>
133 </p>
134 <p class="form-control-static">
135 <label for="checkExcludeDisabled">
136 <f:form.checkbox name="tx_impexp[excludeDisabled]" id="checkExcludeDisabled" value="1" checked="{inData.excludeDisabled}" />
137 <f:translate key="makeconfig_excludeDisabledElements" />
138 </label>
139 </p>
140 </div>
141
142 <div class="form-group">
143 <f:form.submit class="btn btn-default" value="{f:translate(key: 'makeadvanc_update')}" />
144 <f:form.hidden
145 name="tx_impexp[download_export_name]"
146 value="{nameSuggestion -> f:format.crop(maxCharacters: 30, append: '')}" />
147 </div>
148 </html>