[TASK] Move rtehtmlarea TypoScript to correct folder location 58/45858/2
authorBenni Mack <benni@typo3.org>
Wed, 13 Jan 2016 07:27:32 +0000 (08:27 +0100)
committerAndreas Fernandez <typo3@scripting-base.de>
Wed, 13 Jan 2016 09:01:20 +0000 (10:01 +0100)
The accessibilityicons feature includes a file
within EXT:rtehtmlarea/res/. According to the rest of the
core conventions this is now moved to
EXT:rtehtmlarea/Configuration/TypoScript/.

Resolves: #72669
Releases: master
Change-Id: I8a1089f8e5ee93fa3c779fa937d72b269dfe3bb4
Reviewed-on: https://review.typo3.org/45858
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
typo3/sysext/rtehtmlarea/Configuration/TypoScript/AccessibilityIcons/setup.txt [new file with mode: 0644]
typo3/sysext/rtehtmlarea/ext_localconf.php
typo3/sysext/rtehtmlarea/res/accessibilityicons/setup.txt [deleted file]

diff --git a/typo3/sysext/rtehtmlarea/Configuration/TypoScript/AccessibilityIcons/setup.txt b/typo3/sysext/rtehtmlarea/Configuration/TypoScript/AccessibilityIcons/setup.txt
new file mode 100644 (file)
index 0000000..0c42bc0
--- /dev/null
@@ -0,0 +1,3 @@
+## TS setup for accessibility icons feature
+
+lib.parseFunc_RTE.tags.link.postUserFunc = TYPO3\CMS\Rtehtmlarea\Controller\AccessibilityLinkController->removeAccessibilityIcon
\ No newline at end of file
index c6f3ed9..287ae8e 100644 (file)
@@ -123,7 +123,7 @@ $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['rtehtmlarea']['plugins']['TYPO3Link']['a
 $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['rtehtmlarea']['enableAccessibilityIcons'] = $_EXTCONF['enableAccessibilityIcons'] ?: 0;
 if ($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['rtehtmlarea']['enableAccessibilityIcons']) {
     \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:rtehtmlarea/Configuration/PageTSconfig/AccessibilityIcons/pageTSConfig.txt">');
-    \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScript('rtehtmlarea', 'setup', '<INCLUDE_TYPOSCRIPT: source="FILE:EXT:rtehtmlarea/res/accessibilityicons/setup.txt">', 'defaultContentRendering');
+    \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScript('rtehtmlarea', 'setup', '<INCLUDE_TYPOSCRIPT: source="FILE:EXT:rtehtmlarea/Configuration/TypoScript/AccessibilityIcons/setup.txt">', 'defaultContentRendering');
 }
 
 // Register features that use the style attribute
diff --git a/typo3/sysext/rtehtmlarea/res/accessibilityicons/setup.txt b/typo3/sysext/rtehtmlarea/res/accessibilityicons/setup.txt
deleted file mode 100644 (file)
index 0c42bc0..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-## TS setup for accessibility icons feature
-
-lib.parseFunc_RTE.tags.link.postUserFunc = TYPO3\CMS\Rtehtmlarea\Controller\AccessibilityLinkController->removeAccessibilityIcon
\ No newline at end of file