| @@ 91-96 (lines=6) @@ | ||
| 88 | // If access restricted pages should be shown in menus, change the link of such pages to link to a redirection page: |
|
| 89 | $this->changeLinksForAccessRestrictedPages($LD, $this->menuArr[$key], $this->mconf['target'], $this->mconf['forceTypeValue']); |
|
| 90 | // Overriding URL / Target if set to do so: |
|
| 91 | if ($this->menuArr[$key]['_OVERRIDE_HREF']) { |
|
| 92 | $LD['totalURL'] = $this->menuArr[$key]['_OVERRIDE_HREF']; |
|
| 93 | if ($this->menuArr[$key]['_OVERRIDE_TARGET']) { |
|
| 94 | $LD['target'] = $this->menuArr[$key]['_OVERRIDE_TARGET']; |
|
| 95 | } |
|
| 96 | } |
|
| 97 | // Setting target/url for Image Map: |
|
| 98 | if ($theValArr['imgMap.']['url'] === '') { |
|
| 99 | $theValArr['imgMap.']['url'] = $LD['totalURL']; |
|
| @@ 1672-1677 (lines=6) @@ | ||
| 1669 | // Manipulation in case of access restricted pages: |
|
| 1670 | $this->changeLinksForAccessRestrictedPages($LD, $pageData, $mainTarget, $typeOverride); |
|
| 1671 | // Overriding URL / Target if set to do so: |
|
| 1672 | if ($this->menuArr[$key]['_OVERRIDE_HREF']) { |
|
| 1673 | $LD['totalURL'] = $this->menuArr[$key]['_OVERRIDE_HREF']; |
|
| 1674 | if ($this->menuArr[$key]['_OVERRIDE_TARGET']) { |
|
| 1675 | $LD['target'] = $this->menuArr[$key]['_OVERRIDE_TARGET']; |
|
| 1676 | } |
|
| 1677 | } |
|
| 1678 | // OnClick open in windows. |
|
| 1679 | $onClick = ''; |
|
| 1680 | if ($this->mconf['JSWindow']) { |
|