Project

General

Profile

Bug #27290 » class.tslib_menu.php.diff

Experimental patch - Martin Kästner, 2011-06-08 13:41

View differences:

typo3/sysext/cms/tslib/class.tslib_menu.php Mi 8. Jun 13:21:42 2011
$part = isset($this->I['val']['wrapItemAndSub.'])
? $this->WMcObj->stdWrap($this->I['val']['wrapItemAndSub'], $this->I['val']['wrapItemAndSub.'])
: $this->I['val']['wrapItemAndSub'];
$this->WMresult.= $part ? $this->tmpl->wrap($this->I['theItem'],$part) : $this->I['theItem'];
$this->I['theItem'] = $part ? $this->tmpl->wrap($this->I['theItem'], $part) : $this->I['theItem'];
if ($this->I['val']['subst_elementUid']) {
$this->I['theItem'] = str_replace('{elementUid}', $this->I['uid'], $this->I['theItem']);
}
$this->WMresult .= $this->I['theItem'];
}
/**
......
$part = isset($this->I['val']['wrapItemAndSub.'])
? $this->WMcObj->stdWrap($this->I['val']['wrapItemAndSub'], $this->I['val']['wrapItemAndSub.'])
: $this->I['val']['wrapItemAndSub'];
$this->WMresult.= $part ? $this->tmpl->wrap($this->I['theItem'],$part) : $this->I['theItem'];
$this->I['theItem'] = $part ? $this->tmpl->wrap($this->I['theItem'],$part) : $this->I['theItem'];
if ($this->I['val']['subst_elementUid']) {
$this->I['theItem'] = str_replace('{elementUid}',$this->I['uid'],$this->I['theItem']);
}
$this->WMresult .= $this->I['theItem'];
}
(1-1/2)