d0a258059573ca9bc0838a3f694d86ff8420de85
[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 <div class="form-group">
46 <label for="impexp-pagetree-maxnumber">
47 <f:translate key="makeconfig_maxNumberOfRecords" />
48 </label>
49 <f:form.textfield class="form-control" name="tx_impexp[pagetree][maxNumber]" id="impexp-pagetree-maxnumber" value="{inData.pagetree.maxNumber}" />
50 </div>
51 <f:if condition="{records -> f:count()} > 0">
52 <h4>
53 <f:translate key="makeconfig_exportSingleRecord" />
54 <f:be.buttons.csh table="xMOD_tx_impexp" field="singleRecord" />
55 </h4>
56 <div class="row">
57 <div class="col-sm-2">
58 <label><f:translate key="makeconfig_record" /></label>
59 </div>
60 <div class="col-sm-10">
61 <f:for each="{records}" as="record">
62 <f:format.raw>{record.icon}</f:format.raw>
63 {record.title}
64 <f:form.hidden name="tx_impexp[record][]" value="{record.tableName}:{record.recordUid}" />
65 <br />
66 </f:for>
67 </div>
68 </div>
69 </f:if>
70 <f:if condition="{tableList -> f:count()} > 0">
71 <h4><f:translate key="makeconfig_exportTablesFromPages" /></h4>
72 <div class="row">
73 <div class="col-sm-2">
74 <label>
75 <f:translate key="makeconfig_tablePids" />
76 <f:be.buttons.csh table="xMOD_tx_impexp" field="tableList" />
77 </label>
78 </div>
79 <div class="col-sm-10">
80 <f:for each="{tableList}" as="table">
81 <f:translate key="makeconfig_tableListEntry" arguments="{0: table.tableName, 1: table.iconAndTitle}" />
82 <f:form.hidden name="tx_impexp[list][]" value="{table.reference}" />
83 <br />
84 </f:for>
85 </div>
86 </div>
87 <div class="form-group">
88 <label for="impexp-listcfg-maxnumber">
89 <f:translate key="makeconfig_maxNumberOfRecords" />
90 <f:be.buttons.csh table="xMOD_tx_impexp" field="tableListMaxNumber" />
91 </label>
92 <f:form.textfield class="form-control" name="tx_impexp[listCfg][maxNumber]" id="impexp-listcfg-maxnumber"value="{inData.listCfg.maxNumber}" />
93 </div>
94 </f:if>
95 <h4><f:translate key="makeconfig_relationsAndExclusions" /></h4>
96 <div class="form-group">
97 <label for="impexp-externalref-tables">
98 <f:translate key="makeconfig_includeRelationsToTables" />
99 </label>
100 <f:be.buttons.csh table="xMOD_tx_impexp" field="inclRelations" />
101 <f:form.select class="form-control" name="tx_impexp[external_ref][tables]" id="impexp-externalref-tables"
102 options="{externalReferenceTableSelectOptions}" multiple="multiple" value="{inData.external_ref.tables}"
103 size="{f:if(condition: '{externalReferenceTableSelectOptions -> f:count()} > 9', then: '10', else: '5')}" />
104 </div>
105 <div class="form-group">
106 <label for="impexp-externalstatic-tables">
107 <f:translate key="makeconfig_useStaticRelationsFor" />
108 </label>
109 <f:be.buttons.csh table="xMOD_tx_impexp" field="staticRelations" />
110 <f:form.select class="form-control" name="tx_impexp[external_static][tables]" id="impexp-externalstatic-tables"
111 options="{externalStaticTableSelectOptions}" multiple="multiple" value="{inData.external_static.tables}"
112 size="{f:if(condition: '{externalStaticTableSelectOptions -> f:count()} > 9', then: '10', else: '5')}" />
113 </div>
114 <div class="form-group">
115 <label for="checkShowStaticRelations">
116 <f:form.checkbox name="tx_impexp[showStaticRelations]" id="checkShowStaticRelations" value="1"
117 checked="{inData.showStaticRelations} == 1" />
118 <f:translate key="makeconfig_showStaticRelations" />
119 </label>
120 </div>
121
122 <div class="form-group">
123 <label class="control-label">
124 <f:translate key="makeconfig_excludeElements" />
125 <f:be.buttons.csh table="xMOD_tx_impexp" field="excludedElements" />
126 </label>
127 <p class="form-control-static">
128 <f:if condition="{inData.exclude -> f:count()} > 0">
129 <f:then>
130 <f:for each="{inData.exclude}" key="key" as="value" iteration="index">
131 <f:form.hidden name="tx_impexp[exclude][{key}]" value="1" />
132 <f:if condition="{index.isLast}">
133 <f:then>{key}</f:then>
134 <f:else>{key}, </f:else>
135 </f:if>
136 </f:for>
137 <label for="checkExclude">
138 <input type="checkbox" name="tx_impexp[exclude]" id="checkExclude" value="1" />
139 <f:translate key="makeconfig_clearAllExclusions" />
140 </label>
141 </f:then>
142 <f:else>
143 <f:translate key="makeconfig_noManuallyExcludedElementsYet" />
144 </f:else>
145 </f:if>
146 </p>
147 <p class="form-control-static">
148 <label for="checkExcludeDisabled">
149 <f:form.checkbox name="tx_impexp[excludeDisabled]" id="checkExcludeDisabled" value="1" checked="{inData.excludeDisabled}" />
150 <f:translate key="makeconfig_excludeDisabledElements" />
151 </label>
152 </p>
153 </div>
154
155 <div class="form-group">
156 <f:form.submit class="btn btn-default" value="{f:translate(key: 'makeadvanc_update')}" />
157 <f:form.hidden
158 name="tx_impexp[download_export_name]"
159 value="{nameSuggestion -> f:format.crop(maxCharacters: 30, append: '')}" />
160 </div>
161 </html>