1
|
[% INCLUDE "genericHeader.tmpl" %]
|
2
|
|
3
|
[% IF status == 'success' %]
|
4
|
<h2>Success</h2>
|
5
|
[% IF function == 'deleted' %]
|
6
|
<p>Your entry has been [% function %]. Thank you.</p>
|
7
|
[%ELSE%]
|
8
|
<p>Your entry has been [% function %]. Thank you.</p>
|
9
|
<p>You can the see the entry by clicking
|
10
|
<a href="@servlet-path@?action=read&qformat=[% cfg %]&docid=[% docid %]">here</a> or the Search button above.
|
11
|
<!-- <p>The entry will be reviewed by the [% orgabbrev %] Data Registry
|
12
|
Manager and then will be added to the registry. You
|
13
|
should expect to see the entry within a few days.</p> -->
|
14
|
|
15
|
[%END%]
|
16
|
[% ELSE %]
|
17
|
[% IF function == 'cancel' %]
|
18
|
|
19
|
[% ELSE %]
|
20
|
<h2>Failure</h2>
|
21
|
|
22
|
<p>An error occurred. Most likely some required fields
|
23
|
were missing. Please check the list of errors below and
|
24
|
click here to return to the previous form to fill in all
|
25
|
required fields and submit the form again.</p>
|
26
|
|
27
|
<ul>
|
28
|
[% FOREACH parameter = invalidParams %]
|
29
|
<li class="emphasis">[% parameter %]</li>
|
30
|
[% END %]
|
31
|
</ul>
|
32
|
|
33
|
<ul>
|
34
|
[% FOREACH msg = errorMessages %]
|
35
|
<li class="emphasis">[% msg %]</li>
|
36
|
[% END %]
|
37
|
</ul>
|
38
|
[% END %]
|
39
|
[% END %]
|
40
|
|
41
|
<p> </p>
|
42
|
[% IF function == 'deleted' || function == 'cancel' %]
|
43
|
<p>For a new entry, click on 'Register New Dataset' in the toolbar above.
|
44
|
Otherwise, use the toolbar links above to navigate.</p>
|
45
|
[% ELSE %]
|
46
|
[% IF status == 'success' %]
|
47
|
<p>For a new entry, or to make changes to the entry just submitted,
|
48
|
use the return function in your browser to go back.
|
49
|
Otherwise, use the toolbar links above to navigate.</p>
|
50
|
[% ELSE %]
|
51
|
[% IF status != 'failure_no_resubmit' %]
|
52
|
<form name="editForm" action="@cgi-prefix@/register-dataset.cgi" method="post">
|
53
|
<input type="hidden" name="cfg" value="[% cfg %]">
|
54
|
<input type="hidden" name="docid" value="[% docid %]">
|
55
|
<input type="hidden" name="stage" value="confirmed">
|
56
|
<input type="hidden" name="dataWrong" value="No, go back to editing">
|
57
|
<input type="hidden" name="showSiteList" value="[% showSiteList %]">
|
58
|
<input type="hidden" name="showWgList" value="[% showWgList %]">
|
59
|
<input type="hidden" name="showOrganization" value="[% showOrganization %]">
|
60
|
<input type="hidden" name="lsite" value="[% lsite %]">
|
61
|
<input type="hidden" name="usite" value="[% usite %]">
|
62
|
<input type="hidden" name="hasKeyword" value="[% hasKeyword %]">
|
63
|
<input type="hidden" name="hasTemporal" value="[% hasTemporal %]">
|
64
|
<input type="hidden" name="hasSpatial" value="[% hasSpatial %]">
|
65
|
<input type="hidden" name="hasTaxonomic" value="[% hasTaxonomic %]">
|
66
|
<input type="hidden" name="hasMethod" value="[% hasMethod %]">
|
67
|
<input type="hidden" name="temporalRequired" value="[% temporarlRequired %]">
|
68
|
<input type="hidden" name="spatialRequired" value="[% spatialRequired %]">
|
69
|
<input type="hidden" name="providerGivenName" value="[%providerGivenName%]">
|
70
|
<input type="hidden" name="providerSurName" value="[%providerSurName%]">
|
71
|
<input type="hidden" name="site" value="[%site%]">
|
72
|
[% IF cfg == 'nceas' %]
|
73
|
[% FOREACH group = wg %]
|
74
|
<input type="hidden" name="wg" value="[%group%]">
|
75
|
[% END %]
|
76
|
[% END %]
|
77
|
<input type="hidden" name="identifier" value="[%identifier%]">
|
78
|
<input type="hidden" name="title" value="[%title%]">
|
79
|
<input type="hidden" name="origNamefirst0" value="[%origNamefirst0%]">
|
80
|
<input type="hidden" name="origNamelast0" value="[%origNamelast0%]">
|
81
|
<input type="hidden" name="origNameOrg" value="[%origNameOrg%]">
|
82
|
<input type="hidden" name="origRole0" value="[%origRole0%]">
|
83
|
<input type="hidden" name="origDelivery" value="[%origDelivery%]">
|
84
|
<input type="hidden" name="origCity" value="[%origCity%]">
|
85
|
<input type="hidden" name="origState" value="[%origState%]">
|
86
|
<input type="hidden" name="origStateOther" value="[%origStateOther%]">
|
87
|
<input type="hidden" name="origZIP" value="[%origZIP%]">
|
88
|
<input type="hidden" name="origCountry" value="[%origCountry%]">
|
89
|
<input type="hidden" name="origPhone" value="[%origPhone%]">
|
90
|
<input type="hidden" name="origFAX" value="[%origFAX%]">
|
91
|
<input type="hidden" name="origEmail" value="[%origEmail%]">
|
92
|
<input type="hidden" name="useOrigAddress" value="[%useOrigAddress%]">
|
93
|
<input type="hidden" name="origNamefirstContact" value="[%origNamefirstContact%]">
|
94
|
<input type="hidden" name="origNamelastContact" value="[%origNamelastContact%]">
|
95
|
<input type="hidden" name="origNameOrgContact" value="[%origNameOrgContact%]">
|
96
|
<input type="hidden" name="origDeliveryContact" value="[%origDeliveryContact%]">
|
97
|
<input type="hidden" name="origCityContact" value="[%origCityContact%]">
|
98
|
<input type="hidden" name="origStateContact" value="[%origStateContact%]">
|
99
|
<input type="hidden" name="origStateOtherContact" value="[%origStateOtherContact%]">
|
100
|
<input type="hidden" name="origZIPContact" value="[%origZIPContact%]">
|
101
|
<input type="hidden" name="origCountryContact" value="[%origCountryContact%]">
|
102
|
<input type="hidden" name="origPhoneContact" value="[%origPhoneContact%]">
|
103
|
<input type="hidden" name="origFAXContact" value="[%origFAXContact%]">
|
104
|
<input type="hidden" name="origEmailContact" value="[%origEmailContact%]">
|
105
|
<input type="hidden" name="aoCount" value="[%aoCount%]">
|
106
|
|
107
|
[% numAO = 0 %]
|
108
|
[% IF aoCount > 0 %]
|
109
|
[% numAO = aoCount %]
|
110
|
[% END %]
|
111
|
[% cnt = 1 %]
|
112
|
[% WHILE cnt <= numAO %]
|
113
|
[% SET origNamefirst = "origNamefirst${cnt}" %]
|
114
|
[% SET origNamelast = "origNamelast${cnt}" %]
|
115
|
[% SET origRole = "origRole${cnt}" %]
|
116
|
<input type="hidden" name="[% origNamefirst %]" value="[% $origNamefirst%]">
|
117
|
<input type="hidden" name="[% origNamelast %]" value="[% $origNamelast%]">
|
118
|
<input type="hidden" name="[% origRole %]" value="[% $origRole%]">
|
119
|
[% cnt = cnt + 1 %]
|
120
|
[% END %]
|
121
|
|
122
|
<input type="hidden" name="abstract" value="[%abstract%]">
|
123
|
<input type="hidden" name="keyCount" value="[%keyCount%]">
|
124
|
[% numKey = 0 %]
|
125
|
[% IF keyCount > 0 %]
|
126
|
[% numKey = keyCount %]
|
127
|
[% END %]
|
128
|
[% cnt = 1 %]
|
129
|
[% WHILE cnt <= numKey %]
|
130
|
[% SET kyd = "keyword${cnt}" %]
|
131
|
[% SET keyType = "kwType${cnt}" %]
|
132
|
[% SET keyTh = "kwTh${cnt}" %]
|
133
|
<input type="hidden" name="[% kyd %]" value="[% $kyd %]">
|
134
|
<input type="hidden" name="[% keyType %]" value="[% $keyType %]">
|
135
|
<input type="hidden" name="[% keyTh %]" value="[% $keyTh %]">
|
136
|
[% cnt = cnt + 1 %]
|
137
|
[% END %]
|
138
|
<input type="hidden" name="addComments" value="[%addComments%]">
|
139
|
<input type="hidden" name="useConstraints" value="[%useConstraints%]">
|
140
|
<input type="hidden" name="useConstraintsOther" value="[%useConstraintsOther%]">
|
141
|
<input type="hidden" name="url" value="[%url%]">
|
142
|
<input type="hidden" name="dataMedium" value="[%dataMedium%]">
|
143
|
<input type="hidden" name="dataMediumOther" value="[%dataMediumOther%]">
|
144
|
<input type="hidden" name="beginningYear" value="[%beginningYear%]">
|
145
|
<input type="hidden" name="beginningMonth" value="[%beginningMonth%]">
|
146
|
<input type="hidden" name="beginningDay" value="[%beginningDay%]">
|
147
|
<input type="hidden" name="endingYear" value="[%endingYear%]">
|
148
|
<input type="hidden" name="endingMonth" value="[%endingMonth%]">
|
149
|
<input type="hidden" name="endingDay" value="[%endingDay%]">
|
150
|
<input type="hidden" name="geogdesc" value="[%geogdesc%]">
|
151
|
<input type="hidden" name="useSiteCoord" value="[%useSiteCoord%]">
|
152
|
<input type="hidden" name="latDeg1" value="[% latDeg1 %]">
|
153
|
<input type="hidden" name="latMin1" value="[%latMin1%]">
|
154
|
<input type="hidden" name="latSec1" value="[%latSec1%]">
|
155
|
<input type="hidden" name="hemisphLat1" value="[%hemisphLat1%]">
|
156
|
<input type="hidden" name="longDeg1" value="[% longDeg1 %]">
|
157
|
<input type="hidden" name="longMin1" value="[%longMin1%]">
|
158
|
<input type="hidden" name="longSec1" value="[%longSec1%]">
|
159
|
<input type="hidden" name="hemisphLong1" value="[%hemisphLong1%]">
|
160
|
<input type="hidden" name="latDeg2" value="[%latDeg2%]">
|
161
|
<input type="hidden" name="latMin2" value="[%latMin2%]">
|
162
|
<input type="hidden" name="latSec2" value="[%latSec2%]">
|
163
|
<input type="hidden" name="hemisphLat2" value="[%hemisphLat2%]">
|
164
|
<input type="hidden" name="longDeg2" value="[%longDeg2%]">
|
165
|
<input type="hidden" name="longMin2" value="[%longMin2%]">
|
166
|
<input type="hidden" name="longSec2" value="[%longSec2%]">
|
167
|
<input type="hidden" name="hemisphLong2" value="[%hemisphLong2%]">
|
168
|
<input type="hidden" name="taxaCount" value="[%taxaCount%]">
|
169
|
[% numTaxa = 0 %]
|
170
|
[% IF taxaCount > 0 %]
|
171
|
[% numTaxa = taxaCount %]
|
172
|
[% END %]
|
173
|
[% cnt = 1 %]
|
174
|
[% WHILE cnt <= numTaxa %]
|
175
|
[% SET trn = "taxonRankName${cnt}" %]
|
176
|
[% SET trv = "taxonRankValue${cnt}" %]
|
177
|
<input type="hidden" name="[% trn %]" value="[% $trn %]">
|
178
|
<input type="hidden" name="[% trv %]" value="[% $trv %]">
|
179
|
[% cnt = cnt + 1 %]
|
180
|
[% END %]
|
181
|
<input type="hidden" name="taxaAuth" value="[%taxaAuth%]">
|
182
|
|
183
|
<input type="hidden" name="methodTitle" value="[%methodTitle%]">
|
184
|
[% FOREACH para = methodPara %]
|
185
|
<input type="hidden" name="methodPara" value="[%para%]">
|
186
|
[% END %]
|
187
|
<input type="hidden" name="studyExtentDescription" value="[%studyExtentDescription%]">
|
188
|
<input type="hidden" name="samplingDescription" value="[%samplingDescription%]">
|
189
|
|
190
|
<p>To make changes to the entry just submitted,click
|
191
|
<a href="#" onclick="document.editForm.submit()">here</a>.
|
192
|
Otherwise, use the toolbar links above to navigate.</p>
|
193
|
</form>
|
194
|
[% END %]
|
195
|
[% END %]
|
196
|
[% END %]
|
197
|
[% INCLUDE "genericFooter.tmpl" %]
|