Feature #22126 » 13554-preview-mountpages.patch
typo3/sysext/viewpage/view/index.php (working copy) | ||
---|---|---|
$addCmd = '&ADMCMD_view=1&ADMCMD_editIcons=1'.t3lib_BEfunc::ADMCMD_previewCmds($this->pageinfo);
|
||
}
|
||
|
||
// preview of mount pages
|
||
if ($this->pageinfo['doktype'] == 7 && $this->pageinfo['mount_pid_ol'] > 0 && $this->pageinfo['mount_pid'] > 0) {
|
||
$addCmd .= '&MP=' . $this->pageinfo['mount_pid'] . '-' . $this->id;
|
||
$this->id = $this->pageinfo['mount_pid'];
|
||
}
|
||
|
||
$parts = parse_url(t3lib_div::getIndpEnv('TYPO3_SITE_URL'));
|
||
$dName = t3lib_BEfunc::getDomainStartPage($parts['host'],$parts['path']) ?
|
||
t3lib_BEfunc::firstDomainRecord(t3lib_BEfunc::BEgetRootLine($this->id)):
|