Project

General

Profile

Feature #15371 » class.tslib_content.php.diff.txt

Administrator Admin, 2006-01-16 23:32

 
6670,6673d6670
<
< if ($conf['newRecordInPid']) {
< $newUid=$conf['newRecordInPid'];
< }
6758c6754
< $panel.=$this->editPanelLinkWrap('<img src="t3lib/gfx/new_page.gif" width="13" height="12" vspace="1" hspace="2" border="0" title="'.$BE_USER->extGetLL('p_newSubpage').'" align="top" alt="" title="" />',$formName,'new',$currentRecord,'',$conf['newRecordInPid']);
---
> $panel.=$this->editPanelLinkWrap('<img src="t3lib/gfx/new_page.gif" width="13" height="12" vspace="1" hspace="2" border="0" title="'.$BE_USER->extGetLL('p_newSubpage').'" align="top" alt="" title="" />',$formName,'new',$currentRecord);
6760c6756
< $panel.=$this->editPanelLinkWrap('<img src="t3lib/gfx/new_record.gif" width="16" height="12" vspace="1" hspace="2" border="0" title="'.$BE_USER->extGetLL('p_newRecordAfter').'" align="top" alt="" title="" />',$formName,'new',$currentRecord,'',$conf['newRecordInPid']);
---
> $panel.=$this->editPanelLinkWrap('<img src="t3lib/gfx/new_record.gif" width="16" height="12" vspace="1" hspace="2" border="0" title="'.$BE_USER->extGetLL('p_newRecordAfter').'" align="top" alt="" title="" />',$formName,'new',$currentRecord);
6876c6872
< function editPanelLinkWrap($string,$formName,$cmd,$currentRecord='',$confirm='',$nPid='') {
---
> function editPanelLinkWrap($string,$formName,$cmd,$currentRecord='',$confirm='') {
6889d6885
< if (!$nPid) {
6891d6886
< }
(1-1/5)