Save.html 3.81 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
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
</h3>
<div class="form-group">
	<label for="preset-select"><f:translate key="makesavefo_selectPreset" /></label>
	<f:form.select class="form-control" id="preset-select" name="preset[select]" options="{presetSelectOptions}" />
</div>
<div class="form-group">
	<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>
</div>
<div class="form-group">
	<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}" />
</div>
<div class="form-group">
	<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>
</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
46
47
48
49
50
51
52
53
54
55
56
57
58
</h4>
<div class="form-group">
	<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}" />
</div>
<div class="form-group">
	<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}" />
</div>
<div class="form-group">
	<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}" />
</div>

<h4>
59
	<f:be.buttons.csh table="xMOD_tx_impexp" field="fileFormat"><f:translate key="makesavefo_fileFormat" /></f:be.buttons.csh>
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
</h4>
<div class="form-group">
	<f:form.select class="form-control" name="tx_impexp[filetype]" options="{filetypeSelectOptions}" value="{inData.filetype}" />
</div>
<div class="form-group">
	<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}" />
</div>
<div class="form-group">
	<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>
</div>
</html>