Project

General

Profile

Bug #21493 » patch4.2.10_jsmenu_showactive.diff

Administrator Admin, 2009-11-08 18:28

View differences:

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...
(1-1/2)