Commit 43045864 authored by Reinhard Führicht's avatar Reinhard Führicht Committed by Anja Leichsenring
Browse files

[TASK] Import/Export Reformat Fluid templates

Reformats Fluid templates to use Bootstrap markup.

Resolves: #72764
Releases: master
Change-Id: I4fea730c2c790e23574bfb8476d430e6c689becb
Reviewed-on: https://review.typo3.org/45995


Reviewed-by: default avatarMorton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: default avatarMorton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: default avatarLudwig Rafelsberger <ludwig.rafelsberger@gmx.at>
Tested-by: default avatarLudwig Rafelsberger <ludwig.rafelsberger@gmx.at>
Reviewed-by: Anja Leichsenring's avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring's avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
parent 52b3f406
......@@ -172,7 +172,7 @@ class ImportExportController extends BaseScriptClass
$this->doc = GeneralUtility::makeInstance(DocumentTemplate::class);
$this->doc->bodyTagId = 'imp-exp-mod';
$this->pageinfo = BackendUtility::readPageAccess($this->id, $this->perms_clause);
if(is_array($this->pageinfo)) {
if (is_array($this->pageinfo)) {
$this->moduleTemplate->getDocHeaderComponent()->setMetaInformation($this->pageinfo);
}
// Setting up the context sensitive menu:
......@@ -649,21 +649,21 @@ class ImportExportController extends BaseScriptClass
$nameSuggestion .= $tName . '_' . $rUid;
$rec = BackendUtility::getRecordWSOL($tName, $rUid);
if (!empty($rec)) {
$records[] = '
<tr class="bgColor4">
<td><strong>' . $this->lang->getLL('makeconfig_record', true) . '</strong></td>
<td>' . $this->iconFactory->getIconForRecord($tName, $rec, Icon::SIZE_SMALL)->render() . BackendUtility::getRecordTitle($tName, $rec, true)
. '<input type="hidden" name="tx_impexp[record][]" value="' . htmlspecialchars(($tName . ':' . $rUid)) . '" /></td>
</tr>';
$records[] = array(
'icon' => $this->iconFactory->getIconForRecord($tName, $rec, Icon::SIZE_SMALL)->render(),
'title' => BackendUtility::getRecordTitle($tName, $rec, true),
'tableName' => $tName,
'recordUid' => $rUid
);
}
}
$this->standaloneView->assign('records', implode('', $records));
$this->standaloneView->assign('records', $records);
}
// Single tables/pids:
if (is_array($inData['list'])) {
// Display information about pages from which the export takes place
$tblList = '';
$tableList = array();
foreach ($inData['list'] as $reference) {
$referenceParts = explode(':', $reference);
$tableName = $referenceParts[0];
......@@ -677,24 +677,18 @@ class ImportExportController extends BaseScriptClass
$iconAndTitle = $this->iconFactory->getIconForRecord('pages', $record, Icon::SIZE_SMALL)->render()
. BackendUtility::getRecordTitle('pages', $record, true);
}
$tblList .= 'Table "' . $tableName . '" from ' . $iconAndTitle
. '<input type="hidden" name="tx_impexp[list][]" value="' . htmlspecialchars($reference) . '" /><br/>';
$tableList[] = array(
'tableName' => $tableName,
'iconAndTitle' => $iconAndTitle,
'reference' => $reference
);
}
}
$this->standaloneView->assign('tableList', $tblList);
$this->standaloneView->assign('tableList', $tableList);
}
$this->standaloneView->assign('externalReferenceTableSelectOptions', $this->getTableSelectOptions());
$this->standaloneView->assign('externalStaticTableSelectOptions', $this->getTableSelectOptions());
// Exclude:
$excludeHiddenFields = '';
if (is_array($inData['exclude'])) {
foreach ($inData['exclude'] as $key => $value) {
$excludeHiddenFields .= '<input type="hidden" name="tx_impexp[exclude][' . $key . ']" value="1" />';
}
$this->standaloneView->assign('excludedKeys', implode(', ', array_keys($inData['exclude'])));
}
$this->standaloneView->assign('nameSuggestion', $nameSuggestion);
}
......@@ -754,11 +748,7 @@ class ImportExportController extends BaseScriptClass
$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/>';
$this->standaloneView->assign('saveFolder', $saveFolder->getPublicUrl());
$this->standaloneView->assign('hasSaveFolder', true);
}
$this->standaloneView->assign('fileName', $fileName);
......@@ -834,7 +824,7 @@ class ImportExportController extends BaseScriptClass
if (GeneralUtility::_POST('_upload')) {
$this->standaloneView->assign('submitted', GeneralUtility::_POST('_upload'));
$this->standaloneView->assign('noFileUploaded', $this->fileProcessor->internalUploadMap[1]);
if($this->uploadedFiles[0]) {
if ($this->uploadedFiles[0]) {
$this->standaloneView->assign('uploadedFile', $this->uploadedFiles[0]->getName());
}
}
......
......@@ -90,6 +90,9 @@
<trans-unit id="makeconfig_tablePids">
<source>Table/Pids:</source>
</trans-unit>
<trans-unit id="makeconfig_tableListEntry">
<source>Table "%s" from %s</source>
</trans-unit>
<trans-unit id="makeconfig_relationsAndExclusions">
<source>Relations and Exclusions:</source>
</trans-unit>
......
<form action="{moduleUrl}" method="post" id="ImportExportController" enctype="multipart/form-data" xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers">
<input type="hidden" name="id" value="{id}" />
<f:form.hidden name="id" value="{id}" />
<h3><f:translate key="title_{inData.action}" /></h3>
<div style="padding-top: 5px;"></div>
<f:render section="content" />
......
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
data-namespace-typo3-fluid="true">
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
<f:if condition="{import.mode} == 'import'">
<f:then>
<h2>
......@@ -21,72 +20,73 @@
</f:if>
<div>
<f:if condition="{contentOverview.dat.header.pagetree -> f:count()} > 0">
<strong><f:translate key="impexpcore_displaycon_insidePagetree" /></strong>
<br /><br />
<table border="0" cellpadding="0" cellspacing="1">
<tr class="bgColor5 tableheader">
<td><f:translate key="impexpcore_displaycon_controls" /></td>
<td><f:translate key="impexpcore_displaycon_title" /></td>
<td><f:translate key="impexpcore_displaycon_size" /></td>
<td><f:translate key="impexpcore_displaycon_message" /></td>
<f:if condition="{contentOverview.update}">
<td><f:translate key="impexpcore_displaycon_updateMode" /></td>
<td><f:translate key="impexpcore_displaycon_currentPath" /></td>
</f:if>
<f:if condition="{contentOverview.showDiff}">
<td><f:translate key="impexpcore_displaycon_result" /></td>
</f:if>
</tr>
<f:for each="{contentOverview.pagetreeLines}" as="line">
<tr class="{line.class}">
<td><f:format.raw>{line.controls}</f:format.raw></td>
<td nowrap="nowrap"><f:format.raw>{line.preCode}{line.title}</f:format.raw></td>
<td nowrap="nowrap"><f:format.raw>{line.fileSize}</f:format.raw></td>
<td nowrap="nowrap"><f:format.raw>{line.message}</f:format.raw></td>
<h3><f:translate key="impexpcore_displaycon_insidePagetree" /></h3>
<table class="table table-striped table-hover">
<tbody>
<tr>
<th><f:translate key="impexpcore_displaycon_controls" /></th>
<th><f:translate key="impexpcore_displaycon_title" /></th>
<th><f:translate key="impexpcore_displaycon_size" /></th>
<th><f:translate key="impexpcore_displaycon_message" /></th>
<f:if condition="{contentOverview.update}">
<td nowrap="nowrap"><f:format.raw>{line.updateMode}</f:format.raw></td>
<td nowrap="nowrap"><f:format.raw>{line.updatePath}</f:format.raw></td>
<th><f:translate key="impexpcore_displaycon_updateMode" /></th>
<th><f:translate key="impexpcore_displaycon_currentPath" /></th>
</f:if>
<f:if condition="{contentOverview.showDiff}">
<td><f:format.raw>{line.showDiffContent}</f:format.raw></td>
<th><f:translate key="impexpcore_displaycon_result" /></th>
</f:if>
</tr>
</f:for>
<f:for each="{contentOverview.pagetreeLines}" as="line">
<tr>
<td><f:format.raw>{line.controls}</f:format.raw></td>
<td class="col-nowrap"><f:format.raw>{line.preCode}{line.title}</f:format.raw></td>
<td class="col-nowrap"><f:format.raw>{line.fileSize}</f:format.raw></td>
<td class="col-nowrap"><f:format.raw>{line.message}</f:format.raw></td>
<f:if condition="{contentOverview.update}">
<td class="col-nowrap"><f:format.raw>{line.updateMode}</f:format.raw></td>
<td class="col-nowrap"><f:format.raw>{line.updatePath}</f:format.raw></td>
</f:if>
<f:if condition="{contentOverview.showDiff}">
<td><f:format.raw>{line.showDiffContent}</f:format.raw></td>
</f:if>
</tr>
</f:for>
</tbody>
</table>
<br /><br />
</f:if>
<f:if condition="{contentOverview.remainingRecords -> f:count()} > 0">
<strong><f:translate key="impexpcore_singlereco_outsidePagetree" /></strong>
<br /><br />
<table border="0" cellpadding="0" cellspacing="1">
<tr class="bgColor5 tableheader">
<td><f:translate key="impexpcore_displaycon_controls" /></td>
<td><f:translate key="impexpcore_displaycon_title" /></td>
<td><f:translate key="impexpcore_displaycon_size" /></td>
<td><f:translate key="impexpcore_displaycon_message" /></td>
<f:if condition="{contentOverview.update}">
<td><f:translate key="impexpcore_displaycon_updateMode" /></td>
<td><f:translate key="impexpcore_displaycon_currentPath" /></td>
</f:if>
<f:if condition="{contentOverview.showDiff}">
<td><f:translate key="impexpcore_displaycon_result" /></td>
</f:if>
</tr>
<f:for each="{contentOverview.remainingRecords}" as="line">
<tr class="{line.class}">
<td><f:format.raw>{line.controls}</f:format.raw></td>
<td nowrap="nowrap"><f:format.raw>{line.preCode}{line.title}</f:format.raw></td>
<td nowrap="nowrap"><f:format.raw>{line.fileSize}</f:format.raw></td>
<td nowrap="nowrap"><f:format.raw>{line.message}</f:format.raw></td>
<h3><f:translate key="impexpcore_singlereco_outsidePagetree" /></h3>
<table class="table table-striped table-hover">
<tbody>
<tr>
<th><f:translate key="impexpcore_displaycon_controls" /></th>
<th><f:translate key="impexpcore_displaycon_title" /></th>
<th><f:translate key="impexpcore_displaycon_size" /></th>
<th><f:translate key="impexpcore_displaycon_message" /></th>
<f:if condition="{contentOverview.update}">
<td nowrap="nowrap"><f:format.raw>{line.updateMode}</f:format.raw></td>
<td nowrap="nowrap"><f:format.raw>{line.updatePath}</f:format.raw></td>
<th><f:translate key="impexpcore_displaycon_updateMode" /></th>
<th><f:translate key="impexpcore_displaycon_currentPath" /></th>
</f:if>
<f:if condition="{contentOverview.showDiff}">
<td><f:format.raw>{line.showDiffContent}</f:format.raw></td>
<th><f:translate key="impexpcore_displaycon_result" /></th>
</f:if>
</tr>
</f:for>
<f:for each="{contentOverview.remainingRecords}" as="line">
<tr>
<td><f:format.raw>{line.controls}</f:format.raw></td>
<td class="col-nowrap"><f:format.raw>{line.preCode}{line.title}</f:format.raw></td>
<td class="col-nowrap"><f:format.raw>{line.fileSize}</f:format.raw></td>
<td class="col-nowrap"><f:format.raw>{line.message}</f:format.raw></td>
<f:if condition="{contentOverview.update}">
<td class="col-nowrap"><f:format.raw>{line.updateMode}</f:format.raw></td>
<td class="col-nowrap"><f:format.raw>{line.updatePath}</f:format.raw></td>
</f:if>
<f:if condition="{contentOverview.showDiff}">
<td><f:format.raw>{line.showDiffContent}</f:format.raw></td>
</f:if>
</tr>
</f:for>
</tbody>
</table>
</f:if>
</div>
......
<table border="0" cellpadding="1" cellspacing="1" xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers">
<tr class="tableheader bgColor5">
<td colspan="2">
<f:translate key="makeadvanc_softReferences" />
</td>
</tr>
<tr class="bgColor4">
<td><label for="checkExcludeHTMLfileResources"><strong>
<f:translate key="makeadvanc_excludeHtmlCssFile" />
</strong></label>
<f:be.buttons.csh table="xMOD_tx_impexp" field="htmlCssResources" />
</td>
<td>
<input type="checkbox" name="tx_impexp[excludeHTMLfileResources]" id="checkExcludeHTMLfileResources" value="1" {f:if(condition: inData.excludeHTMLfileResources, then: ' checked="checked"')}>
</td>
</tr>
<tr class="tableheader bgColor5">
<td colspan="2">
<f:translate key="makeadvanc_files" />
</td>
</tr>
<tr class="bgColor4">
<td><label for="saveFilesOutsideExportFile"><strong>
<f:translate key="makeadvanc_saveFilesOutsideExportFile" />
<f:translate key="makeadvanc_saveFilesOutsideExportFile_limit" />
</strong></label></td>
<td>
<input type="checkbox" name="tx_impexp[saveFilesOutsideExportFile]" id="saveFilesOutsideExportFile" value="1" {f:if(condition: inData.saveFilesOutsideExportFile, then: ' checked="checked"')} />
</td>
</tr>
<tr class="tableheader bgColor5">
<td colspan="2">
<f:translate key="makeadvanc_extensionDependencies" />
</td>
</tr>
<tr class="bgColor4">
<td><strong>
<f:translate key="makeadvanc_selectExtensionsThatThe" />
</strong>
<f:be.buttons.csh table="xMOD_tx_impexp" field="extensionDependencies" />
</td>
<td>
<f:form.select name="tx_impexp[extension_dep]" multiple="multiple"
size="{f:if(condition: '{extensions -> f:count()} > 9', then: '10', else: '5')}"
options="{extensions}" value="{inData.extension_dep}"/>
</td>
</tr>
<tr class="bgColor4">
<td>&nbsp;</td>
<td>
<input class="btn btn-default" type="submit" value="{f:translate(key: 'makesavefo_update')}">
<input type="hidden" name="tx_impexp[download_export_name]" value="">
</td>
</tr>
</table>
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
<h4><f:translate key="makeadvanc_softReferences" /></h4>
<div class="form-group">
<label for="checkExcludeHTMLfileResources">
<f:form.checkbox name="tx_impexp[excludeHTMLfileResources]" id="checkExcludeHTMLfileResources" value="1" checked="{inData.excludeHTMLfileResources} == 1" />
<f:translate key="makeadvanc_excludeHtmlCssFile" />
<f:be.buttons.csh table="xMOD_tx_impexp" field="htmlCssResources" />
</label>
</div>
<h4><f:translate key="makeadvanc_files" /></h4>
<div class="form-group">
<label for="saveFilesOutsideExportFile">
<f:form.checkbox name="tx_impexp[saveFilesOutsideExportFile]" id="saveFilesOutsideExportFile" value="1" checked="{inData.saveFilesOutsideExportFile} == 1" />
<f:translate key="makeadvanc_saveFilesOutsideExportFile" />
<f:translate key="makeadvanc_saveFilesOutsideExportFile_limit" />
</label>
</div>
<h4><f:translate key="makeadvanc_extensionDependencies" /></h4>
<div class="form-group">
<label for="saveFilesOutsideExportFile">
<f:translate key="makeadvanc_selectExtensionsThatThe" />
<f:be.buttons.csh table="xMOD_tx_impexp" field="extensionDependencies" />
<f:form.select class="form-control" name="tx_impexp[extension_dep]" multiple="multiple"
size="{f:if(condition: '{extensions -> f:count()} > 9', then: '10', else: '5')}"
options="{extensions}" value="{inData.extension_dep}"/>
</label>
</div>
<div class="form-group">
<f:form.submit class="btn btn-default" value="{f:translate(key: 'makesavefo_update')}" />
<f:form.hidden name="tx_impexp[download_export_name]" value="{nameSuggestion -> f:format.crop(maxCharacters: 30, append: '')}" />
</div>
</html>
<table border="0" cellpadding="1" cellspacing="1" xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers">
<f:if condition="{inData.pagetree.id}">
<tr class="tableheader bgColor5">
<td colspan="2">
<f:translate key="makeconfig_exportPagetreeConfiguration" />
<f:be.buttons.csh table="xMOD_tx_impexp" field="pageTreeCfg" />
</td>
</tr>
<tr class="bgColor4">
<td><strong><f:translate key="makeconfig_pageId" /></strong></td>
<td>{inData.pagetree.id}<input type="hidden" value="{inData.pagetree.id}" name="tx_impexp[pagetree][id]" /></td>
</tr>
<tr class="bgColor4">
<td>
<strong><f:translate key="makeconfig_tree" /></strong>
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
<f:if condition="{inData.pagetree.id}">
<h3>
<f:translate key="makeconfig_exportPagetreeConfiguration" />
<f:be.buttons.csh table="xMOD_tx_impexp" field="pageTreeCfg" />
</h3>
<div class="row">
<div class="col-sm-2">
<label class="control-label"><f:translate key="makeconfig_pageId" /></label>
</div>
<div class="col-sm-10">
{inData.pagetree.id}
<f:form.hidden value="{inData.pagetree.id}" name="tx_impexp[pagetree][id]" />
</div>
</div>
<div class="row">
<div class="col-sm-2">
<label class="control-label">
<f:translate key="makeconfig_tree" />
<f:be.buttons.csh table="xMOD_tx_impexp" field="pageTreeDisplay" />
</td>
<td>
<f:if condition="{treeHTML}">
<f:then><f:format.raw>{treeHTML}</f:format.raw></f:then>
<f:else><f:translate key="makeconfig_noTreeExportedOnly" /></f:else>
</f:if>
</td>
</tr>
<tr class="bgColor4">
<td>
<strong><f:translate key="makeconfig_levels" /></strong>
<f:be.buttons.csh table="xMOD_tx_impexp" field="pageTreeMode" />
</td>
<td>
<f:form.select name="tx_impexp[pagetree][levels]" options="{levelSelectOptions}" value="{inData.pagetree.levels}" />
</td>
</tr>
<tr class="bgColor4">
<td>
<strong><f:translate key="makeconfig_includeTables" /></strong>
<f:be.buttons.csh table="xMOD_tx_impexp" field="pageTreeRecordLimit" />
</td>
<td>
<f:form.select name="tx_impexp[pagetree][tables]" options="{tableSelectOptions}"
multiple="multiple" value="{inData.pagetree.tables}"
size="{f:if(condition: '{tableSelectOptions -> f:count()} > 9', then: '10', else: '5')}" />
<br/>
<f:translate key="makeconfig_maxNumberOfRecords" />
<br/>
<f:form.textfield name="tx_impexp[pagetree][maxNumber]" value="{inData.pagetree.maxNumber}" />
<br/>
</td>
</tr>
</f:if>
<f:if condition="{records}">
<tr class="tableheader bgColor5">
<td colspan="2">
<f:translate key="makeconfig_exportSingleRecord" />
<f:be.buttons.csh table="xMOD_tx_impexp" field="singleRecord" />
</td>
</tr>
<f:format.raw>{records}</f:format.raw>
</f:if>
<f:if condition="{tableList}">
<tr class="tableheader bgColor5">
<td colspan="2"><f:translate key="makeconfig_exportTablesFromPages" /></td>
</tr>
<tr class="bgColor4">
<td>
<strong><f:translate key="makeconfig_exportSingleRecord" /></strong>
</label>
</div>
<div class="col-sm-10">
<f:if condition="{treeHTML}">
<f:then><f:format.raw>{treeHTML}</f:format.raw></f:then>
<f:else><f:translate key="makeconfig_noTreeExportedOnly" /></f:else>
</f:if>
</div>
<f:form.hidden value="{inData.pagetree.id}" name="tx_impexp[pagetree][id]" />
</div>
<div class="form-group">
<label for="impexp-pagetree-levels">
<f:translate key="makeconfig_levels" />
<f:be.buttons.csh table="xMOD_tx_impexp" field="pageTreeMode" />
</label>
<f:form.select class="form-control" name="tx_impexp[pagetree][levels]" id="impexp-pagetree-levels" options="{levelSelectOptions}" value="{inData.pagetree.levels}" />
</div>
<div class="form-group">
<label for="impexp-pagetree-includetables">
<f:translate key="makeconfig_includeTables" />
<f:be.buttons.csh table="xMOD_tx_impexp" field="pageTreeRecordLimit" />
</label>
<f:form.select class="form-control" name="tx_impexp[pagetree][tables]" id="impexp-pagetree-includetables"
options="{tableSelectOptions}" multiple="multiple" value="{inData.pagetree.tables}"
size="{f:if(condition: '{tableSelectOptions -> f:count()} > 9', then: '10', else: '5')}" />
</div>
<div class="form-group">
<label for="impexp-pagetree-maxnumber">
<f:translate key="makeconfig_maxNumberOfRecords" />
</label>
<f:form.textfield class="form-control" name="tx_impexp[pagetree][maxNumber]" id="impexp-pagetree-maxnumber" value="{inData.pagetree.maxNumber}" />
</div>
</f:if>
<f:if condition="{records -> f:count()} > 0">
<h4>
<f:translate key="makeconfig_exportSingleRecord" />
<f:be.buttons.csh table="xMOD_tx_impexp" field="singleRecord" />
</h4>
<div class="row">
<div class="col-sm-2">
<label><f:translate key="makeconfig_record" /></label>
</div>
<div class="col-sm-10">
<f:for each="{records}" as="record">
<f:format.raw>{record.icon}</f:format.raw>
{record.title}
<f:form.hidden name="tx_impexp[record][]" value="{record.tableName}:{record.recordUid}" />
<br />
</f:for>
</div>
</div>
</f:if>
<f:if condition="{tableList -> f:count()} > 0">
<h4><f:translate key="makeconfig_exportTablesFromPages" /></h4>
<div class="row">
<div class="col-sm-2">
<label>
<f:translate key="makeconfig_tablePids" />
<f:be.buttons.csh table="xMOD_tx_impexp" field="tableList" />
</td>
<td>{tableList}</td>
</tr>
<tr class="bgColor4">
<td>
<strong><f:translate key="makeconfig_maxNumberOfRecords" /></strong>
<f:be.buttons.csh table="xMOD_tx_impexp" field="tableListMaxNumber" />
</td>
<td>
<f:form.textfield name="tx_impexp[listCfg][maxNumber]" value="{inData.listCfg.maxNumber}" /><br/>
</td>
</tr>
</f:if>
<tr class="tableheader bgColor5">
<td colspan="2"><f:translate key="makeconfig_relationsAndExclusions" /></td>
</tr>
<tr class="bgColor4">
<td>
<strong><f:translate key="makeconfig_includeRelationsToTables" /></strong>
<f:be.buttons.csh table="xMOD_tx_impexp" field="inclRelations" />
</td>
<td>
<f:form.select name="tx_impexp[external_ref][tables]" options="{externalReferenceTableSelectOptions}"
multiple="multiple" value="{inData.external_ref.tables}"
size="{f:if(condition: '{externalReferenceTableSelectOptions -> f:count()} > 9', then: '10', else: '5')}" />
</td>
</tr>
<tr class="bgColor4">
<td>
<strong><f:translate key="makeconfig_useStaticRelationsFor" /></strong>
<f:be.buttons.csh table="xMOD_tx_impexp" field="staticRelations" />
</td>
<td>
<f:form.select name="tx_impexp[external_static][tables]" options="{externalStaticTableSelectOptions}"
multiple="multiple" value="{inData.external_static.tables}"
size="{f:if(condition: '{externalStaticTableSelectOptions -> f:count()} > 9', then: '10', else: '5')}" />
<br/>
<label for="checkShowStaticRelations">
<f:translate key="makeconfig_showStaticRelations" />
</label>
<f:form.checkbox name="tx_impexp[showStaticRelations]" id="checkShowStaticRelations" value="1"
checked="{inData.showStaticRelations} == 1" />
</td>
</tr>
<tr class="bgColor4">
<td>
<strong><f:translate key="makeconfig_excludeElements" /></strong>
<f:be.buttons.csh table="xMOD_tx_impexp" field="excludedElements" />
</td>
<td>
<f:for each="{inData.exclude}" key="key" as="value">
<input type="hidden" name="tx_impexp[exclude][{key}]" value="1" />
</div>
<div class="col-sm-10">
<f:for each="{tableList}" as="table">
<f:translate key="makeconfig_tableListEntry" arguments="{0: table.tableName, 1: table.iconAndTitle}" />
<f:form.hidden name="tx_impexp[list][]" value="{table.reference}" />
<br />
</f:for>
<f:if condition="{excludedKeys}">
<f:then>
<em>{excludedKeys}</em><hr/>
<label for="checkExclude"><f:translate key="makeconfig_clearAllExclusions" /></label>
<input type="checkbox" name="tx_impexp[exclude]" id="checkExclude" value="1" />
</f:then>
<f:else>
</div>
</div>
<div class="form-group">
<label for="impexp-listcfg-maxnumber">
<f:translate key="makeconfig_maxNumberOfRecords" />
<f:be.buttons.csh table="xMOD_tx_impexp" field="tableListMaxNumber" />
</label>
<f:form.textfield class="form-control" name="tx_impexp[listCfg][maxNumber]" id="impexp-listcfg-maxnumber"value="{inData.listCfg.maxNumber}" />
</div>
</f:if>
<h4><f:translate key="makeconfig_relationsAndExclusions" /></h4>
<div class="form-group">
<label for="impexp-externalref-tables">
<f:translate key="makeconfig_includeRelationsToTables" />
<f:be.buttons.csh table="xMOD_tx_impexp" field="inclRelations" />
</label>
<f:form.select class="form-control" name="tx_impexp[external_ref][tables]" id="impexp-externalref-tables"
options="{externalReferenceTableSelectOptions}" multiple="multiple" value="{inData.external_ref.tables}"
size="{f:if(condition: '{externalReferenceTableSelectOptions -> f:count()} > 9', then: '10', else: '5')}" />
</div>
<div class="form-group">
<label for="impexp-externalstatic-tables">
<f:translate key="makeconfig_useStaticRelationsFor" />
<f:be.buttons.csh table="xMOD_tx_impexp" field="staticRelations" />
</label>
<f:form.select class="form-control" name="tx_impexp[external_static][tables]" id="impexp-externalstatic-tables"
options="{externalStaticTableSelectOptions}" multiple="multiple" value="{inData.external_static.tables}"