Project

General

Profile

Bug #15310 ยป alt_shortcut-40beta1.diff

Administrator Admin, 2005-12-28 11:24

View differences:

typo3/alt_shortcut.php 28 Dec 2005 10:15:59 -0000
// Add custom workspaces (selecting all, filtering by BE_USER check):
$workspaces = $TYPO3_DB->exec_SELECTgetRows('uid,title,adminusers,members,reviewers','sys_workspace','pid=0'.t3lib_BEfunc::deleteClause('sys_workspace'),'','title');
foreach($workspaces as $rec) {
if ($BE_USER->checkWorkspace($rec)) {
$options[$rec['uid']] = $rec['uid'].': '.$rec['title'];
if ($workspaces) {
foreach($workspaces as $rec) {
if ($BE_USER->checkWorkspace($rec)) {
$options[$rec['uid']] = $rec['uid'].': '.$rec['title'];
}
}
}
    (1-1/1)