Project

General

Profile

1 7867 leinfelder
[% INCLUDE $templates.header %]
2
3
  <script language="JavaScript">
4
	    var contextUrl = '[% contextUrl %]';
5
	</script>
6 7868 leinfelder
  <script language="JavaScript" type="text/javascript" src="[% styleCommonPath %]/templates/metacatui/entryForm.js">
7 7867 leinfelder
  </script>
8
9 7889 leinfelder
	<!-- CONTENT SECTION
10
    ======================================================================= -->
11
	<article id="EntryForm">
12
		<div class="container">
13
14
			<div class="row-fluid">
15
16
				[% IF form != 're_entry' %]
17
18
					<h2>Upload your data</h2>
19
					<p class="lead">
20
						Use this form to submit a new data package to the repository.
21
					</p>
22
23
				[% ELSE %]
24
25
					<h2>Edit your data</h2>
26
					<p class="lead">
27
						Use this form to edit a data package submitted earlier.
28
					</p>
29
30
					[%IF docid !=''%]
31
						<p>
32
							The ID of this data set is: <a href="[% metacatUrl %]?action=read&qformat=[% cfg %]&docid=[% docid %]">[% docid %]</a>
33
						</p>
34 7921 leinfelder
					[%END%]
35 7889 leinfelder
36
				[% END %]
37
38
				<p>
39
					Please have a look at the
40
					<a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide" target="guide">
41
					Guide for Completing the Data Repository Form</a>
42
	        		before you start filling in this form. Also, use your browser's
43
	        		Reload/Refresh function to make sure you see the latest version of this
44
	        		page.
45
				</p>
46
				<p>
47
					If you have any questions, comments or problems
48
					regarding this form, please contact the repository administrator at
49
					<a href="mailto:[% email.recipient %]">[% email.recipient %]</a>
50
				</p>
51
				<p class="text-info">*Denotes a required field.</p>
52
			</div>
53 7867 leinfelder
54 7896 leinfelder
			<!--  the main form -->
55
			<div class="row-fluid">
56
57 7929 leinfelder
				<form action="[% cgiPrefix %]/register-dataset.cgi" enctype="multipart/form-data" method="post" class="form-horizontal">
58
					<input type="hidden" name="cfg" value="[% cfg %]">
59
					<input type="hidden" name="docid" value="[% docid %]">
60
					<input type="hidden" name="stage" value="insert">
61 7867 leinfelder
62 7896 leinfelder
  				<div class="accordion" id="entryFormAccordian">
63
					<div class="accordion-group">
64
65
						<!-- SUBMITTER -->
66
						<div class="accordion-heading">
67
							<a class="accordion-toggle" data-toggle="collapse" data-target="#collapseSubmitter" href="#none">
68
								Submitter
69
							</a>
70
							<a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#Submitter"><i class="icon-question-sign"></i></a>
71
						</div>
72
						<div id="collapseSubmitter" class="accordion-body collapse in">
73
							<div class="accordion-inner">
74
								<!--  the INPUT -->
75
								<div class="control-group">
76
									<label class="control-label" for="providerGivenName">*First Name</label>
77
									<div class="controls">
78
										<input type="text" name="providerGivenName" value="[%providerGivenName%]">
79
									</div>
80
								</div>
81
								<div class="control-group">
82
									<label class="control-label" for="providerSurName">*Last Name</label>
83
									<div class="controls">
84
										<input type="text" name="providerSurName" value="[%providerSurName%]">
85
									</div>
86
								</div>
87
88
						    </div>
89
						</div>
90
91
						<!-- BASIC -->
92
						<div class="accordion-heading">
93
							<a class="accordion-toggle" data-toggle="collapse" data-target="#collapseBasic" href="#none">
94
								Basic Information
95
							</a>
96
							<a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#BasicInformation"><i class="icon-question-sign"></i></a>
97
						</div>
98
						<div id="collapseBasic" class="accordion-body collapse in">
99
							<div class="accordion-inner">
100
								<!--  the INPUT -->
101
								<div class="control-group">
102
									<label class="control-label" for="title">*Data Set Title</label>
103
									<div class="controls">
104
										<input type="text" name="title" value="[%title%]">
105
									</div>
106
								</div>
107
								[% IF show.siteList == 'true' %]
108
									<div class="control-group">
109
										<label class="control-label" for="site">*[% config.site | ucfirst %] Name</label>
110
										<div class="controls">
111
											<select name="site">
112
												[% IF form == 're_entry' %]
113
													<option selected>[%site%]</option>
114
												[% ELSE %]
115
													<option>Select your [% config.site %] here.</option>
116
												[% END %]
117
												[% FOREACH site = siteList %]
118
													<option>[% site %]</option>
119
												[% END %]
120
											</select>
121
										</div>
122
									</div>
123
								[% END %]
124
								[% IF show.wgList == 'true' %]
125
									<div class="control-group">
126
										<label class="control-label" for="site">*NCEAS Project(s):</label>
127
										<div class="controls">
128
											<select name="wg" multiple="multiple" size="5">
129
												[% FOREACH project = projects %]
130
													[% SET pname = $project.3 %]
131
													[% IF pname.length > 50 %]
132
														[% SET sname = $project.4 %]
133
													[% END %]
134
													[% SET label = "NCEAS ${project.0}: ${project.1}: $project.4" %]
135
													[% SET value = "NCEAS ${project.0}: ${project.1}: $project.3" %]
136
													[% SET sel = '' %]
137
													[% FOREACH group = wg %]
138
														[% IF group == value %]
139
															[% SET sel = 'selected="selected"' %]
140
														[% END %]
141
													[% END %]
142
													<option value="[% value %]" [% sel %]>[% label %]</option>
143
												[% END %]
144
											</select>
145
										</div>
146
									</div>
147
								[% END %]
148
								[% IF show.organization == 'true' %]
149
									<div class="control-group">
150
										<label class="control-label" for="site">*Organization</label>
151
										<div class="controls">
152
											<input type="text" name="site" value="[%site%]">
153
										</div>
154
									</div>
155
								[% END %]
156
157
						    </div>
158
						</div>
159 7898 leinfelder
160
						<!-- PRINCIPAL DATA SET OWNER -->
161
						<div class="accordion-heading">
162 7902 leinfelder
							<a class="accordion-toggle" data-toggle="collapse" data-target="#collapseOwner" href="#none">
163 7898 leinfelder
								Data Set Owner
164
							</a>
165
							<a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#DataSetOriginator"><i class="icon-question-sign"></i></a>
166
						</div>
167 7902 leinfelder
						<div id="collapseOwner" class="accordion-body collapse in">
168 7898 leinfelder
							<div class="accordion-inner">
169
								<!--  the INPUT -->
170
								<div class="control-group">
171
									<label class="control-label" for="origNamefirst0">*First Name</label>
172
									<div class="controls">
173 7921 leinfelder
										<input type="text" name="origNamefirst0" id="origNameFirst" value="[%origNamefirst0%]">
174 7898 leinfelder
									</div>
175
								</div>
176
								<div class="control-group">
177
									<label class="control-label" for="origNamelast0">*Last Name</label>
178
									<div class="controls">
179 7921 leinfelder
										<input type="text" name="origNamelast0" id="origNameLast" value="[%origNamelast0%]">
180 7898 leinfelder
									</div>
181
								</div>
182
								<div class="control-group">
183
									<label class="control-label" for="origNameOrg">Organization Name</label>
184
									<div class="controls">
185 7921 leinfelder
										<input type="text" name="origNameOrg" id="origNameOrg" value="[%origNameOrg%]">
186 7898 leinfelder
									</div>
187
								</div>
188
								<div class="control-group">
189
									<label class="control-label" for="origEmail">Email</label>
190
									<div class="controls">
191 7921 leinfelder
										<input type="text" name="origEmail" id="origEmail" value="[%origEmail%]">
192 7898 leinfelder
									</div>
193
								</div>
194
								<div class="control-group">
