Project

General

Profile

Bug #14547 » class.tslib_menu.php.amp.patch

Administrator Admin, 2005-05-18 14:44

View differences:

class.tslib_menu.php 2005-05-18 14:44:01.828873296 +0200
array_merge($currentPageWithNoOverlay, $lRecs),
array(
'ITEM_STATE' => $iState,
'_ADD_GETVARS' => '&L='.$sUid,
'_ADD_GETVARS' => '&L='.$sUid,
'_SAFE' => TRUE
)
);
......
$olRec = $GLOBALS['TSFE']->sys_page->getPageOverlay($data['uid'], $Lvar);
if (!count($olRec)) {
// If no pages_language_overlay record then page can NOT be accessed in the language pointed to by "&L" and therefore we protect the link by setting "&L=0"
$data['_ADD_GETVARS'].= '&L=0';
$data['_ADD_GETVARS'].= '&L=0';
}
}
}
......
// Mount points:
$MP_var = $this->getMPvar($key);
$MP_params = $MP_var ? '&MP='.rawurlencode($MP_var) : '';
$MP_params = $MP_var ? '&MP='.rawurlencode($MP_var) : '';
// Setting override ID
if ($this->mconf['overrideId'] || $this->menuArr[$key]['overrideId']) {
......
// Set "&MP=" var:
$MP_var = implode(',',$MP_array);
$MP_params = $MP_var ? '&MP='.rawurlencode($MP_var) : '';
$MP_params = $MP_var ? '&MP='.rawurlencode($MP_var) : '';
// UIDs to ban:
$banUidArray=array();
......
include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['tslib/class.tslib_menu.php']);
}
?>
?>
(3-3/6)