Bug #17749 ยป 20071103_notinmenu_renaming.patch
typo3/class.webpagetree.php (working copy) | ||
---|---|---|
var $ext_showPageId;
|
||
var $ext_IconMode;
|
||
var $ext_dontSeparateNotinmenuPages;
|
||
var $ext_dontAlphasortNotinmenuPages;
|
||
var $ext_separateNotinmenuPages;
|
||
var $ext_alphasortNotinmenuPages;
|
||
var $ajaxStatus = false; // Indicates, whether the ajax call was successful, i.e. the requested page has been found
|
||
/**
|
||
... | ... | |
$crazyRecursionLimiter--;
|
||
|
||
// Not in menu:
|
||
if (!$this->ext_dontSeparateNotinmenuPages && (t3lib_div::inList('5,6',$row['doktype']) || $row['doktype']>=200 || $row['nav_hide'])) {
|
||
if ($this->ext_separateNotinmenuPages && (t3lib_div::inList('5,6',$row['doktype']) || $row['doktype']>=200 || $row['nav_hide'])) {
|
||
$outOfMenuPages[] = $row;
|
||
$outOfMenuPagesTextIndex[] = ($row['doktype']>=200 ? 'zzz'.$row['doktype'].'_' : '').$row['title'];
|
||
} else {
|
||
... | ... | |
if (count($outOfMenuPages)) {
|
||
// Sort out-of-menu pages:
|
||
$outOfMenuPages_alphabetic = array();
|
||
if (!$this->ext_dontAlphasortNotinmenuPages) {
|
||
if ($this->ext_alphasortNotinmenuPages) {
|
||
asort($outOfMenuPagesTextIndex);
|
||
$label_shownAlphabetically = " (alphabetic)";
|
||
}
|
||
... | ... | |
if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['typo3/class.webpagetree.php']) {
|
||
include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['typo3/class.webpagetree.php']);
|
||
}
|
||
?>
|
||
?>
|
typo3/alt_db_navframe.php (working copy) | ||
---|---|---|
$this->pagetree->ext_IconMode = $BE_USER->getTSConfigVal('options.pageTree.disableIconLinkToContextmenu');
|
||
$this->pagetree->ext_showPageId = $BE_USER->getTSConfigVal('options.pageTree.showPageIdWithTitle');
|
||
$this->pagetree->ext_showNavTitle = $BE_USER->getTSConfigVal('options.pageTree.showNavTitle');
|
||
$this->pagetree->ext_dontSeparateNotinmenuPages = $BE_USER->getTSConfigVal('options.pageTree.dontSeparateNotinmenuPages');
|
||
$this->pagetree->ext_dontAlphasortNotinmenuPages = $BE_USER->getTSConfigVal('options.pageTree.dontAlphasortNotinmenuPages');
|
||
$this->pagetree->ext_separateNotinmenuPages = $BE_USER->getTSConfigVal('options.pageTree.separateNotinmenuPages');
|
||
$this->pagetree->ext_alphasortNotinmenuPages = $BE_USER->getTSConfigVal('options.pageTree.alphasortNotinmenuPages');
|
||
$this->pagetree->thisScript = 'alt_db_navframe.php';
|
||
$this->pagetree->addField('alias');
|
||
$this->pagetree->addField('shortcut');
|