195
									<label class="control-label" for="origPhone">Phone</label>
196
									<div class="controls">
197 7921 leinfelder
										<input type="text" name="origPhone" id="origPhone" value="[%origPhone%]">
198 7898 leinfelder
									</div>
199
								</div>
200
								<div class="control-group">
201
									<label class="control-label" for="origFAX">Fax</label>
202
									<div class="controls">
203 7921 leinfelder
										<input type="text" name="origFAX" id="origFAX" value="[%origFAX%]">
204 7898 leinfelder
									</div>
205
								</div>
206
								<div class="control-group">
207
									<label class="control-label" for="origDelivery">Street Address</label>
208
									<div class="controls">
209
										<textarea id="origDelivery" name="origDelivery">[%origDelivery%]</textarea>
210
										<span class="help-block">(number, street, unit, etc.; comma-separated)</span>
211
									</div>
212
								</div>
213
								<div class="control-group">
214
									<label class="control-label" for="origCity">City</label>
215
									<div class="controls">
216 7921 leinfelder
										<input type="text" name="origCity" id="origCity" value="[%origCity%]">
217 7898 leinfelder
									</div>
218
								</div>
219
								<div class="control-group">
220
									<label class="control-label" for="origState">U.S. State or Territory</label>
221
									<div class="controls">
222
										<select name="origState" id="origState">
223
											[% IF form == 're_entry' %]
224
												<option selected>[%origState%]</option>
225
											[% ELSE %]
226
												<option>Select state or territory here.</option>
227
											[% END %]
228
											<option>Alabama</option>
229
											<option>Alaska</option>
230
											<option>American Samoa</option>
231
											<option>Arizona</option>
232
											<option>Arkansas</option>
233
											<option>California</option>
234
											<option>Colorado</option>
235
											<option>Connecticut</option>
236
											<option>Delaware</option>
237
											<option>District of Columbia</option>
238
											<option>Florida</option>
239
											<option>Georgia</option>
240
											<option>Guam</option>
241
											<option>Hawaii</option>
242
											<option>Idaho</option>
243
											<option>Illinois</option>
244
											<option>Indiana</option>
245
											<option>Iowa</option>
246
											<option>Kansas</option>
247
											<option>Kentucky</option>
248
											<option>Louisiana</option>
249
											<option>Maine</option>
250
											<option>Maryland</option>
251
											<option>Massachusetts</option>
252
											<option>Michigan</option>
253
											<option>Minnesota</option>
254
											<option>Mississippi</option>
255
											<option>Missouri</option>
256
											<option>Montana</option>
257
											<option>Nebraska</option>
258
											<option>Nevada</option>
259
											<option>New Hampshire</option>
260
											<option>New Jersey</option>
261
											<option>New Mexico</option>
262
											<option>New York</option>
263
											<option>North Carolina</option>
264
											<option>North Dakota</option>
265
											<option>Northern Mariana Islands</option>
266
											<option>Ohio</option>
267
											<option>Oklahoma</option>
268
											<option>Oregon</option>
269
											<option>Pennsylvania</option>
270
											<option>Puerto Rico</option>
271
											<option>Rhode Island</option>
272
											<option>South Carolina</option>
273
											<option>South Dakota</option>
274
											<option>Tennessee</option>
275
											<option>Texas</option>
276
											<option>Utah</option>
277
											<option>Vermont</option>
278
											<option>Virgin Islands</option>
279
											<option>Virginia</option>
280
											<option>Washington</option>
281
											<option>West Virginia</option>
282
											<option>Wisconsin</option>
283
											<option>Wyoming</option>
284
										</select>
285
									</div>
286
								</div>
287
								<div class="control-group">
288
									<label class="control-label" for="origStateOther">Other State/Province</label>
289
									<div class="controls">
290 7921 leinfelder
										<input type="text" name="origStateOther" id="origStateOther" value="[%origStateOther%]">
291 7898 leinfelder
									</div>
292
								</div>
293
								<div class="control-group">
294
									<label class="control-label" for="origZip">Postal Code</label>
295
									<div class="controls">
296 7956 leinfelder
										<input type="text" name="origZIP" id="origZip" value="[%origZIP%]">
297 7898 leinfelder
									</div>
298
								</div>
299
								<div class="control-group">
300
									<label class="control-label" for="origCountry">Country</label>
301
									<div class="controls">
302 7921 leinfelder
										<input type="text" name="origCountry" id="origCountry" value="[%origCountry%]">
303 7898 leinfelder
									</div>
304
								</div>
305
306
						    </div>
307
						</div>
308 7899 leinfelder
309
						<!-- ASSOCIATED PARTIES -->
310
						<div class="accordion-heading">
311
							<a class="accordion-toggle" data-toggle="collapse" data-target="#collapseParties" href="#none">
312
								Associated Parties
313
							</a>
314
							<a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#AdditionalOriginators"><i class="icon-question-sign"></i></a>
315
						</div>
316
						<div id="collapseParties" class="accordion-body collapse in">
317
							<div class="accordion-inner">
318 7900 leinfelder
319
								<div class="control-group">
320
									<label class="control-label" for="aoFirstName">First Name</label>
321
									<div class="controls">
322
										<input type="text" name="aoFirstName" id="AONameFirst"">
323
									</div>
324
								</div>
325
								<div class="control-group">
326
									<label class="control-label" for="aoLastName">Last Name</label>
327
									<div class="controls">
328
										<input type="text" name="aoLastName" id="AONameLast"">
329
									</div>
330
								</div>
331
								<div class="control-group">
332
									<label class="control-label" for="aoRole">Role</label>
333
									<div class="controls">
334
										<select id="AORole" name="aoRole">
335
								            <option>Co-owner</option>
336
								            <option>Custodian/Steward</option>
337
								            <option>Metadata Provider</option>
338
								      		<option>User</option>
339
								        </select>
340
									</div>
341
								</div>
342
								<div class="control-group">
343 7916 leinfelder
									<label class="control-label" for="addaobutton1"></label>
344 7900 leinfelder
									<div class="controls">
345
										<input type="button" value="Add Associated Party" id="addaobutton1" onClick="addAssociatedParty()">
346
									</div>
347
								</div>
348 7901 leinfelder
								<div class="control-group">
349
									<label class="control-label" for="associatePartyTable"></label>
350
									<div class="controls">
351
										<table id="associatePartyTable">
352
										    [% numAO = 0 %]
353
										    [% IF aoCount %]
354
										        [% numAO = aoCount %]
355
										        <tr class="sectbody" id="aoHRRow">
356
										            <td colSpan="6">
357
										                <hr width = "85%"/>
358
										            </td>
359
										        </tr>
360
										    [% END %]
361
										    [% cnt = 1 %]
362
										    [% WHILE cnt < numAO%]
363
364
										        <tr class="sectbody">
365
										            [% SET aofn = "origNamefirst${cnt}" %]
366
										            [% SET aoln = "origNamelast${cnt}" %]
367
										            [% SET aorole = "origRole${cnt}" %]
368
369
										            <td class="rightCol">
370
										                <a style="cursor:pointer">
371 7958 leinfelder
										                	<i onClick="cleanTextNodes('aoHRRow', 'addaorow');moveUpRow(event)"
372
										                    class="icon-arrow-up"
373
										                    alt="Move Up"></i>
374 7901 leinfelder
										                </a>
375
										                <a style="cursor:pointer">
376 7958 leinfelder
										                    <i onClick="cleanTextNodes('aoHRRow', 'addaorow');moveDownRow(event, 'addaorow')"
377
										                    class="icon-arrow-down"
378
										                    alt="Move Down"></i>
379 7901 leinfelder
										                </a>
380
										                <a style="cursor:pointer">
381 7958 leinfelder
										                    <i class="icon-remove-sign"
382
										                    onClick="delRow(event)" alt="Delete"></i>
383 7901 leinfelder
										                </a>
384
										            </td>
385
										            <td colspan="5" align ="left" style="cursor:pointer"
