Project

General

Profile

Bug #14385 » class.t3lib_tstemplate_3.diff

Administrator Admin, 2005-04-07 13:53

View differences:

t3lib/class.t3lib_tstemplate.php 7 Apr 2005 11:48:30 -0000
$LD['no_cache'] = (trim($page['no_cache']) || $no_cache) ? '&no_cache=1' : '';
// linkVars
$LD['linkVars'] = $GLOBALS['TSFE']->linkVars.$addParams;
if ($GLOBALS['TSFE']->config['config']['uniqueLinkVars']) {
if ($addParams) {
$lV = array();
$addParamsArr = t3lib_div::trimExplode('&',$GLOBALS['TSFE']->linkVars.$addParams,1);
while(list($k,$e)=each($addParamsArr)) if ($e) {
list($k,$v) = explode('=',$e);
$lV[$k] = $v;
}
$LD['linkVars'] = t3lib_div::implodeArrayForUrl('',$lV);
} else {
$LD['linkVars'] = $GLOBALS['TSFE']->linkVars;
}
} else {
$LD['linkVars'] = $GLOBALS['TSFE']->linkVars.$addParams;
}
// If simulateStaticDocuments is enabled:
if ($GLOBALS['TSFE']->config['config']['simulateStaticDocuments']) {
(3-3/4)