<div id="siteInnerWrap">
  
  <div id="navBar">
    <ul id="navBarUL"><li id="menuManage" task="person_can_view"><a href="manage">Gerir Pessoas</a></li>
      <span type="module" name="CustomReports" ifenabled="true">
	<li id="menuSearch" task="custom_reports_can_access"><a href="search">Procurar nos registos</a></li>
	<li id="menuCustomReports" task="custom_reports_can_view_reportViews"><a href="CustomReports/view/reportViews">Visualizar Relatórios</a></li>
      </span>
      <li id="menuConfigure" task="can_configure_system"><a href="configure">Configurar Sistema</a></li>
      <li id="menuPassword" task="can_change_own_password"><a href="password">Alterar Senha</a></li>
      <span type="module" name="SelfService" ifenabled="true" task="can_view_own_personnel">
	<span type="module" name="SelfService" if="userHasRecord()">
	  <li>	  <span type="module" name="SelfService" call="linkToPersonRecord('view?id=')">Ver o que Guardou</span></li>
	</span>
      </span>

    </ul></div>

  <div id="siteContent"></div>

  <br style="clear: both;"></div><!-- /siteInnerWrap -->
