Project

General

Profile

metacat / lib / style / common / templates / metacatui / confirmData.tmpl @ 9780

1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"   
2
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
  
4
	<!-- CONTENT SECTION
5
    ======================================================================= -->
6
	<article id="RegistryEntryReview">
7
		<div class="container">
8
		
9
			<div class="row-fluid">
10
				<h2>Review your entry</h2>
11
				<p class="lead">
12
					Please review the information that you've entered. To make changes, click on the edit button <a href="#buttons">at the bottom of the page</a>.
13
				</p>
14
			</div>
15
			
16
			<div class="row-fluid">
17

    
18
				<a name="BasicInformation"></a>
19
				<h4>Basic Information</h4>
20
				<table class="table table-bordered table-striped table-condensed">
21
					<tr><td>Title</td><td><strong>[%- title -%]</strong></td></tr>
22

    
23
					[% IF cfg == 'nceas' %]
24
						[% FOREACH group = wg %]
25
							<tr><td>NCEAS Project</td><td>[%- group -%]</td></tr>
26
						[% END %]
27

    
28
					[% ELSE %]
29
						[% IF cfg == 'esa' %]
30
							<tr><td>Organization Name</td><td>[%- site -%]</td></tr>
31
							
32
						[% ELSE %]
33
							<tr><td>[%- config.site | ucfirst -%] Name</td><td>[%- site -%]</td></tr>
34
							
35
						[% END %]
36
					[% END %]
37
					<tr><td>Award Number</td><td>[%- funding -%]</td></tr>
38
				</table>
39
				
40
				<a name="DataSetOriginator"></a>
41
				<h4>People and Organizations</h4>
42
				[% cnt = 0 %]
43
				<table class="table table-bordered table-striped table-condensed">
44
				[% WHILE cnt <= partyCount %]
45
					[% SET partyId         = "partyId${cnt}" %]
46
					[% SET partyFirstName  = "partyFirstName${cnt}" %]
47
					[% SET partyLastName   = "partyLastName${cnt}" %]
48
					[% SET partyRole       = "partyRole${cnt}" %]
49
					[% SET partyPositionName = "partyPositionName${cnt}" %]
50
					[% SET partyOrgName    = "partyOrgName${cnt}" %]
51
					[% SET partyEmail      = "partyEmail${cnt}" %]
52
					[% SET partyURL        = "partyURL${cnt}" %]
53
					[% SET partyPhone      = "partyPhone${cnt}" %]
54
					[% SET partyFAX        = "partyFAX${cnt}" %]
55
					[% SET partyDelivery   = "partyDelivery${cnt}" %]
56
					[% SET partyCity       = "partyCity${cnt}" %]
57
					[% SET partyState      = "partyState${cnt}" %]
58
					[% SET partyStateOther = "partyStateOthe${cnt}" %] 
59
					[% SET partyZIP        = "partyZIP${cnt}" %]
60
					[% SET partyCountry    = "partyCountry${cnt}" %]
61
					[% SET roles = {
62
						principalInvestigator              => 'Principal Investigator',
63
						coPrincipalInvestigator            => 'Co-Principal Investigator',
64
						collaboratingPrincipalInvestigator => 'Collaborating-Principal Investigator',
65
						creator                            => 'Creator (Author/Owner/Originator)',
66
						contact                            => 'Contact',
67
						metadataProvider                   => 'Metadata Provider',
68
						custodianSteward                   => 'Custodian/Steward',
69
						publisher                          => 'Publisher',
70
						user                               => 'User'} %]
71
	
72
					[% IF $partyRole != '' %]
73
						
74
							[% IF $partyFirstName != '' %]
75
							<tr><td>First Name</td><td><strong>[%- $partyFirstName -%]<strong></td></tr>
76
							[% END %]
77
							
78
							[% IF $partyLastName != '' %]
79
							<tr><td>Last Name</td><td><strong>[%- $partyLastName -%]</strong></td></tr>
80
							[% END %]
81
							
82
							[% IF $partyOrgName != '' %]
83
							<tr><td>Organization Name</td><td>[%- $partyOrgName -%]</td></tr>
84
							[% END %]
85
							
86
							[% IF $partyPositionName != '' %]
87
							<tr><td>Position Name</td><td>[%- $partyPositionName -%]</td></tr>
88
							[% END %]
89
							
90
							[% IF $partyRole != '' %]
91
						  [%- pRole = $partyRole -%]
92
							<tr><td>Role</td><td>[%- roles.$pRole -%]</td></tr>
93
							[% END %]
94
							
95
							[% IF $partyEmail != '' %]
96
							<tr><td>Email</td><td>[%- $partyEmail -%]</td></tr>
97
							[% END %]
98
							
99
							[% IF $partyURL != '' %]
100
							<tr><td>Online Link</td><td>[%- $partyURL -%]</td></tr>
101
							[% END %]
102
							
103
							[% IF $partyPhone != '' %]
104
							<tr><td>Phone</td><td>[%- $partyPhone -%]</td></tr>
105
							[% END %]
106
							
107
							[% IF $partyFAX != '' %]
108
							<tr><td>FAX</td><td>[%- $partyFAX -%]</td></tr>
109
							[% END %]
110
							
111
							[% IF $partyDelivery != '' %]
112
							<tr><td>Address</td><td>[%- $partyDelivery -%]</td></tr>
