Project

General

Profile

Feature #17742 » 6626_trunk.patch

Administrator Admin, 2007-11-09 01:05

View differences:

typo3/sysext/cms/tslib/class.tslib_fe.php (Arbeitskopie)
var $debug=''; // Debug flag, may output special debug html-code.
var $intTarget=''; // Default internal target
var $extTarget=''; // Default external target
var $fileTarget=''; // Default file link target
var $MP_defaults=array(); // Keys are page ids and values are default &MP (mount point) values to set when using the linking features...)
var $spamProtectEmailAddresses=0; // If set, typolink() function encrypts email addresses. Is set in pagegen-class.
var $absRefPrefix=''; // Absolute Reference prefix
typo3/sysext/cms/tslib/class.tslib_pagegen.php (Arbeitskopie)
// Internal and External target defaults
$GLOBALS['TSFE']->intTarget = ''.$GLOBALS['TSFE']->config['config']['intTarget'];
$GLOBALS['TSFE']->extTarget = ''.$GLOBALS['TSFE']->config['config']['extTarget'];
$GLOBALS['TSFE']->fileTarget = ''.$GLOBALS['TSFE']->config['config']['fileTarget'];
if ($GLOBALS['TSFE']->config['config']['spamProtectEmailAddresses'] === 'ascii') {
$GLOBALS['TSFE']->spamProtectEmailAddresses = 'ascii';
} else {
typo3/sysext/cms/tslib/class.tslib_content.php (Arbeitskopie)
} else {
$this->lastTypoLinkUrl = $GLOBALS['TSFE']->absRefPrefix.$link_param;
}
$target = isset($conf['fileTarget']) ? $conf['fileTarget'] : $GLOBALS['TSFE']->fileTarget;
if ($conf['fileTarget.']) {$target = $this->stdWrap($target, $conf['fileTarget.']);}
if ($forceTarget) {$target=$forceTarget;}
$this->lastTypoLinkTarget = $target;
......
if ($target) {
$conf['target']=$target;
$conf['extTarget']=$target;
$conf['fileTarget']=$target;
}
if (is_array($urlParameters)) {
if (count($urlParameters)) {
(2-2/3)