1 |
2942
|
jones
|
<%@ 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 |
|
|
<%@ include file="../../common/common-settings.jsp"%>
|
28 |
3034
|
perry
|
<%@ include file="../../common/map-settings.jsp"%>
|
29 |
|
|
<%
|
30 |
|
|
|
31 |
|
|
//SPATIAL_MAP = "knp";
|
32 |
|
|
SPATIAL_TEMPLATE = "basic_layers";
|
33 |
|
|
|
34 |
|
|
/* Construct Web Map URL
|
35 |
|
|
String mapUrl = SPATIAL_BASE_URL +
|
36 |
|
|
"?map=" + SPATIAL_MAP +
|
37 |
|
|
"&template=" + SPATIAL_TEMPLATE +
|
38 |
|
|
"&client=" + SPATIAL_CLIENT;
|
39 |
|
|
*/
|
40 |
|
|
|
41 |
|
|
//String mapUrl = "@systemidserver@/@context@/spatial/mapbuilder/demo/metacat_knp/pma.html";
|
42 |
|
|
|
43 |
|
|
String mapUrl = "@systemidserver@/@context@/style/skins/knp/spatial/pma.html";
|
44 |
|
|
%>
|
45 |
2942
|
jones
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
46 |
|
|
<html>
|
47 |
|
|
<head>
|
48 |
|
|
<title>KNP Data Repository</title>
|
49 |
|
|
<link rel="stylesheet" href="@html-path@/style/default.css" type="text/css">
|
50 |
|
|
<link rel="stylesheet" type="text/css"
|
51 |
|
|
href="@systemidserver@@style-skins-path@/knp/knp.css"></link>
|
52 |
|
|
<script language="JavaScript" type="text/JavaScript"
|
53 |
|
|
src="@systemidserver@@style-skins-path@/knp/knp.js"></script>
|
54 |
|
|
<script language="JavaScript" type="text/JavaScript"
|
55 |
|
|
src="@systemidserver@@style-common-path@/branding.js"></script>
|
56 |
|
|
</head>
|
57 |
|
|
<body>
|
58 |
|
|
<script language="JavaScript">
|
59 |
3034
|
perry
|
|
60 |
2942
|
jones
|
function getMapFrame() {
|
61 |
|
|
return document.getElementById('mapFrame');
|
62 |
|
|
}
|
63 |
|
|
insertTemplateOpening();
|
64 |
|
|
insertSearchBox();
|
65 |
|
|
</script>
|
66 |
3034
|
perry
|
|
67 |
2942
|
jones
|
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
68 |
|
|
<tr><td colspan="1" style="padding-right:60px">
|
69 |
|
|
<p>
|
70 |
|
|
Welcome to the Kruger National Park Data Repository. This is the primary source for
|
71 |
|
|
comprehensive information about scientific and research data sets collected
|
72 |
|
|
within the KNP.
|
73 |
|
|
</p>
|
74 |
|
|
<p> </p>
|
75 |
|
|
<p><b>Repository Tools</b></p>
|
76 |
|
|
<p>
|
77 |
|
|
<menu>
|
78 |
|
|
<li><span class="searchbox">Search for Data</span><br />
|
79 |
|
|
<menu>
|
80 |
|
|
<form method="POST" action="@servlet-path@" target="_top" name="searchform">
|
81 |
|
|
<%=SIMPLE_SEARCH_METACAT_POST_FIELDS%>
|
82 |
|
|
<input size="14" name="anyfield" type="text" value="">
|
83 |
|
|
<input name="qformat" value="knp" type="hidden">
|
84 |
|
|
<input value="Search" type="submit">
|
85 |
|
|
</form>
|
86 |
|
|
The repository search system is used to locate data sets of interest
|
87 |
|
|
by searching through existing registered data sets.
|
88 |
|
|
Presently the search covers all fields, including
|
89 |
|
|
author, title, abstract, keywords, and other documentation
|
90 |
|
|
for each data set. Use a '%' symbol as a wildcard in searches
|
91 |
|
|
(e.g., '%biodiversity%' would locate any phrase with the word
|
92 |
|
|
biodiversity embedded within it).
|
93 |
|
|
</menu>
|
94 |
|
|
<p> </p>
|
95 |
2967
|
sgarg
|
<form method="POST" action="@servlet-path@" target="_top" name="browseform">
|
96 |
|
|
<%=SIMPLE_SEARCH_METACAT_POST_FIELDS%>
|
97 |
|
|
<input name="anyfield" type="hidden" value="%">
|
98 |
|
|
<input name="qformat" value="knp" type="hidden">
|
99 |
|
|
</form>
|
100 |
|
|
<li><a href="javascript:submitbrowseform('query',document.browseform)">Browse existing KNP data sets</a><br/>
|
101 |
2942
|
jones
|
<menu>
|
102 |
|
|
Browse all existing data sets by title. This operation can be slow as the
|
103 |
|
|
number of entries in the repository grows.
|
104 |
|
|
</menu>
|
105 |
|
|
</li>
|
106 |
|
|
<!--
|
107 |
|
|
<p> </p>
|
108 |
|
|
<li><a href="@cgi-prefix@/register-dataset.cgi?cfg=knp">Register a new KNP
|
109 |
|
|
data set</a><br />
|
110 |
|
|
<menu>
|
111 |
|
|
The registration page is used to submit information about a <b>new</b>
|
112 |
|
|
data set regarding ecology or the environment. The documentation about
|
113 |
|
|
the data set will be submitted to the Repository. You (and only
|
114 |
|
|
you, or your designee) can return to edit the entry
|
115 |
|
|
at a later point in time to add to or correct the
|
116 |
|
|
description. You can also use other tools such as <a
|
117 |
|
|
href="http://knb.ecoinformatics.org/morphoportal.jsp">Morpho</a> to
|
118 |
|
|
further document the set of data and directly attach the data to the
|
119 |
|
|
repository entry.
|
120 |
|
|
</menu>
|
121 |
|
|
</li>
|
122 |
|
|
-->
|
123 |
|
|
<p> </p>
|
124 |
|
|
<li>Login
|
125 |
|
|
<br />
|
126 |
|
|
<menu>
|
127 |
|
|
<form name="loginform" method="post" action="@servlet-path@"
|
128 |
|
|
target="_top" onsubmit="return submitform(this);" id="loginform">
|
129 |
|
|
<input type="hidden" name="action" value="login"> <input type=
|
130 |
|
|
"hidden" name="username" value=""> <input type="hidden" name=
|
131 |
|
|
"qformat" value="knp"> <input type="hidden" name=
|
132 |
|
|
"enableediting" value="false">
|
133 |
|
|
|
134 |
|
|
<table>
|
135 |
|
|
<tr valign="middle">
|
136 |
|
|
<td align="left" valign="middle" class="text_plain">
|
137 |
|
|
username:</td>
|
138 |
|
|
|
139 |
|
|
<td width="173" align="left" class="text_plain" style=
|
140 |
|
|
"padding-top: 2px; padding-bottom: 2px;"><input name="uid"
|
141 |
|
|
type="text" style="width: 140px;" value=""></td>
|
142 |
|
|
</tr>
|
143 |
|
|
|
144 |
|
|
<tr valign="middle">
|
145 |
|
|
<td height="28" align="left" valign="middle" class=
|
146 |
|
|
"text_plain">organization:</td>
|
147 |
|
|
|
148 |
|
|
<td align="left" class="text_plain" style=
|
149 |
|
|
"padding-top: 2px; padding-bottom: 2px;"><select name=
|
150 |
|
|
"organization" style="width:140px;">
|
151 |
|
|
<option value="SANParks">SANParks</option>
|
152 |
2967
|
sgarg
|
<option value="NCEAS">NCEAS</option>
|
153 |
2942
|
jones
|
</select></td>
|
154 |
|
|
</tr>
|
155 |
|
|
|
156 |
|
|
<tr valign="middle">
|
157 |
|
|
<td width="85" align="left" valign="middle" class=
|
158 |
|
|
"text_plain">password:</td>
|
159 |
|
|
|
160 |
|
|
<td colspan="2" align="left" class="text_plain" style=
|
161 |
|
|
"padding-top: 2px; padding-bottom: 2px;">
|
162 |
|
|
<table width="100%" border="0" cellpadding="0"
|
163 |
|
|
cellspacing="0">
|
164 |
|
|
<tr>
|
165 |
|
|
<td width="150" align="left"><input name="password"
|
166 |
|
|
type="password" maxlength="50" style="width:140px;"
|
167 |
|
|
value=""></td>
|
168 |
|
|
|
169 |
|
|
<td align="center" class="buttonBG_login">
|
170 |
|
|
<input type="submit" name="loginAction" value="Login"
|
171 |
|
|
class="button_login"></td>
|
172 |
|
|
|
173 |
|
|
<td align="left"> </td>
|
174 |
|
|
</tr>
|
175 |
|
|
</table>
|
176 |
|
|
</td>
|
177 |
|
|
</tr>
|
178 |
|
|
</table>
|
179 |
|
|
</form>
|
180 |
|
|
</menu>
|
181 |
|
|
</li>
|
182 |
|
|
<p> </p>
|
183 |
|
|
<li>Manage your account
|
184 |
|
|
<!-- <a href="@cgi-prefix@/ldapweb.cgi?cfg=knp">Create a new account</a> -->
|
185 |
|
|
<ul>
|
186 |
|
|
<li><a href="@cgi-prefix@/ldapweb.cgi?cfg=knp&stage=changepass">Change your password</a>
|
187 |
|
|
<li><a href="@cgi-prefix@/ldapweb.cgi?cfg=knp&stage=resetpass">Reset your password</a>
|
188 |
|
|
</ul>
|
189 |
|
|
<br />
|
190 |
|
|
<menu>
|
191 |
|
|
If you have forgotten your password, use the "Reset password" link
|
192 |
|
|
above to reset it. If you would like to change your password, use the
|
193 |
|
|
'Change password' link.
|
194 |
|
|
</menu>
|
195 |
|
|
</li>
|
196 |
|
|
</menu>
|
197 |
|
|
</p>
|
198 |
|
|
</td>
|
199 |
|
|
<td class="mapColumn" rowspan="2" style="vertical-align:top">
|
200 |
3034
|
perry
|
<iframe src="<%=mapUrl%>" class="mapFrame"
|
201 |
|
|
id="mapFrame" name="mapFrame" marginheight="0" marginwidth="0" border="0"
|
202 |
|
|
framespacing="0" hspace="0" vspace="0" frameborder="0" scrolling="no">
|
203 |
|
|
Your browser does not support the iframe tag.
|
204 |
|
|
<a href="<%=mapUrl%>" target="_blank">
|
205 |
|
|
This content</a> should have been displayed at this location
|
206 |
|
|
</iframe>
|
207 |
2942
|
jones
|
</td></tr>
|
208 |
|
|
<tr><td>
|
209 |
|
|
<p>
|
210 |
|
|
This project is a cooperative effort of <a
|
211 |
|
|
href="http://www.sanparks.org/">Kruger National Park (KNP)</a>
|
212 |
|
|
and the <a href="http://www.nceas.ucsb.edu">National
|
213 |
|
|
Center for Ecological Analysis and Synthesis (NCEAS)</a>.
|
214 |
|
|
The Data Repository is based on software developed by
|
215 |
|
|
the <a href="http://knb.ecoinformatics.org">Knowledge Network for
|
216 |
|
|
Biocomplexity (KNB)</a>, and houses metadata that are compliant with <a
|
217 |
|
|
href="http://knb.ecoinformatics.org/software/eml/">Ecological Metadata
|
218 |
|
|
Language (EML)</a>. <!-- Consequently, data registered in this repository
|
219 |
|
|
also are accessible from the larger collection of data found in the
|
220 |
|
|
<a href="http://knb.ecoinformatics.org">KNB repository</a>. -->
|
221 |
|
|
Other sites contributing to the KNB repository include:
|
222 |
|
|
<ul>
|
223 |
|
|
<li><a href="http://knb.ecoinformatics.org/knb/obfs">Organization of
|
224 |
|
|
Biological Field Stations registry</a> </li>
|
225 |
|
|
<li><a href="http://knb.ecoinformatics.org/knb/style/skins/nrs">UC
|
226 |
|
|
Natural Reserve System registry</a> </li>
|
227 |
|
|
<li><a href="http://knb.ecoinformatics.org/knb/style/skins/nceas">NCEAS
|
228 |
|
|
registry</a> </li>
|
229 |
|
|
<li><a href="http://knb.ecoinformatics.org/knb/style/skins/specnet">
|
230 |
|
|
SpecNet registry</a> </li>
|
231 |
|
|
</ul>
|
232 |
|
|
</p>
|
233 |
|
|
</td></tr>
|
234 |
|
|
</table>
|
235 |
|
|
<p> </p>
|
236 |
|
|
<script language="JavaScript">
|
237 |
|
|
insertTemplateClosing();
|
238 |
|
|
</script>
|
239 |
|
|
</tr>
|
240 |
|
|
</table>
|
241 |
|
|
|
242 |
|
|
</body>
|
243 |
|
|
</html>
|