1<%-- $HeadURL: svn+ssh://jwilden@svn.wald.intevation.org/deegree/apps/igeoportal-standard/branches/2.5_testing/deletecontext_note.jsp $ --%>
2<%-- $Id: deletecontext_note.jsp 25889 2010-08-16 05:43:37Z jwilden $ --%>
3<%--
4 This file is part of deegree, http://deegree.org/
5 Copyright (C) 2001-2009 by:
6 - Department of Geography, University of Bonn -
7 and
8 - lat/lon GmbH -
9
10 This library is free software; you can redistribute it and/or modify it under
11 the terms of the GNU Lesser General Public License as published by the Free
12 Software Foundation; either version 2.1 of the License, or (at your option)
13 any later version.
14 This library is distributed in the hope that it will be useful, but WITHOUT
15 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
16 FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
17 details.
18 You should have received a copy of the GNU Lesser General Public License
19 along with this library; if not, write to the Free Software Foundation, Inc.,
20 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21
22 Contact information:
23
24 lat/lon GmbH
25 Aennchenstr. 19, 53177 Bonn
26 Germany
27 http://lat-lon.de/
28
29 Department of Geography, University of Bonn
30 Prof. Dr. Klaus Greve
31 Postfach 1147, 53001 Bonn
32 Germany
33 http://www.geographie.uni-bonn.de/deegree/
34
35 e-mail: info@deegree.org
36--%>
37<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
38<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
39<%@ page import="org.deegree.i18n.Messages" %>
40<%@ page import="java.util.Locale" %>
41<%
42    Locale loc = request.getLocale();
43	String context = (String)request.getAttribute( "CONTEXT" );
44%>
45<html>
46	<head>
47        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
48        <meta name="author" content="lat/lon GmbH" />
49        <meta name="KeyWords" content="deegree iGeoPortal lat/lon" />
50        <title>deegree iGeoPortal: delete confirmation</title>
51        <link href="./css/deegree.css" rel="stylesheet" type="text/css" />
52        <script language="JavaScript1.2" type="text/javascript">
53        <!--
54			function openLoadContext() {
55				//var time = new Date();
56				//var ms = time.getMilliseconds();
57                //var fiw = null;
58                var sessionID = null;
59                if ( opener.parent.controller.vSessionKeeper != null ) {
60                    sessionID = opener.parent.controller.vSessionKeeper.id
61                }
62                var s = "control?rpc=<?xml version='1.0' encoding='UTF-8'?><methodCall>" +
63                        "<methodName>mapClient:listContexts</methodName><params><param><value><struct>"+
64                        "<member><name>sessionID</name><value><string>" + sessionID + "</string></value></member>" +
65                        "</struct></value></param></params></methodCall>";
66                //s = s + "&dummy=" + ms;
67                //fiw = opener.window.open( s, "Laden", "width=500,height=300,left=100,top=100,scrollbars=yes" );
68                //fiw.focus();
69                window.location.replace( s );
70            }
71            // -->
72		</script>
73	</head>
74	<body class="pDeleteContextNote">
75		<!-- HEADER AREA -->
76        <table>
77            <tbody>
78                <tr>
79                    <td colspan="2">&nbsp;</td>
80                </tr>
81                <tr>
82                    <td width="30">&nbsp;</td>
83                    <td class="header"><%=Messages.get( loc, "IGEO_STD_CNTXT_DELETE_HEADER" ) %></td>
84                </tr>
85            </tbody>
86        </table>
87        <!-- TEXT AREA -->
88        <table>
89            <tr>
90                <td colspan="2">&nbsp;</td>
91            </tr>
92			<tr>
93				<td width="30">&nbsp;</td>
94				<td class="text"><%=Messages.get( loc, "IGEO_STD_CNTXT_DELETE_MSG", context  ) %></td>
95			</tr>
96		</table>
97        <!-- BUTTON AREA -->
98        <br/><br />
99        <a href="javascript:openLoadContext()" class="buttonArea1" title="<%=Messages.get( loc, "IGEO_STD_BTN_DELETE_CNTXT_NOTE_TT" ) %>"><%=Messages.get( loc, "IGEO_STD_BTN_BACK" ) %></a>
100	</body>
101</html>
102