Project

General

Profile

Bug #19179 » 20080723_xhtml_by_default.patch

Administrator Admin, 2008-08-01 02:34

View differences:

t3lib/class.t3lib_tceforms_inline.php (working copy)
// Create an instance of the document template object
$SOBE->doc = t3lib_div::makeInstance('template');
$SOBE->doc->backPath = $GLOBALS['BACK_PATH'];
$SOBE->doc->docType = 'xhtml_trans';
// Initialize TCEforms (rendering the forms)
$SOBE->tceforms = t3lib_div::makeInstance('t3lib_TCEforms');
$SOBE->tceforms->inline =& $this;
......
if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['t3lib/class.t3lib_tceforms_inline.php']) {
include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['t3lib/class.t3lib_tceforms_inline.php']);
}
?>
?>
typo3/class.browse_links.php (working copy)
// Creating backend template object:
$this->doc = t3lib_div::makeInstance('template');
$this->doc->docType= 'xhtml_trans';
$this->doc->backPath = $BACK_PATH;
// Load the Prototype library and browse_links.js
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->docType = 'xhtml_trans';
// Validating the input "id" (the path, directory!) and checking it against the mounts of the user.
$this->id = $this->basicFF->is_directory($this->id);
typo3/alt_shortcut.php (working copy)
$this->doc = t3lib_div::makeInstance('template');
$this->doc->backPath = $BACK_PATH;
$this->doc->form='<form action="alt_shortcut.php" name="shForm" method="post">';
$this->doc->docType='xhtml_trans';
$this->doc->divClass='typo3-shortcut';
$this->doc->JScode.=$this->doc->wrapScriptTags('
function jump(url,modName,mainModName) { //
typo3/alt_doc_nodoc.php (working copy)
// Start the template object:
$this->doc = t3lib_div::makeInstance('mediumDoc');
$this->doc->docType = 'xhtml_trans';
$this->doc->bodyTagMargins['x']=5;
$this->doc->bodyTagMargins['y']=5;
$this->doc->backPath = $BACK_PATH;
......
$SOBE->init();
$SOBE->main();
$SOBE->printContent();
?>
?>
typo3/dummy.php (working copy)
global $TBE_TEMPLATE;
// Start page
$TBE_TEMPLATE->docType = 'xhtml_trans';
$this->content.=$TBE_TEMPLATE->startPage('Dummy document');
// End page:
typo3/alt_palette.php (working copy)
$this->doc->bodyTagMargins['x']=0;
$this->doc->bodyTagMargins['y']=0;
$this->doc->form='<form action="#" method="post" name="'.htmlspecialchars($this->formName).'" onsubmit="return false;">';
$this->doc->docType = 'xhtml_trans';
$this->doc->backPath = '';
// In case the palette is opened in a SEPARATE window (as the case is with frontend editing) then another body-tag id should be used (so we don't get the background image for the palette shown!)
......
$SOBE->init();
$SOBE->main();
$SOBE->printContent();
?>
?>
typo3/show_item.php (working copy)
// Initialize document template object:
$this->doc = t3lib_div::makeInstance('smallDoc');
$this->doc->backPath = $BACK_PATH;
$this->doc->docType = 'xhtml_trans';
// Starting the page by creating page header stuff:
$this->content.=$this->doc->startPage($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:show_item.php.viewItem'));
......
$SOBE->init();
$SOBE->main();
$SOBE->printContent();
?>
?>
typo3/alt_topmenu_dummy.php (working copy)
$alt_menuObj = t3lib_div::makeInstance('alt_menu_functions');
// Start page
$TBE_TEMPLATE->docType = 'xhtml_trans';
$TBE_TEMPLATE->bodyTagId.= '-iconmenu';
$TBE_TEMPLATE->JScodeArray[] = $alt_menuObj->generateMenuJScode($loadModules->modules);
......
global $TBE_TEMPLATE;
// Start page
$TBE_TEMPLATE->docType = 'xhtml_trans';
$this->content.=$TBE_TEMPLATE->startPage('Top frame dummy display');
// End page:
......
$SOBE = t3lib_div::makeInstance('SC_alt_topmenu_dummy');
$SOBE->main();
$SOBE->printContent();
?>
?>
typo3/index.php (working copy)
global $TBE_TEMPLATE, $TYPO3_CONF_VARS, $BE_USER;
// Initialize template object:
$TBE_TEMPLATE->docType = 'xhtml_trans';
$TBE_TEMPLATE->bodyTagAdditions = ' onload="startUp();"';
$TBE_TEMPLATE->moduleTemplate = $TBE_TEMPLATE->getHtmlTemplate('templates/login.html');
typo3/wizard_rte.php (working copy)
// Starting the document template object:
$this->doc = t3lib_div::makeInstance('mediumDoc');
$this->doc->docType = 'xhtml_trans';
$this->doc->divClass = ''; // Need to NOT have the page wrapped in DIV since if we do that we destroy the feature that the RTE spans the whole height of the page!!!
$this->doc->form='<form action="tce_db.php" method="post" enctype="'.$GLOBALS['TYPO3_CONF_VARS']['SYS']['form_enctype'].'" name="editform" onsubmit="return TBE_EDITOR.checkSubmit(1);">';
$this->doc->backPath = $BACK_PATH;
typo3/template.php (working copy)
var $JScode=''; // Additional header code (eg. a JavaScript section) could be accommulated in this var. It will be directly outputted in the header.
var $JScodeArray = array(); // Similar to $JScode but for use as array with associative keys to prevent double inclusion of JS code. a <script> tag is automatically wrapped around.
var $postCode=''; // Additional 'page-end' code could be accommulated in this var. It will be outputted at the end of page before </body> and some other internal page-end code.
var $docType = ''; // Doc-type used in the header. Default is HTML 4. You can also set it to 'strict', 'xhtml_trans', or 'xhtml_frames'.
var $docType = ''; // Doc-type used in the header. Default is HTML 4. You can also set it to 'html_3', 'xhtml_strict', 'xhtml_trans', or 'xhtml_frames'.
var $moduleTemplate = ''; // HTML template with markers for module
// Other vars you can change, but less frequently used:
......
header ('Content-Type:text/html;charset='.$this->charset);
switch($this->docType) {
case 'html_3':
$headerStart = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">';
break;
case 'xhtml_strict':
$headerStart= '<!DOCTYPE html
$headerStart = '<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<?xml version="1.0" encoding="'.$this->charset.'"?>
<?xml-stylesheet href="#internalStyle" type="text/css"?>
';
break;
case 'xhtml_trans':
$headerStart= '<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?xml version="1.0" encoding="'.$this->charset.'"?>
<?xml-stylesheet href="#internalStyle" type="text/css"?>
';
break;
case 'xhtml_frames':
$headerStart= '<!DOCTYPE html
$headerStart = '<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<?xml version="1.0" encoding="'.$this->charset.'"?>
';
break;
case 'xhtml_trans':
default:
$headerStart='<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">';
break;
$headerStart = '<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?xml version="1.0" encoding="'.$this->charset.'"?>
<?xml-stylesheet href="#internalStyle" type="text/css"?>
';
}
// This loads the tabulator-in-textarea feature. It automatically modifies
typo3/view_help.php (working copy)
global $BE_USER,$LANG,$TCA_DESCR,$TCA,$TBE_TEMPLATE;
// Start HTML output accumulation:
$TBE_TEMPLATE->docType = 'xhtml_trans';
$TBE_TEMPLATE->divClass = 'typo3-view-help';
$this->content.= $TBE_TEMPLATE->startPage($LANG->getLL('title'));
......
$SOBE->init();
$SOBE->main();
$SOBE->printContent();
?>
?>
typo3/alt_toplogo.php (working copy)
global $TBE_TEMPLATE,$TBE_STYLES;
// Start page
$TBE_TEMPLATE->docType = 'xhtml_trans';
$this->content.=$TBE_TEMPLATE->startPage('Logo frame');
// Set logo:
typo3/backend.php (working copy)
* now put the complete backend document together
******************************************************/
// set doctype
$GLOBALS['TBE_TEMPLATE']->docType = 'xhtml_trans';
// add javascript
foreach($this->jsFiles as $jsFile) {
$GLOBALS['TBE_TEMPLATE']->JScode .= '
......
$TYPO3backend->render();
?>
?>
typo3/wizard_tsconfig.php (working copy)
// Init the document table object:
$this->doc = t3lib_div::makeInstance('mediumDoc');
$this->doc->docType = 'xhtml_trans';
$this->doc->backPath = $BACK_PATH;
$this->doc->form='<form action="" name="editform">';
......
$SOBE->init();
$SOBE->main();
$SOBE->printContent();
?>
?>
typo3/wizard_colorpicker.php (working copy)
// Initialize document object:
$this->doc = t3lib_div::makeInstance('smallDoc');
$this->doc->backPath = $BACK_PATH;
$this->doc->docType = 'xhtml_trans';
$this->doc->JScode = $this->doc->wrapScriptTags('
function checkReference() { //
if (parent.opener && parent.opener.document && parent.opener.document.'.$this->formName.' && parent.opener.document.'.$this->formName.'["'.$this->fieldName.'"]) {
......
$SOBE->init();
$SOBE->main();
$SOBE->printContent();
?>
?>
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->docType = 'xhtml_trans';
// get HTML-Template
typo3/alt_menu.php (working copy)
function main() {
global $BE_USER,$TYPO3_CONF_VARS,$TBE_TEMPLATE;
$TBE_TEMPLATE->docType='xhtml_trans';
$TBE_TEMPLATE->divClass='vertical-menu';
$TBE_TEMPLATE->bodyTagAdditions = 'onload="top.restoreHighlightedModuleMenuItem()"';
......
$SOBE->init();
$SOBE->main();
$SOBE->printContent();
?>
?>
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->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);">';
$this->doc->loadJavascriptLib('contrib/prototype/prototype.js');
typo3/wizard_forms.php (working copy)
// Document template object:
$this->doc = t3lib_div::makeInstance('mediumDoc');
$this->doc->docType = 'xhtml_trans';
$this->doc->backPath = $BACK_PATH;
$this->doc->JScode=$this->doc->wrapScriptTags('
function jumpToUrl(URL,formEl) { //
typo3/file_rename.php (working copy)
// Setting template object
$this->doc = t3lib_div::makeInstance('template');
$this->doc->docType = 'xhtml_trans';
$this->doc->setModuleTemplate('templates/file_rename.html');
$this->doc->backPath = $BACK_PATH;
$this->doc->JScode=$this->doc->wrapScriptTags('
......
$SOBE->init();
$SOBE->main();
$SOBE->printContent();
?>
?>
typo3/wizard_table.php (working copy)
// Document template object:
$this->doc = t3lib_div::makeInstance('mediumDoc');
$this->doc->docType = 'xhtml_trans';
$this->doc->backPath = $BACK_PATH;
$this->doc->JScode=$this->doc->wrapScriptTags('
function jumpToUrl(URL,formEl) { //
typo3/file_edit.php (working copy)
// Setting template object
// ***************************
$this->doc = t3lib_div::makeInstance('template');
$this->doc->docType = 'xhtml_trans';
$this->doc->setModuleTemplate('templates/file_edit.html');
$this->doc->backPath = $BACK_PATH;
$this->doc->JScode=$this->doc->wrapScriptTags('
......
$SOBE->init();
$SOBE->main();
$SOBE->printContent();
?>
?>
typo3/file_newfolder.php (working copy)
// Setting template object
$this->doc = t3lib_div::makeInstance('template');
$this->doc->docType = 'xhtml_trans';
$this->doc->setModuleTemplate('templates/file_newfolder.html');
$this->doc->backPath = $BACK_PATH;
$this->doc->JScode=$this->doc->wrapScriptTags('
......
$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->docType='xhtml_trans';
// JavaScript
$this->doc->JScode = $this->doc->wrapScriptTags('
typo3/mod/help/about/index.php (working copy)
// **************************
#$TBE_TEMPLATE->bgColor = '#cccccc';
$TBE_TEMPLATE->backPath = $GLOBALS['BACK_PATH'];
$TBE_TEMPLATE->docType = 'xhtml_trans';
$this->content.= $TBE_TEMPLATE->startPage('About');
$minorText = sprintf($LANG->getLL('minor'), 'TYPO3 Ver. '.htmlspecialchars(TYPO3_version).', Copyright &copy; '.htmlspecialchars(TYPO3_copyright_year), 'Kasper Sk&aring;rh&oslash;j');
......
$SOBE = t3lib_div::makeInstance('SC_mod_help_about_index');
$SOBE->main();
$SOBE->printContent();
?>
?>
typo3/mod/web/perm/index.php (working copy)
// Initializing document template object:
$this->doc = t3lib_div::makeInstance('template');
$this->doc->backPath = $GLOBALS['BACK_PATH'];
$this->doc->docType = 'xhtml_trans';
$this->doc->setModuleTemplate('templates/perm.html');
$this->doc->form = '<form action="'.$GLOBALS['BACK_PATH'].'tce_db.php" method="post" name="editform">';
$this->doc->loadJavascriptLib('../t3lib/jsfunc.updateform.js');
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->docType = 'xhtml_trans';
// **************************
// Main
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->docType = 'xhtml_trans';
$this->doc->tableLayout = Array (
'0' => Array (
'0' => Array('<td valign="top"><b>','</b></td>'),
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->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);">';
$this->doc->getContextMenuCode();
typo3/mod/user/ws/publish.php (working copy)
// Initialize Document Template object:
$this->doc = t3lib_div::makeInstance('mediumDoc');
$this->doc->backPath = $GLOBALS['BACK_PATH'];
$this->doc->docType = 'xhtml_trans';
$this->doc->JScode = '<script type="text/javascript">/*<![CDATA[*/
function closeAndReload() {
//window.opener.location.reload(); window.close();
......
$SOBE->init();
$SOBE->main();
$SOBE->printContent();
?>
?>
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->docType = 'xhtml_trans';
// JavaScript
$plusIcon = t3lib_iconWorks::skinImg($BACK_PATH, 'gfx/ol/plusbullet.gif', 'width="18" height="16"', 1);
typo3/alt_intro.php (working copy)
$alt_menuObj = t3lib_div::makeInstance('alt_menu_functions');
$TBE_TEMPLATE->docType = 'xhtml_trans';
$TBE_TEMPLATE->divClass = $TBE_TEMPLATE->bodyTagId;
$this->content.= $TBE_TEMPLATE->startPage('About modules');
......
$SOBE->init();
$SOBE->main();
$SOBE->printContent();
?>
?>
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->docType= 'xhtml_trans';
$this->doc->JScode='';
// Setting up the context sensitive menu:
typo3/alt_file_navframe.php (working copy)
// Create template object:
$this->doc = t3lib_div::makeInstance('template');
$this->doc->backPath = $BACK_PATH;
$this->doc->docType = 'xhtml_trans';
// Adding javascript code for AJAX (prototype), drag&drop and the filetree as well as the click menu code
$this->doc->getDragDropCode('folders');
typo3/browse_links.php (working copy)
// Creating backend template object:
// this might not be needed but some classes refer to $GLOBALS['SOBE']->doc, so ...
$this->doc = t3lib_div::makeInstance('template');
$this->doc->docType= 'xhtml_trans';
$this->doc->backPath = $GLOBALS['BACK_PATH'];
}
......
$SOBE->init();
$SOBE->main();
$SOBE->printContent();
?>
?>
typo3/alt_menu_sel.php (working copy)
// Start page
$TBE_TEMPLATE->form = '<form action="">';
$TBE_TEMPLATE->docType = 'xhtml_trans';
// add menu JS
$alt_menuObj = t3lib_div::makeInstance('alt_menu_functions');
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->docType = 'xhtml_trans';
if ($access || $BE_USER->user['admin']) {
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->docType = 'xhtml_trans';
$this->doc->form='<form action="" method="POST">';
// JavaScript
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->docType = 'xhtml_trans';
// JavaScript
$this->doc->JScode = '
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->docType='xhtml_trans';
$this->doc->form='<form action="" method="post" name="'.$this->formName.'">';
// JavaScript
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->docType='xhtml_trans';
// JavaScript
$this->doc->JScode = '
typo3/sysext/taskcenter/task/index.php (working copy)
/* Setup document template */
$this->doc = t3lib_div::makeInstance('noDoc');
$this->doc->docType = 'xhtml_trans';
$this->doc->divClass = '';
$this->doc->form = '<form action="index.php" method="POST" name="editform">';
$this->backPath = $this->doc->backPath = $BACK_PATH;
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->docType='xhtml_trans';
// JavaScript:
$this->doc->JScode = '<script type="text/javascript" src="'.$BACK_PATH.'../t3lib/jsfunc.updateform.js"></script>';
......
// If no access or id value, create empty document:
$this->doc = t3lib_div::makeInstance('template');
$this->doc->docType='xhtml_trans';
$this->doc->backPath = $BACK_PATH;
$this->doc->setModuleTemplate('templates/db_layout.html');
typo3/sysext/cms/layout/db_new_content_el.php (working copy)
// Starting the document template object:
$this->doc = t3lib_div::makeInstance('template');
$this->doc->docType= 'xhtml_trans';
$this->doc->backPath = $BACK_PATH;
$this->doc->setModuleTemplate('templates/db_new_content_el.html');
$this->doc->JScode='';
typo3/sysext/tstemplate/ts/index.php (working copy)
$this->doc = t3lib_div::makeInstance('template');
$this->doc->backPath = $GLOBALS['BACK_PATH'];
$this->doc->setModuleTemplate('templates/tstemplate.html');
$this->doc->docType = 'xhtml_trans';
if ($this->id && $this->access) {
$this->doc->form = '<form action="index.php?id=' . $this->id . '" method="post" enctype="' . $GLOBALS['TYPO3_CONF_VARS']['SYS']['form_enctype'] . '" name="editForm">';
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->docType = 'xhtml_trans';
// Add styles
$this->doc->inDocStylesArray[$GLOBALS['MCONF']['name']] = '
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->docType = 'xhtml_trans';
$this->doc->JScodeLibArray['dyntabmenu'] = $this->doc->getDynTabMenuJScode();
$this->doc->form = '<form action="index.php" method="post" name="usersetup" enctype="application/x-www-form-urlencoded">';
typo3/sysext/impexp/app/index.php (working copy)
// Start document template object:
$this->doc = t3lib_div::makeInstance('mediumDoc');
$this->doc->backPath = $BACK_PATH;
$this->doc->docType = 'xhtml_trans';
$this->doc->bodyTagId = 'imp-exp-mod';
// JavaScript
typo3/sysext/dbal/mod1/index.php (working copy)
$this->doc = t3lib_div::makeInstance('noDoc');
$this->doc->backPath = $BACK_PATH;
$this->doc->form='<form action="" method="post">';
$this->doc->docType = 'xhtml_trans';
// JavaScript
$this->doc->JScode = $this->doc->wrapScriptTags('
typo3/sysext/rtehtmlarea/mod2/class.tx_rtehtmlarea_acronym_mod.php (working copy)
global $BE_USER,$LANG,$BACK_PATH;
$this->doc = t3lib_div::makeInstance('template');
$this->doc->docType = 'xhtml_trans';
$this->doc->backPath = $BACK_PATH;
$this->doc->styleSheetFile = "";
$this->doc->styleSheetFile_post = "";
typo3/sysext/rtehtmlarea/mod3/class.tx_rtehtmlarea_dam_browse_links.php (working copy)
// Creating backend template object:
$this->doc = t3lib_div::makeInstance('template');
$this->doc->bodyTagAdditions = 'onLoad="initDialog();"';
$this->doc->docType= 'xhtml_trans';
$this->doc->backPath = $BACK_PATH;
}
......
include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/rtehtmlarea/mod3/class.tx_rtehtmlarea_dam_browse_links.php']);
}
?>
?>
typo3/sysext/rtehtmlarea/mod3/class.tx_rtehtmlarea_browse_links.php (working copy)
// Creating backend template object:
$this->doc = t3lib_div::makeInstance('template');
$this->doc->bodyTagAdditions = 'onLoad="initDialog();"';
$this->doc->docType= 'xhtml_trans';
$this->doc->backPath = $BACK_PATH;
// BEGIN accumulation of header JavaScript:
......
include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/rtehtmlarea/mod3/class.tx_rtehtmlarea_browse_links.php']);
}
?>
?>
typo3/sysext/rtehtmlarea/mod4/class.tx_rtehtmlarea_dam_browse_media.php (working copy)
// Creating backend template object:
$this->doc = t3lib_div::makeInstance('template');
$this->doc->bodyTagAdditions = 'onLoad="initDialog();"';
$this->doc->docType= 'xhtml_trans';
$this->doc->backPath = $BACK_PATH;
}
......
include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/rtehtmlarea/mod4/class.tx_rtehtmlarea_dam_browse_media.php']);
}
?>
?>
typo3/sysext/rtehtmlarea/mod4/class.tx_rtehtmlarea_select_image.php (working copy)
// Creating backend template object:
$this->doc = t3lib_div::makeInstance('template');
$this->doc->bodyTagAdditions = $this->getBodyTagAdditions();
$this->doc->docType= 'xhtml_trans';
$this->doc->backPath = $BACK_PATH;
// Load the Prototype library and browse_links.js
......
include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/rtehtmlarea/mod4/class.tx_rtehtmlarea_select_image.php']);
}
?>
?>
typo3/alt_clickmenu.php (working copy)
// Initialize template object
if (!$this->ajax) {
$this->doc = t3lib_div::makeInstance('template');
$this->doc->docType='xhtml_trans';
$this->doc->backPath = $BACK_PATH;
}
typo3/listframe_loader.php (working copy)
function main() {
global $TBE_TEMPLATE;
$TBE_TEMPLATE->docType='xhtml_trans';
$TBE_TEMPLATE->divClass='';
$this->content.=$TBE_TEMPLATE->startPage('List Frame Loader');
$this->content.=$TBE_TEMPLATE->wrapScriptTags('
......
// Make instance:
$SOBE = t3lib_div::makeInstance('SC_listframe_loader');
$SOBE->main();
?>
?>
typo3/show_rechis.php (working copy)
// Create internal template object:
$this->doc = t3lib_div::makeInstance('template');
$this->doc->backPath = $GLOBALS['BACK_PATH'];
$this->doc->docType = 'xhtml_trans';
$this->doc->setModuleTemplate('templates/show_rechis.html');
// Start the page header:
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->docType='xhtml_trans';
// Loading current page record and checking access:
$this->pageinfo = t3lib_BEfunc::readPageAccess($this->id,$this->perms_clause);
typo3/file_upload.php (working copy)
// Setting template object
$this->doc = t3lib_div::makeInstance('template');
$this->doc->docType = 'xhtml_trans';
$this->doc->setModuleTemplate('templates/file_upload.html');
$this->doc->backPath = $BACK_PATH;
typo3/move_el.php (working copy)
// Starting the document template object:
$this->doc = t3lib_div::makeInstance('template');
$this->doc->docType= 'xhtml_trans';
$this->doc->backPath = $BACK_PATH;
$this->doc->setModuleTemplate('templates/move_el.html');
$this->doc->JScode='';
(1-1/2)