113
							[% END %]
114
							
115
							[% IF $partyCity != '' %]
116
							<tr><td>City</td><td>[%- $partyCity -%]</td></tr>
117
							[% END %]
118
							
119
							[% IF $partyState != '' %]
120
							<tr><td>State</td><td>[%- $partyState -%]</td></tr>
121
							[% END %]
122
							
123
							[% IF $partyStateOther != '' %]
124
							<tr><td>Other Province</td><td>[%- $partyStateOther -%]</td></tr>
125
							[% END %]
126
							
127
							[% IF $partyZIP != '' %]
128
							<tr><td>Postal Code</td><td>[%- $partyZIP -%]</td></tr>
129
							[% END %]
130
							
131
							[% IF $partyCountry != '' %]
132
							<tr><td>Country</td><td>[%- $partyCountry -%]</td></tr>
133
							[% END %]
134
							<tr><td colspan="2">&nbsp;</td></tr>
135
			    [% END %]
136
					[% cnt = cnt + 1 %]
137
				[% END %]
138
				</table>
139

    
140
<p><span class="text-info">First Name:</span>        [%origNamefirstContact%]
141
</p>
142

    
143
<p><span class="text-info">Last Name:</span>         [%origNamelastContact%]
144
</p>
145

    
146
<p><span class="text-info">Organization Name:</span> [%origNameOrgContact%]
147
</p>
148

    
149
<p><span class="text-info">E-Mail:</span>            [%origEmailContact%]
150
</p>
151

    
152
<p><span class="text-info">Phone:</span>             [%origPhoneContact%]
153
</p>
154

    
155
<p><span class="text-info">FAX:</span>               [%origFAXContact%]
156
</p>
157

    
158
<p><span class="text-info">Street Information:</span> 
159
                                                    [%origDeliveryContact%]
160
</p>
161

    
162
<p><span class="text-info">City:</span>              [%origCityContact%]
163
</p>
164

    
165
<p><span class="text-info">State:</span>             [%origStateContact%]
166
</p>
167

    
168
<p><span class="text-info">Other State/Province:</span>       [%origStateOtherContact%]
169
</p>
170

    
171
<p><span class="text-info">Postal Code:</span>               [%origZIPContact%]
172
</p>
173

    
174
<p><span class="text-info">Country:</span>           [%origCountryContact%]
175
</p>
176

    
177

    
178
<hr class="rule" />
179
<a name="DistributionIinformation"></a>
180
<h4>Distribution Information</h4> 
181

    
182
<a name="Site-specificCode"></a>
183
<p><span class="text-info">Data Set Identifiers:</span> 
184

    
185
[% numIdentifier = 0 %]
186
[% IF identifierCount > 0 %]
187
    [% numIdentifier = identifierCount %]
188
[% END %]
189
[% cnt = 1 %]
190
[% WHILE cnt <= numIdentifier %]
191
    [% SET id = "identifierValue${cnt}" %]
192
    <p><span class="text-info">Identifier:</span> [% $id %]</p>
193
    [% cnt = cnt + 1 %]
194
 [% END %]
195

    
196
</p>
197

    
198
<p><span class="text-info">Data Medium:</span>       [%dataMedium%]    <span class="text-info">Other Data Medium</span>: [%dataMediumOther%]
199
</p>
200

    
201

    
202
<p><span class="text-info">Usage Constraints:</span>   [%useConstraints%]    <span class="text-info">Other Usage Constraints:</span>  [%useConstraintsOther%]
203
</p>
204

    
205

    
206
<p><span class="text-info">URL</span>:               [%url%]
207
</p>
208
<p><span class="text-info">Additional Information:</span>  [%addComments%]
209
</p>
210
<hr class="rule" />
211
<p>
212
  All data and metadata are released under either the 
213
  <a href="http://creativecommons.org/publicdomain/zero/1.0/">CC-0 Public Domain Dedication</a>
214
  or the 
215
  <a href="http://creativecommons.org/licenses/by/4.0/">
216
    Creative Commons Attribution 4.0 International License
217
  </a>. 
218
  As a repository dedicated to helping researchers increase collaboration 
219
  and the pace of science, this repository needs certain rights to copy, store, 
220
  and redistribute data. By uploading data, metadata, and any other content to 
221
  this repository, you warrant that you own any rights to the content and are 
222
  authorized to do so under copyright or any other right that might pertain 
223
  to the content. 
224
  <a href="http://www.bitlaw.com/copyright/database.html">
225
    Data and facts themselves are not covered under copyright
226
  </a> 
227
  in the US and most countries, since facts in and of themselves are not 
228
  eligible for copyright. That said, some associated metadata and some 
229
  particular compilations of data could potentially be covered by copyright 
230
  in some jurisdictions. By uploading content, you grant this repository and 
231
  UCSB all rights needed to copy, store, redistribute, and share data, metadata, 
232
  and any other content. By marking content as publicly available, you grant this 
233
  repository, UCSB, and any other users the right to copy the content and redistribute 
234
  it to the public without restriction under the terms of the 
235
  <a href="http://creativecommons.org/licenses/by/4.0/">
236
    Creative Commons Attribution 4.0 International License
237
  </a> 
238
  or the 
239
  <a href="http://creativecommons.org/publicdomain/zero/1.0/">CC-0 Public Domain Dedication</a>, 
