wisemapping-open-source/wise-webapp/src/main/webapp/jsp/header.jsp

56 lines
2.3 KiB
Plaintext
Raw Normal View History

2009-06-07 20:59:43 +02:00
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<div id="header">
<div id="headerToolbar">
<c:choose>
<c:when test="${principal != null}">
<div id="headerActions">
<spring:message code="WELCOME"/>
, ${principal.firstname}
| <a href="${pageContext.request.contextPath}/c/mymaps.htm">
<spring:message code="MY_WISEMAPS"/>
</a>
| <a href="${pageContext.request.contextPath}/c/settings.htm" rel="moodalbox 400px 250px wizard"
title="<spring:message code="SETTINGS_DETAIL"/>">
<spring:message code="SETTINGS"/>
</a>
| <a href="${pageContext.request.contextPath}/c/logout.htm" title="<spring:message code="LOGOUT"/>">
<spring:message code="LOGOUT"/>
</a>
</div>
</c:when>
<c:when test="${param.removeSignin!=true}">
<div id="signUpHeader">
<spring:message code="ALREADY_A_MEMBER"/>
<a href="${pageContext.request.contextPath}/c/login.htm" title="<spring:message code="SIGN_IN"/>">
<spring:message code="SIGN_IN"/>
</a>
</div>
</c:when>
</c:choose>
</div>
</div>
<c:if test="${param.onlyActionHeader!=true}">
<div id="headerContent">
<div id="headerButtons">
<%--<div id="blogLink">--%>
<%--<a href="${pageContext.request.contextPath}/c/blog.htm" title="<spring:message code="BLOG_TITLE"/>">--%>
<%--<spring:message code="BLOG"/>--%>
<%--</a>--%>
<%--</div>--%>
</div>
<a href="${pageContext.request.contextPath}/c/home.htm" title="Homepage">
<div id="headerLogo">&nbsp;</div>
</a>
<div id="headerSlogan">
<spring:message code="SITE.SLOGAN"/>
</div>
</div>
</c:if>
<div id="headerLoading">
<spring:message code="LOADING_MSG"/>
</div>