Actions
Bug #16515
closedaccess keys for TMENU (just like for GMENU)
Status:
Closed
Priority:
Should have
Assignee:
Category:
Content Rendering
Target version:
-
Start date:
2006-08-31
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
for GMENUS you can enable access keys with accessKey = 1
To make this work for TMENU tslib_menu needs to be changed on line 1585:
// Set access key
if ($this->mconf['accessKey']) {
$this->I['accessKey'] = $this->accessKey($this->I['title']);
} else {
$this->I['accessKey']=Array();
}
And right below:
// Title attribute of links:
$titleAttrValue = $this->WMcObj->stdWrap($this->I['val']['ATagTitle'],$this->I['val']['ATagTitle.']);
if (strlen($titleAttrValue)) {
$this->I['linkHREF']['title'] = $titleAttrValue.' '.$this->I['accessKey']['alt'];
}
I've made the changes in the attached file
(issue imported from #M4133)
Files
Actions