Project

General

Profile

Feature #17742 » bug6626-revised.patch

Administrator Admin, 2008-10-31 22:02

View differences:

typo3/sysext/cms/tslib/class.tslib_fe.php (working copy)
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 (working copy)
// 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 (working copy)
} 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)) {
(3-3/3)