Project

General

Profile

Actions

Bug #16515

closed

access keys for TMENU (just like for GMENU)

Added by Rafael Freuler about 18 years ago. Updated over 17 years ago.

Status:
Closed
Priority:
Should have
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

class.tslib_menu.php (889 Bytes) class.tslib_menu.php Administrator Admin, 2006-08-31 13:46
Actions

Also available in: Atom PDF