Project

General

Profile

Feature #14428 » bug_0569.patch

Administrator Admin, 2005-11-11 18:21

View differences:

TYPO3core_testing/typo3/sysext/cms/tslib/class.tslib_menu.php 2005-11-11 18:20:39.000000000 +0100
$this->I['noLink'] = ($this->I['spacer'] || $this->I['val']['noLink'] || !count($this->menuArr[$key])); // !count($this->menuArr[$key]) means that this item is a dummyItem
$this->I['name']='';
// Set access key
if ($this->mconf['accessKey']) {
$this->I['accessKey'] = $this->accessKey($this->I['title']);
} else {
$this->I['accessKey']=Array();
}
// Get link.
$this->I['linkHREF'] = $this->link($key,$this->I['val']['altTarget'],$this->mconf['forceTypeValue']);
// Title attribute of links:
$titleAttrValue = $this->WMcObj->stdWrap($this->I['val']['ATagTitle'],$this->I['val']['ATagTitle.']);
$titleAttrValue = $this->WMcObj->stdWrap($this->I['val']['ATagTitle'],$this->I['val']['ATagTitle.']).$this->I['accessKey']['alt'];
if (strlen($titleAttrValue)) {
$this->I['linkHREF']['title'] = $titleAttrValue;
}
......
$GLOBALS['TSFE']->setJS('mouseOver');
$this->extProc_RO($key);
}
// Set access key
if ($this->mconf['accessKey']) {
$this->I['accessKey'] = $this->accessKey($this->I['title']);
} else {
$this->I['accessKey']=Array();
}
// Set altText
$this->I['altText'] = $this->mconf['disableAltText'] ? '' : $this->I['title'].$this->I['accessKey']['alt'];
(2-2/2)