mirror of
https://github.com/FriendsOfTYPO3/feedit.git
synced 2024-12-23 09:56:09 +01:00
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:
parent
465131235a
commit
f437aa0020
1 changed files with 2 additions and 2 deletions
|
@ -110,9 +110,9 @@ class tx_feedit_editpanel {
|
|||
}
|
||||
if (isset($allow['new'])) {
|
||||
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 {
|
||||
$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
|
||||
|
|
Loading…
Reference in a new issue