<%@ include file="/common/taglibs.jsp" %>
<s:if test="%{currentUser != null}">
    <ul style="float:left;clear:left;">
        <li <c:if test="${currentMenu == 'dashboard'}">class="current"</c:if>>
            <a id="actDashboard" href="${ctx}/"><fmt:message key="menu.dashboard"/></a>
        </li>
        <li <c:if test="${currentMenu == 'contacts'}">class="current"</c:if>>
            <a id="actContacts" href="${ctx}/contacts"><fmt:message key="menu.contacts"/></a>
        </li>
        <li <c:if test="${currentMenu == 'tasks'}">class="current"</c:if>>
            <a id="actTasks" href="${ctx}/tasks"><fmt:message key="menu.tasks"/></a>
        </li>

        <s:if test="%{currentUser.administrator}">
            <li <c:if test="${currentMenu == 'admin'}">class="current"</c:if>>
                <a id="actAdmin" href="${ctx}/admin"><fmt:message key="menu.admin"/></a>
            </li>
        </s:if>

    </ul>

</s:if>