Project

General

Profile

Bug #18470 » docheaderClass_modules.diff

Administrator Admin, 2008-03-18 11:10

View differences:

typo3/alt_db_navframe.php (working copy)
$this->doc = t3lib_div::makeInstance('template');
$this->doc->backPath = $BACK_PATH;
$this->doc->setModuleTemplate('templates/alt_db_navframe.html');
$this->doc->docHeader->callingModule = 'alt_db_navframe';
$this->doc->docType = 'xhtml_trans';
// get HTML-Template
......
}
// Build the <body> for the module
$this->content = $this->doc->startPage('TYPO3 Page Tree');
$this->content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers, $subparts);
$this->doc->docHeader->buttons = array_merge($docHeaderButtons,$markers);
$this->content.= $this->doc->moduleBody($this->pageinfo, array(), $markers,$this->doc->docHeader->render());
$this->content.= $this->doc->endPage();
$this->content = $this->doc->insertStylesAndJS($this->content);
typo3/alt_doc.php (working copy)
$this->doc = t3lib_div::makeInstance('template');
$this->doc->backPath = $BACK_PATH;
$this->doc->setModuleTemplate('templates/alt_doc.html');
$this->doc->docHeader->callingModule = 'alt_doc';
$this->doc->docType = 'xhtml_trans';
$this->doc->form = '<form action="'.htmlspecialchars($this->R_URI).'" method="post" enctype="'.$GLOBALS['TYPO3_CONF_VARS']['SYS']['form_enctype'].'" name="editform" onsubmit="document.editform._scrollPosition.value=(document.documentElement.scrollTop || document.body.scrollTop); return TBE_EDITOR.checkSubmit(1);">';
......
// Build the <body> for the module
$this->content = $this->doc->startPage('TYPO3 Edit Document');
$this->content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
$this->doc->docHeader->buttons = array_merge($docHeaderButtons,$markers);
$this->content.= $this->doc->moduleBody($this->pageinfo, array(), $markers,$this->doc->docHeader->render());
$this->content.= $this->doc->endPage();
$this->content = $this->doc->insertStylesAndJS($this->content);
}
typo3/db_list.php (working copy)
$this->doc = t3lib_div::makeInstance('template');
$this->doc->backPath = $BACK_PATH;
$this->doc->setModuleTemplate('templates/db_list.html');
$this->doc->docHeader->callingModule = 'db_list';
$this->doc->docType='xhtml_trans';
// Loading current page record and checking access:
......
// Build the <body> for the module
$this->content = $this->doc->startPage('DB list');
$this->content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
$this->doc->docHeader->buttons = array_merge($docHeaderButtons,$markers);
$this->content.= $this->doc->moduleBody($this->pageinfo, array(), $markers,$this->doc->docHeader->render());
$this->content.= $this->doc->endPage();
$this->content = $this->doc->insertStylesAndJS($this->content);
}
typo3/db_new.php (working copy)
$this->doc = t3lib_div::makeInstance('template');
$this->doc->backPath = $BACK_PATH;
$this->doc->setModuleTemplate('templates/db_new.html');
$this->doc->docHeader->callingModule = 'db_new';
$this->doc->docType= 'xhtml_trans';
$this->doc->JScode='';
......
// Build the <body> for the module
$this->content = $this->doc->startPage($LANG->sL('LLL:EXT:lang/locallang_core.php:db_new.php.pagetitle'));
$this->content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
$this->doc->docHeader->buttons = array_merge($docHeaderButtons,$markers);
$this->content.= $this->doc->moduleBody($this->pageinfo, array(), $markers,$this->doc->docHeader->render());
$this->content.= $this->doc->endPage();
$this->content = $this->doc->insertStylesAndJS($this->content);
}
typo3/file_edit.php (working copy)
$this->doc = t3lib_div::makeInstance('template');
$this->doc->docType = 'xhtml_trans';
$this->doc->setModuleTemplate('templates/file_edit.html');
$this->doc->docHeader->callingModule = 'file_edit';
$this->doc->backPath = $BACK_PATH;
$this->doc->JScode=$this->doc->wrapScriptTags('
function backToList() { //
......
'PATH' => $this->title,
);
$this->content.= $this->doc->moduleBody(array(), $docHeaderButtons, $markerArray);
$this->doc->docHeader->buttons = array_merge($docHeaderButtons,$markerArray);
$this->content.= $this->doc->moduleBody(array(), array(), $markerArray,$this->doc->docHeader->render());
$this->content.= $this->doc->endPage();
$this->content = $this->doc->insertStylesAndJS($this->content);
......
$SOBE->init();
$SOBE->main();
$SOBE->printContent();
?>
?>
typo3/file_list.php (working copy)
$this->doc = t3lib_div::makeInstance('template');
$this->doc->backPath = $BACK_PATH;
$this->doc->setModuleTemplate('templates/file_list.html');
$this->doc->docHeader->callingModule = 'file_list';
$this->doc->docType = 'xhtml_trans';
// Validating the input "id" (the path, directory!) and checking it against the mounts of the user.
......
'CONTENT' => $pageContent
);
$this->content.= $this->doc->moduleBody(array(), $docHeaderButtons, array_merge($markerArray, $otherMarkers));
$this->doc->docHeader->buttons = array_merge($docHeaderButtons,$markerArray,$otherMarkers);
$this->content.= $this->doc->moduleBody(array(), array(), array_merge($markerArray, $otherMarkers),$this->doc->docHeader->render());
$this->content.= $this->doc->endPage();
$this->content = $this->doc->insertStylesAndJS($this->content);
typo3/file_newfolder.php (working copy)
$this->doc = t3lib_div::makeInstance('template');
$this->doc->docType = 'xhtml_trans';
$this->doc->setModuleTemplate('templates/file_newfolder.html');
$this->doc->docHeader->callingModule = 'file_newfolder';
$this->doc->backPath = $BACK_PATH;
$this->doc->JScode=$this->doc->wrapScriptTags('
var path = "'.$this->target.'";
......
'PATH' => $this->title,
);
$this->content.= $this->doc->moduleBody(array(), $docHeaderButtons, $markerArray);
$this->doc->docHeader->buttons = array_merge($docHeaderButtons,$markerArray);
$this->content.= $this->doc->moduleBody(array(), array(), $markerArray,$this->doc->docHeader->render());
$this->content.= $this->doc->endPage();
$this->content = $this->doc->insertStylesAndJS($this->content);
......
$SOBE->init();
$SOBE->main();
$SOBE->printContent();
?>
?>
typo3/file_rename.php (working copy)
$this->doc = t3lib_div::makeInstance('template');
$this->doc->docType = 'xhtml_trans';
$this->doc->setModuleTemplate('templates/file_rename.html');
$this->doc->docHeader->callingModule = 'file_rename';
$this->doc->backPath = $BACK_PATH;
$this->doc->JScode=$this->doc->wrapScriptTags('
function backToList() { //
......
'PATH' => $this->title,
);
$this->content.= $this->doc->moduleBody(array(), $docHeaderButtons, $markerArray);
$this->doc->docHeader->buttons = array_merge($docHeaderButtons,$markerArray);
$this->content.= $this->doc->moduleBody(array(), array(), $markerArray,$this->doc->docHeader->render());
$this->content.= $this->doc->endPage();
$this->content = $this->doc->insertStylesAndJS($this->content);
}
......
$SOBE->init();
$SOBE->main();
$SOBE->printContent();
?>
?>
typo3/file_upload.php (working copy)
$this->doc = t3lib_div::makeInstance('template');
$this->doc->docType = 'xhtml_trans';
$this->doc->setModuleTemplate('templates/file_upload.html');
$this->doc->docHeader->callingModule = 'file_upload';
$this->doc->backPath = $BACK_PATH;
if($GLOBALS['BE_USER']->jsConfirmation(1)) {
......
'PATH' => $this->title,
);
$this->content.= $this->doc->moduleBody(array(), $docHeaderButtons, $markerArray);
$this->doc->docHeader->buttons = array_merge($docHeaderButtons,$markerArray);
$this->content.= $this->doc->moduleBody(array(), array(), $markerArray,$this->doc->docHeader->render());
$this->content.= $this->doc->endPage();
$this->content = $this->doc->insertStylesAndJS($this->content);
}
......
$SOBE->init();
$SOBE->main();
$SOBE->printContent();
?>
?>
typo3/mod/tools/em/class.em_index.php (working copy)
$this->doc = t3lib_div::makeInstance('template');
$this->doc->backPath = $BACK_PATH;
$this->doc->setModuleTemplate('templates/em_index.html');
$this->doc->docHeader->callingModule = 'em_index';
$this->doc->docType='xhtml_trans';
// JavaScript
......
// Build the <body> for the module
$this->content = $this->doc->startPage('Extension Manager');
$this->content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
$this->doc->docHeader->buttons = array_merge($docHeaderButtons,$markers);
$this->content.= $this->doc->moduleBody($this->pageinfo, array(), $markers,$this->doc->docHeader->render());
$this->content.= $this->doc->endPage();
$this->content = $this->doc->insertStylesAndJS($this->content);
}
......
$this->content .= $this->doc->section('Translation status',$content,0,1);
// Setting up the buttons and markers for docheader
$content = $this->doc->startPage('Extension Manager');
$content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
$this->doc->docHeader->buttons = array_merge($docHeaderButtons,$markers);
$this->content.= $this->doc->moduleBody($this->pageinfo, array(), $markers,$this->doc->docHeader->render());
$contentParts=explode('###CONTENT###',$content);
echo $contentParts[0].$this->content;
......
$this->content .= $this->doc->section('Translation status',$content,0,1);
// Setting up the buttons and markers for docheader
$content = $this->doc->startPage('Extension Manager');
$content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
$this->doc->docHeader->buttons = array_merge($docHeaderButtons,$markers);
$this->content.= $this->doc->moduleBody($this->pageinfo, array(), $markers,$this->doc->docHeader->render());
$contentParts=explode('###CONTENT###',$content);
echo $contentParts[0].$this->content;
typo3/mod/user/ws/index.php (working copy)
$this->doc = t3lib_div::makeInstance('template');
$this->doc->backPath = $BACK_PATH;
$this->doc->setModuleTemplate('templates/ws.html');
$this->doc->docHeader->callingModule = 'ws';
$this->doc->docType = 'xhtml_trans';
// JavaScript
......
// Build the <body> for the module
$this->content = $this->doc->startPage($LANG->getLL('title'));
$this->content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
$this->doc->docHeader->buttons = array_merge($docHeaderButtons,$markers);
$this->content.= $this->doc->moduleBody($this->pageinfo, array(), $markers,$this->doc->docHeader->render());
$this->content.= $this->doc->endPage();
$this->content = $this->doc->insertStylesAndJS($this->content);
typo3/mod/user/ws/workspaceforms.php (working copy)
$this->doc = t3lib_div::makeInstance('template');
$this->doc->backPath = $GLOBALS['BACK_PATH'];
$this->doc->setModuleTemplate('templates/ws_forms.html');
$this->doc->docHeader->callingModule = 'ws_forms';
$this->doc->docType = 'xhtml_trans';
$this->doc->form = '<form action="' . t3lib_div::getIndpEnv('SCRIPT_NAME').'" method="post" enctype="'.$GLOBALS['TYPO3_CONF_VARS']['SYS']['form_enctype'].'" name="editform" onsubmit="return TBE_EDITOR.checkSubmit(1);">';
......
// Build the <body> for the module
$this->content = $this->doc->startPage($this->getTitle());
$this->content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
$this->doc->docHeader->buttons = array_merge($docHeaderButtons,$markers);
$this->content.= $this->doc->moduleBody($this->pageinfo, array(), $markers,$this->doc->docHeader->render());
$this->content.= $this->doc->endPage();
$this->content = $this->doc->insertStylesAndJS($this->content);
}
typo3/mod/web/func/index.php (working copy)
$this->doc = t3lib_div::makeInstance('template');
$this->doc->backPath = $BACK_PATH;
$this->doc->setModuleTemplate('templates/func.html');
$this->doc->docHeader->callingModule = 'alt_doc';
$this->doc->docType = 'xhtml_trans';
// **************************
......
}
// Build the <body> for the module
$this->content = $this->doc->startPage($LANG->getLL('title'));
$this->content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
$this->doc->docHeader->buttons = array_merge($docHeaderButtons,$markers);
$this->content.= $this->doc->moduleBody($this->pageinfo, array(), $markers,$this->doc->docHeader->render());
$this->content.= $this->doc->endPage();
$this->content = $this->doc->insertStylesAndJS($this->content);
}
typo3/mod/web/info/index.php (working copy)
$this->doc = t3lib_div::makeInstance('template');
$this->doc->backPath = $BACK_PATH;
$this->doc->setModuleTemplate('templates/info.html');
$this->doc->docHeader->callingModule = 'info';
$this->doc->docType = 'xhtml_trans';
$this->doc->tableLayout = Array (
'0' => Array (
......
// Build the <body> for the module
$this->content = $this->doc->startPage($LANG->getLL('title'));
$this->content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
$this->doc->docHeader->buttons = array_merge($docHeaderButtons,$markers);
$this->content.= $this->doc->moduleBody($this->pageinfo, array(), $markers,$this->doc->docHeader->render());
$this->content.= $this->doc->endPage();
$this->content = $this->doc->insertStylesAndJS($this->content);
} else {
typo3/mod/web/perm/index.php (working copy)
$this->doc->backPath = $GLOBALS['BACK_PATH'];
$this->doc->docType = 'xhtml_trans';
$this->doc->setModuleTemplate('templates/perm.html');
$this->doc->docHeader->callingModule = 'perm';
$this->doc->form = '<form action="'.$GLOBALS['BACK_PATH'].'tce_db.php" method="post" name="editform">';
$this->doc->loadJavascriptLib('../t3lib/jsfunc.updateform.js');
$this->doc->loadJavascriptLib('contrib/prototype/prototype.js');
......
// Build the <body> for the module
$this->content = $this->doc->startPage($LANG->getLL('permissions'));
$this->content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
$this->doc->docHeader->buttons = array_merge($docHeaderButtons,$markers);
$this->content.= $this->doc->moduleBody($this->pageinfo, array(), $markers,$this->doc->docHeader->render());
} else {
// If no access or if ID == zero
$this->content.=$this->doc->startPage($LANG->getLL('permissions'));
typo3/move_el.php (working copy)
$this->doc->docType= 'xhtml_trans';
$this->doc->backPath = $BACK_PATH;
$this->doc->setModuleTemplate('templates/move_el.html');
$this->doc->docHeader->callingModule = 'move_el';
$this->doc->JScode='';
// Starting document content (header):
......
// Build the <body> for the module
$this->content = $this->doc->startPage($LANG->getLL('movingElement'));
$this->content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
$this->doc->docHeader->buttons = array_merge($docHeaderButtons,$markers);
$this->content.= $this->doc->moduleBody($this->pageinfo, array(), $markers,$this->doc->docHeader->render());
$this->content.= $this->doc->endPage();
$this->content = $this->doc->insertStylesAndJS($this->content);
}
typo3/show_rechis.php (working copy)
$this->doc->backPath = $GLOBALS['BACK_PATH'];
$this->doc->docType = 'xhtml_trans';
$this->doc->setModuleTemplate('templates/show_rechis.html');
$this->doc->docHeader->callingModule = 'show_rechis';
// Start the page header:
$this->content.=$this->doc->header($LANG->getLL('title'));
......
// Build the <body> for the module
$this->content = $this->doc->startPage($LANG->getLL('title'));
$this->content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
$this->doc->docHeader->buttons = array_merge($docHeaderButtons,$markers);
$this->content.= $this->doc->moduleBody($this->pageinfo, array(), $markers,$this->doc->docHeader->render());
}
/**
typo3/sysext/belog/mod/index.php (working copy)
$this->doc = t3lib_div::makeInstance('template');
$this->doc->backPath = $BACK_PATH;
$this->doc->setModuleTemplate('templates/belog.html');
$this->doc->docHeader->callingModule = 'belog';
$this->doc->docType = 'xhtml_trans';
// JavaScript
......
// Build the <body> for the module
$this->content = $this->doc->startPage('Administration log');
$this->content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
$this->doc->docHeader->buttons = array_merge($docHeaderButtons,$markers);
$this->content.= $this->doc->moduleBody($this->pageinfo, array(), $markers,$this->doc->docHeader->render());
$this->content.= $this->doc->endPage();
$this->content = $this->doc->insertStylesAndJS($this->content);
}
typo3/sysext/beuser/mod/index.php (working copy)
$this->doc = t3lib_div::makeInstance('template');
$this->doc->backPath = $GLOBALS['BACK_PATH'];
$this->doc->setModuleTemplate('templates/beuser.html');
$this->doc->docHeader->callingModule = 'beuser';
$this->doc->docType = 'xhtml_trans';
$this->doc->form='<form action="" method="POST">';
......
// Build the <body> for the module
$this->content = $this->doc->startPage('Backend User Administration');
$this->content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
$this->doc->docHeader->buttons = array_merge($docHeaderButtons,$markers);
$this->content.= $this->doc->moduleBody($this->pageinfo, array(), $markers,$this->doc->docHeader->render());
$this->content.= $this->doc->endPage();
$this->content = $this->doc->insertStylesAndJS($this->content);
}
typo3/sysext/cms/layout/db_layout.php (working copy)
$this->doc = t3lib_div::makeInstance('template');
$this->doc->backPath = $BACK_PATH;
$this->doc->setModuleTemplate('templates/db_layout.html');
$this->doc->docHeader->callingModule = 'db_layout';
$this->doc->docType='xhtml_trans';
// JavaScript:
......
// Build the <body> for the module
$this->content = $this->doc->startPage($LANG->getLL('title'));
$this->content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
$this->doc->docHeader->buttons = array_merge($docHeaderButtons,$markers);
$this->content.= $this->doc->moduleBody($this->pageinfo, array(), $markers,$this->doc->docHeader->render());
$this->content.= $this->doc->endPage();
$this->content = $this->doc->insertStylesAndJS($this->content);
......
$this->doc->docType='xhtml_trans';
$this->doc->backPath = $BACK_PATH;
$this->doc->setModuleTemplate('templates/db_layout.html');
$this->doc->docHeader->callingModule = 'db_layout';
$this->doc->JScode = $this->doc->wrapScriptTags('
if (top.fsMod) top.fsMod.recentIds["web"] = '.intval($this->id).';
......
);
$this->content=$this->doc->startPage($LANG->getLL('title'));
$this->content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
$this->doc->docHeader->buttons = array_merge($docHeaderButtons,$markers);
$this->content.= $this->doc->moduleBody($this->pageinfo, array(), $markers,$this->doc->docHeader->render());
$this->content.=$this->doc->endPage();
$this->content = $this->doc->insertStylesAndJS($this->content);
}
......
global $LANG,$BE_USER,$BACK_PATH;
// Alternative template
$this->doc->setModuleTemplate('templates/db_layout_quickedit.html');
$this->doc->docHeader->callingModule = 'db_layout_quickedit';
// Alternative form tag; Quick Edit submits its content to tce_db.php.
$this->doc->form='<form action="'.htmlspecialchars($BACK_PATH.'tce_db.php?&prErr=1&uPT=1').'" method="post" enctype="'.$GLOBALS['TYPO3_CONF_VARS']['SYS']['form_enctype'].'" name="editform" onsubmit="return TBE_EDITOR.checkSubmit(1);">';
typo3/sysext/cms/layout/db_new_content_el.php (working copy)
$this->doc->docType= 'xhtml_trans';
$this->doc->backPath = $BACK_PATH;
$this->doc->setModuleTemplate('templates/db_new_content_el.html');
$this->doc->docHeader->callingModule = 'db_new_content_el';
$this->doc->JScode='';
$this->doc->form='<form action="" name="editForm"><input type="hidden" name="defValues" value="" />';
......
// Build the <body> for the module
$this->content = $this->doc->startPage($LANG->getLL('newContentElement'));
$this->content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
$this->doc->docHeader->buttons = array_merge($docHeaderButtons,$markers);
$this->content.= $this->doc->moduleBody($this->pageinfo, array(), $markers,$this->doc->docHeader->render());
$this->content.= $this->doc->endPage();
$this->content = $this->doc->insertStylesAndJS($this->content);
}
typo3/sysext/lowlevel/config/index.php (working copy)
$this->doc = t3lib_div::makeInstance('template');
$this->doc->backPath = $BACK_PATH;
$this->doc->setModuleTemplate('templates/config.html');
$this->doc->docHeader->callingModule = 'config';
$this->doc->docType='xhtml_trans';
// JavaScript
......
// Build the <body> for the module
$this->content = $this->doc->startPage('Configuration');
$this->content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
$this->doc->docHeader->buttons = array_merge($docHeaderButtons,$markers);
$this->content.= $this->doc->moduleBody($this->pageinfo, array(), $markers,$this->doc->docHeader->render());
$this->content.= $this->doc->endPage();
$this->content = $this->doc->insertStylesAndJS($this->content);
}
typo3/sysext/lowlevel/dbint/index.php (working copy)
$this->doc = t3lib_div::makeInstance('template');
$this->doc->backPath = $BACK_PATH;
$this->doc->setModuleTemplate('templates/dbint.html');
$this->doc->setModuleTemplate('templates/dbint.html');
$this->doc->docHeader->callingModule = 'dbint';
$this->doc->docType='xhtml_trans';
$this->doc->form='<form action="" method="post" name="'.$this->formName.'">';
......
// Build the <body> for the module
$this->content = $this->doc->startPage($LANG->getLL('title'));
$this->content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
$this->doc->docHeader->buttons = array_merge($docHeaderButtons,$markers);
$this->content.= $this->doc->moduleBody($this->pageinfo, array(), $markers,$this->doc->docHeader->render());
$this->content.= $this->doc->endPage();
$this->content = $this->doc->insertStylesAndJS($this->content);
}
typo3/sysext/setup/mod/index.php (working copy)
$this->doc = t3lib_div::makeInstance('template');
$this->doc->backPath = $BACK_PATH;
$this->doc->setModuleTemplate('templates/setup.html');
$this->doc->docHeader->callingModule = 'setup';
$this->doc->docType = 'xhtml_trans';
$this->doc->JScodeLibArray['dyntabmenu'] = $this->doc->getDynTabMenuJScode();
......
// Build the <body> for the module
$this->content = $this->doc->startPage($LANG->getLL('UserSettings'));
$this->content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
$this->doc->docHeader->buttons = array_merge($docHeaderButtons,$markers);
$this->content.= $this->doc->moduleBody($this->pageinfo, array(), $markers,$this->doc->docHeader->render());
$this->content.= $this->doc->endPage();
$this->content = $this->doc->insertStylesAndJS($this->content);
typo3/sysext/tsconfig_help/mod1/index.php (working copy)
$this->doc = t3lib_div::makeInstance('template');
$this->doc->backPath = $BACK_PATH;
$this->doc->setModuleTemplate('templates/tsconfig_help.html');
$this->doc->docHeader->callingModule = 'tsconfig_help';
$this->doc->docType = 'xhtml_trans';
if (($this->id && $access) || ($BE_USER->user['admin'] && !$this->id)) {
......
// Build the <body> for the module
$this->content = $this->doc->startPage($LANG->getLL('title'));
$this->content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
$this->doc->docHeader->buttons = array_merge($docHeaderButtons,$markers);
$this->content.= $this->doc->moduleBody($this->pageinfo, array(), $markers,$this->doc->docHeader->render());
$this->content.= $this->doc->endPage();
$this->content = $this->doc->insertStylesAndJS($this->content);
}
typo3/sysext/tstemplate/ts/index.php (working copy)
$this->doc = t3lib_div::makeInstance('template');
$this->doc->backPath = $BACK_PATH;
$this->doc->setModuleTemplate('templates/tstemplate.html');
$this->doc->docHeader->callingModule = 'tstemplate';
$this->doc->docType = 'xhtml_trans';
if ($this->id && $this->access) {
......
}
// Build the <body> for the module
$this->content = $this->doc->startPage('Template Tools');
$this->content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
$this->doc->docHeader->buttons = array_merge($docHeaderButtons,$markers);
$this->content.= $this->doc->moduleBody($this->pageinfo, array(), $markers,$this->doc->docHeader->render());
$this->content.= $this->doc->endPage();
$this->content = $this->doc->insertStylesAndJS($this->content);
}
typo3/sysext/version/cm1/index.php (working copy)
$this->doc = t3lib_div::makeInstance('template');
$this->doc->backPath = $BACK_PATH;
$this->doc->setModuleTemplate('templates/version.html');
$this->doc->docHeader->callingModule = 'version';
$this->doc->docType = 'xhtml_trans';
// Add styles
......
}
// Build the <body> for the module
$this->content = $this->doc->startPage($LANG->getLL('title'));
$this->content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
$this->doc->docHeader->buttons = array_merge($docHeaderButtons,$markers);
$this->content.= $this->doc->moduleBody($this->pageinfo, array(), $markers,$this->doc->docHeader->render());
$this->content.= $this->doc->endPage();
$this->content = $this->doc->insertStylesAndJS($this->content);
}
(2-2/3)