mirror of
https://github.com/FriendsOfTYPO3/feedit.git
synced 2024-11-25 15:46:09 +01:00
[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:
parent
c0d4310a28
commit
f264beb6e3
1 changed files with 1 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue