mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-22 13:36:13 +01:00
[CLEANUP] Use $GLOBALS['TCA'] instead of $TCA
This commit is contained in:
parent
7696a7b97e
commit
1e248f4bb0
5 changed files with 12 additions and 12 deletions
|
@ -3,8 +3,8 @@ if (!defined ('TYPO3_MODE')) {
|
|||
die ('Access denied.');
|
||||
}
|
||||
|
||||
$TCA['tx_tea_domain_model_addition'] = array(
|
||||
'ctrl' => $TCA['tx_tea_domain_model_addition']['ctrl'],
|
||||
$GLOBALS['TCA']['tx_tea_domain_model_addition'] = array(
|
||||
'ctrl' => $GLOBALS['TCA']['tx_tea_domain_model_addition']['ctrl'],
|
||||
'interface' => array(
|
||||
'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, title',
|
||||
),
|
||||
|
|
|
@ -3,8 +3,8 @@ if (!defined ('TYPO3_MODE')) {
|
|||
die ('Access denied.');
|
||||
}
|
||||
|
||||
$TCA['tx_tea_domain_model_teabeverage'] = array(
|
||||
'ctrl' => $TCA['tx_tea_domain_model_teabeverage']['ctrl'],
|
||||
$GLOBALS['TCA']['tx_tea_domain_model_teabeverage'] = array(
|
||||
'ctrl' => $GLOBALS['TCA']['tx_tea_domain_model_teabeverage']['ctrl'],
|
||||
'interface' => array(
|
||||
'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, size, type, additions, testimonials',
|
||||
),
|
||||
|
|
|
@ -3,8 +3,8 @@ if (!defined ('TYPO3_MODE')) {
|
|||
die ('Access denied.');
|
||||
}
|
||||
|
||||
$TCA['tx_tea_domain_model_teatype'] = array(
|
||||
'ctrl' => $TCA['tx_tea_domain_model_teatype']['ctrl'],
|
||||
$GLOBALS['TCA']['tx_tea_domain_model_teatype'] = array(
|
||||
'ctrl' => $GLOBALS['TCA']['tx_tea_domain_model_teatype']['ctrl'],
|
||||
'interface' => array(
|
||||
'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, title, caffeinated',
|
||||
),
|
||||
|
|
|
@ -3,8 +3,8 @@ if (!defined ('TYPO3_MODE')) {
|
|||
die ('Access denied.');
|
||||
}
|
||||
|
||||
$TCA['tx_tea_domain_model_testimonial'] = array(
|
||||
'ctrl' => $TCA['tx_tea_domain_model_testimonial']['ctrl'],
|
||||
$GLOBALS['TCA']['tx_tea_domain_model_testimonial'] = array(
|
||||
'ctrl' => $GLOBALS['TCA']['tx_tea_domain_model_testimonial']['ctrl'],
|
||||
'interface' => array(
|
||||
'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, date_of_posting, number_of_consumed_cups, text',
|
||||
),
|
||||
|
|
|
@ -13,7 +13,7 @@ if (!defined('TYPO3_MODE')) {
|
|||
|
||||
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_tea_domain_model_teabeverage', 'EXT:tea/Resources/Private/Language/locallang_csh_tx_tea_domain_model_teabeverage.xlf');
|
||||
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_tea_domain_model_teabeverage');
|
||||
$TCA['tx_tea_domain_model_teabeverage'] = array(
|
||||
$GLOBALS['TCA']['tx_tea_domain_model_teabeverage'] = array(
|
||||
'ctrl' => array(
|
||||
'title' => 'LLL:EXT:tea/Resources/Private/Language/locallang_db.xlf:tx_tea_domain_model_teabeverage',
|
||||
'label' => 'size',
|
||||
|
@ -44,7 +44,7 @@ $TCA['tx_tea_domain_model_teabeverage'] = array(
|
|||
|
||||
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_tea_domain_model_teatype', 'EXT:tea/Resources/Private/Language/locallang_csh_tx_tea_domain_model_teatype.xlf');
|
||||
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_tea_domain_model_teatype');
|
||||
$TCA['tx_tea_domain_model_teatype'] = array(
|
||||
$GLOBALS['TCA']['tx_tea_domain_model_teatype'] = array(
|
||||
'ctrl' => array(
|
||||
'title' => 'LLL:EXT:tea/Resources/Private/Language/locallang_db.xlf:tx_tea_domain_model_teatype',
|
||||
'label' => 'title',
|
||||
|
@ -75,7 +75,7 @@ $TCA['tx_tea_domain_model_teatype'] = array(
|
|||
|
||||
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_tea_domain_model_addition', 'EXT:tea/Resources/Private/Language/locallang_csh_tx_tea_domain_model_addition.xlf');
|
||||
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_tea_domain_model_addition');
|
||||
$TCA['tx_tea_domain_model_addition'] = array(
|
||||
$GLOBALS['TCA']['tx_tea_domain_model_addition'] = array(
|
||||
'ctrl' => array(
|
||||
'title' => 'LLL:EXT:tea/Resources/Private/Language/locallang_db.xlf:tx_tea_domain_model_addition',
|
||||
'label' => 'title',
|
||||
|
@ -106,7 +106,7 @@ $TCA['tx_tea_domain_model_addition'] = array(
|
|||
|
||||
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_tea_domain_model_testimonial', 'EXT:tea/Resources/Private/Language/locallang_csh_tx_tea_domain_model_testimonial.xlf');
|
||||
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_tea_domain_model_testimonial');
|
||||
$TCA['tx_tea_domain_model_testimonial'] = array(
|
||||
$GLOBALS['TCA']['tx_tea_domain_model_testimonial'] = array(
|
||||
'ctrl' => array(
|
||||
'title' => 'LLL:EXT:tea/Resources/Private/Language/locallang_db.xlf:tx_tea_domain_model_testimonial',
|
||||
'label' => 'date_of_posting',
|
||||
|
|
Loading…
Reference in a new issue