386
										                onClick="aoEditRow(event, 0, '[%$aofn%]', '[%$aoln%]' , '[%$aorole%]')">
387
										                [%$aofn%] [%$aoln%] (Role: [%$aorole%])
388
										                <input name="aoFirstName" type="hidden" value="[%$aofn%]"/>
389
										                <input name="aoLastName" type="hidden" value="[%$aoln%]"/>
390
										                <input name="aoRole" type="hidden" value="[%$aorole%]"/>
391
										            </td>
392
										        </tr>
393
										        [% cnt = cnt + 1 %]
394
										    [% END %]
395
										    <input type="hidden" name="aoCount" value="[%numAO%]" id="aoCount">
396
										    <tr class="sectbody" id="addaorow"><td colspan=6 /></tr>
397
										</table>
398
									</div>
399
								</div>
400 7902 leinfelder
401
						    </div>
402
						</div>
403
404
						<!-- ABSTRACT -->
405
						<div class="accordion-heading">
406
							<a class="accordion-toggle" data-toggle="collapse" data-target="#collapseAbstract" href="#none">
407
								Abstract
408
							</a>
409
							<a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#DataSetAbstract"><i class="icon-question-sign"></i></a>
410
						</div>
411
						<div id="collapseAbstract" class="accordion-body collapse in">
412
							<div class="accordion-inner">
413
								<!--  the INPUT -->
414
								<div class="control-group">
415
									<label class="control-label" for="abstract">*Data Set Abstract</label>
416
									<div class="controls">
417
										<textarea rows="6" cols="60" name="abstract">[%abstract%]</textarea>
418
										<span class="help-block">(~350 words)
419
									</div>
420
								</div>
421 7899 leinfelder
422
						    </div>
423
						</div>
424 7903 leinfelder
425
					[% IF modules.keyword == 'true' %]
426
						<!-- KEYWORDS -->
427
						<div class="accordion-heading">
428
							<a class="accordion-toggle" data-toggle="collapse" data-target="#collapseKeywords" href="#none">
429
								Keywords
430
							</a>
431
							<a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#KeywordInformation"><i class="icon-question-sign"></i></a>
432
						</div>
433
						<div id="collapseKeywords" class="accordion-body collapse in">
434
							<div class="accordion-inner">
435
								<!--  the INPUT -->
436
								<div class="control-group">
437
									<label class="control-label" for="keyword">Keyword</label>
438
									<div class="controls">
439
										<input type="text" name="keyword" id="keyword" value="[%keyword%]">
440
										<span class="help-block">For samples, see <a href=
441
											"http://gcmd.nasa.gov/Resources/valids/gcmd_parameters.html" target="nasa">NASA Global Change Master Directory (GCMD)</a>.
442
										</span>
443
									</div>
444
								</div>
445
								<div class="control-group">
446
									<label class="control-label" for="keywordType">Keyword Type</label>
447
									<div class="controls">
448
										<select name="keywordType" id="keywordType" class="shortwidth">
449
											<option>None</option>
450
								            <option>Theme</option>
451
								            <option>Place</option>
452
								            <option>Stratum</option>
453
								            <option>Temporal</option>
454
								            <option>Taxonomic</option>
455
										</select>
456
									</div>
457
								</div>
458
								<div class="control-group">
459
									<label class="control-label" for="keywordTh">Keyword Thesaurus</label>
460
									<div class="controls">
461 7904 leinfelder
										<select name="keywordTh" id="keywordTh" class="shortwidth">
462
											<option>None</option>
463
											<option>GCMD</option>
464
										</select>
465 7903 leinfelder
									</div>
466
								</div>
467
								<div class="control-group">
468 7916 leinfelder
									<label class="control-label" for="addKeywordButton"></label>
469 7903 leinfelder
									<div class="controls">
470
										<input type="button" value="Add Keyword" onClick="addKeyword()">
471
									</div>
472
								</div>
473
474 7905 leinfelder
								<div class="control-group">
475 7906 leinfelder
									<label class="control-label" for="keywordTable"></label>
476 7905 leinfelder
									<div class="controls">
477
										<!-- the orginal table -->
478
										<table>
479
										 [% numKey = 0 %]
480
										 [% IF keyCount %]
481
										   [% numKey = keyCount %]
482
										        [% numAO = aoCount %]
483
										        <tr class="sectbody" id="keywordHRRow">
484
										            <td colSpan="6">
485
										                <hr width = "85%"/>
486
										            </td>
487
										        </tr>
488
										 [% END %]
489
										 <input type="hidden" name="keyCount" value="[%numKey%]"
490
										            id="keyCount">
491
492
										      [% cnt = 1 %]
493
										        [% WHILE cnt < numKey %]
494
495
										           <tr class="sectbody">
496
										            <td class="rightCol">
497
										                <a style="cursor:pointer">
498 7961 leinfelder
										                    <i onClick="cleanTextNodes('keywordHRRow', 'addkeyrow');moveUpRow(event)"
499
										                    class="icon-arrow-up"
500
										                    alt="Move Up"></i>
501 7905 leinfelder
										                </a>
502
										                <a style="cursor:pointer">
503 7961 leinfelder
										                    <i onClick="cleanTextNodes('keywordHRRow', 'addkeyrow');moveDownRow(event, 'addkeyrow')"
504
										                    class="icon-arrow-down"
505
										                    alt="Move Down"></i>
506 7905 leinfelder
										                </a>
507
										                <a style="cursor:pointer">
508 7961 leinfelder
										                    <i class="icon-remove-sign"
509
										                    onClick="delRow(event)" alt="Delete"></i>
510 7905 leinfelder
										                </a>
511
										            </td>
512
										            [% SET keyword = "keyword${cnt}" %]
513
										            [% SET keywordType = "kwType${cnt}" %]
514
										            [% SET keywordTh = "kwTh${cnt}" %]
515
										            <td colspan="5" align ="left" style="cursor:pointer"
516
										                onClick="keywordEditRow(event, 0, '[%$keyword%]', '[%$keywordType%]' , '[%$keywordTh%]')">
517
										                [%$keyword%] (Type: [%$keywordType%], Thesaurus: [%$keywordTh%])
518
										                <input name="keyword" type="hidden" value="[%$keyword%]"/>
519
										                <input name="keywordType" type="hidden" value="[%$keywordType%]"/>
520
										                <input name="keywordTh" type="hidden" value="[%$keywordTh%]"/>
521
										            </td>
522
										        </tr>
523
										        [% cnt = cnt + 1 %]
524
										       [% END %]
525
											<tr class="sectbody" id="addkeyrow"><td colspan=6 /></tr>
526
										</table>
527
									</div>
528
								</div>
529
530 7903 leinfelder
						    </div>
531
						</div>
532 7907 leinfelder
					[% END %]
533
534
					[% IF modules.temporal == 'true' %]
535
						<!-- TEMPORAL COVERAGE -->
536
						<div class="accordion-heading">
537
							<a class="accordion-toggle" data-toggle="collapse" data-target="#collapseTemporal" href="#none">
538 7908 leinfelder
								Temporal Coverage
539 7907 leinfelder
							</a>
540
							<a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#TemporalCoverageOfData"><i class="icon-question-sign"></i></a>
541
						</div>
542
						<div id="collapseTemporal" class="accordion-body collapse in">
543
							<div class="accordion-inner">
544
								<!--  the INPUT -->
545
									<div class="row-fluid">
546
547
										<div class="span6">
548 7909 leinfelder
											<p>Start Date</p>
549 7907 leinfelder
											<div class="control-group">
550
												[% IF required.temporal == 'true' %]
551
													<label class="control-label" for="beginningYear">*Year (yyyy)</label>
552
												[% ELSE %]
553
													<label class="control-label" for="beginningYear">Year (yyyy)</label>
554
												[% END %]
555
												<div class="controls">
556
													<input type="text" name="beginningYear" value="[%beginningYear%]" size="8" maxlength="4">
