#16515access keys for TMENU (just like for GMENU)
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)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.