Project

General

Profile

Bug #16844 ยป 0004758.patch

Administrator Admin, 2007-01-10 17:08

View differences:

typo3/sysext/cms/tslib/class.tslib_menu.php (Arbeitskopie)
$LD = $this->tmpl->linkData($this->menuArr[$key],$mainTarget,'','',$overrideArray, $this->mconf['addParams'].$MP_params.$this->menuArr[$key]['_ADD_GETVARS'], $typeOverride);
}
// Override URL if using "External URL" as doktype with a valid e-mail address:
if ($this->menuArr[$key]['doktype'] == 3 && $this->menuArr[$key]['urltype'] == 3 && t3lib_div::validEmail($this->menuArr[$key]['url'])) {
// Create mailto-link using tslib_cObj::typolink (concerning spamProtectEmailAddresses):
$LD['totalURL'] = $this->parent_cObj->typoLink_URL(array('parameter' => $this->menuArr[$key]['url']));
$LD['target'] = '';
}
// Manipulation in case of access restricted pages:
$this->changeLinksForAccessRestrictedPages($LD,$this->menuArr[$key],$mainTarget,$typeOverride);
    (1-1/1)