557
												</div>
558
											</div>
559
											<div class="control-group">
560
												<label class="control-label" for="beginningMonth">Month</label>
561
												<div class="controls">
562
													<select name="beginningMonth">
563
														[% IF form == 're_entry' && beginningMonth != ""%]
564
															<option selected>[%beginningMonth%]</option>
565
														[% END %]
566
											            <option>MM</option>            <option>01</option>            <option>02</option>            <option>03</option>
567
											            <option>04</option>            <option>05</option>            <option>06</option>            <option>07</option>
568
											            <option>08</option>            <option>09</option>            <option>10</option>            <option>11</option>
569
											            <option>12</option>
570
													</select>
571
												</div>
572
											</div>
573
											<div class="control-group">
574
												<label class="control-label" for="beginningDay">Day</label>
575
												<div class="controls">
576
													<select name="beginningDay">
577
														[% IF form == 're_entry' && beginningDay != ""%]
578
															<option selected>[%beginningDay%]</option>
579
														[% END %]
580
											            <option>DD</option>            <option>01</option>            <option>02</option>            <option>03</option>
581
											            <option>04</option>            <option>05</option>            <option>06</option>            <option>07</option>
582
											            <option>08</option>            <option>09</option>            <option>10</option>            <option>11</option>
583
											            <option>12</option>            <option>13</option>            <option>14</option>            <option>15</option>
584
											            <option>16</option>            <option>17</option>            <option>18</option>            <option>19</option>
585
											            <option>20</option>            <option>21</option>            <option>22</option>            <option>23</option>
586
											            <option>24</option>            <option>25</option>            <option>26</option>            <option>27</option>
587
											            <option>28</option>            <option>29</option>            <option>30</option>            <option>31</option>
588
													</select>
589
												</div>
590
											</div>
591
										</div>
592
										<div class="span6">
593 7908 leinfelder
											<p>
594 7909 leinfelder
												End Date
595
												<span class="text-info">(leave blank if your data set is open-ended)</span>
596 7908 leinfelder
											</p>
597 7907 leinfelder
											<div class="control-group">
598
												<label class="control-label" for="endingYear">Year (yyyy)</label>
599
												<div class="controls">
600
													<input type="text" name="endingYear" value="[%endingYear%]" size="8" maxlength="4">
601
												</div>
602
											</div>
603
											<div class="control-group">
604
												<label class="control-label" for="endingMonth">Month</label>
605
												<div class="controls">
606
													<select name="endingMonth">
607
														[% IF form == 're_entry' && endingMonth != ""%]
608
															<option selected>[%endingMonth%]</option>
609
														[% END %]
610
											            <option>MM</option>            <option>01</option>            <option>02</option>            <option>03</option>
611
											            <option>04</option>            <option>05</option>            <option>06</option>            <option>07</option>
612
											            <option>08</option>            <option>09</option>            <option>10</option>            <option>11</option>
613
											            <option>12</option>
614
													</select>
615
												</div>
616
											</div>
617
											<div class="control-group">
618
												<label class="control-label" for="endingDay">Day</label>
619
												<div class="controls">
620
													<select name="endingDay">
621
														[% IF form == 're_entry' && endingDay != ""%]
622
															<option selected>[%endingDay%]</option>
623
														[% END %]
624
											            <option>DD</option>            <option>01</option>            <option>02</option>            <option>03</option>
625
											            <option>04</option>            <option>05</option>            <option>06</option>            <option>07</option>
626
											            <option>08</option>            <option>09</option>            <option>10</option>            <option>11</option>
627
											            <option>12</option>            <option>13</option>            <option>14</option>            <option>15</option>
628
											            <option>16</option>            <option>17</option>            <option>18</option>            <option>19</option>
629
											            <option>20</option>            <option>21</option>            <option>22</option>            <option>23</option>
630
											            <option>24</option>            <option>25</option>            <option>26</option>            <option>27</option>
631
											            <option>28</option>            <option>29</option>            <option>30</option>            <option>31</option>
632
													</select>
633
												</div>
634
											</div>
635
										</div
636
									</div>
637 7930 leinfelder
638
								</div>
639 7907 leinfelder
640
						    </div>
641
						</div>
642 7867 leinfelder
643 7907 leinfelder
					[% END %]
644 7910 leinfelder
645
646
					[% IF modules.spatial == 'true' %]
647
648
						<!-- SPATIAL -->
649
						<div class="accordion-heading">
650
							<a class="accordion-toggle" data-toggle="collapse" data-target="#collapseSpatial" href="#none">
651
								Spatial Coverage
652
							</a>
653
							<a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#SpatialCoverageOfData"><i class="icon-question-sign"></i></a>
654
						</div>
655
						<div id="collapseSpatial" class="accordion-body collapse in">
656
							<div class="accordion-inner">
657
								<!--  the INPUT -->
658
								<div class="control-group">
659
									[% IF required.spatial == 'true' %]
660
										<label class="control-label" for="geogdesc">*Geographic Description</label>
661
									[% ELSE %]
662
										<label class="control-label" for="geogdesc">Geographic Description</label>
663
									[% END %]
664
									<div class="controls">
665
										<textarea rows="3" cols="60" name="geogdesc">[% geogdesc %]</textarea>
666
										<span class="help-block">General description of the geographic area in which the data were collected.
667
										It can be a simple place name (e.g., Santa Barbara) or a fuller description.</span>
668
									</div>
669
								</div>
670
671
								<div class="row-fluid">
672
									<h4>Coordinates</h4>
673
674
									[% IF show.siteList == 'true' %]
675
	    								<div class="control-group">
676
											<label class="control-label" for="useSiteCoord">Use Site?</label>
677
											<div class="controls">
678
												<input type="checkbox" name="useSiteCoord" [%useSiteCoord%]>
679
										        <span class="help-block">Use [% config.site %] coordinates. (This indicates that the data were
680
										        collected at the [% config.site %]. If you check this box, you don't need
681
										        to fill in the lat./long. fields below).</span>
682
											</div>
683
										</div>
684
									[% END %]
685
686
									<table>
687
									    <tr class="sectbody">
688 7912 leinfelder
									      <td width="190"></td><td width="100" align="left"><span class="text-info">Degrees</span></td>
689
									      <td width="110" align="left"><span class="text-info">Minutes</span></td>
690
									      <td width="70" align="left"><span class="text-info">Seconds</span></td>
691 7932 leinfelder
									      <td width="200"></td><td width="90"></td>
692 7910 leinfelder
									   </tr>
693
694
									   <tr class="sectbody">
695
									     <td class="rightCol">
696
									      [% IF required.spatial == 'true' %]
697 7912 leinfelder
									        <span class="text-info">*Latitude</span>
698 7910 leinfelder
									      [% ELSE %]
699 7912 leinfelder
									        <span class="text-info">Latitude</span>
700 7910 leinfelder
									      [% END %]</td>
701
									     <td>
702
									          <input type="TEXT" name="latDeg1" value="[%latDeg1%]" size="3" maxlength="3"></td>
703
									      <td> <input type="TEXT" name="latMin1" value="[%latMin1%]" size="2" maxlength="2"></td>
704
									      <td>  <input type="TEXT" name="latSec1" value="[%latSec1%]" size="2" maxlength="2"></td>
705
706
									      <td Align="left" colspan="2">
707
									      [% IF form == 're_entry' && hemisphLat1 == "N"%]
708 7913 leinfelder
									      	<label class="radio inline">
709
									        	<input type="radio"  name="hemisphLat1" value="N" CHECKED>
710
									        	North
711
									        </label>
712 7910 leinfelder
									      [%ELSE%]
713 7913 leinfelder
									      	<label class="radio inline">
714
									        	<input type="radio"  name="hemisphLat1" value="N">
715
									        	North
716
									        </label>
717 7910 leinfelder
									      [%END%]
718
									      [% IF form == 're_entry' && hemisphLat1 == "S"%]
719 7913 leinfelder
									      	<label class="radio inline">
