Skip to content

Commit

Permalink
[TASK] removed deprecated labels
Browse files Browse the repository at this point in the history
  • Loading branch information
Andriy Oprysko authored and dmh committed Mar 14, 2017
1 parent 655fe15 commit dc1bbf8
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions Configuration/TCA/Overrides/tt_content.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

$contentElementLanguageFilePrefix = 'LLL:EXT:theme_t3kit/Resources/Private/Language/ContentElements.xlf:';
$frontendLanguageFilePrefix = 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:';
$cmsLanguageFilePrefix = 'LLL:EXT:cms/locallang_ttc.xlf:';

// Include tt_content overrides from "custom_content_elenent"
if (is_file(PATH_site . 'fileadmin/templates/theme_t3kit/custom_content_elements/Configuration/TCA/Overrides/tt_content.php')) {
Expand Down Expand Up @@ -316,10 +315,10 @@
$GLOBALS['TCA']['tt_content']['types']['bigIconTextButton'] = [
'showitem' => '
--palette--;' . $frontendLanguageFilePrefix . 'palette.general;general,
header;' . $cmsLanguageFilePrefix . 'header_formlabel,
header;' . $frontendLanguageFilePrefix . 'header_formlabel,
--linebreak--,bodytext;' . $contentElementLanguageFilePrefix . 'bigIconTextButton.bodytext,
--linebreak--,subheader;' . $contentElementLanguageFilePrefix . 'bigIconTextButton.buttonText,
--linebreak--,header_link;' . $cmsLanguageFilePrefix . 'header_link_formlabel,
--linebreak--,header_link;' . $frontendLanguageFilePrefix . 'header_link_formlabel,
--linebreak--,pi_flexform;' . $contentElementLanguageFilePrefix . 'tt_content.tabs.settings,
--div--;' . $frontendLanguageFilePrefix . 'tabs.appearance,
--palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.frames;frames,
Expand All @@ -335,10 +334,10 @@
$GLOBALS['TCA']['tt_content']['types']['iconTextButton'] = [
'showitem' => '
--palette--;' . $frontendLanguageFilePrefix . 'palette.general;general,
header;' . $cmsLanguageFilePrefix . 'header_formlabel,
header;' . $frontendLanguageFilePrefix . 'header_formlabel,
--linebreak--,bodytext;' . $contentElementLanguageFilePrefix . 'iconTextButton.bodytext,
--linebreak--,subheader;' . $contentElementLanguageFilePrefix . 'iconTextButton.buttonText,
--linebreak--,header_link;' . $cmsLanguageFilePrefix . 'header_link_formlabel,
--linebreak--,header_link;' . $frontendLanguageFilePrefix . 'header_link_formlabel,
--linebreak--,pi_flexform;' . $contentElementLanguageFilePrefix . 'tt_content.tabs.settings,
--div--;' . $frontendLanguageFilePrefix . 'tabs.appearance,
--palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.frames;frames,
Expand Down Expand Up @@ -393,10 +392,10 @@
$GLOBALS['TCA']['tt_content']['types']['imageTextLink'] = [
'showitem' => '
--palette--;' . $frontendLanguageFilePrefix . 'palette.general;general,
header;' . $cmsLanguageFilePrefix . 'header_formlabel,
header;' . $frontendLanguageFilePrefix . 'header_formlabel,
--linebreak--,bodytext;' . $contentElementLanguageFilePrefix . 'imageTextLink.bodytext,
--linebreak--,subheader;' . $contentElementLanguageFilePrefix . 'imageTextLink.linkText,
--linebreak--,header_link;' . $cmsLanguageFilePrefix . 'header_link_formlabel,
--linebreak--,header_link;' . $frontendLanguageFilePrefix . 'header_link_formlabel,
--linebreak--,pi_flexform;' . $contentElementLanguageFilePrefix . 'tt_content.tabs.settings,
--div--;' . $frontendLanguageFilePrefix . 'tabs.images,image,
--div--;' . $contentElementLanguageFilePrefix . 'imageTextLink.tabs.media,media,
Expand Down Expand Up @@ -435,7 +434,7 @@
header;' . $contentElementLanguageFilePrefix . 'quote.header,
--linebreak--,bodytext;' . $contentElementLanguageFilePrefix . 'quote.bodytext,
--linebreak--,subheader;' . $contentElementLanguageFilePrefix . 'quote.linkText,
--linebreak--,header_link;' . $cmsLanguageFilePrefix . 'header_link_formlabel,
--linebreak--,header_link;' . $frontendLanguageFilePrefix . 'header_link_formlabel,
--div--;' . $frontendLanguageFilePrefix . 'tabs.appearance,
--palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.frames;frames,
--palette--;' . $frontendLanguageFilePrefix . 'palette.appearanceLinks;appearanceLinks,
Expand Down

0 comments on commit dc1bbf8

Please sign in to comment.