Small optimization
authorLuzifr <szekely@woltlab.com>
Fri, 13 Jan 2012 19:16:35 +0000 (20:16 +0100)
committerLuzifr <szekely@woltlab.com>
Fri, 13 Jan 2012 19:16:35 +0000 (20:16 +0100)
com.woltlab.wcf/template/mainMenuSubMenu.tpl

index 8adcff343a968c4fdbcf9d3232b2bea72ce577a5..b581ac2e642a9229f3147614245ea71de7650978 100644 (file)
@@ -1,8 +1,8 @@
 {foreach from=$__wcf->getPageMenu()->getMenuItems('header') item=menuItem}
        {if $__wcf->getPageMenu()->getMenuItems($menuItem->menuItem)|count > 0}
-               <ul>
+               <ul class="subMenu">
                        {foreach from=$__wcf->getPageMenu()->getMenuItems($menuItem->menuItem) item=subMenuItem}
-                               <li><a href="{$subMenuItem->getProcessor()->getLink()}">{lang}{$subMenuItem->menuItem}{/lang}</a>{if $subMenuItem->getProcessor()->getNotifications()} <span class="badge">{#$subMenuItem->getProcessor()->getNotifications()}</span>{/if}</li>
+                               <li><a href="{$subMenuItem->getProcessor()->getLink()}" title="{lang}{$subMenuItem->menuItem}{/lang}">{lang}{$subMenuItem->menuItem}{/lang}</a>{if $subMenuItem->getProcessor()->getNotifications()} <span class="badge">{#$subMenuItem->getProcessor()->getNotifications()}</span>{/if}</li>
                        {/foreach}
                </ul>
        {/if}