/**
     * Create configuration form
     *
     * @param array $inData Form configurat data
     * @param array $row Table row accumulation variable. This is filled with table rows.
     * @return void Sets content in $this->content
     */
    public function makeSaveForm($inData, &$row)
    {
        // Presets:
        $row[] = '
			<tr class="tableheader bgColor5">
				<td colspan="2">' . $this->lang->getLL('makesavefo_presets', true) . '</td>
			</tr>';
        $row[] = '
				<tr class="bgColor4">
					<td><strong>' . $this->lang->getLL('makesavefo_presets', true) . '</strong>' . BackendUtility::cshItem('xMOD_tx_impexp', 'presets') . '</td>
					<td>
						' . $this->lang->getLL('makesavefo_selectPreset', true) . '<br/>
						' . $this->renderSelectBox('preset[select]', '', $this->presetRepository->getPresets($inData['pagetree']['id'])) . '
						<br/>
						<input type="hidden" name="not-set" value="1" id="t3js-submit-field" />
						<input class="btn btn-default" type="submit" value="' . $this->lang->getLL('makesavefo_load', true) . '" name="preset[load]" />
						<input class="btn btn-default t3js-confirm-trigger" type="button" value="' . $this->lang->getLL('makesavefo_save', true) . '" name="preset[save]" data-title="' . $this->lang->getLL('pleaseConfirm', true) . '" data-message="' . $this->lang->getLL('makesavefo_areYouSure', true) . '" />
						<input class="btn btn-default t3js-confirm-trigger" type="button" value="' . $this->lang->getLL('makesavefo_delete', true) . '" name="preset[delete]" data-title="' . $this->lang->getLL('pleaseConfirm', true) . '" data-message="' . $this->lang->getLL('makesavefo_areYouSure', true) . '" />
						<input class="btn btn-default t3js-confirm-trigger" type="button" value="' . $this->lang->getLL('makesavefo_merge', true) . '" name="preset[merge]" data-title="' . $this->lang->getLL('pleaseConfirm', true) . '" data-message="' . $this->lang->getLL('makesavefo_areYouSure', true) . '" />
						<br/>
						' . $this->lang->getLL('makesavefo_titleOfNewPreset', true) . '
						<input type="text" name="tx_impexp[preset][title]" value="' . htmlspecialchars($inData['preset']['title']) . '" /><br/>
						<label for="checkPresetPublic">' . $this->lang->getLL('makesavefo_public', true) . '</label>
						<input type="checkbox" name="tx_impexp[preset][public]" id="checkPresetPublic" value="1" ' . ($inData['preset']['public'] ? 'checked="checked "' : '') . '/><br/>
					</td>
				</tr>';
        // Output options:
        $row[] = '
			<tr class="tableheader bgColor5">
				<td colspan="2">' . $this->lang->getLL('makesavefo_outputOptions', true) . '</td>
			</tr>';
        $saveFolder = $this->getDefaultImportExportFolder();
        $row[] = '
				<tr class="bgColor4">
					<td><strong>' . $this->lang->getLL('makesavefo_metaData', true) . '</strong>' . BackendUtility::cshItem('xMOD_tx_impexp', 'metadata') . '</td>
					<td>
							' . $this->lang->getLL('makesavefo_title', true) . ' <br/>
							<input type="text" name="tx_impexp[meta][title]" value="' . htmlspecialchars($inData['meta']['title']) . '" /><br/>
							' . $this->lang->getLL('makesavefo_description', true) . ' <br/>
							<input type="text" name="tx_impexp[meta][description]" value="' . htmlspecialchars($inData['meta']['description']) . '" /><br/>
							' . $this->lang->getLL('makesavefo_notes', true) . ' <br/>
							<textarea name="tx_impexp[meta][notes]">' . htmlspecialchars($inData['meta']['notes']) . '</textarea><br/>
							' . ($saveFolder ? '
								<input type="hidden" name="file[upload][1][target]" value="' . htmlspecialchars($saveFolder->getCombinedIdentifier()) . '" />
								<input type="hidden" name="file[upload][1][data]" value="1" /><br />' : '') . '
						</td>
				</tr>';
        // Add file options:
        $opt = array();
        if ($this->export->compress) {
            $opt['t3d_compressed'] = $this->lang->getLL('makesavefo_t3dFileCompressed');
        }
        $opt['t3d'] = $this->lang->getLL('makesavefo_t3dFile');
        $opt['xml'] = $this->lang->getLL('makesavefo_xml');
        $fileName = '';
        if ($saveFolder) {
            $fileName = sprintf($this->lang->getLL('makesavefo_filenameSavedInS', true), $saveFolder->getPublicUrl()) . '<br/>
						<input type="text" name="tx_impexp[filename]" value="' . htmlspecialchars($inData['filename']) . '" /><br/>';
        }
        $row[] = '
				<tr>
					<td>
						<strong>' . $this->lang->getLL('makesavefo_fileFormat', true) . '</strong>' . BackendUtility::cshItem('xMOD_tx_impexp', 'fileFormat') . '
					</td>
					<td>
						' . $this->renderSelectBox('tx_impexp[filetype]', $inData['filetype'], $opt) . '<br/>
						' . $this->lang->getLL('makesavefo_maxSizeOfFiles', true) . '<br/>
						<input type="text" name="tx_impexp[maxFileSize]" value="' . htmlspecialchars($inData['maxFileSize']) . '" />
						<br/>
						' . $fileName . '
					</td>
				</tr>';
        // Add buttons:
        $row[] = '
				<tr>
					<td>&nbsp;</td>
					<td>
						<input class="btn btn-default" type="submit" value="' . $this->lang->getLL('makesavefo_update', true) . '" /> -
						<input class="btn btn-default" type="submit" value="' . $this->lang->getLL('makesavefo_downloadExport', true) . '" name="tx_impexp[download_export]" />
						' . ($saveFolder ? ' - <input class="btn btn-default" type="submit" value="' . $this->lang->getLL('importdata_saveToFilename', true) . '" name="tx_impexp[save_export]" />' : '') . '
					</td>
				</tr>';
    }