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

58 lines
2.5 KiB
Plaintext
Raw Normal View History

<%@page pageEncoding="UTF-8"%>
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">
2012-05-19 07:18:22 +02:00
<spring:message code="WELCOME"/>, ${principal.firstname}
| <span><a href="${pageContext.request.contextPath}/c/maps/"><spring:message code="MY_WISEMAPS"/></a></span>
| <span><a href="${pageContext.request.contextPath}/c/settings" title="<spring:message code="SETTINGS_DETAIL"/>"><spring:message code="SETTINGS"/></a></span>
| <span><a href="${pageContext.request.contextPath}/c/logout" title="<spring:message code="LOGOUT"/>"><spring:message code="LOGOUT"/></a></span>
2009-06-07 20:59:43 +02:00
</div>
</c:when>
<c:when test="${param.removeSignin!=true}">
2012-05-19 07:18:22 +02:00
<div id="headerActions">
2009-06-07 20:59:43 +02:00
<spring:message code="ALREADY_A_MEMBER"/>
<span><a href="${pageContext.request.contextPath}/c/login" title="<spring:message code="SIGN_IN"/>">
2009-06-07 20:59:43 +02:00
<spring:message code="SIGN_IN"/>
2012-05-19 07:18:22 +02:00
</a></span>
</div>
2009-06-07 20:59:43 +02:00
</c:when>
</c:choose>
<div class="header_languages">
<div class="header_language_flag">
<a href="?language=en"><img src="../images/uk.gif" alt="English"></a>
</div>
<div class="header_language_flag">
<a href="?language=fr"><img src="../images/fr.gif" alt="Frances"></a>
</div>
<div class="header_language_flag">
<a href="?language=es"><img src="../images/es.gif" alt="Espanol"></a>
</div>
</div>
2009-06-07 20:59:43 +02:00
</div>
</div>
<c:if test="${param.onlyActionHeader!=true}">
<div id="headerContent">
<div id="headerButtons">
<%--<div id="blogLink">--%>
<%--<a href="${pageContext.request.contextPath}/c/blog" title="<spring:message code="BLOG_TITLE"/>">--%>
2009-06-07 20:59:43 +02:00
<%--<spring:message code="BLOG"/>--%>
<%--</a>--%>
<%--</div>--%>
</div>
<a href="${pageContext.request.contextPath}/c/home" title="Homepage">
2009-06-07 20:59:43 +02:00
<div id="headerLogo">&nbsp;</div>
</a>
<div id="headerSlogan">
<spring:message code="SITE.SLOGAN"/>
</div>
</div>
</c:if>
2012-04-06 22:05:42 +02:00