diff gnv/src/main/webapp/WEB-INF/jsp/wmslayout.jsp @ 982:cd9414538f10

Added possibility to switch to FullScreen-Mode of the MapClient. gnv/trunk@1161 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Mon, 07 Jun 2010 09:54:47 +0000
parents 5779220ebb80
children 28a0628b11b0
line wrap: on
line diff
--- a/gnv/src/main/webapp/WEB-INF/jsp/wmslayout.jsp	Fri Jun 04 12:03:12 2010 +0000
+++ b/gnv/src/main/webapp/WEB-INF/jsp/wmslayout.jsp	Mon Jun 07 09:54:47 2010 +0000
@@ -3,48 +3,8 @@
 <%@page import="de.intevation.gnv.action.sessionmodel.SessionModel"%>
 <%@page import="de.intevation.gnv.action.sessionmodel.SessionModelFactory"%>
 <%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %>
-<%
-    String serverPath  = (String) request.getAttribute("mapserver");
-    String mapfilePath = (String) request.getAttribute("mapfile");
-    String layerName   = (String) request.getAttribute("layer");
-    String timeToLive  = (String) request.getAttribute("ttl");
-    SessionModel sm = SessionModelFactory.getInstance().getSessionModel(request);
-%>
 <html xmlns="http://www.w3.org/1999/xhtml">
-    <head>
-        <title>
-            <bean:message key="gnviewer.app.title"/>
-        </title>
-        <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
-        <meta http-equiv="Content-Script-Type" content="text/javascript"/>
-        <meta http-equiv="Content-Style-Type" content="text/css"/>
-        <meta http-equiv="Expires" content="Mon, 01 Jan 1990 00:00:01 GMT"/>
-        <meta http-equiv="pragma" content="no-cache"/>
-        <meta http-equiv="cache-control" content="no-cache"/>
-        <meta name="robots" content="noindex"/>
-        
-        <link rel="stylesheet" type="text/css" href="scripts/ext/ext-2.3.0/resources/css/ext-all.css"></link>
-        <link rel="stylesheet" type="text/css" href="scripts/geoext/geoext-0.6/resources/css/geoext-all.css"></link>
-        <link rel="stylesheet" type="text/css" href="scripts/openlayers/OpenLayers-2.9/theme/default/style.css"></link>
-        <link rel="stylesheet" type="text/css" href="styles/gnv.css"/>
-        <link rel="stylesheet" type="text/css" href="styles/ol_style.css"/>
-        
-        <script type="text/javascript" src="scripts/ext/ext-2.3.0/adapter/ext/ext-base.js"></script>
-        <script type="text/javascript" src="scripts/ext/ext-2.3.0/ext-all.js"></script>
-        <script type="text/javascript" src="scripts/openlayers/OpenLayers-2.9/OpenLayers.js"></script>
-        <script type="text/javascript" src="scripts/geoext/geoext-0.6/script/GeoExt.js"></script>
-        <script type="text/javascript" src="scripts/olutils.js"></script>
-        <script type="text/javascript" src="<%=response.encodeURL("scripts/layers.jsp?uid="+System.currentTimeMillis())%>"></script>
-        <script type="text/javascript" src="<%=response.encodeURL("scripts/viewport.jsp?uid="+System.currentTimeMillis())%>"></script>
-         
-         <!-- save necessary variables here -->
-         <script type="text/javascript">
-             var options, layer, extent, map, mapPanel, infoControls;
-             var controls,layers, mouseLoc, grid;
-             var infoActive = false;
-         </script>
-    </head>
-
+    <jsp:include page="/WEB-INF/jsp/includes/wms_header_inc.jsp" />
     <body id="gnviewerbody">
     <div id="overlay"></div>
     <div style="width:100%;left:0;top:0;width:100%;height:100%;position:absolute;visibility:hidden;">

http://dive4elements.wald.intevation.org