Feature #14428 » 0000569-tslib_menu.diff
class.tslib_menu_new.php 2004-12-01 15:08:38.113980800 +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'];
|