Project

General

Profile

Bug #14530 » 0000750-11_resolveBackPath.diff

Administrator Admin, 2005-03-28 18:22

View differences:

class.alt_menu_functions.inc 2005-03-28 18:11:15.000000000 +0200
$link_sub = 0;
}
$link = t3lib_div::resolveBackPath($link);
$moduleKey = $moduleName.'_tab';
$moduleCSSId = 'ID_'.t3lib_div::md5int($moduleName);
......
</tr>';
}
$link = $subInfo['script'];
$link = t3lib_div::resolveBackPath($subInfo['script']);
$prefix=$this->getNavFramePrefix ($moduleInfo, $subInfo);
$subKey = $moduleName.'_'.$subName.'_tab';
......
if (!$BE_USER->uc['condensedMode'] && $moduleInfo['navFrameScript']) {
// use special nav script from sub module, otherwise from the main module
$subNavFrameScript = $subInfo['navFrameScript'] ? $subInfo['navFrameScript'] : $moduleInfo['navFrameScript'] ;
$subNavFrameScript = $subInfo['navFrameScript'] ? $subInfo['navFrameScript'] : $moduleInfo['navFrameScript'];
$subNavFrameScript = t3lib_div::resolveBackPath($subNavFrameScript);
// add GET params for sub module to the nav script
$subNavFrameScript = $this->wrapLinkWithAB($subNavFrameScript).$subInfo['navFrameScriptParam'];
......
$prefix = '';
$navFrameScriptParam = $subModuleInfo['navFrameScriptParam'] ? $subModuleInfo['navFrameScriptParam'] : $moduleInfo['navFrameScriptParam'];
if ($moduleInfo['navFrameScript']) {
$navFrameScript = t3lib_div::resolveBackPath($moduleInfo['navFrameScript']);
$navFrameScript = $this->wrapLinkWithAB($navFrameScript);
if ($BE_USER->uc['condensedMode']) {
$prefix=$this->wrapLinkWithAB($moduleInfo['navFrameScript']).$navFrameScriptParam.'&currentSubScript=';
$prefix=$navFrameScript.$navFrameScriptParam.'&currentSubScript=';
} else {
$prefix='alt_mod_frameset.php?'.
'fW="+top.TS.navFrameWidth+"'.
'&nav="+top.TS.PATH_typo3+"'.rawurlencode($this->wrapLinkWithAB($moduleInfo['navFrameScript']).$navFrameScriptParam).
'&nav="+top.TS.PATH_typo3+"'.rawurlencode($navFrameScript.$navFrameScriptParam).
'&script=';
}
}
(2-2/2)