1
|
[% IF cfg == 'nceas' %]
|
2
|
[% INCLUDE "nceasHeader.tmpl" %]
|
3
|
[% ELSE %]
|
4
|
[% INCLUDE "genericHeader.tmpl" %]
|
5
|
[% END %]
|
6
|
|
7
|
[% IF status == 'success' %]
|
8
|
|
9
|
<table class="intro" cellpadding="8" cellspacing="0">
|
10
|
|
11
|
<tr><td align="left"><span class="emphasis">Success</span></td></tr>
|
12
|
[% IF function == 'deleted' %]
|
13
|
<tr><td align="left"><span class="regtext">Your data set description has been [% function %]. Thank you.</span></td></tr>
|
14
|
[%ELSE%]
|
15
|
<tr><td align="left"><span class="regtext">Your data set description has been [% function %]. Thank you.</span></td></tr>
|
16
|
<tr><td align="left"><span class="regtext">You can see the data set description by clicking
|
17
|
<a href="@servlet-path@?action=read&qformat=[% cfg %]&docid=[% docid %]">here</a>.</span></td></tr>
|
18
|
[%END%]
|
19
|
</table>
|
20
|
[% ELSE %]
|
21
|
[% IF function == 'cancel' %]
|
22
|
|
23
|
[% ELSE %]
|
24
|
<table class="intro" cellpadding="8" cellspacing="0">
|
25
|
<tr><td align="left"><span class="emphasis">Failure</span></td></tr>
|
26
|
|
27
|
<tr><td align="left"><span class="regtext">An error occurred. Please check the list of errors below: </span></td></tr>
|
28
|
<tr><td align="left">
|
29
|
<ul>
|
30
|
[% FOREACH parameter = invalidParams %]
|
31
|
<li class="label">[% parameter %]</li>
|
32
|
[% END %]
|
33
|
</ul></td></tr>
|
34
|
<tr><td align="left">
|
35
|
<ul>
|
36
|
[% FOREACH msg = errorMessages %]
|
37
|
<li class="label">[% msg %]</li>
|
38
|
[% END %]
|
39
|
</ul></td></tr>
|
40
|
</table>
|
41
|
[% END %]
|
42
|
[% END %]
|
43
|
[% IF status == 'login_failure' %]
|
44
|
<table class="intro" cellpadding="8" cellspacing="0">
|
45
|
<tr><td align="left"><span class="regtext">Click <a href = "javascript:history.back()">here</a> to return
|
46
|
to the previous page, and enter the correct username, organization, and password.</td></tr>
|
47
|
</table>
|
48
|
[% ELSE %]
|
49
|
[% IF function == 'deleted' || function == 'cancel' %]
|
50
|
<table class="intro" cellpadding="8" cellspacing="0">
|
51
|
[% IF status != 'success' %]
|
52
|
<tr><td align="left"><span class="regtext">Click <a href = "javascript:history.back()">here</a> to return
|
53
|
to the previous page, and enter the correct username, organization, and password.</td></tr>
|
54
|
[%ELSE%]
|
55
|
<tr><td align="left"><span class="regtext">To register a new data set, click <a href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]" target="_top">here</a>.
|
56
|
Otherwise, use the toolbar links above to navigate.</span></td></tr>
|
57
|
[%END%]
|
58
|
</table>
|
59
|
[% ELSE %]
|
60
|
[% IF status == 'success' %]
|
61
|
<table class="intro" cellpadding="8" cellspacing="0">
|
62
|
<tr><td align="left"><span class="regtext">To register a new data set, click <a href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]" target="_top">here</a>.
|
63
|
Otherwise, use the toolbar links above to navigate.</span></td></tr>
|
64
|
</table>
|
65
|
[% ELSE %]
|
66
|
[% IF status != 'failure_no_resubmit' %]
|
67
|
<form name="editForm" action="@cgi-prefix@/register-dataset.cgi" method="post">
|
68
|
<input type="hidden" name="cfg" value="[% cfg %]">
|
69
|
<input type="hidden" name="docid" value="[% docid %]">
|
70
|
<input type="hidden" name="stage" value="confirmed">
|
71
|
<input type="hidden" name="dataWrong" value="No, go back to editing">
|
72
|
<input type="hidden" name="showSiteList" value="[% showSiteList %]">
|
73
|
<input type="hidden" name="showWgList" value="[% showWgList %]">
|
74
|
<input type="hidden" name="showOrganization" value="[% showOrganization %]">
|
75
|
<input type="hidden" name="lsite" value="[% lsite %]">
|
76
|
<input type="hidden" name="usite" value="[% usite %]">
|
77
|
<input type="hidden" name="hasKeyword" value="[% hasKeyword %]">
|
78
|
<input type="hidden" name="hasTemporal" value="[% hasTemporal %]">
|
79
|
<input type="hidden" name="hasSpatial" value="[% hasSpatial %]">
|
80
|
<input type="hidden" name="hasTaxonomic" value="[% hasTaxonomic %]">
|
81
|
<input type="hidden" name="hasMethod" value="[% hasMethod %]">
|
82
|
<input type="hidden" name="hasUpload" value="[% hasUpload %]">
|
83
|
<input type="hidden" name="temporalRequired" value="[% temporalRequired %]">
|
84
|
<input type="hidden" name="spatialRequired" value="[% spatialRequired %]">
|
85
|
<input type="hidden" name="contactEmailAddressRequired" value="[% contactEmailAddressRequired %]">
|
86
|
<input type="hidden" name="providerGivenName" value="[%providerGivenName%]">
|
87
|
<input type="hidden" name="providerSurName" value="[%providerSurName%]">
|
88
|
<input type="hidden" name="site" value="[%site%]">
|
89
|
[% IF cfg == 'nceas' %]
|
90
|
[% FOREACH group = wg %]
|
91
|
<input type="hidden" name="wg" value="[%group%]">
|
92
|
[% END %]
|
93
|
[% END %]
|
94
|
<input type="hidden" name="identifier" value="[%identifier%]">
|
95
|
<input type="hidden" name="title" value="[%title%]">
|
96
|
<input type="hidden" name="origNamefirst0" value="[%origNamefirst0%]">
|
97
|
<input type="hidden" name="origNamelast0" value="[%origNamelast0%]">
|
98
|
<input type="hidden" name="origNameOrg" value="[%origNameOrg%]">
|
99
|
<input type="hidden" name="origRole0" value="[%origRole0%]">
|
100
|
<input type="hidden" name="origDelivery" value="[%origDelivery%]">
|
101
|
<input type="hidden" name="origCity" value="[%origCity%]">
|
102
|
<input type="hidden" name="origState" value="[%origState%]">
|
103
|
<input type="hidden" name="origStateOther" value="[%origStateOther%]">
|
104
|
<input type="hidden" name="origZIP" value="[%origZIP%]">
|
105
|
<input type="hidden" name="origCountry" value="[%origCountry%]">
|
106
|
<input type="hidden" name="origPhone" value="[%origPhone%]">
|
107
|
<input type="hidden" name="origFAX" value="[%origFAX%]">
|
108
|
<input type="hidden" name="origEmail" value="[%origEmail%]">
|
109
|
<input type="hidden" name="useOrigAddress" value="[%useOrigAddress%]">
|
110
|
<input type="hidden" name="origNamefirstContact" value="[%origNamefirstContact%]">
|
111
|
<input type="hidden" name="origNamelastContact" value="[%origNamelastContact%]">
|
112
|
<input type="hidden" name="origNameOrgContact" value="[%origNameOrgContact%]">
|
113
|
<input type="hidden" name="origDeliveryContact" value="[%origDeliveryContact%]">
|
114
|
<input type="hidden" name="origCityContact" value="[%origCityContact%]">
|
115
|
<input type="hidden" name="origStateContact" value="[%origStateContact%]">
|
116
|
<input type="hidden" name="origStateOtherContact" value="[%origStateOtherContact%]">
|
117
|
<input type="hidden" name="origZIPContact" value="[%origZIPContact%]">
|
118
|
<input type="hidden" name="origCountryContact" value="[%origCountryContact%]">
|
119
|
<input type="hidden" name="origPhoneContact" value="[%origPhoneContact%]">
|
120
|
<input type="hidden" name="origFAXContact" value="[%origFAXContact%]">
|
121
|
<input type="hidden" name="origEmailContact" value="[%origEmailContact%]">
|
122
|
<input type="hidden" name="aoCount" value="[%aoCount%]">
|
123
|
|
124
|
[% numAO = 0 %]
|
125
|
[% IF aoCount > 0 %]
|
126
|
[% numAO = aoCount %]
|
127
|
[% END %]
|
128
|
[% cnt = 1 %]
|
129
|
[% WHILE cnt <= numAO %]
|
130
|
[% SET origNamefirst = "origNamefirst${cnt}" %]
|
131
|
[% SET origNamelast = "origNamelast${cnt}" %]
|
132
|
[% SET origRole = "origRole${cnt}" %]
|
133
|
<input type="hidden" name="[% origNamefirst %]" value="[% $origNamefirst%]">
|
134
|
<input type="hidden" name="[% origNamelast %]" value="[% $origNamelast%]">
|
135
|
<input type="hidden" name="[% origRole %]" value="[% $origRole%]">
|
136
|
[% cnt = cnt + 1 %]
|
137
|
[% END %]
|
138
|
|
139
|
<input type="hidden" name="abstract" value="[%abstract%]">
|
140
|
<input type="hidden" name="keyCount" value="[%keyCount%]">
|
141
|
[% numKey = 0 %]
|
142
|
[% IF keyCount > 0 %]
|
143
|
[% numKey = keyCount %]
|
144
|
[% END %]
|
145
|
[% cnt = 1 %]
|
146
|
[% WHILE cnt <= numKey %]
|
147
|
[% SET kyd = "keyword${cnt}" %]
|
148
|
[% SET keyType = "kwType${cnt}" %]
|
149
|
[% SET keyTh = "kwTh${cnt}" %]
|
150
|
<input type="hidden" name="[% kyd %]" value="[% $kyd %]">
|
151
|
<input type="hidden" name="[% keyType %]" value="[% $keyType %]">
|
152
|
<input type="hidden" name="[% keyTh %]" value="[% $keyTh %]">
|
153
|
[% cnt = cnt + 1 %]
|
154
|
[% END %]
|
155
|
<input type="hidden" name="addComments" value="[%addComments%]">
|
156
|
<input type="hidden" name="useConstraints" value="[%useConstraints%]">
|
157
|
<input type="hidden" name="useConstraintsOther" value="[%useConstraintsOther%]">
|
158
|
<input type="hidden" name="url" value="[%url%]">
|
159
|
<input type="hidden" name="dataMedium" value="[%dataMedium%]">
|
160
|
<input type="hidden" name="dataMediumOther" value="[%dataMediumOther%]">
|
161
|
<input type="hidden" name="beginningYear" value="[%beginningYear%]">
|
162
|
<input type="hidden" name="beginningMonth" value="[%beginningMonth%]">
|
163
|
<input type="hidden" name="beginningDay" value="[%beginningDay%]">
|
164
|
<input type="hidden" name="endingYear" value="[%endingYear%]">
|
165
|
<input type="hidden" name="endingMonth" value="[%endingMonth%]">
|
166
|
<input type="hidden" name="endingDay" value="[%endingDay%]">
|
167
|
<input type="hidden" name="geogdesc" value="[%geogdesc%]">
|
168
|
<input type="hidden" name="useSiteCoord" value="[%useSiteCoord%]">
|
169
|
<input type="hidden" name="latDeg1" value="[% latDeg1 %]">
|
170
|
<input type="hidden" name="latMin1" value="[%latMin1%]">
|
171
|
<input type="hidden" name="latSec1" value="[%latSec1%]">
|
172
|
<input type="hidden" name="hemisphLat1" value="[%hemisphLat1%]">
|
173
|
<input type="hidden" name="longDeg1" value="[% longDeg1 %]">
|
174
|
<input type="hidden" name="longMin1" value="[%longMin1%]">
|
175
|
<input type="hidden" name="longSec1" value="[%longSec1%]">
|
176
|
<input type="hidden" name="hemisphLong1" value="[%hemisphLong1%]">
|
177
|
<input type="hidden" name="latDeg2" value="[%latDeg2%]">
|
178
|
<input type="hidden" name="latMin2" value="[%latMin2%]">
|
179
|
<input type="hidden" name="latSec2" value="[%latSec2%]">
|
180
|
<input type="hidden" name="hemisphLat2" value="[%hemisphLat2%]">
|
181
|
<input type="hidden" name="longDeg2" value="[%longDeg2%]">
|
182
|
<input type="hidden" name="longMin2" value="[%longMin2%]">
|
183
|
<input type="hidden" name="longSec2" value="[%longSec2%]">
|
184
|
<input type="hidden" name="hemisphLong2" value="[%hemisphLong2%]">
|
185
|
<input type="hidden" name="taxaCount" value="[%taxaCount%]">
|
186
|
[% numTaxa = 0 %]
|
187
|
[% IF taxaCount > 0 %]
|
188
|
[% numTaxa = taxaCount %]
|
189
|
[% END %]
|
190
|
[% cnt = 1 %]
|
191
|
[% WHILE cnt <= numTaxa %]
|
192
|
[% SET trn = "taxonRankName${cnt}" %]
|
193
|
[% SET trv = "taxonRankValue${cnt}" %]
|
194
|
<input type="hidden" name="[% trn %]" value="[% $trn %]">
|
195
|
<input type="hidden" name="[% trv %]" value="[% $trv %]">
|
196
|
[% cnt = cnt + 1 %]
|
197
|
[% END %]
|
198
|
<input type="hidden" name="taxaAuth" value="[%taxaAuth%]">
|
199
|
|
200
|
<input type="hidden" name="methodTitle" value="[%methodTitle%]">
|
201
|
[% FOREACH para = methodPara %]
|
202
|
<input type="hidden" name="methodPara" value="[%para%]">
|
203
|
[% END %]
|
204
|
<input type="hidden" name="studyExtentDescription" value="[%studyExtentDescription%]">
|
205
|
<input type="hidden" name="samplingDescription" value="[%samplingDescription%]">
|
206
|
<input type="hidden" name="fileCount" value="[%fileCount%]">
|
207
|
<input type="hidden" name="upCount" value="[%upCount%]">
|
208
|
[% fCount = 0 %]
|
209
|
[% IF upCount > 0 %]
|
210
|
[% fCount = upCount %]
|
211
|
[% END %]
|
212
|
|
213
|
[% cnt = 0 %]
|
214
|
[% WHILE cnt < fCount %]
|
215
|
[% SET fileSum = "upload_${cnt}" %]
|
216
|
[% SET fileName = "uploadname_${cnt}" %]
|
217
|
[% SET fileType = "uploadtype_${cnt}" %]
|
218
|
|
219
|
[% IF fileSum %]
|
220
|
|
221
|
<input type="hidden" name="[% fileSum %]" value="[% $fileSum %]">
|
222
|
<input type="hidden" name="[% fileName %]" value="[% $fileName %]">
|
223
|
<input type="hidden" name="[% fileType %]" value="[% $fileType %]">
|
224
|
[% END %]
|
225
|
[% cnt = cnt + 1 %]
|
226
|
[% END %]
|
227
|
|
228
|
<table class="intro" cellpadding="8" cellspacing="0">
|
229
|
<tr><td align="left">
|
230
|
<span class="regtext">Click the button below to return to the form and fill in the required fields.</span>
|
231
|
<span class="redbold">Do NOT use the back button on your browser.</span>
|
232
|
<span class="regtext">Submit the description again when you are finished.</span>
|
233
|
</td></tr>
|
234
|
<tr>
|
235
|
<td align="left">
|
236
|
<input type="submit" value="Return to Form"/>
|
237
|
</td>
|
238
|
</tr>
|
239
|
</table>
|
240
|
|
241
|
</form>
|
242
|
[% END %]
|
243
|
[% END %]
|
244
|
[% END %]
|
245
|
[% END %]
|
246
|
[% IF cfg == 'nceas' %]
|
247
|
[% INCLUDE "nceasFooter.tmpl" %]
|
248
|
[% ELSE %]
|
249
|
[% INCLUDE "genericFooter.tmpl" %]
|
250
|
[% END %]
|