Fixed bug #9901: Enable stdWrap for expAll
authorSteffen Kamper <info@sk-typo3.de>
Mon, 29 Dec 2008 14:15:46 +0000 (14:15 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Mon, 29 Dec 2008 14:15:46 +0000 (14:15 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@4626 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/cms/tslib/class.tslib_menu.php

index 4e8bd5d..d8fea08 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2008-12-29  Steffen Kamper  <info@sk-typo3.de>
 
        * Fixed bug #10022: Pagecontent/Hidden has no effect
+       * Fixed bug #9901: Enable stdWrap for expAll
 
 2008-12-29  Oliver Hader  <oliver@typo3.org>
 
index 32fdf43..503e918 100755 (executable)
@@ -1299,6 +1299,9 @@ class tslib_menu {
                $cls = strtolower($this->conf[($this->menuNumber+1).$objSuffix]);
                $subLevelClass = ($cls && t3lib_div::inList($this->tmpl->menuclasses,$cls)) ? $cls : '';
 
+                       // stdWrap for expAll
+               $this->mconf['expAll'] = $this->parent_cObj->stdWrap($this->mconf['expAll'], $this->mconf['expAll.']);
+
                if ($subLevelClass && ($this->mconf['expAll'] || $this->isNext($uid, $this->getMPvar($this->I['key'])) || is_array($altArray)) && !$this->mconf['sectionIndex'])        {
                        $submenu = t3lib_div::makeInstance('tslib_'.$subLevelClass);
                        $submenu->entryLevel = $this->entryLevel+1;