Bug #24938 ยป 17457_v1.diff
t3lib/tree/pagetree/class.t3lib_tree_pagetree_dataprovider.php (Arbeitskopie) | ||
---|---|---|
}
|
||
$showRootlineAboveMounts = $GLOBALS['BE_USER']->getTSConfigVal('options.pageTree.showPathAboveMounts');
|
||
$class = (count($mountPoints) <= 1 ? 'typo3-pagetree-node-notExpandable' : '');
|
||
foreach ($mountPoints as $mountPoint) {
|
||
if ($mountPoint === 0) {
|
||
$sitename = 'TYPO3';
|
||
... | ... | |
}
|
||
}
|
||
if (count($mountPoints) <= 1) {
|
||
$subNode->setExpanded(TRUE);
|
||
$subNode->setCls('typo3-pagetree-node-notExpandable');
|
||
}
|
||
$subNode->setIsMountPoint(TRUE);
|
||
$subNode->setExpanded(TRUE);
|
||
$subNode->setDraggable(FALSE);
|
||
$subNode->setIsDropTarget(FALSE);
|
||
$subNode->setCls($class);
|
||
if ($searchFilter === '') {
|
||
$childNodes = $this->getNodes($subNode, $mountPoint);
|