240
  depending on which you choose at the time of upload.
241
</p>
242
<form id="confirmForm" action="[% cgiPrefix %]/register-dataset.cgi" method="post">
243
  <input type="hidden" name="cfg" value="[% cfg %]" />
244
  <input type="hidden" name="docid" value="[% docid %]" />
245
  <input type="hidden" name="stage" value="confirmed" />
246
  <input type="hidden" name="providerGivenName" value="[%providerGivenName%]" />
247
  <input type="hidden" name="providerSurName" value="[%providerSurName%]"/>
248
  <input type="hidden" name="site" value="[%site%]"/>
249
  [% IF cfg == 'nceas' %]
250
      [% FOREACH group = wg %]
251
          <input type="hidden" name="wg" value="[%group%]" />
252
      [% END %]
253
  [% END %]
254

    
255
  [% cnt = 1 %]
256
  [% WHILE cnt <= numIdentifier %]
257
      [% SET id = "identifierValue${cnt}" %]
258
      <input type="hidden" name="[% id %]" value="[% $id %]" />
259
      <input type="hidden" name="identifier" value="[% $id %]" />
260
      [% cnt = cnt + 1 %]
261
  [% END %]  
262
  <input type="hidden" name="identifierCount" value="[% identifierCount %]" />
263

    
264
  <input type="hidden" name="title" value="[%title%]" />
265
  <input type="hidden" name="origNamefirst0" value="[%origNamefirst0%]" />
266
  <input type="hidden" name="origNamelast0" value="[%origNamelast0%]" />
267
  <input type="hidden" name="origNameOrg" value="[%origNameOrg%]" />
268
  <input type="hidden" name="origRole0" value="[%origRole0%]" />
269
  <input type="hidden" name="origDelivery" value="[%origDelivery%]" />
270
  <input type="hidden" name="origCity" value="[%origCity%]" /> 
271
  <input type="hidden" name="origState" value="[%origState%]" />
272
  <input type="hidden" name="origStateOther" value="[%origStateOther%]" />
273
  <input type="hidden" name="origZIP" value="[%origZIP%]" />
274
  <input type="hidden" name="origCountry" value="[%origCountry%]" />
275
  <input type="hidden" name="origPhone" value="[%origPhone%]" />
276
  <input type="hidden" name="origFAX" value="[%origFAX%]"/>
277
  <input type="hidden" name="origEmail" value="[%origEmail%]" />
278
  <input type="hidden" name="useOrigAddress" value="[%useOrigAddress%]" />
279
  <input type="hidden" name="origNamefirstContact" value="[%origNamefirstContact%]" />
280
  <input type="hidden" name="origNamelastContact" value="[%origNamelastContact%]" />
281
  <input type="hidden" name="origNameOrgContact" value="[%origNameOrgContact%]" />
282
  <input type="hidden" name="origDeliveryContact" value="[%origDeliveryContact%]" />
283
  <input type="hidden" name="origCityContact" value="[%origCityContact%]" /> 
284
  <input type="hidden" name="origStateContact" value="[%origStateContact%]" />
285
  <input type="hidden" name="origStateOtherContact" value="[%origStateOtherContact%]" />
286
  <input type="hidden" name="origZIPContact" value="[%origZIPContact%]"/>
287
  <input type="hidden" name="origCountryContact" value="[%origCountryContact%]" />
288
  <input type="hidden" name="origPhoneContact" value="[%origPhoneContact%]" />
289
  <input type="hidden" name="origFAXContact" value="[%origFAXContact%]" />
290
  <input type="hidden" name="origEmailContact" value="[%origEmailContact%]" />
291
  <input type="hidden" name="aoCount" value="[%aoCount%]" />
292
  [% cnt = 1 %]
293
  [% WHILE cnt <= numAO %]
294
      [% SET origNamefirst = "origNamefirst${cnt}" %]
295
      [% SET origNamelast = "origNamelast${cnt}" %]
296
      [% SET origRole = "origRole${cnt}" %]
297
      <input type="hidden" name="[% origNamefirst %]" value="[% $origNamefirst %]" />
298
      <input type="hidden" name="[% origNamelast %]" value="[% $origNamelast %]" />
299
      <input type="hidden" name="[% origRole %]" value="[% $origRole %]" />
300
      [% cnt = cnt + 1 %]
301
  [% END %]
302
  <input type="hidden" name="abstract" value="[%abstract%]" />
303
  <input type="hidden" name="keyCount" value="[%keyCount%]" />
304
  [% cnt = 1 %]
305
  [% WHILE cnt <= numKey %]
306
      [% SET kyd = "keyword${cnt}" %]
307
      [% SET keyType = "kwType${cnt}" %]
308
      [% SET keyTh = "kwTh${cnt}" %]
309
      <input type="hidden" name="[% kyd %]" value="[% $kyd %]" />
310
      <input type="hidden" name="[% keyType %]" value="[% $keyType %]" />
311
      <input type="hidden" name="[% keyTh %]" value="[% $keyTh %]" />
312
      [% cnt = cnt + 1 %]
313
  [% END %]
314
  <input type="hidden" name="addComments" value="[%addComments%]" />
315
  <input type="hidden" name="useConstraints" value="[%useConstraints%]" />
316
  <input type="hidden" name="useConstraintsOther" value="[%useConstraintsOther%]" />
317
  <input type="hidden" name="url" value="[%url%]" />
