Bug #20637 » noblur.patch
t3lib/class.t3lib_stdgraphic.php (Arbeitskopie) | ||
---|---|---|
* @see makeText(), calcTextCordsForMap()
|
||
*/
|
||
function addToMap($cords,$conf) {
|
||
$JS = $conf['noBlur'] ? '' : ' onfocus="blurLink(this);"';
|
||
$this->map.='<area'.
|
||
' shape="poly"'.
|
||
' coords="'.implode(',',$cords).'"'.
|
typo3/sysext/cms/tslib/class.tslib_menu.php (Arbeitskopie) | ||
---|---|---|
$this->I['linkHREF']['title'] = $titleAttrValue;
|
||
}
|
||
// Setting "blurlink()" function:
|
||
if (!$this->mconf['noBlur']) {
|
||
$this->I['linkHREF']['onFocus']='blurLink(this);';
|
||
}
|
||
// Make link:
|
||
if ($this->I['val']['RO']) {
|
||
$this->I['theName'] = $this->imgNamePrefix.$this->I['uid'].$this->I['INPfix'];
|
||
... | ... | |
if (strlen($titleAttrValue)) {
|
||
$this->I['linkHREF']['title'] = $titleAttrValue;
|
||
}
|
||
// Setting "blurlink()" function:
|
||
if (!$this->mconf['noBlur']) {
|
||
$this->I['linkHREF']['onFocus']='blurLink(this);';
|
||
}
|
||
// Set rollover
|
||
if ($this->result['RO'][$key] && !$this->I['noLink']) {
|
||
... | ... | |
if ($theValArr['imgMap.']['target']=='') {
|
||
$theValArr['imgMap.']['target'] = $LD['target'];
|
||
}
|
||
if ($theValArr['imgMap.']['noBlur']=='') {
|
||
$theValArr['imgMap.']['noBlur'] = $this->mconf['noBlur'];
|
||
}
|
||
if (is_array($theValArr['imgMap.']['altText.'])) {
|
||
$cObj =t3lib_div::makeInstance('tslib_cObj');
|
||
$cObj->start($cObjData,'pages');
|
typo3/sysext/cms/tslib/class.tslib_pagegen.php (Arbeitskopie) | ||
---|---|---|
var version = "";
|
||
var msie4 = (browserName == "Microsoft Internet Explorer" && browserVer >= 4);
|
||
if ((browserName == "Netscape" && browserVer >= 3) || msie4 || browserName=="Konqueror" || browserName=="Opera") {version = "n3";} else {version = "n2";}
|
||
// Blurring links:
|
||
function blurLink(theObject) { //
|
||
if (msie4) {theObject.blur();}
|
||
}
|
||
' . $JSef[0];
|
||
if ($GLOBALS['TSFE']->spamProtectEmailAddresses && $GLOBALS['TSFE']->spamProtectEmailAddresses !== 'ascii') {
|
- « Previous
- 1
- 2
- Next »