From f264beb6e3129d25d5a983ceeda3399b0072347c Mon Sep 17 00:00:00 2001 From: Markus Klein Date: Sat, 22 Sep 2012 22:56:01 +0200 Subject: [PATCH] [CLEANUP] Remove all occurrences of edit_showFieldHelp == 'text' The text version of edit_showFieldHelp is not supported since 4.5 anymore. This patch removes all references and dead code. Resolves: #24623 Releases: 6.0 Change-Id: Idb915f4dbaba8ee0690c06fddcace4d0d4ad6813 Reviewed-on: http://review.typo3.org/14950 Reviewed-by: Philipp Gampe Tested-by: Philipp Gampe Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn --- Classes/FrontendEditPanel.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Classes/FrontendEditPanel.php b/Classes/FrontendEditPanel.php index a6ea008..8d92b90 100644 --- a/Classes/FrontendEditPanel.php +++ b/Classes/FrontendEditPanel.php @@ -347,12 +347,7 @@ class FrontendEditPanel { $tceforms->backPath = TYPO3_mainDir; $tceforms->setFancyDesign(); $tceforms->defStyle = 'font-family:Verdana;font-size:10px;'; - $tceforms->edit_showFieldHelp = $GLOBALS['BE_USER']->uc['edit_showFieldHelp']; - // Icon only mode for CSH destroys the layout for frontend editing so force full text mode instead. - // @todo Make sure the necessary Javascript and CSS are included so that CSH can work properly in all modes. - if ($tceforms->edit_showFieldHelp == 'icon') { - $tceforms->edit_showFieldHelp = 'text'; - } + $tceforms->edit_showFieldHelp = 0; $tceforms->helpTextFontTag = ''; $trData = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Form\\DataPreprocessor'); $trData->addRawData = TRUE;