Project

General

Profile

Bug #14385 » class.tslib_content_2.diff

Administrator Admin, 2005-04-06 22:22

View differences:

t3lib/class.t3lib_tstemplate.php 6 Apr 2005 20:08:14 -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']) {
$lV = Array();
$tmp = explode ('&',$GLOBALS['TSFE']->linkVars);
while(list($k,$e)=each($tmp)) if ($e) {
list($k,$v) = explode('=',$e);
$lV[$k] = $v;
}
$tmp = explode ('&',$addParams);
while(list($k,$e)=each($tmp)) if ($e) {
list($k,$v) = explode('=',$e);
$lV[$k] = $v;
}
$LD['linkVars'] = t3lib_div::implodeArrayForUrl('',$lV);
} else {
$LD['linkVars'] = $GLOBALS['TSFE']->linkVars.$addParams;
}
// If simulateStaticDocuments is enabled:
if ($GLOBALS['TSFE']->config['config']['simulateStaticDocuments']) {
$LD['type'] = '';
(2-2/4)