Project

General

Profile

Bug #15182 ยป bug_1794.patch

Administrator Admin, 2005-11-19 09:11

View differences:

TYPO3core_testing/tslib/class.tslib_menu.php 2005-11-19 09:09:54.000000000 +0100
break;
}
// Get
$extraWhere = ' AND pages.nav_hide=0'.$this->getDoktypeExcludeWhere();
$extraWhere = $this->getDoktypeExcludeWhere();
if ($this->conf['special.']['excludeNoSearchPages']) {
$extraWhere.= ' AND pages.no_search=0';
......
$depth=20;
}
$limit = t3lib_div::intInRange($this->conf['special.']['limit'],0,100); // max number of items
$extraWhere = ' AND pages.uid!='.$value.' AND pages.nav_hide=0'.$this->getDoktypeExcludeWhere();
$extraWhere = ' AND pages.uid!='.$value.$this->getDoktypeExcludeWhere();
if ($this->conf['special.']['excludeNoSearchPages']) {
$extraWhere.= ' AND pages.no_search=0';
}
......
* @access private
*/
function getDoktypeExcludeWhere() {
return $this->doktypeExcludeList ? ' AND pages.doktype NOT IN ('.$this->doktypeExcludeList.')' : '';
$extraWhere = '';
if (!$this->conf['includeNotInMenu']) {
$extraWhere .= ' AND pages.nav_hide=0';
}
if ($this->doktypeExcludeList) {
$extraWhere .= ' AND pages.doktype NOT IN ('.$this->doktypeExcludeList.')';
}
return $extraWhere;
}
}
    (1-1/1)