Mercurial > dive4elements > gnv-client
comparison 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 |
comparison
equal
deleted
inserted
replaced
1019:170c48e2319f | 1020:ba918db634a1 |
---|---|
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 <%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %> | 2 <%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %> |
3 <%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %> | 3 <%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %> |
4 <%@ page import="de.intevation.gnv.action.sessionmodel.SessionModel"%> | |
5 <%@ page import="de.intevation.gnv.action.sessionmodel.SessionModelFactory"%> | |
6 <%@ page import="java.util.Locale"%> | |
7 | |
8 <% | |
9 SessionModel sm = SessionModelFactory.getInstance().getSessionModel(request); | |
10 Locale locale = sm.getCurrentLocale(); | |
11 %> | |
4 | 12 |
5 <html xmlns="http://www.w3.org/1999/xhtml"> | 13 <html xmlns="http://www.w3.org/1999/xhtml"> |
6 <head> | 14 <head> |
7 <title> | 15 <title> |
8 <bean:message key="gnviewer.app.title"/> | 16 <bean:message key="gnviewer.app.title"/> |
29 </td> | 37 </td> |
30 </tr> | 38 </tr> |
31 </table> | 39 </table> |
32 </div> | 40 </div> |
33 <div id="contentElement" class="contentElement"> | 41 <div id="contentElement" class="contentElement"> |
34 TODO: Info | 42 <% |
43 if (locale.getLanguage().equals(Locale.GERMAN.getLanguage())) { | |
44 %> | |
45 <jsp:include page="/WEB-INF/jsp/includes/info_german.jsp" /> | |
46 <% | |
47 } | |
48 else { | |
49 %> | |
50 <jsp:include page="/WEB-INF/jsp/includes/info_english.jsp" /> | |
51 <% | |
52 } | |
53 %> | |
35 </div> | 54 </div> |
36 <div id="footerElement"> | 55 <div id="footerElement"> |
37 <jsp:include page="footer.jsp" /> | 56 <jsp:include page="footer.jsp" /> |
38 </div> | 57 </div> |
39 </div> | 58 </div> |