Fixed bug #12964: feedit - EDITPANEL -> "newRecordinPid" doesn't work anymore with...
authorBenni Mack <benni.mack@typo3.org>
Sun, 19 Sep 2010 14:25:56 +0000 (14:25 +0000)
committerBenni Mack <benni.mack@typo3.org>
Sun, 19 Sep 2010 14:25:56 +0000 (14:25 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_4-4@8820 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/feedit/view/class.tx_feedit_editpanel.php

index 84b1983..68db0f6 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,7 @@
 
 2010-09-19  Benjamin Mack  <benni@typo3.org>
 
+       * Fixed bug #12964: feedit - EDITPANEL -> "newRecordinPid" doesn't work anymore with feedit (Thanks to Sven Juergens)
        * Fixed bug #3908: DisplayCond => VERSION:IS:false always returns true (Thanks to Daniel Poetzinger)
 
 2010-09-18  Steffen Gebert  <steffen@steffen-gebert.de>
index 68c5ff2..d33f3be 100644 (file)
@@ -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