Bug #21493 » patch4.2.10_jsmenu_showactive.diff
class.tslib_menu.php Sun Nov 08 18:15:59 2009 | ||
---|---|---|
}
|
||
$codeLines.="\n".$var.$count."=".$menuName.".add(".$parent.",".$prev.",0,".t3lib_div::quoteJSvalue($title, true).",".t3lib_div::quoteJSvalue($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'] && $this->isActive($data['uid'], $MP_var));
|
||
// If the first item should be shown
|
||
$first = (!$c && $levelConf['showFirst']);
|
||
// do it...
|