[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
This commit is contained in:
Markus Klein 2012-09-22 22:56:01 +02:00 committed by Christian Kuhn
parent c0d4310a28
commit f264beb6e3

View file

@ -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 = '<font face="verdana,sans-serif" color="#333333" size="1">';
$trData = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Form\\DataPreprocessor');
$trData->addRawData = TRUE;