720
									        	<input type="radio"  name="hemisphLat1" value="S" CHECKED>
721
									        	South
722
									        </label>
723 7910 leinfelder
									      [%ELSE%]
724 7913 leinfelder
									      	<label class="radio inline">
725
									        	<input type="radio"  name="hemisphLat1" value="S">
726
									        	South
727
									        </label>
728 7910 leinfelder
									      [%END%]
729
									      </td>
730
									    </tr>
731
732
									    <tr class="sectbody">
733
									      <td class="rightCol">
734
									      [% IF required.spatial == 'true' %]
735 7912 leinfelder
									        <span class="text-info">*Longitude</span>
736 7910 leinfelder
									      [% ELSE %]
737 7912 leinfelder
									        <span class="text-info">Longitude</span>
738 7910 leinfelder
									      [% END %]</td>
739
740
									      <td> <input type="TEXT" name="longDeg1" value="[%longDeg1%]" size="3" maxlength="3"></td>
741
									      <td> <input type="TEXT" name="longMin1" value="[%longMin1%]" size="2" maxlength="2"></td>
742
									      <td> <input type="TEXT" name="longSec1" value="[%longSec1%]" size="2" maxlength="2"></td>
743
744
745
									      <td align="left" colspan="2">
746 7913 leinfelder
									    [% IF form == 're_entry' && hemisphLong1 == "W"%]
747
									    	<label class="radio inline">
748
									      		<input type="radio"  name="hemisphLong1" value="W" CHECKED>
749
									      		West
750
									      	</label>
751 7910 leinfelder
									    [%ELSE%]
752 7913 leinfelder
									    	<label class="radio inline">
753
									      		<input type="radio"  name="hemisphLong1" value="W">
754
									      		West
755
									      	</label>
756 7910 leinfelder
									    [%END%]
757
									    [% IF form == 're_entry' && hemisphLong1 == "E"%]
758 7913 leinfelder
									    	<label class="radio inline">
759
									      		<input type="radio"  name="hemisphLong1" value="E" CHECKED>
760
									      		East
761
									      	</label>
762 7910 leinfelder
									    [%ELSE%]
763 7913 leinfelder
									    	<label class="radio inline">
764
									      		<input type="radio"  name="hemisphLong1" value="E">
765
									      		East
766
									      	</label>
767 7910 leinfelder
									    [%END%]
768
									      </td>
769
									    </tr>
770
771
772
									    <tr class="sectbody"><td><td colspan="4" align="left"><span class="regtext">If only this first lat/long pair is entered, this indicates a point location. If both lat/long pairs are entered, then this first pair represents the northwest corner of a bounding box.</span>
773
									      </td><td></td></tr>
774
775
									    <tr class="sectbody">
776 7912 leinfelder
									      <td class="rightCol"><span class="text-info">Latitude</span></td>
777 7910 leinfelder
									  <td ><input type="TEXT" name="latDeg2" value="[%latDeg2%]" size="3" maxlength="3"></td>
778
									      <td><input type="TEXT" name="latMin2" value="[%latMin2%]" size="2" maxlength="2"></td>
779
									      <td><input type="TEXT" name="latSec2" value="[%latSec2%]" size="2" maxlength="2"></td>
780
781
									      <td align="left" colspan="2">
782
									      [% IF form == 're_entry' && hemisphLat2 == "N"%]
783 7913 leinfelder
									      	<label class="radio inline">
784
									        	<input type="radio"  name="hemisphLat2" value="N" CHECKED>
785
									        	North
786
									        </label>
787 7910 leinfelder
									      [%ELSE%]
788 7913 leinfelder
									      	<label class="radio inline">
789
									        	<input type="radio"  name="hemisphLat2" value="N">
790
									        	North
791
									        </label>
792 7910 leinfelder
									      [%END%]
793
									      [% IF form == 're_entry' && hemisphLat2 == "S"%]
794 7913 leinfelder
									      	<label class="radio inline">
795
									        	<input type="radio"  name="hemisphLat2" value="S" CHECKED>
796
									        	South
797
									        </label>
798 7910 leinfelder
									      [%ELSE%]
799 7913 leinfelder
									      	<label class="radio inline">
800
									        	<input type="radio"  name="hemisphLat2" value="S">
801
												South
802
									        </label>
803 7910 leinfelder
									      [%END%]
804
									      </td>
805
									    </tr>
806
807 7912 leinfelder
									    <tr class="sectbody"><td class="rightCol"><span class="text-info">Longitude</span></td>
808 7910 leinfelder
									       <td> <input type="TEXT" name="longDeg2" value="[%longDeg2%]" size="3" maxlength="3"></td>
809
									       <td> <input type="TEXT" name="longMin2" value="[%longMin2%]" size="2" maxlength="2"></td>
810
									       <td> <input type="TEXT" name="longSec2" value="[%longSec2%]" size="2" maxlength="2"></td>
811
									       <td align="left" colspan="2">
812
813
									      [% IF form == 're_entry' && hemisphLong2 == "W"%]
814 7913 leinfelder
									      	<label class="radio inline">
815
									        	<input type="radio"  name="hemisphLong2" value="W" CHECKED>
816
									        	West
817
									        </label
818 7910 leinfelder
									      [%ELSE%]
819 7913 leinfelder
									      	<label class="radio inline">
820
									        	<input type="radio"  name="hemisphLong2" value="W">
821
									        	West
822
									        </label>
823 7910 leinfelder
									      [%END%]
824
									      [% IF form == 're_entry' && hemisphLong2 == "E"%]
825 7913 leinfelder
									      	<label class="radio inline">
826
									        	<input type="radio"  name="hemisphLong2" value="E" CHECKED>
827
									        	East
828
									        </label>
829 7910 leinfelder
									      [%ELSE%]
830 7913 leinfelder
									      	<label class="radio inline">
831
									        	<input type="radio"  name="hemisphLong2" value="E">
832
									        	East
833
									        </label>
834 7910 leinfelder
									      [%END%]
835
									      </td>
836
									    </tr>
837
									    <tr class="sectbody"><td></td>
838
									       <td align="left" colspan="4"><span class="regtext">
839
									        If entered, this lat/long pair represents the southeast corner of a bounding box.</span>
840
									      </td><td></td>
841
									    </tr>
842
									</table>
843
844 7912 leinfelder
								</div>
845 7910 leinfelder
846
						    </div>
847 7911 leinfelder
						</div>
848 7910 leinfelder
849
					[% END %]
850 7914 leinfelder
851
852
					[% IF modules.taxonomic == 'true' %]
853
854
						<!-- TAXONOMIC -->
855
						<div class="accordion-heading">
856
							<a class="accordion-toggle" data-toggle="collapse" data-target="#collapseTaxonomic" href="#none">
857
								Taxonomic Coverage
858
							</a>
859
							<a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#TaxonomicCoverage"><i class="icon-question-sign"></i></a>
860
						</div>
861
						<div id="collapseTaxonomic" class="accordion-body collapse in">
862
							<div class="accordion-inner">
863
								<!--  the INPUT -->
864
								<div class="control-group">
865
									<label class="control-label" for="taxonRank">Taxonomic Rank</label>
866
									<div class="controls">
867
										<input name="taxonRank" id="taxonRank">
868
										<span class="help-block">(e.g., Species)</span>
869
									</div>
870
								</div>
871
								<div class="control-group">
872
									<label class="control-label" for="taxonName">Taxonomic Name</label>
873
									<div class="controls">
874
										<input name="taxonName" id="taxonName">
875
										<span class="help-block">(e.g., <i>Ursus arctos</i>)</span>
876
									</div>
877
								</div>
878
								<div class="control-group">
879 7915 leinfelder
									<label class="control-label" for="addTaxonButton"></label>
880 7914 leinfelder
									<div class="controls">
881
										<input type="button" value="Add Taxon" onClick="addTaxon()">
882
									</div>
883
								</div>
884
885
								<div class="control-group">
