Mercurial > dive4elements > gnv-client
view gnv/src/main/webapp/WEB-INF/jsp/info.jsp @ 1020:ba918db634a1
Added info pages for german and english (not translated yet).
gnv/trunk@1255 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Thu, 01 Jul 2010 11:00:19 +0000 |
parents | de9a0b16e99f |
children | 28a0628b11b0 |
line wrap: on
line source
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %> <%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %> <%@ page import="de.intevation.gnv.action.sessionmodel.SessionModel"%> <%@ page import="de.intevation.gnv.action.sessionmodel.SessionModelFactory"%> <%@ page import="java.util.Locale"%> <% SessionModel sm = SessionModelFactory.getInstance().getSessionModel(request); Locale locale = sm.getCurrentLocale(); %> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title> <bean:message key="gnviewer.app.title"/> </title> <link href="styles/gnv.css" rel="stylesheet" type="text/css"/> </head> <body id="gnviewerbody"> <div id="page"> <div id="headline"> <h1 class="headline">BSH Generischer Viewer</h1> </div> <br/> <div id="headerElement"> <table class="headerTableLinks"> <tr> <td align="left"></td> <td align="right"> <html:link styleClass="headerLineLinks" page="/start.do"><bean:message key="gnviewer.header.restart"/></html:link> <font size="1.5em" color="white">·</font> <html:link styleClass="headerLineLinks" page="/info.do"><bean:message key="gnviewer.header.info"/></html:link> </td> </tr> </table> </div> <div id="contentElement" class="contentElement"> <% if (locale.getLanguage().equals(Locale.GERMAN.getLanguage())) { %> <jsp:include page="/WEB-INF/jsp/includes/info_german.jsp" /> <% } else { %> <jsp:include page="/WEB-INF/jsp/includes/info_english.jsp" /> <% } %> </div> <div id="footerElement"> <jsp:include page="footer.jsp" /> </div> </div> </body> </html>