Save.html 3.73 KB
Newer Older
1
<table border="0" cellpadding="1" cellspacing="1" xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers">
2
3
4
5
6
7
8
9
10
11
	<tr class="tableheader bgColor5">
		<td colspan="2"><f:translate key="makesavefo_presets" /></td>
	</tr>
	<tr class="bgColor4">
		<td>
			<strong><f:translate key="makesavefo_presets" /></strong>
			<f:be.buttons.csh table="xMOD_tx_impexp" field="presets" />
		<td>
			<f:translate key="makesavefo_selectPreset" />
			<br/>
12
			<f:form.select name="preset[select]" options="{presetSelectOptions}" />
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61

			<br/>
			<input type="hidden" name="not-set" value="1" id="t3js-submit-field" />
			<input class="btn btn-default" type="submit" value="{f:translate(key: 'makesavefo_load')}" name="preset[load]" />
			<input class="btn btn-default t3js-confirm-trigger" type="button" value="{f:translate(key: 'makesavefo_save')}"
						 name="preset[save]" data-title="{f:translate(key: 'pleaseConfirm')}" data-message="{f:translate(key: 'makesavefo_areYouSure')}" />
			<input class="btn btn-default t3js-confirm-trigger" type="button" value="{f:translate(key: 'makesavefo_delete')}"
						 name="preset[delete]" data-title="{f:translate(key: 'pleaseConfirm')}" data-message="{f:translate(key: 'makesavefo_areYouSure')}" />
			<input class="btn btn-default t3js-confirm-trigger" type="button" value="{f:translate(key: 'makesavefo_merge')}"
						 name="preset[merge]" data-title="{f:translate(key: 'pleaseConfirm')}" data-message="{f:translate(key: 'makesavefo_areYouSure')}" />
			<br/>
			<f:translate key="makesavefo_titleOfNewPreset" />
			<input type="text" name="tx_impexp[preset][title]" value="{inData.preset.title}" />
			<br/>
			<label for="checkPresetPublic"><f:translate key="makesavefo_public" /></label>
			<f:form.checkbox name="tx_impexp[preset][public]" id="checkPresetPublic" value="1"
											 checked="{inData.preset.public} == 1" />
			<br/>
		</td>
	</tr>
	<tr class="tableheader bgColor5">
		<td colspan="2"><f:translate key="makesavefo_outputOptions" /></td>
	</tr>
	<tr class="bgColor4">
		<td>
			<strong><f:translate key="makesavefo_metaData" /></strong>
			<f:be.buttons.csh table="xMOD_tx_impexp" field="metadata" />
		</td>
		<td>
			<f:translate key="makesavefo_title" />
			<br/>
			<input type="text" name="tx_impexp[meta][title]" value="{inData.meta.title}" /><br/>
			<f:translate key="makesavefo_description" /><br/>
			<input type="text" name="tx_impexp[meta][description]" value="{inData.meta.description}" /><br/>
			<f:translate key="makesavefo_notes" /><br/>
			<textarea name="tx_impexp[meta][notes]">{inData.meta.notes}</textarea><br/>
			<f:if condition="{saveFolder}">
				<input type="file" name="upload_1"  size="30" /><br/>
				<input type="hidden" name="file[upload][1][target]" value="{saveFolder}" />
				<input type="hidden" name="file[upload][1][data]" value="1" /><br />
			</f:if>
		</td>
	</tr>
	<tr>
		<td>
			<strong><f:translate key="makesavefo_fileFormat" /></strong>
			<f:be.buttons.csh table="xMOD_tx_impexp" field="fileFormat" />
		</td>
		<td>
62
63
			<f:form.select name="tx_impexp[filetype]" options="{filetypeSelectOptions}" value="{inData.filetype}" />
			<br/>
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
			<f:translate key="makesavefo_maxSizeOfFiles" /><br/>
			<input type="text" name="tx_impexp[maxFileSize]" value="{inData.maxFileSize}" />
			<br/>
			<f:format.raw>{fileName}</f:format.raw>
		</td>
	</tr>
	<tr>
		<td>&nbsp;</td>
		<td>
			<input class="btn btn-default" type="submit" value="{f:translate(key: 'makesavefo_update')}" /> -
			<input class="btn btn-default" type="submit" value="{f:translate(key: 'makesavefo_downloadExport')}" name="tx_impexp[download_export]" />
			<f:if condition="{hasSaveFolder}">
				- <input class="btn btn-default" type="submit" value="{f:translate(key: 'importdata_saveToFilename')}" name="tx_impexp[save_export]" />
			</f:if>
		</td>
	</tr>
</table>