Project

General

Profile

Bug #20637 » 11367.diff

Administrator Admin, 2009-06-30 18:40

View differences:

typo3/sysext/cms/tslib/class.tslib_pagegen.php (working copy)
$JSef = TSpagegen::JSeventFunctions();
// Adding default Java Script:
$_scriptCode = '
$_scriptCode = ($GLOBALS['TSFE']->config['config']['noBlur'] ? '' : '
var browserName = navigator.appName;
var browserVer = parseInt(navigator.appVersion);
var version = "";
......
function blurLink(theObject) { //
if (msie4) {theObject.blur();}
}
' . $JSef[0];
') . $JSef[0];
if ($GLOBALS['TSFE']->spamProtectEmailAddresses && $GLOBALS['TSFE']->spamProtectEmailAddresses !== 'ascii') {
$_scriptCode.= '
(1-1/2)