Project

General

Profile

« Previous | Next » 

Revision 3601

skin-specific delete action results page (confirm.jsp)

View differences:

lib/style/skins/sanparks/confirm.jsp
1
<%@ page    language="java" %>
2
<%
3
/*
4
*  '$RCSfile$'
5
*    Copyright: 2006 Regents of the University of California and the
6
*               National Center for Ecological Analysis and Synthesis
7
*
8
*   '$Author$'
9
*     '$Date$'
10
* '$Revision$'
11
*
12
* This program is free software; you can redistribute it and/or modify
13
* it under the terms of the GNU General Public License as published by
14
* the Free Software Foundation; either version 2 of the License, or
15
* (at your option) any later version.
16
*
17
* This program is distributed in the hope that it will be useful,
18
* but WITHOUT ANY WARRANTY; without even the implied warranty of
19
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20
* GNU General Public License for more details.
21
*
22
* You should have received a copy of the GNU General Public License
23
* along with this program; if not, write to the Free Software
24
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
25
*/
26
%>
27
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
28
<html>
29
    <head>
30
        <title>SANParks - South African National Park Data Repository</title>
31
        <link rel="stylesheet" href="../default/default.css" type="text/css"/>
32
        <link rel="stylesheet" type="text/css" href="sanparks.css"/>
33
        <script language="JavaScript" type="text/JavaScript" src="sanparks.js"></script>
34
        <script language="JavaScript" type="text/JavaScript" src="../../common/branding.js"></script>
35
    </head>
36
    <body>
37
        <script language="JavaScript">
38
            insertTemplateOpening();
39
        </script>
40
        
41
        <!-- Main content -->
42
        <jsp:include page="ConfirmDelete.jspx" />
43
        
44
        <!-- wrap it up with the closing -->
45
        <script language="JavaScript">
46
            insertTemplateClosing();
47
        </script>
48
    </body>
49
</html>
0 50

  
lib/style/skins/sanparks/ConfirmDelete.jspx
1
<?xml version="1.0" encoding="UTF-8"?>
2
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0">
3
    
4
    <!-- to change the content type or response encoding change the following line -->
5
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
6
    <jsp:directive.page import="edu.ucsb.nceas.metacat.clientview.ClientView"/>
7
    
8
    <jsp:useBean id="clientViewBean" scope="session" class="edu.ucsb.nceas.metacat.clientview.ClientView"/>
9
    <jsp:setProperty name="clientViewBean" property="*"/>
10
    
11
    <h2>
12
    <jsp:expression>clientViewBean.getMessage(ClientView.DELETE_MESSAGE)</jsp:expression>
13
    </h2>
14
    <p class="regtext">
15
    	DocumentId was: <b><jsp:expression>clientViewBean.getDocId()</jsp:expression></b>
16
    	<br/>
17
    	<br/>
18
	    <a href="./">Return to search page</a>
19
	</p> 
20
</jsp:root>
0 21

  

Also available in: Unified diff