Project

General

Profile

Bug #13551 ยป ws-title.patch

Georg Ringer, 2011-03-02 17:00

View differences:

Classes/BackendUserInterface/WorkspaceSelectorToolbarItem.php (working copy)
$this->changeWorkspacePreview = t3lib_div::_GP('changeWorkspacePreview');
$pageRenderer = t3lib_div::makeInstance('t3lib_pageRenderer');
$this->backendReference->addJavaScript("TYPO3.Workspaces = { workspaceTitle : '" . tx_Workspaces_Service_Workspaces::getWorkspaceTitle($GLOBALS['BE_USER']->workspace) . "'};\n");
$this->backendReference->addJavaScript("TYPO3.Workspaces = { workspaceTitle : '" . htmlspecialchars(tx_Workspaces_Service_Workspaces::getWorkspaceTitle($GLOBALS['BE_USER']->workspace)) . "'};\n");
}
/**
    (1-1/1)