Commit 0d71bc05 authored by Thomas Löffler's avatar Thomas Löffler
Browse files

Add renderTypes for select and remove obsolete "allowTableOnStandardPages"

parent 05f7bded
......@@ -8,7 +8,6 @@ if (!defined('TYPO3_MODE')) {
'tx_certifications_domain_model_certificate',
'EXT:certifications/Resources/Private/Language/locallang_csh_tx_certifications_domain_model_certificate.xml'
);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_certifications_domain_model_certificate');
return [
'ctrl' => [
......@@ -47,6 +46,7 @@ return [
'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.language',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'foreign_table' => 'sys_language',
'foreign_table_where' => 'ORDER BY sys_language.title',
'items' => [
......@@ -60,6 +60,7 @@ return [
'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.l18n_parent',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'items' => [
['', 0],
],
......@@ -130,6 +131,7 @@ return [
'label' => 'LLL:EXT:certifications/Resources/Private/Language/locallang_db.xml:tx_certifications_domain_model_certificate.certificate_type',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'foreign_table' => 'tx_certifications_domain_model_certificatetype',
'minitems' => 0,
'maxitems' => 1,
......@@ -149,5 +151,3 @@ return [
],
],
];
?>
......@@ -7,7 +7,6 @@ if (!defined('TYPO3_MODE')) {
'tx_certifications_domain_model_certificatetype',
'EXT:certifications/Resources/Private/Language/locallang_csh_tx_certifications_domain_model_certificatetype.xml'
);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_certifications_domain_model_certificatetype');
return [
'ctrl' => [
......@@ -45,6 +44,7 @@ return [
'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.language',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'foreign_table' => 'sys_language',
'foreign_table_where' => 'ORDER BY sys_language.title',
'items' => [
......@@ -58,6 +58,7 @@ return [
'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.l18n_parent',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'items' => [
['', 0],
],
......@@ -96,5 +97,3 @@ return [
],
],
];
?>
......@@ -3,8 +3,6 @@ if (!defined('TYPO3_MODE')) {
die ('Access denied.');
}
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_certifications_domain_model_user');
return [
'ctrl' => [
'title' => 'LLL:EXT:certifications/Resources/Private/Language/locallang_db.xml:tx_certifications_domain_model_user',
......@@ -149,6 +147,7 @@ return [
'label' => 'LLL:EXT:certifications/Resources/Private/Language/locallang_db.xml:tx_certifications_domain_model_user.fe_user',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'size' => 1,
'minitems' => 0,
'maxitems' => 1,
......@@ -166,6 +165,3 @@ return [
],
],
];
?>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment