Project

General

Profile

Bug #41593 » 41593.4.6.patch

Patch for version 4.6 - Steffen Hastädt, 2012-10-17 09:22

View differences:

typo3/sysext/cms/tslib/index_ts.php (revision )
// *************
// Admin panel
// *************
if (is_object($BE_USER) && $BE_USER->isAdminPanelVisible() && $TSFE->isBackendUserLoggedIn()) {
if (is_object($BE_USER) && method_exists($BE_USER, 'isAdminPanelVisible')) {
if($BE_USER->isAdminPanelVisible() && $TSFE->beUserLogin) {
$TSFE->content = str_ireplace('</head>', $BE_USER->adminPanel->getAdminPanelHeaderData() . '</head>', $TSFE->content);
$TSFE->content = str_ireplace('</body>', $BE_USER->displayAdminPanel() . '</body>', $TSFE->content);
$TSFE->content = str_ireplace('</head>', $BE_USER->adminPanel->getAdminPanelHeaderData() . '</head>', $TSFE->content);
$TSFE->content = str_ireplace('</body>', $BE_USER->displayAdminPanel() . '</body>', $TSFE->content);
}
}
if ($sendTSFEContent) {
(2-2/3)