Fixed bug #12964: feedit - EDITPANEL -> "newRecordinPid" doesn't work anymore with feedit

git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@8819 709f56b5-9817-0410-a4d7-c38de5d9e867
This commit is contained in:
Benni Mack 2010-09-19 14:24:39 +00:00
parent 465131235a
commit f437aa0020

View file

@ -110,9 +110,9 @@ class tx_feedit_editpanel {
} }
if (isset($allow['new'])) { if (isset($allow['new'])) {
if ($table == 'pages') { if ($table == 'pages') {
$panel .= $this->editPanelLinkWrap('<img src="' . TYPO3_mainDir . 'gfx/new_page.gif" width="13" height="12" vspace="1" hspace="2" border="0" title="' . $GLOBALS['BE_USER']->extGetLL('p_newSubpage') . '" align="top" alt="" />', $formName, 'new', $currentRecord, '', $nPid); $panel .= $this->editPanelLinkWrap('<img src="' . TYPO3_mainDir . 'gfx/new_page.gif" width="13" height="12" vspace="1" hspace="2" border="0" title="' . $GLOBALS['BE_USER']->extGetLL('p_newSubpage') . '" align="top" alt="" />', $formName, 'new', $currentRecord, '');
} else { } else {
$panel .= $this->editPanelLinkWrap('<img src="' . TYPO3_mainDir . 'gfx/new_record.gif" width="16" height="12" vspace="1" hspace="2" border="0" title="' . $GLOBALS['BE_USER']->extGetLL('p_newRecordAfter') . '" align="top" alt="" />', $formName, 'new', $currentRecord, '', $nPid); $panel .= $this->editPanelLinkWrap('<img src="' . TYPO3_mainDir . 'gfx/new_record.gif" width="16" height="12" vspace="1" hspace="2" border="0" title="' . $GLOBALS['BE_USER']->extGetLL('p_newRecordAfter') . '" align="top" alt="" />', $formName, 'new', $currentRecord, '', $newUID);
} }
} }
// Hiding in workspaces because implementation is incomplete, Hiding for localizations because it is unknown what should be the function in that case // Hiding in workspaces because implementation is incomplete, Hiding for localizations because it is unknown what should be the function in that case