318
  <input type="hidden" name="dataMedium" value="[%dataMedium%]" />
319
  <input type="hidden" name="dataMediumOther" value="[%dataMediumOther%]" />
320
  <input type="hidden" name="beginningYear" value="[%beginningYear%]" />
321
  <input type="hidden" name="beginningMonth" value="[%beginningMonth%]" />
322
  <input type="hidden" name="beginningDay" value="[%beginningDay%]" />
323
  <input type="hidden" name="endingYear" value="[%endingYear%]" />
324
  <input type="hidden" name="endingMonth" value="[%endingMonth%]" />
325
  <input type="hidden" name="endingDay" value="[%endingDay%]" />
326
  <input type="hidden" name="geogdesc" value="[%geogdesc%]" />
327
  <input type="hidden" name="useSiteCoord" value="[%useSiteCoord%]" />
328
  <input type="hidden" name="latDeg1" value="[% latDeg1 %]" />
329
  <input type="hidden" name="latMin1" value="[%latMin1%]" />
330
  <input type="hidden" name="latSec1" value="[%latSec1%]" />
331
  <input type="hidden" name="hemisphLat1" value="[%hemisphLat1%]" />	
332
  <input type="hidden" name="longDeg1" value="[% longDeg1 %]" />
333
  <input type="hidden" name="longMin1" value="[%longMin1%]" />
334
  <input type="hidden" name="longSec1" value="[%longSec1%]" />
335
  <input type="hidden" name="hemisphLong1" value="[%hemisphLong1%]" />
336
  <input type="hidden" name="latDeg2" value="[%latDeg2%]" />
337
  <input type="hidden" name="latMin2" value="[%latMin2%]" />
338
  <input type="hidden" name="latSec2" value="[%latSec2%]" />
339
  <input type="hidden" name="hemisphLat2" value="[%hemisphLat2%]" />	
340
  <input type="hidden" name="longDeg2" value="[%longDeg2%]" />
341
  <input type="hidden" name="longMin2" value="[%longMin2%]" />
342
  <input type="hidden" name="longSec2" value="[%longSec2%]" />
343
  <input type="hidden" name="hemisphLong2" value="[%hemisphLong2%]" />
344
  <input type="hidden" name="taxaCount" value="[%taxaCount%]" />
345
  <input type="hidden" name="userLoggedIn" value="[%userLoggedIn%]" />
346
  [% cnt = 1 %]
347
  [% WHILE cnt <= numTaxa %]
348
      [% SET trn = "taxonRankName${cnt}" %]
349
      [% SET trv = "taxonRankValue${cnt}" %]
350
      <input type="hidden" name="[% trn %]" value="[% $trn %]" />
351
      <input type="hidden" name="[% trv %]" value="[% $trv %]" />
352
      [% cnt = cnt + 1 %]
353
  [% END %]
354
  <input type="hidden" name="taxaAuth" value="[%taxaAuth%]" />
355

    
356
  <input type="hidden" name="methodTitle" value="[%methodTitle%]" />
357
  [% FOREACH para = methodPara %]
358
      <input type="hidden" name="methodPara" value="[%para%]" />
359
  [% END %]
360
  <input type="hidden" name="studyExtentDescription" value="[%studyExtentDescription%]" />
361
  <input type="hidden" name="samplingDescription" value="[%samplingDescription%]" />
362
  <input type="hidden" name="upCount" value="[%upCount%]" />
363
  <input type="hidden" name="delCount" value="[% delCount %]" />
364
  [% dCount = 0 %]
365
  [% IF delCount > 0 %]
366
     [% dCount = delCount %]
367
  [% END %]
368
  [% cnt = 0 %]
369
  [% WHILE cnt < dCount %]
370
 		  [% SET delfile = "deletefile_${cnt}" %]
371
      		<input type="hidden" name="[% delfile %]" value="[% $delfile %]" />
372
			<input type="hidden" name="deletefile" value="[% $delfile %]" />
373
			[% cnt = cnt + 1 %]
374
	[% END %]		
375

    
376
  [% fCount = 0 %]
377
  [% IF upCount > 0 %]
378
      [% fCount = upCount %]
379
  [% END %]
380

    
381
  [% cnt = 0 %]
382
  [% WHILE cnt < fCount %]
383
      [% SET fileSum = "upload_${cnt}" %]
384
      [% SET fileName = "uploadname_${cnt}" %]
385
      [% SET fileType = "uploadtype_${cnt}" %] 
386
      [% SET filePerm = "uploadperm_${cnt}" %]
387

    
388
      [% IF fileSum %]
389
        <input type="hidden" name="[% fileSum %]" value="[% $fileSum %]" />
390
        <input type="hidden" name="[% fileName %]" value="[% $fileName %]" />
391
        <input type="hidden" name="[% fileType %]" value="[% $fileType %]" />
392
        <input type="hidden" name="[% filePerm %]" value="[% $filePerm %]" />
393
      [% END %]
394
      [% cnt = cnt + 1 %]
395
  [% END %]
396
  
397
  	<!-- form submission -->
398
	<a name="buttons"></a>
399
	<p><span class="text-info">Is the information above correct?</span></p> 
400
	<input id="dataCorrect" type="button" class="btn" value="     Yes, submit    " name="dataCorrect" />
401
	<input id="dataWrongButton" type="button" class="btn" value="No, go back to editing" />
