Save.html 4.1 KB
Newer Older
1
2
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
<h3>
3
    <f:be.buttons.csh table="xMOD_tx_impexp" field="presets"><f:translate key="makesavefo_presets" /></f:be.buttons.csh>
4
5
</h3>
<div class="form-group">
6
7
    <label for="preset-select"><f:translate key="makesavefo_selectPreset" /></label>
    <f:form.select class="form-control" id="preset-select" name="preset[select]" options="{presetSelectOptions}" />
8
9
</div>
<div class="form-group">
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
    <f:form.hidden name="not-set" value="1" id="t3js-submit-field" />
    <f:form.submit class="btn btn-default" value="{f:translate(key: 'makesavefo_load')}" name="preset[load]" />
    <f:form.button class="btn btn-default t3js-confirm-trigger"
                                type="button" name="preset[save]"
                                data="{title: '{f:translate(key: \'pleaseConfirm\')}', message: '{f:translate(key: \'makesavefo_areYouSure\')}'}">
        <f:translate key="makesavefo_save" />
    </f:form.button>
    <f:form.button class="btn btn-default t3js-confirm-trigger"
                                type="button" name="preset[delete]"
                                data="{title: '{f:translate(key: \'pleaseConfirm\')}', message: '{f:translate(key: \'makesavefo_areYouSure\')}'}">
        <f:translate key="makesavefo_delete" />
    </f:form.button>
    <f:form.button class="btn btn-default t3js-confirm-trigger"
                                type="button" name="preset[merge]"
                                data="{title: '{f:translate(key: \'pleaseConfirm\')}', message: '{f:translate(key: \'makesavefo_areYouSure\')}'}">
        <f:translate key="makesavefo_merge" />
    </f:form.button>
27
28
</div>
<div class="form-group">
29
30
    <label for="preset-title"><f:translate key="makesavefo_titleOfNewPreset" /></label>
    <f:form.textfield class="form-control" id="preset-title" name="tx_impexp[preset][title]" value="{inData.preset.title}" />
31
32
</div>
<div class="form-group">
33
34
35
36
37
    <label for="checkPresetPublic">
        <f:form.checkbox name="tx_impexp[preset][public]" id="checkPresetPublic" value="1"
                                    checked="{inData.preset.public} == 1" />
        <f:translate key="makesavefo_public" />
    </label>
38
</div>
39

40
41
42
<h3><f:translate key="makesavefo_outputOptions" /></h3>

<h4>
43
    <f:be.buttons.csh table="xMOD_tx_impexp" field="metadata"><f:translate key="makesavefo_metaData" /></f:be.buttons.csh>
44
45
</h4>
<div class="form-group">
46
47
    <label for="meta-title"><f:translate key="makesavefo_title" /></label>
    <f:form.textfield class="form-control" name="tx_impexp[meta][title]" id="meta-title" value="{inData.meta.title}" />
48
49
</div>
<div class="form-group">
50
51
    <label for="meta-description"><f:translate key="makesavefo_description" /></label>
    <f:form.textfield class="form-control" name="tx_impexp[meta][description]" id="meta-description" value="{inData.meta.description}" />
52
53
</div>
<div class="form-group">
54
55
    <label for="meta-notes"><f:translate key="makesavefo_notes" /></label>
    <f:form.textarea class="form-control" name="tx_impexp[meta][notes]" id="meta-notes" value="{inData.meta.notes}" />
56
57
58
</div>

<h4>
59
    <f:be.buttons.csh table="xMOD_tx_impexp" field="fileFormat"><f:translate key="makesavefo_fileFormat" /></f:be.buttons.csh>
60
61
</h4>
<div class="form-group">
62
    <f:form.select class="form-control" name="tx_impexp[filetype]" options="{filetypeSelectOptions}" value="{inData.filetype}" />
63
64
</div>
<div class="form-group">
65
66
    <label for="impexp-filename"><f:translate key="makesavefo_filenameSavedInS" arguments="{0: saveFolder}" /></label>
    <f:form.textfield class="form-control" name="tx_impexp[filename]" id="impexp-filename" value="{inData.filename}" />
67
68
</div>
<div class="form-group">
69
70
71
72
73
    <f:form.submit class="btn btn-default" value="{f:translate(key: 'makesavefo_update')}" /> -
    <f:form.submit class="btn btn-default" value="{f:translate(key: 'makesavefo_downloadExport')}" name="tx_impexp[download_export]" />
    <f:if condition="{hasSaveFolder}">
        - <f:form.submit class="btn btn-default" value="{f:translate(key: 'importdata_saveToFilename')}" name="tx_impexp[save_export]" />
    </f:if>
74
75
</div>
</html>