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