886
									<label class="control-label" for="taxonTable"></label>
887
									<div class="controls">
888
										<table>
889
											[% numTaxa = 0 %]
890
									        [% IF taxaCount %]
891
									            [% numTaxa = taxaCount %]
892
									            <tr class="sectbody" id="taxonHRRow">
893
									                <td colSpan="6">
894
									                    <hr width = "85%"/>
895
									                </td>
896
									            </tr>
897
									        [% END %]
898
									        <input type="hidden" name="taxaCount" value="[%numTaxa%]" id="taxaCount">
899
900
									        [% cnt = 1 %]
901
									        [% WHILE cnt <= numTaxa%]
902
									            <tr class="sectbody">
903
									                <td class="rightCol">
904
									                    <a style="cursor:pointer">
905 7961 leinfelder
									                        <i onClick="cleanTextNodes('taxonHRRow', 'addtaxarow');moveUpRow(event)"
906
									                        class="icon-arrow-up"
907
									                        alt="Move Up"></i>
908 7914 leinfelder
									                    </a>
909
									                    <a style="cursor:pointer">
910 7961 leinfelder
									                        <i onClick="cleanTextNodes('taxonHRRow', 'addtaxarow');moveDownRow(event, 'addtaxarow')"
911
									                        class="icon-arrow-down"
912
									                        alt="Move Down"></i>
913 7914 leinfelder
									                    </a>
914
									                    <a style="cursor:pointer">
915 7962 leinfelder
									                        <i class="icon-remove-sign"
916 7961 leinfelder
									                        onClick="delRow(event)" alt="Delete"></i>
917 7914 leinfelder
									                    </a>
918
									                </td>
919
									                [% SET rank = "taxonRankName${cnt}" %]
920
									                [% SET name = "taxonRankValue${cnt}" %]
921
									                <td colspan="5" align ="left" style="cursor:pointer"
922
									                    onClick="taxonEditRow(event, 0, '[%$rank%]', '[%$name%]')">
923
									                    Rank: [%$rank%], Name: [%$name%]
924
									                    <input name="taxonName" type="hidden" value="[%$name%]"/>
925
									                    <input name="taxonRank" type="hidden" value="[%$rank%]"/>
926
									            </tr>
927
									            [% cnt = cnt + 1 %]
928
									        [% END %]
929
930
									     <tr class="sectbody" id="addtaxarow">
931
									        <td class="bordertop" valign="top" align="right"></td>
932
									        <td class="bordertop" align="left" colspan="5"></td>
933
									     </tr>
934
935
									   </table>
936
									</div>
937
								</div>
938
939
								<div class="control-group">
940
									<label class="control-label" for="taxaAuth">Taxonomic Reference</label>
941
									<div class="controls">
942
										<textarea rows="3" cols="30" name="taxaAuth">[% taxaAuth %]</textarea>
943 7915 leinfelder
										<span class="help-block">List the source(s) used for identifying and naming taxa (e.g., name of a field guide, key, or nomenclature revision).</span>
944 7914 leinfelder
									</div>
945
								</div>
946
947
						    </div>
948
						</div>
949
950
					[% END %]
951 7917 leinfelder
952
					[% IF modules.method == 'true' %]
953
954
						<!-- METHODS -->
955
						<div class="accordion-heading">
956
							<a class="accordion-toggle" data-toggle="collapse" data-target="#collapseMethods" href="#none">
957
								Data Collection Methods
958
							</a>
959
							<a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#Methods"><i class="icon-question-sign"></i></a>
960
						</div>
961
						<div id="collapseMethods" class="accordion-body collapse in">
962
							<div class="accordion-inner">
963
								<!--  the INPUT -->
964
								<div class="control-group">
965
									<label class="control-label" for="methodTitle">Method Title</label>
966
									<div class="controls">
967
										<input type="text" name="methodTitle" value="[%methodTitle%]">
968
									</div>
969
								</div>
970
								<div class="control-group">
971
									<label class="control-label" for="methodPara">Method Description</label>
972
									<div class="controls">
973
								        <table>
974
										[% IF !methodPara %]
975
											<tr><td><textarea rows="6" cols="60" name="methodPara"></textarea></td></tr>
976
								        [% END %]
977
								        [% FOREACH para = methodPara %]
978
								           <tr><td><textarea rows="6" cols="60" name="methodPara">[% para %]</textarea></td></tr>
979
								        [% END %]
980
								        	<tr class="sectbody" id="addparabutton1">
981 7919 leinfelder
									    		<td align="left">
982 7917 leinfelder
									          		<input type="button" value="Add Paragraph to Method Description" onClick="addParagraph()">
983
									          	</td>
984
											</tr>
985
										</table>
986
									</div>
987
								</div>
988
989 7918 leinfelder
								<div class="control-group">
990
									<label class="control-label" for="studyExtentDescription">Extent of Study Description</label>
991
									<div class="controls">
992
										<textarea rows="6" cols="60" name="studyExtentDescription">[% studyExtentDescription %]</textarea>
993
										<span class="help-block">
994
									        Describe the temporal, spatial and taxonomic extent of the study,
995
									        supplementing the information on coverage provided above.
996
									        For example, if the temporal coverage of the data is 1990-2000, you
997
									        might provide details about any years that were missed or the months
998
									        in which sampling occurred.</span>
999
									</div>
1000
								</div>
1001 7917 leinfelder
1002 7918 leinfelder
								<div class="control-group">
1003
									<label class="control-label" for="samplingDescription">Sampling Description</label>
1004
									<div class="controls">
1005
										<textarea rows="6" cols="60" name="samplingDescription">[% samplingDescription %]</textarea>
1006
										<span class="help-block">
1007
									        Describe the sampling design of the study.  For example, you might
1008
        									describe the way in which treatments were assigned to sampling units.</span>
1009
									</div>
1010
								</div>
1011
1012
1013 7917 leinfelder
						    </div>
1014
						</div>
1015
1016
					[% END %]
1017 7921 leinfelder
1018 7917 leinfelder
1019 7921 leinfelder
						<!-- DATA SET CONTACT -->
1020
						<div class="accordion-heading">
1021
							<a class="accordion-toggle" data-toggle="collapse" data-target="#collapseContact" href="#none">
1022
								Data Set Contact
1023
							</a>
1024
							<a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#DataSetContactAddress"><i class="icon-question-sign"></i></a>
1025
						</div>
1026
						<div id="collapseContact" class="accordion-body collapse in">
1027
							<div class="accordion-inner">
1028
								<!--  the INPUT -->
1029 7922 leinfelder
								<label class="checkbox inline" for="useOrigAddress">
1030
									<input type="CHECKBOX" name="useOrigAddress" onClick="copyContact()" id="copyCheckBox" [%useOrigAddress%]>
1031 7923 leinfelder
        							Use the same name and address as the <em>PRINCIPAL DATA SET OWNER</em> above.
1032 7922 leinfelder
								</label>
1033
1034 7921 leinfelder
								<div class="control-group">
1035
									<label class="control-label" for="origNamefirstContact">*First Name</label>
1036
									<div class="controls">
1037
										<input type="text" name="origNamefirstContact" id="contactNameFirst" value="[%origNamefirstContact%]">
1038
									</div>
1039
								</div>
1040
								<div class="control-group">
1041
									<label class="control-label" for="origNamelastContact">*Last Name</label>
1042
									<div class="controls">
1043
										<input type="text" name="origNamelastContact" id="contactNameLast" value="[%origNamelastContact%]">
1044
									</div>
1045
								</div>
1046
								<div class="control-group">
1047
									<label class="control-label" for="origNameOrgContact">Organization Name</label>
1048
									<div class="controls">
1049
										<input type="text" name="origNameOrgContact" id="contactNameOrg" value="[%origNameOrgContact%]">
1050
									</div>
1051
								</div>
1052
								<div class="control-group">
1053
									[% IF required.contactEmailAddress == 'true' %]
1054
										<label class="control-label" for="origEmailContact">*Email</label>
