From 12a64c000f6b4bdb7f358dbfc2b2d5c8167bbb5e Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Fri, 26 Apr 2013 16:36:00 +0200 Subject: [PATCH] Fixed active footer menu items --- .../files/lib/system/menu/page/PageMenu.class.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/wcfsetup/install/files/lib/system/menu/page/PageMenu.class.php b/wcfsetup/install/files/lib/system/menu/page/PageMenu.class.php index 37be301798..b98cbf7487 100644 --- a/wcfsetup/install/files/lib/system/menu/page/PageMenu.class.php +++ b/wcfsetup/install/files/lib/system/menu/page/PageMenu.class.php @@ -89,4 +89,16 @@ class PageMenu extends TreeMenu { return $item->getProcessor()->isVisible(); } + + /** + * @see wcf\system\menu\TreeMenu::setActiveMenuItem() + */ + public function setActiveMenuItem($menuItem) { + if (isset($this->menuItemList[$menuItem]) && $this->menuItemList[$menuItem]->menuPosition == 'footer') { + // ignore footer items + return; + } + + parent::setActiveMenuItem($menuItem); + } } -- 2.20.1