Fixed user menu sidebar
authorMarcel Werk <burntime@woltlab.com>
Wed, 9 Mar 2016 17:12:19 +0000 (18:12 +0100)
committerMarcel Werk <burntime@woltlab.com>
Wed, 9 Mar 2016 17:12:43 +0000 (18:12 +0100)
com.woltlab.wcf/templates/userMenuSidebar.tpl

index b32eb23b2e87324905ba93b3ea6da3bf7278b2bd..001e02ae497ac6bd243cfc846f971677875dee56 100644 (file)
        </script> 
        
        {foreach from=$__wcf->getUserMenu()->getMenuItems('') item=menuCategory}
-               <section>
-                       <h1>{lang}{$menuCategory->menuItem}{/lang}</h1>
+               <section class="box">
+                       <h2 class="boxTitle">{lang}{$menuCategory->menuItem}{/lang}</h2>
                        
-                       <nav>
-                               <ul class="sidebarNavigation">
-                                       {foreach from=$__wcf->getUserMenu()->getMenuItems($menuCategory->menuItem) item=menuItem}
-                                               <li{if $menuItem->menuItem|in_array:$__userMenuActiveItems} class="active"{/if}><a href="{$menuItem->getProcessor()->getLink()}">{@$menuItem}</a></li>
-                                       {/foreach}
-                               </ul>
-                       </nav>
+                       <div class="boxContent">
+                               <nav>
+                                       <ol class="boxMenu">
+                                               {foreach from=$__wcf->getUserMenu()->getMenuItems($menuCategory->menuItem) item=menuItem}
+                                                       <li{if $menuItem->menuItem|in_array:$__userMenuActiveItems} class="active"{/if}>
+                                                               <a href="{$menuItem->getProcessor()->getLink()}" class="boxMenuLink"><span class="boxMenuLinkTitle">{@$menuItem}</span></a>
+                                                       </li>
+                                               {/foreach}
+                                       </ol>
+                               </nav>
+                       </div>  
                </section>
        {/foreach}
 {/capture}