Project

General

Profile

Bug #15929 ยป class.t3lib_tstemplate.php.diff

Administrator Admin, 2006-04-01 13:45

View differences:

class.t3lib_tstemplate.php 1 Apr 2006 11:43:39 -0000
}
// Adding Mount Points, "&MP=", parameter for the current page if any is set:
if (!strstr($addParams,'&MP=')) {
if (!strstr($addParams,'&MP=')) {
if (trim($GLOBALS['TSFE']->MP_defaults[$page['uid']])) { // Looking for hardcoded defaults:
$addParams.= '&MP='.rawurlencode(trim($GLOBALS['TSFE']->MP_defaults[$page['uid']]));
$addParams.= '&MP='.rawurlencode(trim($GLOBALS['TSFE']->MP_defaults[$page['uid']]));
} elseif ($GLOBALS['TSFE']->config['config']['MP_mapRootPoints']) { // Else look in automatically created map:
$m = $this->getFromMPmap($page['uid']);
if ($m) {
$addParams.= '&MP='.rawurlencode($m);
$addParams.= '&MP='.rawurlencode($m);
}
}
}
......
}
if (strcmp($typeOverride,'')) { $typeNum = $typeOverride; } // Override...
if ($typeNum) {
$LD['type'] = '&type='.intval($typeNum);
$LD['type'] = '&type='.intval($typeNum);
} else {
$LD['type'] = '';
}
$LD['orig_type'] = $LD['type']; // Preserving the type number. Will not be cleared if simulateStaticDocuments.
// noCache
$LD['no_cache'] = (trim($page['no_cache']) || $no_cache) ? '&no_cache=1' : '';
$LD['no_cache'] = (trim($page['no_cache']) || $no_cache) ? '&no_cache=1' : '';
// linkVars
if ($GLOBALS['TSFE']->config['config']['uniqueLinkVars']) {
    (1-1/1)