1055
									[% ELSE %]
1056
										<label class="control-label" for="origEmailContact">Email</label>
1057
									[% END %]
1058
									<div class="controls">
1059
										<input type="text" name="origEmailContact" id="contactEmail" value="[%origEmailContact%]">
1060
									</div>
1061
								</div>
1062
								<div class="control-group">
1063
									<label class="control-label" for="origPhoneContact">Phone</label>
1064
									<div class="controls">
1065
										<input type="text" name="origPhoneContact" id="contactPhone" value="[%origPhoneContact%]">
1066
									</div>
1067
								</div>
1068
								<div class="control-group">
1069
									<label class="control-label" for="origFAXContact">Fax</label>
1070
									<div class="controls">
1071
										<input type="text" name="origFAXContact" id="contactFAX" value="[%origFAXContact%]">
1072
									</div>
1073
								</div>
1074
								<div class="control-group">
1075
									<label class="control-label" for="origDeliveryContact">Street Address</label>
1076
									<div class="controls">
1077
										<textarea id="contactDelivery" name="origDeliveryContact">[%origDeliveryContact%]</textarea>
1078
										<span class="help-block">(number, street, unit, etc.; comma-separated)</span>
1079
									</div>
1080
								</div>
1081
								<div class="control-group">
1082
									<label class="control-label" for="origCityContact">City</label>
1083
									<div class="controls">
1084 7925 leinfelder
										<input type="text" name="origCityContact" id="contactCity" value="[%origCityContact%]">
1085 7921 leinfelder
									</div>
1086
								</div>
1087
								<div class="control-group">
1088
									<label class="control-label" for="origStateContact">U.S. State or Territory</label>
1089
									<div class="controls">
1090
										<select name="origStateContact" id="contactState">
1091
											[% IF form == 're_entry' %]
1092
												<option selected>[%origStateContact%]</option>
1093
											[% ELSE %]
1094
												<option>Select state or territory here.</option>
1095
											[% END %]
1096
											<option>Alabama</option>
1097
											<option>Alaska</option>
1098
											<option>American Samoa</option>
1099
											<option>Arizona</option>
1100
											<option>Arkansas</option>
1101
											<option>California</option>
1102
											<option>Colorado</option>
1103
											<option>Connecticut</option>
1104
											<option>Delaware</option>
1105
											<option>District of Columbia</option>
1106
											<option>Florida</option>
1107
											<option>Georgia</option>
1108
											<option>Guam</option>
1109
											<option>Hawaii</option>
1110
											<option>Idaho</option>
1111
											<option>Illinois</option>
1112
											<option>Indiana</option>
1113
											<option>Iowa</option>
1114
											<option>Kansas</option>
1115
											<option>Kentucky</option>
1116
											<option>Louisiana</option>
1117
											<option>Maine</option>
1118
											<option>Maryland</option>
1119
											<option>Massachusetts</option>
1120
											<option>Michigan</option>
1121
											<option>Minnesota</option>
1122
											<option>Mississippi</option>
1123
											<option>Missouri</option>
1124
											<option>Montana</option>
1125
											<option>Nebraska</option>
1126
											<option>Nevada</option>
1127
											<option>New Hampshire</option>
1128
											<option>New Jersey</option>
1129
											<option>New Mexico</option>
1130
											<option>New York</option>
1131
											<option>North Carolina</option>
1132
											<option>North Dakota</option>
1133
											<option>Northern Mariana Islands</option>
1134
											<option>Ohio</option>
1135
											<option>Oklahoma</option>
1136
											<option>Oregon</option>
1137
											<option>Pennsylvania</option>
1138
											<option>Puerto Rico</option>
1139
											<option>Rhode Island</option>
1140
											<option>South Carolina</option>
1141
											<option>South Dakota</option>
1142
											<option>Tennessee</option>
1143
											<option>Texas</option>
1144
											<option>Utah</option>
1145
											<option>Vermont</option>
1146
											<option>Virgin Islands</option>
1147
											<option>Virginia</option>
1148
											<option>Washington</option>
1149
											<option>West Virginia</option>
1150
											<option>Wisconsin</option>
1151
											<option>Wyoming</option>
1152
										</select>
1153
									</div>
1154
								</div>
1155
								<div class="control-group">
1156
									<label class="control-label" for="origStateOtherContact">Other State/Province</label>
1157
									<div class="controls">
1158
										<input type="text" name="origStateOtherContact" id="contactStateOther" value="[%origStateOtherContact%]">
1159
									</div>
1160
								</div>
1161
								<div class="control-group">
1162
									<label class="control-label" for="origZIPContact">Postal Code</label>
1163
									<div class="controls">
1164
										<input type="text" name="origZIPContact" id="contactZip" value="[%origZIPContact%]">
1165
									</div>
1166
								</div>
1167
								<div class="control-group">
1168
									<label class="control-label" for="origCountryContact">Country</label>
1169
									<div class="controls">
1170
										<input type="text" name="origCountryContact" id="contactCountry" value="[%origCountryContact%]">
1171
									</div>
1172
								</div>
1173
1174
						    </div>
1175
						</div>
1176
1177 7926 leinfelder
						<!-- DISTRIBUTION INFO -->
1178
						<div class="accordion-heading">
1179
							<a class="accordion-toggle" data-toggle="collapse" data-target="#collapseDistribution" href="#none">
1180
								Distribution Information
1181
							</a>
1182
							<a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#DistributionIinformation"><i class="icon-question-sign"></i></a>
1183
						</div>
1184
						<div id="collapseDistribution" class="accordion-body collapse in">
1185
							<div class="accordion-inner">
1186
								<!--  the INPUT -->
1187
								<div class="control-group">
1188
									<label class="control-label" for="identifier">Data Set Identifier</label>
1189
									<div class="controls">
1190
										<input type="text" name="identifier" value="[%identifier%]">
1191
										<span class="help-block">
1192
									     If available, please enter a name or number that uniquely identifies and
1193
									     describes concisely the data set. Alternatively, provide other pertinent
1194
									     information that can identify and locate the data set within your site's
1195
									     data management system.</span>
1196
									</div>
1197
								</div>
1198
								<div class="control-group">
1199
									<label class="control-label" for="dataMedium">*Data Medium</label>
1200
									<div class="controls">
1201
										[% IF form == 're_entry' && (dataMedium == "digital " || dataMedium == "digital")  %]
1202
											<label class"radio inline">
1203
									            <input type="radio"  name="dataMedium" onClick="handleOther(0, 'otherDM')" value="digital" CHECKED>
1204
									            Digital
1205
									        </label>
1206
								        [%ELSE%]
1207
								        	<label class"radio inline">
1208
									            <input type="radio"  name="dataMedium" onClick="handleOther(0, 'otherDM')" value="digital">
1209
									            Digital
1210
									        </label>
1211
								        [% END %]
1212
								        [% IF form == 're_entry' && (dataMedium == "hardcopy " || dataMedium == "hardcopy") %]
1213
								        	<label class"radio inline">
1214
								           		<input type="radio"  name="dataMedium" onClick="handleOther(0, 'otherDM')" value="hardcopy" CHECKED>
1215
								           		Hardcopy
1216
								           	</label>
1217
								        [%ELSE%]
1218
								        	<label class"radio inline">
1219
												<input type="radio"  name="dataMedium" onClick="handleOther(0, 'otherDM')" value="hardcopy">
1220
								           		Hardcopy
1221
								           	</label>
1222
								        [% END %]
1223
								        [% IF form == 're_entry' && dataMedium == "other" %]
1224
								        	<label class"radio inline">
1225
									           <input type="radio" name="dataMedium" value="other" onClick="handleOther(1, 'otherDM')" CHECKED>
1226
									           Other
1227
									        </label>
1228
								        [%ELSE%]
1229
								        	<label class"radio inline">
1230
								           		<input type="radio"  name="dataMedium" onClick="handleOther(1, 'otherDM')" value="other">
