From d16eafe86e951ff900eea33604fb669cef75e6fa Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Mon, 25 Mar 2013 00:28:04 +0100 Subject: [PATCH] Added active-state for sub menu items --- com.woltlab.wcf/template/mainMenu.tpl | 2 +- com.woltlab.wcf/template/mainMenuSubMenu.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/com.woltlab.wcf/template/mainMenu.tpl b/com.woltlab.wcf/template/mainMenu.tpl index 3251019f15..39442240ba 100644 --- a/com.woltlab.wcf/template/mainMenu.tpl +++ b/com.woltlab.wcf/template/mainMenu.tpl @@ -5,7 +5,7 @@ *}{lang}{$menuItem->menuItem}{/lang}{if $menuItem->getProcessor()->getNotifications()} {#$menuItem->getProcessor()->getNotifications()}{/if}{* *}{if $__wcf->getPageMenu()->getMenuItems($menuItem->menuItem)|count > 0 && $__wcf->getPageMenu()->getActiveMenuItem() == $menuItem->menuItem}{/if}{/foreach} diff --git a/com.woltlab.wcf/template/mainMenuSubMenu.tpl b/com.woltlab.wcf/template/mainMenuSubMenu.tpl index c0e5ec585c..2dfabeb3ee 100644 --- a/com.woltlab.wcf/template/mainMenuSubMenu.tpl +++ b/com.woltlab.wcf/template/mainMenuSubMenu.tpl @@ -2,7 +2,7 @@ {if $__wcf->getPageMenu()->getMenuItems($menuItem->menuItem)|count > 0 && $__wcf->getPageMenu()->getActiveMenuItem() == $menuItem->menuItem} {/if} -- 2.20.1