Project

General

Profile

Feature #18088 ยป stdwrap-range_entrylevel.patch

Administrator Admin, 2008-02-01 10:03

View differences:

typo3/sysext/cms/tslib/class.tslib_menu.php (working copy)
}
// EntryLevel
$this->entryLevel = tslib_cObj::getKey ($conf['entryLevel'],$this->tmpl->rootLine);
$this->entryLevel = tslib_cObj::getKey ($this->parent_cObj->stdWrap($conf['entryLevel'], $conf['entryLevel.']),$this->tmpl->rootLine);
// Set parent page: If $id not stated with start() then the base-id will be found from rootLine[$this->entryLevel]
if ($id) { // Called as the next level in a menu. It is assumed that $this->MP_array is set from parent menu.
......
}
break;
case 'rootline':
$begin_end = explode('|',$this->conf['special.']['range']);
$begin_end = explode('|',$this->parent_cObj->stdWrap($this->conf['special.']['range'], $this->conf['special.']['range.']));
if (!t3lib_div::testInt($begin_end[0])) {intval($begin_end[0]);}
if (!t3lib_div::testInt($begin_end[1])) {$begin_end[1]=-1;}
    (1-1/1)