402
	<input id="dataWrong" name="dataWrong" type="hidden" class="btn" value="TBD" />
403

    
404
</form>
405

    
406
[% IF userLoggedIn != 'true' %]
407

    
408
			<div class="row-fluid">
409
				<div class="span6 pagination-left">
410
					<h2>Login</h2>
411
					<p class="lead">
412
						<em>NOTE:</em> You must enter your username and password. 
413
					</p>
414
					<p>	
415
						This is for the protection of your metadata. 
416
						The username and password will prevent any unauthorized person from
417
						modifying your metadata.
418
					</p>
419
  
420
					<form method="post" action="[% cgiPrefix %]/register-dataset.cgi" onsubmit="return submitform(this);" >
421
						<input type="hidden" name="stage" value="login" /> 
422
						<input type="hidden" name="username" value="" /> 
423
						<input type="hidden" name="cfg" value="[%cfg%]" /> 
424
					
425
					
426
					<table class="table table-bordered table-striped teble-condensed">
427
					    <tr>
428
					      <td colspan="4">Geographic Description: [%- geogdesc -%]</td>
429
					    </tr>
430
					    <tr> 
431
					      <td colspan="4">First lat/long pair:</td>
432
					    </tr>
433
					    <tr> 
434
					      <td>Latitude</td>
435
					      <td>North/South</td>
436
					      <td>Longitude</td>
437
					      <td>West/East</td>
438
					    </tr>
439
					    <tr> 
440
					      <td>[%latDeg1%] [%latMin1%]' [%latSec1%]&quot;</td>
441
					      <td>[%hemisphLat1%]</td>
442
					      <td>[%longDeg1%] [%longMin1%]' [%longSec1%]&quot;</td>
443
					      <td>[%hemisphLong1%]</td>
444
					    </tr>
445
					    [% IF latDeg2 %]
446
					    	<tr> 
447
					    	  <td colspan="4">The second lat/long pair:</td>
448
					    	</tr>
449
					    	<tr> 
450
					    	  <td>Latitude</td>
451
					    	  <td>North/South</td>
452
					    	  <td>Longitude</td>
453
					    	  <td>West/East</td>
454
					    	</tr>
455
					    	<tr>
456
					    	  <td>[%latDeg2%] [%latMin2%]' [%latSec2%]&quot;</td>
457
					    	  <td>[%hemisphLat2%]</td>
458
					    	  <td>[%longDeg2%] [%longMin2%]' [%longSec2%]&quot;</td>
459
					    	  <td>[%hemisphLong2%]</td>
460
					    	</tr>
461
					    [% END %]
462
					 </table>
463
				[% END %]
464
      	
465
				[% IF modules.taxonomic == 'true' %]
466
				    [% numTaxa = 0 %]
467
				    [% IF taxaCount > 0 %]
468
				        [% numTaxa = taxaCount %]
469
				    [% END %]
470
				    <a name="Taxonomic Coverage"></a>
471
				    <h4>Taxonomic Coverage of Data</h4>
472
				    [% cnt = 1 %]
473
						<table class="table table-bordered table-striped teble-condensed">
474
				    	[% WHILE cnt <= numTaxa %]
475
				    		[% SET trn = "taxonRankName${cnt}" %]
476
				    		[% SET trv = "taxonRankValue${cnt}" %]
477
								<tr><td>Taxon:</td><td>[%- $trn -%]</td><td>[% $trv %]</td></tr>
478
				    		[% cnt = cnt + 1 %]
479
				    	[% END %]
480
						</table>
481
						[% IF taxaAuth %]
482
				    	<p>Taxonomic Reference: [%- taxaAuth -%]</p>
483
						[% END %]
484
				[% END %]
485
      	
486
				[% IF modules.method == 'true' %]
487
					<a name="Methods"></a>
488
					<h4>Data Collection Methods</h4>
489
					<h5>Method Title: [%- methodTitle -%]</h5>
490
					[% FOREACH para = methodPara %]
491
					    <p>[%- para -%]</p>
492
					[% END %]
493
					<h5>Extent of Study Description:</h5>
494
					<p>[%- studyExtentDescription -%]</p>
495
					<h5>Sampling Description:</h5>
496
					<p>[%- samplingDescription -%]</p>
497
				[% END %]
498
      	
499
				[% IF modules.upload == 'true' && upCount %]
500
					 <a name="Upload Data"></a>
501
					  <h4>Upload Data</h4>
502
				    
503
				    [% cnt = 0 %]
504
						<table class="table table-bordered table-striped table-condensed">
505
				    	[% WHILE cnt < upCount %]
506
				    	    [% SET fileName = "uploadname_${cnt}" %]
507
				    	    [% SET filePerm = "uploadperm_${cnt}" %]
508
				    	    [% cnt = cnt + 1 %]
509
				    		<tr>
510
									<td>File #[% cnt %]:</td>
511
									<td>[% $fileName %]</td>
512
									<td>[% $filePerm %] access</td>
513
									<td>
514
										[% dCount = 0 %]
515
										[% IF delCount > 0 %]
516
											 [% dCount = delCount %]
517
										[% END %]
518
										[% cntd = 0 %]
519
										[% WHILE cntd < dCount %]
520
												[% SET delfile = "deletefile_${cntd}" %]
521
												[% IF $delfile == fileName %]
