Project

General

Profile

Feature #14575 ยป class.tslib_menu.patch

Administrator Admin, 2005-05-24 21:24

View differences:

new/class.tslib_menu.php 2005-05-24 14:04:19.000000000 -0500
if ($this->conf['special.']['excludeNoSearchPages']) {
$extraWhere.= ' AND pages.no_search=0';
}
// start point
$eLevel = tslib_cObj::getKey (intval($this->conf['special.']['entryLevel']),$this->tmpl->rootLine);
$startUid = intval($this->tmpl->rootLine[$eLevel]['uid']);
// Get a alternative start UID if supplied with TS, the entryLevel is ofcourse ignored then....
if ($this->conf['special.']['startUid'] || $this->conf['special.']['startUid.']) {
$startUid = $this->parent_cObj->stdWrap($this->conf['special.']['startUid'], $this->conf['special.']['startUid.']);
} else {
$startUid = intval($this->tmpl->rootLine[ tslib_cObj::getKey (intval($this->conf['special.']['entryLevel']),$this->tmpl->rootLine) ]['uid']);
}
// which field is for keywords
$kfield = 'keywords';
if ( $this->conf['special.']['keywordsField'] ) {
    (1-1/1)