Bug #24049 ยป 16383.patch
typo3/sysext/em/classes/index.php (revision ) | ||
---|---|---|
);
|
||
// Build the <body> for the module
|
||
$this->content = $this->doc->startPage('Extension Manager');
|
||
$this->content .= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
|
||
$this->content .= $this->doc->endPage();
|
||
$this->content = $this->doc->insertStylesAndJS($this->content);
|
||
$this->content = $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
|
||
// Renders the module page
|
||
$this->content = $this->doc->render(
|
||
'Extension Manager',
|
||
$this->content
|
||
);
|
||
}
|
||
/**
|
typo3/sysext/taskcenter/task/index.php (revision ) | ||
---|---|---|
$markers['CONTENT'] = $this->content;
|
||
// Build the <body> for the module
|
||
$this->content = $this->doc->startPage($GLOBALS['LANG']->getLL('title'));
|
||
$this->content .= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
|
||
$this->content .= $this->doc->endPage();
|
||
$this->content = $this->doc->insertStylesAndJS($this->content);
|
||
$this->content = $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
|
||
// Renders the module page
|
||
$this->content = $this->doc->render(
|
||
$GLOBALS['LANG']->getLL('title'),
|
||
$this->content
|
||
);
|
||
}
|
||
/**
|
typo3/sysext/list/mod1/db_list.php (revision ) | ||
---|---|---|
// Apply predefined values for hidden checkboxes
|
||
// Set predefined value for DisplayBigControlPanel:
|
||
if ($this->modTSconfig['properties']['enableDisplayBigControlPanel'] === 'activated') {
|
||
$this->MOD_SETTINGS['bigControlPanel'] = TRUE;
|
||
$this->MOD_SETTINGS['bigControlPanel'] = TRUE;
|
||
} elseif ($this->modTSconfig['properties']['enableDisplayBigControlPanel'] === 'deactivated') {
|
||
$this->MOD_SETTINGS['bigControlPanel'] = FALSE;
|
||
}
|
||
// Set predefined value for Clipboard:
|
||
if ($this->modTSconfig['properties']['enableClipBoard'] === 'activated') {
|
||
$this->MOD_SETTINGS['clipBoard'] = TRUE;
|
||
$this->MOD_SETTINGS['clipBoard'] = TRUE;
|
||
} elseif ($this->modTSconfig['properties']['enableClipBoard'] === 'deactivated') {
|
||
$this->MOD_SETTINGS['clipBoard'] = FALSE;
|
||
}
|
||
// Set predefined value for LocalizationView:
|
||
if ($this->modTSconfig['properties']['enableLocalizationView'] === 'activated') {
|
||
$this->MOD_SETTINGS['localization'] = TRUE;
|
||
$this->MOD_SETTINGS['localization'] = TRUE;
|
||
} elseif ($this->modTSconfig['properties']['enableLocalizationView'] === 'deactivated') {
|
||
$this->MOD_SETTINGS['localization'] = FALSE;
|
||
}
|
||
... | ... | |
);
|
||
// Build the <body> for the module
|
||
$this->content = $this->doc->startPage('DB list');
|
||
$this->content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
|
||
$this->content.= $this->doc->endPage();
|
||
$this->content = $this->doc->insertStylesAndJS($this->content);
|
||
$this->content = $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
|
||
// Renders the module page
|
||
$this->content = $this->doc->render(
|
||
'DB list',
|
||
$this->content
|
||
);
|
||
}
|
||
/**
|
typo3/sysext/belog/mod/index.php (revision ) | ||
---|---|---|
$markers['CONTENT'] = $this->content;
|
||
// Build the <body> for the module
|
||
$this->content = $this->doc->startPage($GLOBALS['LANG']->getLL('adminLog'));
|
||
$this->content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
|
||
$this->content.= $this->doc->endPage();
|
||
$this->content = $this->doc->insertStylesAndJS($this->content);
|
||
$this->content = $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
|
||
// Renders the module page
|
||
$this->content = $this->doc->render(
|
||
$GLOBALS['LANG']->getLL('adminLog'),
|
||
$this->content
|
||
);
|
||
}
|
||
/**
|
typo3/sysext/perm/mod1/index.php (revision ) | ||
---|---|---|
$markers['CONTENT'] = $this->content;
|
||
// Build the <body> for the module
|
||
$this->content = $this->doc->startPage($LANG->getLL('permissions'));
|
||
$this->content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
|
||
$this->content = $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
|
||
} else {
|
||
// If no access or if ID == zero
|
||
$this->content.=$this->doc->startPage($LANG->getLL('permissions'));
|
||
$this->content.=$this->doc->header($LANG->getLL('permissions'));
|
||
$this->content = $this->doc->header($LANG->getLL('permissions'));
|
||
}
|
||
$this->content.= $this->doc->endPage();
|
||
// Renders the module page
|
||
$this->content = $this->doc->render(
|
||
$LANG->getLL('permissions'),
|
||
$this->content
|
||
);
|
||
}
|
||
/**
|
typo3/sysext/scheduler/mod1/index.php (revision ) | ||
---|---|---|
}
|
||
// Place content inside template
|
||
$content = $this->doc->startPage($GLOBALS['LANG']->getLL('title'));
|
||
$content .= $this->doc->moduleBody(
|
||
$content = $this->doc->moduleBody(
|
||
array(),
|
||
$this->getDocHeaderButtons(),
|
||
$this->getTemplateMarkers()
|
||
);
|
||
$content .= $this->doc->endPage();
|
||
// Replace content with templated content
|
||
$this->content = $content;
|
||
// Renders the module page
|
||
$this->content = $this->doc->render(
|
||
$GLOBALS['LANG']->getLL('title'),
|
||
$content
|
||
);
|
||
}
|
||
/**
|
typo3/sysext/beuser/mod/index.php (revision ) | ||
---|---|---|
$markers['CONTENT'] = $this->content;
|
||
// Build the <body> for the module
|
||
$this->content = $this->doc->startPage('Backend User Administration');
|
||
$this->content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
|
||
$this->content.= $this->doc->endPage();
|
||
$this->content = $this->doc->insertStylesAndJS($this->content);
|
||
$this->content = $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
|
||
// Renders the module page
|
||
$this->content = $this->doc->render(
|
||
'Backend User Administration',
|
||
$this->content
|
||
);
|
||
}
|
||
/**
|
typo3/sysext/recycler/mod1/index.php (revision ) | ||
---|---|---|
* @return void
|
||
*/
|
||
public function flush() {
|
||
$content = $this->doc->startPage($GLOBALS['LANG']->getLL('title'));
|
||
$content.= $this->doc->moduleBody(
|
||
$content = $this->doc->moduleBody(
|
||
$this->pageRecord,
|
||
$this->getDocHeaderButtons(),
|
||
$this->getTemplateMarkers()
|
||
);
|
||
$content.= $this->doc->endPage();
|
||
// Renders the module page
|
||
$content = $this->doc->render(
|
||
$GLOBALS['LANG']->getLL('title'),
|
||
$content
|
||
);
|
||
$this->content = null;
|
||
$this->doc = null;
|
typo3/sysext/about/mod/index.php (revision ) | ||
---|---|---|
// **************************
|
||
#$TBE_TEMPLATE->bgColor = '#cccccc';
|
||
$TBE_TEMPLATE->backPath = $GLOBALS['BACK_PATH'];
|
||
$this->content.= $TBE_TEMPLATE->startPage('About');
|
||
$minorText = sprintf($LANG->getLL('minor'), 'TYPO3 Ver. '.htmlspecialchars(TYPO3_version).', Copyright © '.htmlspecialchars(TYPO3_copyright_year), 'Kasper Skårhøj');
|
||
... | ... | |
</div>
|
||
</div>
|
||
';
|
||
$this->content.= $content;
|
||
$this->content.= $TBE_TEMPLATE->endPage();
|
||
// Renders the module page
|
||
$this->content = $TBE_TEMPLATE->render(
|
||
'About',
|
||
$content
|
||
);
|
||
}
|
||
/**
|
typo3/sysext/filelist/mod1/file_list.php (revision ) | ||
---|---|---|
// Apply predefined values for hidden checkboxes
|
||
// Set predefined value for DisplayBigControlPanel:
|
||
if ($GLOBALS['BE_USER']->getTSConfigVal('options.file_list.enableDisplayBigControlPanel') === 'activated') {
|
||
$this->MOD_SETTINGS['bigControlPanel'] = TRUE;
|
||
$this->MOD_SETTINGS['bigControlPanel'] = TRUE;
|
||
} elseif ($GLOBALS['BE_USER']->getTSConfigVal('options.file_list.enableDisplayBigControlPanel') === 'deactivated') {
|
||
$this->MOD_SETTINGS['bigControlPanel'] = FALSE;
|
||
}
|
||
// Set predefined value for DisplayThumbnails:
|
||
if ($GLOBALS['BE_USER']->getTSConfigVal('options.file_list.enableDisplayThumbnails') === 'activated') {
|
||
$this->MOD_SETTINGS['displayThumbs'] = TRUE;
|
||
$this->MOD_SETTINGS['displayThumbs'] = TRUE;
|
||
} elseif ($GLOBALS['BE_USER']->getTSConfigVal('options.file_list.enableDisplayThumbnails') === 'deactivated') {
|
||
$this->MOD_SETTINGS['displayThumbs'] = FALSE;
|
||
}
|
||
// Set predefined value for Clipboard:
|
||
if ($GLOBALS['BE_USER']->getTSConfigVal('options.file_list.enableClipBoard') === 'activated') {
|
||
$this->MOD_SETTINGS['clipBoard'] = TRUE;
|
||
$this->MOD_SETTINGS['clipBoard'] = TRUE;
|
||
} elseif ($GLOBALS['BE_USER']->getTSConfigVal('options.file_list.enableClipBoard') === 'deactivated') {
|
||
$this->MOD_SETTINGS['clipBoard'] = FALSE;
|
||
}
|
||
... | ... | |
$docHeaderButtons = array_merge($this->getButtons(), $buttons);
|
||
// Build the <body> for the module
|
||
$this->content = $this->doc->startPage($LANG->getLL('files'));
|
||
// Create output
|
||
$pageContent='';
|
||
... | ... | |
'CONTENT' => $pageContent
|
||
);
|
||
$this->content.= $this->doc->moduleBody(array(), $docHeaderButtons, array_merge($markerArray, $otherMarkers));
|
||
$this->content.= $this->doc->endPage();
|
||
$this->content = $this->doc->insertStylesAndJS($this->content);
|
||
$this->content = $this->doc->moduleBody(array(), $docHeaderButtons, array_merge($markerArray, $otherMarkers));
|
||
// Renders the module page
|
||
$this->content = $this->doc->render(
|
||
$LANG->getLL('files'),
|
||
$this->content
|
||
);
|
||
} else {
|
||
// Create output - no access (no warning though)
|
||
$this->content = '';
|
||
$this->content .= $this->doc->startPage($LANG->getLL('files'));
|
||
$this->content .= $this->doc->endPage();
|
||
$this->content = $this->doc->insertStylesAndJS($this->content);
|
||
$this->content = $this->doc->render(
|
||
$LANG->getLL('files'),
|
||
''
|
||
);
|
||
}
|
||
typo3/sysext/tsconfig_help/mod1/index.php (revision ) | ||
---|---|---|
$markers['CONTENT'] = $this->content;
|
||
// Build the <body> for the module
|
||
$this->content = $this->doc->startPage($LANG->getLL('title'));
|
||
$this->content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
|
||
$this->content.= $this->doc->endPage();
|
||
$this->content = $this->doc->insertStylesAndJS($this->content);
|
||
$this->content = $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
|
||
// Renders the module page
|
||
$this->content = $this->doc->render(
|
||
$LANG->getLL('title'),
|
||
$this->content
|
||
);
|
||
}
|
||
/**
|
typo3/sysext/reports/mod/index.php (revision ) | ||
---|---|---|
$markers['CONTENT'] = $this->content;
|
||
// Build the <body> for the module
|
||
$this->content = $this->doc->startPage($GLOBALS['LANG']->getLL('title'));
|
||
$this->content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
|
||
$this->content.= $this->doc->endPage();
|
||
$this->content = $this->doc->insertStylesAndJS($this->content);
|
||
$this->content = $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
|
||
// Renders the module page
|
||
$this->content = $this->doc->render(
|
||
$GLOBALS['LANG']->getLL('title'),
|
||
$this->content
|
||
);
|
||
}
|
||
/**
|
typo3/template.php (revision ) | ||
---|---|---|
}
|
||
/**
|
||
* Shortcut for render the complete page of a module
|
||
*
|
||
* @param $title page title
|
||
* @param $content page content
|
||
* @param bool $includeCsh flag for including csh code
|
||
* @return string complete page
|
||
*/
|
||
public function render($title, $content, $includeCsh = TRUE) {
|
||
$pageContent = $this->startPage($title, $includeCsh);
|
||
$pageContent .= $content;
|
||
$pageContent .= $this->endPage();
|
||
return $this->insertStylesAndJS($pageContent);
|
||
}
|
||
/**
|
||
* Returns the header-bar in the top of most backend modules
|
||
* Closes section if open.
|
||
*
|
typo3/sysext/setup/mod/index.php (revision ) | ||
---|---|---|
t3lib_FlashMessage::INFO
|
||
);
|
||
$this->content .= $flashMessage->render();
|
||
// end of wrapper div
|
||
$this->content .= '</div>';
|
||
// Setting up the buttons and markers for docheader
|
||
$docHeaderButtons = $this->getButtons();
|
||
... | ... | |
$markers['CONTENT'] = $this->content;
|
||
// Build the <body> for the module
|
||
$this->content = $this->doc->startPage($LANG->getLL('UserSettings'));
|
||
$this->content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
|
||
// end of wrapper div
|
||
$this->content .= '</div>';
|
||
$this->content.= $this->doc->endPage();
|
||
$this->content = $this->doc->insertStylesAndJS($this->content);
|
||
$this->content = $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
|
||
// Renders the module page
|
||
$this->content = $this->doc->render(
|
||
$LANG->getLL('UserSettings'),
|
||
$this->content
|
||
);
|
||
}
|
||
typo3/sysext/tstemplate/ts/index.php (revision ) | ||
---|---|---|
}
|
||
// Build the <body> for the module
|
||
$this->content = $this->doc->startPage('Template Tools');
|
||
$this->content .= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
|
||
$this->content .= $this->doc->endPage();
|
||
$this->content = $this->doc->insertStylesAndJS($this->content);
|
||
$this->content = $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
|
||
// Renders the module page
|
||
$this->content = $this->doc->render(
|
||
'Template Tools',
|
||
$this->content
|
||
);
|
||
}
|
||
function printContent() {
|
typo3/sysext/info/mod1/index.php (revision ) | ||
---|---|---|
);
|
||
// Build the <body> for the module
|
||
$this->content = $this->doc->startPage($LANG->getLL('title'));
|
||
$this->content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
|
||
$this->content.= $this->doc->endPage();
|
||
$this->content = $this->doc->insertStylesAndJS($this->content);
|
||
// Renders the module page
|
||
$this->content = $this->doc->render(
|
||
$LANG->getLL('title'),
|
||
$this->content
|
||
);
|
||
} else {
|
||
// If no access or if ID == zero
|
||
$this->doc = t3lib_div::makeInstance('mediumDoc');
|
||
$this->doc->backPath = $BACK_PATH;
|
||
$this->content.=$this->doc->startPage($LANG->getLL('title'));
|
||
$this->content.=$this->doc->header($LANG->getLL('title'));
|
||
$this->content = $this->doc->header($LANG->getLL('title'));
|
||
$this->content.=$this->doc->spacer(5);
|
||
$this->content .= $this->doc->spacer(5);
|
||
$this->content.=$this->doc->spacer(10);
|
||
$this->content .= $this->doc->spacer(10);
|
||
$this->content.= $this->doc->endPage();
|
||
$this->content = $this->doc->insertStylesAndJS($this->content);
|
||
// Renders the module page
|
||
$this->content = $this->doc->render(
|
||
$LANG->getLL('title'),
|
||
$this->content
|
||
);
|
||
}
|
||
}
|
||
typo3/sysext/func/mod1/index.php (revision ) | ||
---|---|---|
$markers['CONTENT'] = $this->content;
|
||
}
|
||
// Build the <body> for the module
|
||
$this->content = $this->doc->startPage($LANG->getLL('title'));
|
||
$this->content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
|
||
$this->content.= $this->doc->endPage();
|
||
$this->content = $this->doc->insertStylesAndJS($this->content);
|
||
$this->content = $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
|
||
// Renders the module page
|
||
$this->content = $this->doc->render(
|
||
$LANG->getLL('title'),
|
||
$this->content
|
||
);
|
||
}
|
||
/**
|
typo3/sysext/lowlevel/dbint/index.php (revision ) | ||
---|---|---|
);
|
||
// Build the <body> for the module
|
||
$this->content = $this->doc->startPage($GLOBALS['LANG']->getLL('title'));
|
||
$this->content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
|
||
$this->content.= $this->doc->endPage();
|
||
$this->content = $this->doc->insertStylesAndJS($this->content);
|
||
$this->content = $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
|
||
// Renders the module page
|
||
$this->content = $this->doc->render(
|
||
$GLOBALS['LANG']->getLL('title'),
|
||
$this->content
|
||
);
|
||
}
|
||
/**
|
typo3/alt_intro.php (revision ) | ||
---|---|---|
$alt_menuObj = t3lib_div::makeInstance('alt_menu_functions');
|
||
$TBE_TEMPLATE->divClass = $TBE_TEMPLATE->bodyTagId;
|
||
$this->content.= $TBE_TEMPLATE->startPage('About modules');
|
||
$this->content .= '
|
||
$this->content = '
|
||
<div id="typo3-alt-intro-php-sub">
|
||
<h1>TYPO3 '.TYPO3_version.'<br />'.$LANG->getLL('introtext').'</h1>
|
||
... | ... | |
$this->content.='<p class="c-features"><em>('.$LANG->getLL('endText').')</em></p>';
|
||
$this->content .= '<br /></div>';
|
||
// End page
|
||
$this->content.= $TBE_TEMPLATE->endPage();
|
||
// Renders the module page
|
||
$this->content = $TBE_TEMPLATE->render(
|
||
'About modules',
|
||
$this->content
|
||
);
|
||
}
|
||
/**
|
typo3/backend.php (revision ) | ||
---|---|---|
);
|
||
// start page header:
|
||
$this->content .= $GLOBALS['TBE_TEMPLATE']->startPage($title);
|
||
$this->content .= $backendScaffolding;
|
||
$this->content .= $GLOBALS['TBE_TEMPLATE']->endPage();
|
||
$this->content = $backendScaffolding;
|
||
// Renders the module page
|
||
$this->content = $GLOBALS['TBE_TEMPLATE']->render(
|
||
$title,
|
||
$this->content
|
||
);
|
||
$hookConfiguration = array('content' => &$this->content);
|
||
$this->executeHook('renderPostProcess', $hookConfiguration);
|
typo3/sysext/cms/layout/db_layout.php (revision ) | ||
---|---|---|
);
|
||
// Build the <body> for the module
|
||
$this->content = $this->doc->startPage($LANG->getLL('title'));
|
||
$this->content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
|
||
$this->content.= $this->doc->endPage();
|
||
$this->content = $this->doc->insertStylesAndJS($this->content);
|
||
// Renders the module page
|
||
$this->content = $this->doc->render(
|
||
$LANG->getLL('title'),
|
||
$this->content
|
||
);
|
||
} else {
|
||
... | ... | |
'CONTENT' => $body
|
||
);
|
||
$this->content=$this->doc->startPage($LANG->getLL('title'));
|
||
$this->content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
|
||
$this->content.=$this->doc->endPage();
|
||
$this->content = $this->doc->insertStylesAndJS($this->content);
|
||
// Renders the module page
|
||
$this->content = $this->doc->render(
|
||
$LANG->getLL('title'),
|
||
$this->content
|
||
);
|
||
}
|
||
}
|
||
typo3/sysext/lowlevel/config/index.php (revision ) | ||
---|---|---|
);
|
||
// Build the <body> for the module
|
||
$this->content = $this->doc->startPage('Configuration');
|
||
$this->content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
|
||
$this->content.= $this->doc->endPage();
|
||
$this->content = $this->doc->insertStylesAndJS($this->content);
|
||
$this->content = $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
|
||
// Renders the module page
|
||
$this->content = $this->doc->render(
|
||
'Configuration',
|
||
$this->content
|
||
);
|
||
}
|
||
/**
|