Bug #17023 » 0005048.patch
t3lib/jsfunc.menu.js (Arbeitskopie) | ||
---|---|---|
this.entry[this.entry[entryID].parent].openID = entryID;
|
||
}
|
||
if (this.entry[entryID].url) {
|
||
if (document.getElementsByTagName("base").size && document.getElementsByTagName("base")[0].href != "") {
|
||
if (this.entry[entryID].url.substr(0,7) != "http://") {
|
||
this.entry[entryID].url = document.getElementsByTagName("base")[0].href + this.entry[entryID].url;
|
||
var baseURLs = document.getElementsByTagName('base');
|
||
if (baseURLs.length && baseURLs[0].href.length > 0) {
|
||
if (this.entry[entryID].url.search(/^http[s]?:\/\//)) {
|
||
this.entry[entryID].url = baseURLs[0].href + this.entry[entryID].url;
|
||
}
|
||
}
|
||
if (!this.entry[entryID].target || this.entry[entryID].target=="_self") {
|
typo3/sysext/cms/tslib/class.tslib_menu.php (Arbeitskopie) | ||
---|---|---|
// If access restricted pages should be shown in menus, change the link of such pages to link to a redirection page:
|
||
$this->changeLinksForAccessRestrictedPages($LD, $data, $this->mconf['target'], $this->mconf['forceTypeValue']);
|
||
$url = $LD['totalURL'];
|
||
$url = $GLOBALS['TSFE']->baseUrlWrap($LD['totalURL']);
|
||
$target = $LD['target'];
|
||
}
|
||
$codeLines.="\n".$var.$count."=".$menuName.".add(".$parent.",".$prev.",0,".t3lib_div::quoteJSvalue($title, true).",".t3lib_div::quoteJSvalue($GLOBALS['TSFE']->baseUrlWrap($url), true).",".t3lib_div::quoteJSvalue($target, true).");";
|
||
$codeLines.="\n".$var.$count."=".$menuName.".add(".$parent.",".$prev.",0,".t3lib_div::quoteJSvalue($title, true).",".t3lib_div::quoteJSvalue($url, true).",".t3lib_div::quoteJSvalue($target, true).");";
|
||
// If the active one should be chosen...
|
||
$active = ($levelConf['showActive'] && $data['uid'] == $this->tmpl->rootLine[$count]['uid']);
|
||
// If the first item should be shown
|
- « Previous
- 1
- 2
- Next »