Bug #16215 ยป browse-mutlilang.patch
class.tslib_menu.php 5 Jun 2006 16:58:20 -0000 | ||
---|---|---|
$nextActive=0;
|
||
reset($prevnext_menu);
|
||
while(list($k_b,$v_b)=each($prevnext_menu)) {
|
||
if ($nextActive) {
|
||
if ($nextActive && (!$GLOBALS['TSFE']->sys_language_uid || $v_b['_PAGES_OVERLAY'])) {
|
||
$recArr['next']=$v_b;
|
||
$nextActive=0;
|
||
}
|
||
... | ... | |
}
|
||
$nextActive=1;
|
||
}
|
||
$lastKey=$k_b;
|
||
$lastKey = (!$GLOBALS['TSFE']->sys_language_uid || $v_b['_PAGES_OVERLAY']) ? $k_b : $lastKey;
|
||
}
|
||
reset($prevnext_menu);
|
||
$recArr['first']=pos($prevnext_menu);
|