Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
TYPO3
sg_mail
Commits
ea7de44d
Commit
ea7de44d
authored
Jul 28, 2020
by
Kevin Ditscheid
Browse files
[TASK] Remove interface showRecordFieldList for TYPO3 10
parent
4c45efb3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Configuration/TCA/tx_sgmail_domain_model_layout.php
View file @
ea7de44d
...
...
@@ -24,7 +24,7 @@
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
return
[
$columns
=
[
'ctrl'
=>
[
'title'
=>
'LLL:EXT:sg_mail/Resources/Private/Language/locallang_db.xlf:tx_sgmail_domain_model_layout'
,
'label'
=>
'name'
,
...
...
@@ -44,9 +44,7 @@ return [
'hideTable'
=>
TRUE
,
'iconfile'
=>
'EXT:sg_mail/Resources/Public/Icons/ModuleIconTCA.svg'
],
'interface'
=>
[
'showRecordFieldList'
=>
'sys_language_uid, l10n_parent, l10n_diffsource, name, head_content, content, default'
],
'interface'
=>
[],
'types'
=>
[
'1'
=>
[
'showitem'
=>
'hidden, --palette--;;name, head_content, content, '
...
...
@@ -142,3 +140,8 @@ return [
],
]
];
if
(
version_compare
(
\
TYPO3\CMS\Core\Utility\VersionNumberUtility
::
getCurrentTypo3Version
(),
'10.3.0'
,
'<'
))
{
$columns
[
'interface'
][
'showRecordFieldList'
]
=
'sys_language_uid, l10n_parent, l10n_diffsource, name, head_content, content, default'
;
}
return
$columns
;
Configuration/TCA/tx_sgmail_domain_model_mail.php
View file @
ea7de44d
...
...
@@ -24,7 +24,7 @@
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
return
[
$columns
=
[
'ctrl'
=>
[
'title'
=>
'LLL:EXT:sg_mail/Resources/Private/Language/locallang_db.xlf:tx_sgmail_domain_model_mail'
,
'label'
=>
'mail_subject'
,
...
...
@@ -41,9 +41,7 @@ return [
'default_sortby'
=>
'ORDER BY priority DESC'
,
'iconfile'
=>
'EXT:sg_mail/Resources/Public/Icons/ModuleIconTCA.svg'
],
'interface'
=>
[
'showRecordFieldList'
=>
'hidden, blacklisted, mail_subject, mail_body, to_address, from_address, priority, from_name, bcc_addresses, cc_addresses, extension_key, template_name, sending_time, last_sending_time, language'
,
],
'interface'
=>
[],
'types'
=>
[
'1'
=>
[
'showitem'
=>
'hidden;;1, blacklisted, priority, to_address, from_address, mail_subject, mail_body, from_name, bcc_addresses, cc_addresses, extension_key, template_name, sending_time, last_sending_time, language, attachments'
...
...
@@ -199,3 +197,8 @@ return [
]
]
];
if
(
version_compare
(
\
TYPO3\CMS\Core\Utility\VersionNumberUtility
::
getCurrentTypo3Version
(),
'10.3.0'
,
'<'
))
{
$columns
[
'interface'
][
'showRecordFieldList'
]
=
'hidden, blacklisted, mail_subject, mail_body, to_address, from_address, priority, from_name, bcc_addresses, cc_addresses, extension_key, template_name, sending_time, last_sending_time, language'
;
}
return
$columns
;
Configuration/TCA/tx_sgmail_domain_model_template.php
View file @
ea7de44d
...
...
@@ -24,7 +24,7 @@
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
return
[
$columns
=
[
'ctrl'
=>
[
'title'
=>
'LLL:EXT:sg_mail/Resources/Private/Language/locallang_db.xlf:tx_sgmail_domain_model_template'
,
'label'
=>
'extension_key'
,
...
...
@@ -42,9 +42,7 @@ return [
'default_sortby'
=>
'ORDER BY extension_key ASC, template_name ASC'
,
'iconfile'
=>
'EXT:sg_mail/Resources/Public/Icons/ModuleIconTCA.svg'
],
'interface'
=>
[
'showRecordFieldList'
=>
'layout, extension_key, template_name, language, content, subject, fromName, fromMail, cc, bcc, replyTo, to_address'
],
'interface'
=>
[],
'types'
=>
[
'1'
=>
[
'showitem'
=>
'hidden;;1, extension_key, template_name, language, content, subject, fromName, fromMail, cc, bcc, replyTo, to_address'
...
...
@@ -157,3 +155,8 @@ return [
]
]
];
if
(
version_compare
(
\
TYPO3\CMS\Core\Utility\VersionNumberUtility
::
getCurrentTypo3Version
(),
'10.3.0'
,
'<'
))
{
$columns
[
'interface'
][
'showRecordFieldList'
]
=
'layout, extension_key, template_name, language, content, subject, fromName, fromMail, cc, bcc, replyTo, to_address'
;
}
return
$columns
;
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment