Project

General

Profile

Bug #17186 ยป 0005357.patch

Administrator Admin, 2007-04-03 23:32

View differences:

typo3/sysext/cms/tslib/class.tslib_menu.php 2007-04-03 23:33:26.000000000 +0200
}
$codeLines.="\n".$var.$count."=".$menuName.".add(".$parent.",".$prev.",0,".t3lib_div::quoteJSvalue($title, true).",".t3lib_div::quoteJSvalue($GLOBALS['TSFE']->baseUrlWrap($url), true).",".t3lib_div::quoteJSvalue($target, true).");";
// If the active one should be chosen...
$active = ($levelConf['showActive'] && $data['uid'] == $this->tmpl->rootLine[$count]['uid']);
$active = ($levelConf['showActive'] && $data['uid'] == $this->tmpl->rootLine[$count+$this->conf['entryLevel']]['uid']);
// If the first item should be shown
$first = (!$c && $levelConf['showFirst']);
// do it...
    (1-1/1)