522
													to be removed
523
												[% END %]
524
												[% cntd = cntd + 1 %]
525
				  					[% END %]   
526
									</td>
527
								</tr>
528
				    	[% END %]						
529
						</table>
530
				[% END %]
531
      	
532
				<a name="DistributionIinformation"></a>
533
				<h4>Distribution Information</h4> 
534
				
535
				<a name="Site-specificCode"></a>
536
				[% IF identifierCount > 0 %]
537
					<h5>Data Set Identifiers:</h5>
538
					
539
					[% numIdentifier = 0 %]
540
					[% numIdentifier = identifierCount %]
541
					[% cnt = 1 %]
542
					<table class="table table-bordered table-striped table-condensed">
543
						[% WHILE cnt <= numIdentifier %]
544
							[% SET id = "identifierValue${cnt}" %]
545
							<tr><td>Identifier:</td><td>[% $id %]</td></tr>
546
							[% cnt = cnt + 1 %]
547
						[% END %]						
548
					</table>
549
				[% END %]
550
				
551
				</p>
552
				
553
				<p>Data Medium: [%dataMedium%]</p>
554
				<p>Other Data Medium: [%- dataMediumOther -%]</p>
555
				
556
				<p>Usage Constraints: [%- useConstraints -%]</p>
557
				<p>Other Usage Constraints: [%- useConstraintsOther -%]</p>
558
				<p>URL: [%url%]</p>
559
				<p>Additional Information: [%addComments%]</p>
560
				<p>
561
				  All data and metadata are released under either the 
562
				  <a href="http://creativecommons.org/publicdomain/zero/1.0/">CC-0 Public Domain Dedication</a>
563
				  or the 
564
				  <a href="http://creativecommons.org/licenses/by/4.0/">
565
				    Creative Commons Attribution 4.0 International License
566
				  </a>. 
567
				  As a repository dedicated to helping researchers increase collaboration 
568
				  and the pace of science, this repository needs certain rights to copy, store, 
569
				  and redistribute data. By uploading data, metadata, and any other content to 
570
				  this repository, you warrant that you own any rights to the content and are 
571
				  authorized to do so under copyright or any other right that might pertain 
572
				  to the content. 
573
				  <a href="http://www.bitlaw.com/copyright/database.html">
574
				    Data and facts themselves are not covered under copyright
575
				  </a> 
576
				  in the US and most countries, since facts in and of themselves are not 
577
				  eligible for copyright. That said, some associated metadata and some 
578
				  particular compilations of data could potentially be covered by copyright 
579
				  in some jurisdictions. By uploading content, you grant this repository and 
580
				  UCSB all rights needed to copy, store, redistribute, and share data, metadata, 
581
				  and any other content. By marking content as publicly available, you grant this 
582
				  repository, UCSB, and any other users the right to copy the content and redistribute 
583
				  it to the public without restriction under the terms of the 
584
				  <a href="http://creativecommons.org/licenses/by/4.0/">
585
				    Creative Commons Attribution 4.0 International License
586
				  </a> 
587
				  or the 
588
				  <a href="http://creativecommons.org/publicdomain/zero/1.0/">CC-0 Public Domain Dedication</a>, 
589
				  depending on which you choose at the time of upload.
590
				</p>
591
				<form id="confirmForm" action="[% cgiPrefix %]/register-dataset.cgi" method="post">
592
				  <input type="hidden" name="cfg" value="[% cfg %]" />
593
				  <input type="hidden" name="docid" value="[% docid %]" />
594
				  <input type="hidden" name="stage" value="confirmed" />
595
				  <input type="hidden" name="providerGivenName" value="[%providerGivenName%]" />
596
				  <input type="hidden" name="providerSurName" value="[%providerSurName%]"/>
597
				  <input type="hidden" name="site" value="[%site%]"/>
598
				  [% IF cfg == 'nceas' %]
599
				      [% FOREACH group = wg %]
600
				          <input type="hidden" name="wg" value="[%group%]" />
601
				      [% END %]
602
				  [% END %]
603
				
604
				  [% cnt = 1 %]
605
				  [% WHILE cnt <= numIdentifier %]
606
				      [% SET id = "identifierValue${cnt}" %]
607
				      <input type="hidden" name="[% id %]" value="[% $id %]" />
608
				      <input type="hidden" name="identifier" value="[% $id %]" />
609
				      [% cnt = cnt + 1 %]
610
				  [% END %]  
611
				  <input type="hidden" name="identifierCount" value="[% identifierCount %]" />
612
				
613
				  <input type="hidden" name="funding" value="[%funding%]" /> 
614
				  <input type="hidden" name="title" value="[%title%]" />
615
				  <input type="hidden" name="useOrigAddress" value="[%useOrigAddress%]" />
616
				  <input type="hidden" name="partyCount" value="[% partyCount %]" />
617
				
618
				
619
				  [% cnt = 0 %]
620
				  [% WHILE cnt <= partyCount %]
621
						[% SET partyId         = "partyId${cnt}" %]
622
						[% SET partyFirstName  = "partyFirstName${cnt}" %]
623
						[% SET partyLastName   = "partyLastName${cnt}" %]
624
						[% SET partyRole       = "partyRole${cnt}" %]
625
						[% SET partyOrgName    = "partyOrgName${cnt}" %]
626
						[% SET partyPositionName = "partyPositionName${cnt}" %]
