+2004-03-23 Kasper Skårhøj,,, <kasper@typo3.com>
+
+ * Fixed bug that page tree didn't unfold when entering page id in the shortcut frame.
+
2004-03-23 Kasper Skårhøj,,, <kasper@typo3.com>
* Added a checkbox for be-users to disable IP locking. This is useful if you have backend users complaining about being thrown off sessions.
* @see tslib_fe::getPageAndRootline()
*/
function getRootLine($uid, $MP='') {
- $selFields = t3lib_div::uniqueList('pid,uid,title,nav_title,media,layout,hidden,starttime,endtime,fe_group,extendToSubpages,doktype,TSconfig,storage_pid,is_siteroot,mount_pid,'.$GLOBALS['TYPO3_CONF_VARS']['FE']['addRootLineFields']);
+ $selFields = t3lib_div::uniqueList('pid,uid,title,alias,nav_title,media,layout,hidden,starttime,endtime,fe_group,extendToSubpages,doktype,TSconfig,storage_pid,is_siteroot,mount_pid,'.$GLOBALS['TYPO3_CONF_VARS']['FE']['addRootLineFields']);
// Splitting the $MP parameters if present
$MPA = array();
global $BE_USER,$LANG;
if (!t3lib_extMgm::isLoaded('cms')) return;
-
+
// EDIT page:
$this->editPage = trim(strtolower($this->editPage));
$this->editError='';
unset($this->theEditRec);
$this->editError=$LANG->getLL('shortcut_notEditable');
} elseif(!$BE_USER->getTSConfigVal('options.shortcut_onEditId_dontSetPageTree')) {
- $expandedPages=unserialize($BE_USER->uc['browsePages']);
+ $expandedPages=unserialize($BE_USER->uc['browseTrees']['browsePages']);
if (!$BE_USER->getTSConfigVal('options.shortcut_onEditId_keepExistingExpanded')) $expandedPages=array();
$rL=t3lib_BEfunc::BEgetRootLine($this->theEditRec['pid']);
reset($rL);
$expandedPages[0][$rLDat['uid']]=1;
// debug($rLDat['uid']);
}
- $BE_USER->uc['browsePages'] = serialize($expandedPages);
+ $BE_USER->uc['browseTrees']['browsePages'] = serialize($expandedPages);
$BE_USER->writeUC();
}
}
$SOBE->init();
$SOBE->main();
$SOBE->printContent();
-?>
\ No newline at end of file
+?>