Bug #20694 » wslist.diff
typo3_src-4.2.6_ws/typo3/mod/user/ws/index.php 2009-06-29 15:18:44.000000000 +0200 | ||
---|---|---|
0 => '['.$LANG->getLL('shortcut_onlineWS').']',
|
||
-98 => $LANG->getLL('label_offlineWSes'),
|
||
-99 => $LANG->getLL('label_allWSes'),
|
||
-1 => '['.$LANG->getLL('shortcut_offlineWS').']'
|
||
),
|
||
'diff' => array(
|
||
0 => $LANG->getLL('diff_no_diff'),
|
||
... | ... | |
'expandSubElements' => '',
|
||
);
|
||
// Add workspaces:
|
||
// add default workspaces
|
||
if ($GLOBALS['BE_USER']->checkWorkspace(array('uid' => -1))) {
|
||
$this->MOD_MENU['display'][-1] = '['.$LANG->getLL('shortcut_offlineWS').']';
|
||
}
|
||
// add custom workspaces:
|
||
if ($GLOBALS['BE_USER']->workspace===0) { // Spend time on this only in online workspace because it might take time:
|
||
$workspaces = $GLOBALS['TYPO3_DB']->exec_SELECTgetRows('uid,title,adminusers,members,reviewers','sys_workspace','pid=0'.t3lib_BEfunc::deleteClause('sys_workspace'),'','title');
|
||
foreach($workspaces as $rec) {
|