mirror of
https://github.com/FriendsOfTYPO3/feedit.git
synced 2024-11-09 17:26:09 +01:00
[TASK] Use real boolean value for sL second param
Make use of boolean value TRUE as second parameter in sL function. Change-Id: I6d77affc4f3ff260f617ca67c773fc4ca2e481ce Resolves: #51143 Releases: 6.2 Reviewed-on: https://review.typo3.org/23153 Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind Reviewed-by: Anja Leichsenring Tested-by: Anja Leichsenring
This commit is contained in:
parent
50e13164be
commit
3e97a5544d
1 changed files with 3 additions and 3 deletions
|
@ -369,9 +369,9 @@ class FrontendEditPanel {
|
||||||
$processedDataArr['uid'] = $theCmd == 'new' ? 'NEW' : $dataArray['uid'];
|
$processedDataArr['uid'] = $theCmd == 'new' ? 'NEW' : $dataArray['uid'];
|
||||||
$processedDataArr['pid'] = $theCmd == 'new' ? $newUID : $dataArray['pid'];
|
$processedDataArr['pid'] = $theCmd == 'new' ? $newUID : $dataArray['pid'];
|
||||||
$panel = '';
|
$panel = '';
|
||||||
$buttons = '<input type="image" border="0" name="TSFE_EDIT[update]" src="' . $tceforms->backPath . 'gfx/savedok.gif" hspace="2" width="21" height="16" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:rm.saveDoc', 1) . '" />';
|
$buttons = '<input type="image" border="0" name="TSFE_EDIT[update]" src="' . $tceforms->backPath . 'gfx/savedok.gif" hspace="2" width="21" height="16" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:rm.saveDoc', TRUE) . '" />';
|
||||||
$buttons .= '<input type="image" border="0" name="TSFE_EDIT[update_close]" src="' . $tceforms->backPath . 'gfx/saveandclosedok.gif" hspace="2" width="21" height="16" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:rm.saveCloseDoc', 1) . '" />';
|
$buttons .= '<input type="image" border="0" name="TSFE_EDIT[update_close]" src="' . $tceforms->backPath . 'gfx/saveandclosedok.gif" hspace="2" width="21" height="16" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:rm.saveCloseDoc', TRUE) . '" />';
|
||||||
$buttons .= '<input type="image" border="0" name="TSFE_EDIT[cancel]" onclick="' . htmlspecialchars(('window.location.href=\'' . GeneralUtility::getIndpEnv('REQUEST_URI') . '\';return false;')) . '" src="' . $tceforms->backPath . 'gfx/closedok.gif" hspace="2" width="21" height="16" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:rm.closeDoc', 1) . '" />';
|
$buttons .= '<input type="image" border="0" name="TSFE_EDIT[cancel]" onclick="' . htmlspecialchars(('window.location.href=\'' . GeneralUtility::getIndpEnv('REQUEST_URI') . '\';return false;')) . '" src="' . $tceforms->backPath . 'gfx/closedok.gif" hspace="2" width="21" height="16" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:rm.closeDoc', TRUE) . '" />';
|
||||||
// Buttons top
|
// Buttons top
|
||||||
$panel .= $tceforms->intoTemplate(array('ITEM' => $buttons));
|
$panel .= $tceforms->intoTemplate(array('ITEM' => $buttons));
|
||||||
$panel .= $tceforms->getMainFields($table, $processedDataArr);
|
$panel .= $tceforms->getMainFields($table, $processedDataArr);
|
||||||
|
|
Loading…
Reference in a new issue