1231
								           		Other
1232
								           	</label>
1233
								        [% END %]
1234
								  		<input type="text" name="dataMediumOther" value="[%dataMediumOther%]" id="otherDM"></input>
1235
									</div>
1236
								</div>
1237
1238
								<div class="control-group">
1239
									<label class="control-label" for="useConstraints">*Usage Rights</label>
1240
									<div class="controls">
1241
										[% IF form == 're_entry' && useConstraints == "no restrictions" %]
1242
											<label class"radio inline">
1243
												<input type="radio"  name="useConstraints" onClick="handleOther(0, 'otherUC')" value="no restrictions" CHECKED>
1244
												No restrictions
1245
											</label>
1246
										[%ELSE%]
1247
											<label class"radio inline">
1248
									            <input type="radio"  name="useConstraints" onClick="handleOther(0, 'otherUC')" value="no restrictions">
1249
									            No restrictions
1250
									        </label>
1251
										[%END%]
1252
										[% IF form == 're_entry' && useConstraints == "Obtain permission from data set owner(s)" %]
1253
											<label class"radio inline">
1254
										        <input type="radio"  name="useConstraints" onClick="handleOther(0, 'otherUC')" value="Obtain permission from data set owner(s)" CHECKED>
1255
										        Obtain permission from data set owner(s)
1256
										    </label>
1257
										[%ELSE%]
1258
											<label class"radio inline">
1259
									            <input type="radio"  name="useConstraints" onClick="handleOther(0, 'otherUC')" value="Obtain permission from data set owner(s)">
1260
									            Obtain permission from data set owner(s)
1261
									        </label>
1262
										[%END%]
1263
1264
										[% IF form == 're_entry' && useConstraints == "other" %]
1265
											<label class"radio inline">
1266
												<input type="radio"  name="useConstraints" onClick="handleOther(1, 'otherUC')" value="other" CHECKED>
1267
											    Other
1268
											</label>
1269
									    [%ELSE%]
1270
									    	<label class"radio inline">
1271
												<input type="radio"  name="useConstraints" onClick="handleOther(1, 'otherUC')" value="other">
1272
												Other
1273
											</label>
1274
									    [%END%]
1275
										<input type="text" name="useConstraintsOther" id="otherUC" value="[%useConstraintsOther%]" size="49">
1276
									</div>
1277
								</div>
1278
1279
								<div class="control-group">
1280
									<label class="control-label" for="url">URL</label>
1281
									<div class="controls">
1282
										<input type="text" name="url" value="[%url%]">
1283
									</div>
1284
								</div>
1285
								<div class="control-group">
1286
									<label class="control-label" for="addComments">Additional Information</label>
1287
									<div class="controls">
1288
										<textarea rows="6" cols="60" name="addComments">[%addComments%]</textarea>
1289
									</div>
1290
								</div>
1291
1292
						    </div>
1293
						</div>
1294
1295
1296 7927 leinfelder
					[% IF modules.upload == 'true' %]
1297
1298
						<!-- DATA UPLOAD -->
1299 7921 leinfelder
						<div class="accordion-heading">
1300 7927 leinfelder
							<a class="accordion-toggle" data-toggle="collapse" data-target="#collapseUploadData" href="#none">
1301
								Upload Data
1302 7921 leinfelder
							</a>
1303 7927 leinfelder
							<a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#XXX"><i class="icon-question-sign"></i></a>
1304 7921 leinfelder
						</div>
1305 7927 leinfelder
						<div id="collapseUploadData" class="accordion-body collapse in">
1306 7921 leinfelder
							<div class="accordion-inner">
1307 7928 leinfelder
1308 7921 leinfelder
								<!--  the INPUT -->
1309 7928 leinfelder
								<table class="tables" cellpadding="5" cellspacing="0" id="uploadTable">
1310
									<tr class="sectbody">
1311
									    <td class="rightCol"><span class="text-info">Upload Data File</span></td>
1312
									    <td colspan="5">
1313
								        	<input type="file" id="file_element" name="file_1" class="longwidth">
1314
1315
									        [% IF form == 're_entry' && upCount %]
1316
									           [% cnt = 0 %]
1317
									           [% WHILE cnt < upCount %]
1318
									                [% SET fileSum = "upload_${cnt}" %]
1319
									                [% SET fileName = "uploadname_${cnt}" %]
1320
									                [% SET fileType = "uploadtype_${cnt}" %]
1321
									                [% SET filePerm = "uploadperm_${cnt}" %]
1322
									                [% IF fileSum %]
1323
									                    <input type="hidden" name="[%fileSum%]" value="[% $fileSum %]">
1324
									                    <input type="hidden" name="[%fileName%]" value="[% $fileName %]">
1325
									                    <input type="hidden" name="[%fileType%]" value="[% $fileType %]">
1326
									                [% END %]
1327
									                [% cnt = cnt + 1 %]
1328
									            [% END %]
1329
									        <input type="hidden" id="upCount" name="upCount" value="[%upCount%]">
1330
									        [% END %]
1331
1332
									        <input type="hidden" id="fileCount" name="fileCount" value="[%fileCount%]">
1333
										</td>
1334
									</tr>
1335
									<tr class="sectbody">
1336
										<td class="rightCol" valign="top"><span class="text-info">Attached Files</span></td>
1337
										<td colspan="5" class="regtext">
1338 7927 leinfelder
										    [% IF !upCount %]
1339
										        <div id="file_comment">
1340
										            (<i>None currently attached</i>)
1341
										        </div>
1342
										    [% END %]
1343 7928 leinfelder
										    <div id="files_list">
1344
											    [% IF form == 're_entry' && upCount %]
1345
											    	[% cnt = 0 %]
1346
1347
												    [% WHILE cnt < upCount %]
1348
												        [% SET fileName = "uploadname_${cnt}" %]
1349
												        [% SET filePerm = "uploadperm_${cnt}" %]
1350
												        [% IF $filePerm == 'public' %]
1351
												          [% SET perm_a = "checked" %]
1352
												          [% SET perm_b = "" %]
1353
												        [% ELSE %]
1354
												          [% SET perm_a = "" %]
1355
												          [% SET perm_b = "checked" %]
1356
												        [% END %]
1357 7929 leinfelder
												        [% IF fileName %]
1358
													        <div>
1359
													          [% $fileName %]
1360
													          <label class="radio inline">
1361
																<input type="radio" name="[% filePerm %]" value="public" [% perm_a %]> Public
1362
													          </label>
1363
													          <label class="radio inline">
1364
													          	<input type="radio" name="[% filePerm %]" value="private" [% perm_b %]> Private
1365
													          </label>
1366
													          <label class="text inline">
1367
																<input type="button" value="Delete" onclick="deleteFile(event, [%fileName%]);"/>
1368
															</div>
1369 7928 leinfelder
														[% END %]
1370
1371
												        [% cnt = cnt + 1 %]
1372
												    [% END %]
1373
										    	[% END %]
1374
										    </div>
1375
										</td>
1376
									</tr>
1377
								</table>
1378
1379
								<script language="JavaScript" type="text/JavaScript">
1380
									var multi_selector = new MultiSelector( document.getElementById( 'files_list' ), 10);
1381
								    multi_selector.addElement( document.getElementById( 'file_element' ) );
1382
								</script>
1383
1384 7921 leinfelder
1385
						    </div>
1386
						</div>
1387 7927 leinfelder
1388
					[% END %]
1389
1390 7867 leinfelder
1391 7896 leinfelder
    					</div>
1392
					</div> <!-- end the accordinan -->
1393 7927 leinfelder
1394 7929 leinfelder
					<input type="SUBMIT" onClick="sortInputTags()" value="Submit Data Set Description" name="submit">
1395
				</form>
1396
1397 7896 leinfelder
			</div> <!-- end the row -->
1398
1399 7889 leinfelder
		</div>
1400
	</article>
1401
1402 7929 leinfelder
[% INCLUDE $templates.footer %]