<div id="mainmenu">
      <a class="menuTop<{if $xoops_dirname=='system'}> actlink<{/if}>" href="<{$xoops_url}>/" title="<{$block.lang_home}>"><{$block.lang_home}></a>
      <!-- start module menu loop -->
      <{foreach item=module from=$block.modules}>
      <a class="menuMain<{if $xoops_dirname==$module.directory}> actlink<{/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 -->
	  <{if $block.priv_enabled == true}>
		  <a class="menuMain<{if $xoops_dirname=='system'}> actlink<{/if}>" href="<{$xoops_url}>/privpolicy.php" title="<{$block.lang_privpolicy}>"><{$block.lang_privpolicy}></a>
	  <{/if}>
</div>