627
						[% SET partyEmail      = "partyEmail${cnt}" %]
628
						[% SET partyURL        = "partyURL${cnt}" %]
629
						[% SET partyPhone      = "partyPhone${cnt}" %]
630
						[% SET partyFAX        = "partyFAX${cnt}" %]
631
						[% SET partyDelivery   = "partyDelivery${cnt}" %]
632
						[% SET partyCity       = "partyCity${cnt}" %]
633
						[% SET partyState      = "partyState${cnt}" %]
634
						[% SET partyStateOther = "partyStateOther${cnt}" %] 
635
						[% SET partyZIP        = "partyZIP${cnt}" %]
636
						[% SET partyCountry    = "partyCountry${cnt}" %]
637
						
638
						<input type="hidden" name="[% partyId         %]" value="[% $partyId         %]" /> 	
639
						<input type="hidden" name="[% partyFirstName  %]" value="[% $partyFirstName  %]" /> 	
640
						<input type="hidden" name="[% partyLastName  	%]" value="[% $partyLastName   %]" />	
641
						<input type="hidden" name="[% partyRole     	%]" value="[% $partyRole       %]" />	
642
						<input type="hidden" name="[% partyOrgName   	%]" value="[% $partyOrgName    %]" />	
643
						<input type="hidden" name="[% partyPositionName %]" value="[% $partyPositionName %]" />	
644
						<input type="hidden" name="[% partyEmail     	%]" value="[% $partyEmail      %]" />	
645
						<input type="hidden" name="[% partyURL      	%]" value="[% $partyURL        %]" />	
646
						<input type="hidden" name="[% partyPhone     	%]" value="[% $partyPhone      %]" />	
647
						<input type="hidden" name="[% partyFAX       	%]" value="[% $partyFAX        %]" />	
648
						<input type="hidden" name="[% partyDelivery  	%]" value="[% $partyDelivery   %]" />	
649
						<input type="hidden" name="[% partyCity      	%]" value="[% $partyCity       %]" />	
650
						<input type="hidden" name="[% partyState     	%]" value="[% $partyState      %]" />	
651
						<input type="hidden" name="[% partyStateOther	%]" value="[% $partyStateOther %]" />	
652
						<input type="hidden" name="[% partyZIP       	%]" value="[% $partyZIP        %]" />	
653
						<input type="hidden" name="[% partyCountry   	%]" value="[% $partyCountry    %]" />			
654
				
655
						<input type="hidden" name="partyFirstName" value="[% $partyFirstName %]" /> 	
656
						<input type="hidden" name="partyLastName" value="[% $partyLastName %]" />	
657
						<input type="hidden" name="partyRole" value="[% $partyRole %]" />	
658
						<input type="hidden" name="partyOrgName" value="[% $partyOrgName %]" />	
659
						<input type="hidden" name="partyPositionName" value="[% $partyPositionName %]" />	
660
						<input type="hidden" name="partyEmail" value="[% $partyEmail %]" />	
661
						<input type="hidden" name="partyURL" value="[% $partyURL %]" />	
662
						<input type="hidden" name="partyPhone" value="[% $partyPhone %]" />	
663
						<input type="hidden" name="partyFAX" value="[% $partyFAX %]" />	
664
						<input type="hidden" name="partyDelivery" value="[% $partyDelivery %]" />	
665
						<input type="hidden" name="partyCity" value="[% $partyCity %]" />	
666
						<input type="hidden" name="partyState" value="[% $partyState %]" />	
667
						<input type="hidden" name="partyStateOther" value="[% $partyStateOther %]" />	
668
						<input type="hidden" name="partyZIP" value="[% $partyZIP %]" />	
669
						<input type="hidden" name="partyCountry" value="[% $partyCountry %]" />			
670
				
671
				  	[% cnt = cnt + 1 %]
672
				  [% END %]
673
					
674
				  <input type="hidden" name="abstract" value="[%abstract%]" />
675
				  <input type="hidden" name="keyCount" value="[%keyCount%]" />
676
				  [% cnt = 1 %]
677
				  [% WHILE cnt <= numKey %]
678
				      [% SET kyd = "keyword${cnt}" %]
679
				      [% SET keyType = "kwType${cnt}" %]
680
				      [% SET keyTh = "kwTh${cnt}" %]
681
				      <input type="hidden" name="[% kyd %]" value="[% $kyd %]" />
682
				      <input type="hidden" name="[% keyType %]" value="[% $keyType %]" />
683
				      <input type="hidden" name="[% keyTh %]" value="[% $keyTh %]" />
684
				      [% cnt = cnt + 1 %]
685
				  [% END %]
686
				  <input type="hidden" name="addComments" value="[%addComments%]" />
687
				  <input type="hidden" name="useConstraints" value="[%useConstraints%]" />
688
				  <input type="hidden" name="useConstraintsOther" value="[%useConstraintsOther%]" />
689
				  <input type="hidden" name="url" value="[%url%]" />
690
				  <input type="hidden" name="dataMedium" value="[%dataMedium%]" />
691
				  <input type="hidden" name="dataMediumOther" value="[%dataMediumOther%]" />
692
				  <input type="hidden" name="beginningYear" value="[%beginningYear%]" />
693
				  <input type="hidden" name="beginningMonth" value="[%beginningMonth%]" />
