Project

General

Profile

Bug #23211 » 15153_testonly.diff

Administrator Admin, 2010-07-16 16:46

View differences:

typo3/classes/class.workspaceselector.php (working copy)
public function checkAccess() {
if (t3lib_extMgm::isLoaded('version')) {
$MCONF = array();
include('mod/user/ws/conf.php');
include(t3lib_extMgm::extPath('version') . 'ws/conf.php');
return ($GLOBALS['BE_USER']->modAccess(array('name' => 'user', 'access' => 'user,group'), false) && $GLOBALS['BE_USER']->modAccess($MCONF, false));
}
......
// go to workspace module link
$workspaceMenu[] = '<li>' . $stateUncheckedIcon . ' ' .
'<a href="mod/user/ws/index.php" target="content" id="goToWsModule">' .
'<a href="' . t3lib_extMgm::extRelPath('version') . 'ws/index.php" target="content" id="goToWsModule">' .
' '. $GLOBALS['LANG']->getLL('shortcut_workspace', true) . '</a></li>';
$workspaceMenu[] = '</ul>';
typo3/sysext/version/cm1/index.php (working copy)
$LANG->includeLLFile('EXT:version/locallang.xml');
// DEFAULT initialization of a module [END]
require_once(PATH_typo3.'mod/user/ws/class.wslib.php');
require_once('../ws/class.wslib.php');
......
* Rendering the overview of versions in the current workspace
*
* @return string HTML (table)
* @see typo3/mod/user/ws/index.php for sister function!
* @see ws/index.php for sister function!
*/
function displayWorkspaceOverview() {
typo3/sysext/version/tasks/class.tx_version_tasks_autopublish.php (working copy)
*/
public function execute() {
// Load the workspace library class and instatiate it
require_once(PATH_typo3 . 'mod/user/ws/class.wslib.php');
require_once(t3lib_extMgm::extPath('version') . 'ws/class.wslib.php');
$autopubObj = t3lib_div::makeInstance('wslib');
// Publish the workspaces that need to be
$autopubObj->autoPublishWorkspaces();
(2-2/3)