[BUGFIX] Use correct value for overwriteExistingFiles
[Packages/TYPO3.CMS.git] / typo3 / sysext / impexp / Resources / Private / Partials / Import / Upload.html
1 <html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
2 <h3><f:translate key="importdata_uploadFileFromLocal" /></h3>
3 <h4>
4 <f:translate key="importdata_browse" />
5 <f:be.buttons.csh table="xMOD_tx_impexp" field="upload" />
6 </h4>
7 <div class="form-group">
8 <f:form.upload name="upload_1" />
9 <f:form.hidden name="file[upload][1][target]" value="{tempFolder}" />
10 <f:form.hidden name="file[upload][1][data]" value="1" />
11 </div>
12 <div class="form-group">
13 <f:form.submit class="btn btn-default" name="_upload" value="{f:translate(key: 'LLL:EXT:lang/locallang_core.xlf:file_upload.php.submit')}" />
14 </div>
15 <div class="form-group">
16 <label for="checkOverwriteExistingFiles">
17 <f:form.checkbox name="overwriteExistingFiles" id="checkOverwriteExistingFiles" value="replace" checked="checked" />
18 <f:translate key="LLL:EXT:lang/locallang_misc.xlf:overwriteExistingFiles" />
19 </label>
20 </div>
21 <f:if condition="{submitted}">
22 <h4><f:translate key="importdata_uploadStatus" /></h4>
23 <f:if condition="{noFileUploaded}">
24 <f:then>
25 <f:be.infobox title="{f:translate(key: 'importdata_success')} {uploadedFile}" state="0" />
26 </f:then>
27 <f:else>
28 <f:be.infobox title="{f:translate(key: 'importdata_failureNoFileUploaded')}" state="2" />
29 </f:else>
30 </f:if>
31 </f:if>
32 </html>