[TASK] Streamline ext_localconf.php / ext_tables.php of sysexts
[Packages/TYPO3.CMS.git] / typo3 / sysext / rtehtmlarea / ext_tables.php
index 299d25a..d0c9d45 100644 (file)
@@ -2,25 +2,25 @@
 defined('TYPO3_MODE') or die();
 
 // Add static template for Click-enlarge rendering
-\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'static/clickenlarge/', 'Clickenlarge Rendering');
+\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile('rtehtmlarea', 'static/clickenlarge/', 'Clickenlarge Rendering');
 
 // Add Abbreviation records (as of 7.0 not working in Configuration/TCA/Overrides)
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_rtehtmlarea_acronym');
-\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_rtehtmlarea_acronym', 'EXT:' . $_EXTKEY . '/locallang_csh_abbreviation.xlf');
+\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_rtehtmlarea_acronym', 'EXT:rtehtmlarea/locallang_csh_abbreviation.xlf');
 
 // Add contextual help files
 $htmlAreaRteContextHelpFiles = array(
-       'General' => 'EXT:' . $_EXTKEY . '/locallang_csh.xlf',
-       'Abbreviation' => 'EXT:' . $_EXTKEY . '/extensions/Abbreviation/locallang_csh.xlf',
-       'EditElement' => 'EXT:' . $_EXTKEY . '/extensions/EditElement/locallang_csh.xlf',
-       'Language' => 'EXT:' . $_EXTKEY . '/extensions/Language/locallang_csh.xlf',
-       'MicrodataSchema' => 'EXT:' . $_EXTKEY . '/extensions/MicrodataSchema/locallang_csh.xlf',
-       'PlainText' => 'EXT:' . $_EXTKEY . '/extensions/PlainText/locallang_csh.xlf',
-       'RemoveFormat' => 'EXT:' . $_EXTKEY . '/extensions/RemoveFormat/locallang_csh.xlf',
-       'TableOperations' => 'EXT:' . $_EXTKEY . '/extensions/TableOperations/locallang_csh.xlf'
+       'General' => 'EXT:rtehtmlarea/locallang_csh.xlf',
+       'Abbreviation' => 'EXT:rtehtmlarea/extensions/Abbreviation/locallang_csh.xlf',
+       'EditElement' => 'EXT:rtehtmlarea/extensions/EditElement/locallang_csh.xlf',
+       'Language' => 'EXT:rtehtmlarea/extensions/Language/locallang_csh.xlf',
+       'MicrodataSchema' => 'EXT:rtehtmlarea/extensions/MicrodataSchema/locallang_csh.xlf',
+       'PlainText' => 'EXT:rtehtmlarea/extensions/PlainText/locallang_csh.xlf',
+       'RemoveFormat' => 'EXT:rtehtmlarea/extensions/RemoveFormat/locallang_csh.xlf',
+       'TableOperations' => 'EXT:rtehtmlarea/extensions/TableOperations/locallang_csh.xlf'
 );
 foreach ($htmlAreaRteContextHelpFiles as $key => $file) {
-       \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('xEXT_' . $_EXTKEY . '_' . $key, $file);
+       \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('xEXT_rtehtmlarea_' . $key, $file);
 }
 unset($htmlAreaRteContextHelpFiles);
 
@@ -84,4 +84,4 @@ if (TYPO3_MODE === 'BE') {
                'rtehtmlarea_wizard_parse_html',
                \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/ParseHtml/'
        );
-}
\ No newline at end of file
+}