--- class.tslib_menu.php 2004-12-01 15:08:53.405969600 +0100 +++ class.tslib_menu_new.php 2004-12-01 15:08:38.113980800 +0100 @@ -2077,10 +2077,17 @@ $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; } @@ -2101,12 +2108,6 @@ $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'];