Project

General

Profile

Bug #21493 » patch4.3.0beta2_jsmenu_showactive.diff

Administrator Admin, 2009-11-08 18:29

View differences:

class.tslib_menu.php Sun Nov 08 18:23:52 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...
(2-2/2)