694
				  <input type="hidden" name="beginningDay" value="[%beginningDay%]" />
695
				  <input type="hidden" name="endingYear" value="[%endingYear%]" />
696
				  <input type="hidden" name="endingMonth" value="[%endingMonth%]" />
697
				  <input type="hidden" name="endingDay" value="[%endingDay%]" />
698
				  <input type="hidden" name="geogdesc" value="[%geogdesc%]" />
699
				  <input type="hidden" name="useSiteCoord" value="[%useSiteCoord%]" />
700
				  <input type="hidden" name="latDeg1" value="[% latDeg1 %]" />
701
				  <input type="hidden" name="latMin1" value="[%latMin1%]" />
702
				  <input type="hidden" name="latSec1" value="[%latSec1%]" />
703
				  <input type="hidden" name="hemisphLat1" value="[%hemisphLat1%]" />	
704
				  <input type="hidden" name="longDeg1" value="[% longDeg1 %]" />
705
				  <input type="hidden" name="longMin1" value="[%longMin1%]" />
706
				  <input type="hidden" name="longSec1" value="[%longSec1%]" />
707
				  <input type="hidden" name="hemisphLong1" value="[%hemisphLong1%]" />
708
				  <input type="hidden" name="latDeg2" value="[%latDeg2%]" />
709
				  <input type="hidden" name="latMin2" value="[%latMin2%]" />
710
				  <input type="hidden" name="latSec2" value="[%latSec2%]" />
711
				  <input type="hidden" name="hemisphLat2" value="[%hemisphLat2%]" />	
712
				  <input type="hidden" name="longDeg2" value="[%longDeg2%]" />
713
				  <input type="hidden" name="longMin2" value="[%longMin2%]" />
714
				  <input type="hidden" name="longSec2" value="[%longSec2%]" />
715
				  <input type="hidden" name="hemisphLong2" value="[%hemisphLong2%]" />
716
				  <input type="hidden" name="taxaCount" value="[%taxaCount%]" />
717
				  <input type="hidden" name="userLoggedIn" value="[%userLoggedIn%]" />
718
				  [% cnt = 1 %]
719
				  [% WHILE cnt <= numTaxa %]
720
				      [% SET trn = "taxonRankName${cnt}" %]
721
				      [% SET trv = "taxonRankValue${cnt}" %]
722
				      <input type="hidden" name="[% trn %]" value="[% $trn %]" />
723
				      <input type="hidden" name="[% trv %]" value="[% $trv %]" />
724
				      [% cnt = cnt + 1 %]
725
				  [% END %]
726
				  <input type="hidden" name="taxaAuth" value="[%taxaAuth%]" />
727
				
728
				  <input type="hidden" name="methodTitle" value="[%methodTitle%]" />
729
				  [% FOREACH para = methodPara %]
730
				      <input type="hidden" name="methodPara" value="[%para%]" />
731
				  [% END %]
732
				  <input type="hidden" name="studyExtentDescription" value="[%studyExtentDescription%]" />
733
				  <input type="hidden" name="samplingDescription" value="[%samplingDescription%]" />
734
				  <input type="hidden" name="upCount" value="[%upCount%]" />
735
				  <input type="hidden" name="delCount" value="[% delCount %]" />
736
				  [% dCount = 0 %]
737
				  [% IF delCount > 0 %]
738
				     [% dCount = delCount %]
739
				  [% END %]
740
				  [% cnt = 0 %]
741
				  [% WHILE cnt < dCount %]
742
				 		  [% SET delfile = "deletefile_${cnt}" %]
743
				      		<input type="hidden" name="[% delfile %]" value="[% $delfile %]" />
744
							<input type="hidden" name="deletefile" value="[% $delfile %]" />
745
							[% cnt = cnt + 1 %]
746
					[% END %]		
747
				
748
				  [% fCount = 0 %]
749
				  [% IF upCount > 0 %]
750
				      [% fCount = upCount %]
751
				  [% END %]
752
				
753
				  [% cnt = 0 %]
754
				  [% WHILE cnt < fCount %]
755
				      [% SET fileSum = "upload_${cnt}" %]
756
				      [% SET fileName = "uploadname_${cnt}" %]
757
				      [% SET fileType = "uploadtype_${cnt}" %] 
758
				      [% SET filePerm = "uploadperm_${cnt}" %]
759
				
760
				      [% IF fileSum %]
761
				        <input type="hidden" name="[% fileSum %]" value="[% $fileSum %]" />
762
				        <input type="hidden" name="[% fileName %]" value="[% $fileName %]" />
763
				        <input type="hidden" name="[% fileType %]" value="[% $fileType %]" />
764
				        <input type="hidden" name="[% filePerm %]" value="[% $filePerm %]" />
765
				      [% END %]
766
				      [% cnt = cnt + 1 %]
767
				  [% END %]
768
				  
769
				  	<!-- form submission -->
770
					<a name="buttons"></a>
771
					<p><strong>Is the information above correct?</strong></p> 
772
					<input id="dataCorrect" type="button" class="btn" value="     Yes, submit    " name="dataCorrect" />
773
					<input id="dataWrongButton" type="button" class="btn" value="No, go back to editing" />
774
					<input id="dataWrong" name="dataWrong" type="hidden" class="btn" value="TBD" />
775
				
776
				</form>
777
			</div>
778
		</div>
779
	</article>
780