<div id="mainmenu">
    <a class="menuTop <{if !$block.nothome}>maincurrent<{/if}>" href="<{xoAppUrl }>" title="<{$block.lang_home}>"><{$block.lang_home}></a>
    <!-- start module menu loop -->
    <{foreach item=module from=$block.modules}>
        <a class="menuMain <{if $module.highlight}>maincurrent<{/if}>" href="<{$xoops_url}>/modules/<{$module.directory}>/" title="<{$module.name}>"><{$module.name}></a>
        <{foreach item=sublink from=$module.sublinks}>
            <a class="menuSub" href="<{$sublink.url}>" title="<{$sublink.name}>"><{$sublink.name}></a>
        <{/foreach}>
    <{/foreach}>
    <!-- end module menu loop -->
</div>
      
<ul class="nav nav-pills nav-stacked">
<li class="<{if !$block.nothome}>active<{/if}>"><a href="<{xoAppUrl }>" title="<{$block.lang_home}>"><span class="glyphicon glyphicon-home"></span> <{$block.lang_home}></a></li>
<!-- start module menu loop -->
    <{foreach item=module from=$block.modules}>
    <li class="<{if $module.highlight}>active<{/if}>">
        <a href="<{$xoops_url}>/modules/<{$module.directory}>/" title="<{$module.name}>"><span class="glyphicon glyphicon-ok"></span>
          <{$module.name}>
        </a>
        <ul>
            <{foreach item=sublink from=$module.sublinks}>
                <li>
                   <a class="dropdown" href="<{$sublink.url}>" title="<{$sublink.name}>"><{$sublink.name}></a>
                </li>
            <{/foreach}>
    </ul>
    </li>
<{/foreach}>
<!-- end module menu loop -->
</ul>
