Skip to content
Snippets Groups Projects
Commit 25d79318 authored by Jan Helke's avatar Jan Helke Committed by Christian Kuhn
Browse files

[TASK] Remove usage of modTmpl->setForm from ImportExportController

Resolves: #71214
Releases: master
Change-Id: Ic763cecf6227fee5e88bf77801be9a1848d49961
Reviewed-on: https://review.typo3.org/44454


Reviewed-by: default avatarMorton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: default avatarMorton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: default avatarMichael Oehlhof <typo3@oehlhof.de>
Tested-by: default avatarMichael Oehlhof <typo3@oehlhof.de>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 0ae87d3a
No related branches found
No related tags found
No related merge requests found
......@@ -148,8 +148,8 @@ class ImportExportController extends BaseScriptClass
'ImpexpInLineJS',
'if (top.fsMod) top.fsMod.recentIds["web"] = ' . (int)$this->id . ';'
);
$this->moduleTemplate->setForm('<form action="' . htmlspecialchars(BackendUtility::getModuleUrl('xMOD_tximpexp')) . '" method="post" enctype="multipart/form-data">'
. '<input type="hidden" name="id" value="' . $this->id . '" />');
$this->content = '<form action="' . htmlspecialchars(BackendUtility::getModuleUrl('xMOD_tximpexp')) . '" method="post" id="ImportExportController" enctype="multipart/form-data">'
. '<input type="hidden" name="id" value="' . $this->id . '" />';
// Input data grabbed:
$inData = GeneralUtility::_GP('tx_impexp');
$this->content .= $this->moduleTemplate->sectionHeader($this->lang->getLL('title_' . (string)$inData['action']));
......@@ -180,6 +180,7 @@ class ImportExportController extends BaseScriptClass
}
// Setting up the buttons and markers for docheader
$this->getButtons();
$this->content .= '</form>';
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment