+2009-07-08 Oliver Hader <oliver@typo3.org>
+
+ * Fixed bug #11412: Using typolinkLinkAccessRestrictedPages does not take different domain names into account
+
2009-07-07 Steffen Kamper <info@sk-typo3.de>
* Fixed Bug #11493: Ext Js with debug setting now also deliver debug versions of adapters
$addParams = $GLOBALS['TSFE']->config['config']['typolinkLinkAccessRestrictedPages_addParams'];
$addParams = str_replace('###RETURN_URL###',rawurlencode($this->lastTypoLinkUrl),$addParams);
$addParams = str_replace('###PAGE_ID###',$page['uid'],$addParams);
- $LD = $GLOBALS['TSFE']->tmpl->linkData($thePage,$target,'','','',$addParams,$theTypeP);
- $this->lastTypoLinkUrl = $this->URLqMark($LD['totalURL'],'');
+ $this->lastTypoLinkUrl = $this->getTypoLink_URL(
+ $thePage['uid'] . ($theTypeP ? ',' . $theTypeP : ''),
+ $addParams,
+ $target
+ );
+ $LD = $this->lastTypoLinkLD;
}
// Rendering the tag.