Bug #41593 » 41593.4.6.patch
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) {
|