Project

General

Profile

Bug #18150 ยป 20080207_RFC_7429.diff

Administrator Admin, 2008-02-07 09:37

View differences:

typo3/sysext/cms/layout/db_layout.php (working copy)
} else {
// If no access or id value, create empty document:
$this->doc = t3lib_div::makeInstance('mediumDoc');
$this->doc = t3lib_div::makeInstance('template');
$this->doc->docType='xhtml_trans';
$this->doc->backPath = $BACK_PATH;
$this->doc->setModuleTemplate('templates/db_layout.html');
$this->doc->JScode = $this->doc->wrapScriptTags('
if (top.fsMod) top.fsMod.recentIds["web"] = '.intval($this->id).';
');
$body = $this->doc->section($LANG->getLL('clickAPage_header'), $LANG->getLL('clickAPage_content'), 0, 1);
// Setting up the buttons and markers for docheader
$docHeaderButtons = array(
'view' => '',
'history_page' => '',
'new_content' => '',
'move_page' => '',
'move_record' => '',
'new_page' => '',
'edit_page' => '',
'record_list' => '',
'csh' => '',
'shortcut' => '',
'cache' => '',
'savedok' => '',
'savedokshow' => '',
'closedok' => '',
'deletedok' => '',
'undo' => '',
'history_record' => ''
);
$markers = array(
'CSH' => t3lib_BEfunc::cshItem($this->descrTable, '', $BACK_PATH),
'TOP_FUNCTION_MENU' => '',
'LANGSELECTOR' => '',
'CONTENT' => $body
);
$this->content=$this->doc->startPage($LANG->getLL('title'));
$this->content.=$this->doc->section($LANG->getLL('clickAPage_header'),$LANG->getLL('clickAPage_content'),0,1);
$this->content.= t3lib_BEfunc::cshItem($this->descrTable,'',$BACK_PATH,'<br/><br/>');
$this->content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
$this->content.=$this->doc->endPage();
$this->content = $this->doc->insertStylesAndJS($this->content);
}
    (1-1/1)