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 7921 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
										                    <img onClick="cleanTextNodes('aoHRRow', 'addaorow');moveUpRow(event)"
372
										                    src="[% contextUrl %]/style/images/previous.gif"
373
										                    alt="Move Up" border="0"/>
374
										                </a>
375
										                <a style="cursor:pointer">
376
										                    <img onClick="cleanTextNodes('aoHRRow', 'addaorow');moveDownRow(event, 'addaorow')"
377
										                    src="[% contextUrl %]/style/images/next.gif"
378
										                    alt="Move Down" border="0"/>
379
										                </a>
380
										                <a style="cursor:pointer">
381
										                    <img src="[% contextUrl %]/style/images/delete.gif"
382
										                    onClick="delRow(event)" alt="Delete" border="0"/>
383
										                </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
										                    <img onClick="cleanTextNodes('keywordHRRow', 'addkeyrow');moveUpRow(event)"
499
										                    src="[% contextUrl %]/style/images/previous.gif"
500
										                    alt="Move Up" border="0"/>
501
										                </a>
502
										                <a style="cursor:pointer">
503
										                    <img onClick="cleanTextNodes('keywordHRRow', 'addkeyrow');moveDownRow(event, 'addkeyrow')"
504
										                    src="[% contextUrl %]/style/images/next.gif"
505
										                    alt="Move Down" border="0"/>
506
										                </a>
507
										                <a style="cursor:pointer">
508
										                    <img src="[% contextUrl %]/style/images/delete.gif"
509
										                    onClick="delRow(event)" alt="Delete" border="0"/>
510
										                </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
									                        <img onClick="cleanTextNodes('taxonHRRow', 'addtaxarow');moveUpRow(event)"
906
									                        src="[% contextUrl %]/style/images/previous.gif"
907
									                        alt="Move Up" border="0"/>
908
									                    </a>
909
									                    <a style="cursor:pointer">
910
									                        <img onClick="cleanTextNodes('taxonHRRow', 'addtaxarow');moveDownRow(event, 'addtaxarow')"
911
									                        src="[% contextUrl %]/style/images/next.gif"
912
									                        alt="Move Down" border="0"/>
913
									                    </a>
914
									                    <a style="cursor:pointer">
915
									                        <img src="[% contextUrl %]/style/images/delete.gif"
916
									                        onClick="delRow(event)" alt="Delete" border="0"/>
917
									                    </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
										<!-- placeholder for list code -->
931
									     <tr class="sectbody" id="addtaxarow">
932
									        <td class="bordertop" valign="top" align="right"></td>
933
									        <td class="bordertop" align="left" colspan="5"></td>
934
									     </tr>
935
936
									   </table>
937
									</div>
938
								</div>
939
940
								<div class="control-group">
941
									<label class="control-label" for="taxaAuth">Taxonomic Reference</label>
942
									<div class="controls">
943
										<textarea rows="3" cols="30" name="taxaAuth">[% taxaAuth %]</textarea>
944 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>
945 7914 leinfelder
									</div>
946
								</div>
947
948
						    </div>
949
						</div>
950
951
					[% END %]
952 7917 leinfelder
953
					[% IF modules.method == 'true' %]
954
955
						<!-- METHODS -->
956
						<div class="accordion-heading">
957
							<a class="accordion-toggle" data-toggle="collapse" data-target="#collapseMethods" href="#none">
958
								Data Collection Methods
959
							</a>
960
							<a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#Methods"><i class="icon-question-sign"></i></a>
961
						</div>
962
						<div id="collapseMethods" class="accordion-body collapse in">
963
							<div class="accordion-inner">
964
								<!--  the INPUT -->
965
								<div class="control-group">
966
									<label class="control-label" for="methodTitle">Method Title</label>
967
									<div class="controls">
968
										<input type="text" name="methodTitle" value="[%methodTitle%]">
969
									</div>
970
								</div>
971
								<div class="control-group">
972
									<label class="control-label" for="methodPara">Method Description</label>
973
									<div class="controls">
974
								        <table>
975
										[% IF !methodPara %]
976
											<tr><td><textarea rows="6" cols="60" name="methodPara"></textarea></td></tr>
977
								        [% END %]
978
								        [% FOREACH para = methodPara %]
979
								           <tr><td><textarea rows="6" cols="60" name="methodPara">[% para %]</textarea></td></tr>
980
								        [% END %]
981
								        	<tr class="sectbody" id="addparabutton1">
982 7919 leinfelder
									    		<td align="left">
983 7917 leinfelder
									          		<input type="button" value="Add Paragraph to Method Description" onClick="addParagraph()">
984
									          	</td>
985
											</tr>
986
										</table>
987
									</div>
988
								</div>
989
990 7918 leinfelder
								<div class="control-group">
991
									<label class="control-label" for="studyExtentDescription">Extent of Study Description</label>
992
									<div class="controls">
993
										<textarea rows="6" cols="60" name="studyExtentDescription">[% studyExtentDescription %]</textarea>
994
										<span class="help-block">
995
									        Describe the temporal, spatial and taxonomic extent of the study,
996
									        supplementing the information on coverage provided above.
997
									        For example, if the temporal coverage of the data is 1990-2000, you
998
									        might provide details about any years that were missed or the months
999
									        in which sampling occurred.</span>
1000
									</div>
1001
								</div>
1002 7917 leinfelder
1003 7918 leinfelder
								<div class="control-group">
1004
									<label class="control-label" for="samplingDescription">Sampling Description</label>
1005
									<div class="controls">
1006
										<textarea rows="6" cols="60" name="samplingDescription">[% samplingDescription %]</textarea>
1007
										<span class="help-block">
1008
									        Describe the sampling design of the study.  For example, you might
1009
        									describe the way in which treatments were assigned to sampling units.</span>
1010
									</div>
1011
								</div>
1012
1013
1014 7917 leinfelder
						    </div>
1015
						</div>
1016
1017
					[% END %]
1018 7921 leinfelder
1019 7917 leinfelder
1020 7921 leinfelder
						<!-- DATA SET CONTACT -->
1021
						<div class="accordion-heading">
1022
							<a class="accordion-toggle" data-toggle="collapse" data-target="#collapseContact" href="#none">
1023
								Data Set Contact
1024
							</a>
1025
							<a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#DataSetContactAddress"><i class="icon-question-sign"></i></a>
1026
						</div>
1027
						<div id="collapseContact" class="accordion-body collapse in">
1028
							<div class="accordion-inner">
1029
								<!--  the INPUT -->
1030 7922 leinfelder
								<label class="checkbox inline" for="useOrigAddress">
1031
									<input type="CHECKBOX" name="useOrigAddress" onClick="copyContact()" id="copyCheckBox" [%useOrigAddress%]>
1032 7923 leinfelder
        							Use the same name and address as the <em>PRINCIPAL DATA SET OWNER</em> above.
1033 7922 leinfelder
								</label>
1034
1035 7921 leinfelder
								<div class="control-group">
1036
									<label class="control-label" for="origNamefirstContact">*First Name</label>
1037
									<div class="controls">
1038
										<input type="text" name="origNamefirstContact" id="contactNameFirst" value="[%origNamefirstContact%]">
1039
									</div>
1040
								</div>
1041
								<div class="control-group">
1042
									<label class="control-label" for="origNamelastContact">*Last Name</label>
1043
									<div class="controls">
1044
										<input type="text" name="origNamelastContact" id="contactNameLast" value="[%origNamelastContact%]">
1045
									</div>
1046
								</div>
1047
								<div class="control-group">
1048
									<label class="control-label" for="origNameOrgContact">Organization Name</label>
1049
									<div class="controls">
1050
										<input type="text" name="origNameOrgContact" id="contactNameOrg" value="[%origNameOrgContact%]">
1051
									</div>
1052
								</div>
1053
								<div class="control-group">
1054
									[% IF required.contactEmailAddress == 'true' %]
1055
										<label class="control-label" for="origEmailContact">*Email</label>
1056
									[% ELSE %]
1057
										<label class="control-label" for="origEmailContact">Email</label>
1058
									[% END %]
1059
									<div class="controls">
1060
										<input type="text" name="origEmailContact" id="contactEmail" value="[%origEmailContact%]">
1061
									</div>
1062
								</div>
1063
								<div class="control-group">
1064
									<label class="control-label" for="origPhoneContact">Phone</label>
1065
									<div class="controls">
1066
										<input type="text" name="origPhoneContact" id="contactPhone" value="[%origPhoneContact%]">
1067
									</div>
1068
								</div>
1069
								<div class="control-group">
1070
									<label class="control-label" for="origFAXContact">Fax</label>
1071
									<div class="controls">
1072
										<input type="text" name="origFAXContact" id="contactFAX" value="[%origFAXContact%]">
1073
									</div>
1074
								</div>
1075
								<div class="control-group">
1076
									<label class="control-label" for="origDeliveryContact">Street Address</label>
1077
									<div class="controls">
1078
										<textarea id="contactDelivery" name="origDeliveryContact">[%origDeliveryContact%]</textarea>
1079
										<span class="help-block">(number, street, unit, etc.; comma-separated)</span>
1080
									</div>
1081
								</div>
1082
								<div class="control-group">
1083
									<label class="control-label" for="origCityContact">City</label>
1084
									<div class="controls">
1085 7925 leinfelder
										<input type="text" name="origCityContact" id="contactCity" value="[%origCityContact%]">
1086 7921 leinfelder
									</div>
1087
								</div>
1088
								<div class="control-group">
1089
									<label class="control-label" for="origStateContact">U.S. State or Territory</label>
1090
									<div class="controls">
1091
										<select name="origStateContact" id="contactState">
1092
											[% IF form == 're_entry' %]
1093
												<option selected>[%origStateContact%]</option>
1094
											[% ELSE %]
1095
												<option>Select state or territory here.</option>
1096
											[% END %]
1097
											<option>Alabama</option>
1098
											<option>Alaska</option>
1099
											<option>American Samoa</option>
1100
											<option>Arizona</option>
1101
											<option>Arkansas</option>
1102
											<option>California</option>
1103
											<option>Colorado</option>
1104
											<option>Connecticut</option>
1105
											<option>Delaware</option>
1106
											<option>District of Columbia</option>
1107
											<option>Florida</option>
1108
											<option>Georgia</option>
1109
											<option>Guam</option>
1110
											<option>Hawaii</option>
1111
											<option>Idaho</option>
1112
											<option>Illinois</option>
1113
											<option>Indiana</option>
1114
											<option>Iowa</option>
1115
											<option>Kansas</option>
1116
											<option>Kentucky</option>
1117
											<option>Louisiana</option>
1118
											<option>Maine</option>
1119
											<option>Maryland</option>
1120
											<option>Massachusetts</option>
1121
											<option>Michigan</option>
1122
											<option>Minnesota</option>
1123
											<option>Mississippi</option>
1124
											<option>Missouri</option>
1125
											<option>Montana</option>
1126
											<option>Nebraska</option>
1127
											<option>Nevada</option>
1128
											<option>New Hampshire</option>
1129
											<option>New Jersey</option>
1130
											<option>New Mexico</option>
1131
											<option>New York</option>
1132
											<option>North Carolina</option>
1133
											<option>North Dakota</option>
1134
											<option>Northern Mariana Islands</option>
1135
											<option>Ohio</option>
1136
											<option>Oklahoma</option>
1137
											<option>Oregon</option>
1138
											<option>Pennsylvania</option>
1139
											<option>Puerto Rico</option>
1140
											<option>Rhode Island</option>
1141
											<option>South Carolina</option>
1142
											<option>South Dakota</option>
1143
											<option>Tennessee</option>
1144
											<option>Texas</option>
1145
											<option>Utah</option>
1146
											<option>Vermont</option>
1147
											<option>Virgin Islands</option>
1148
											<option>Virginia</option>
1149
											<option>Washington</option>
1150
											<option>West Virginia</option>
1151
											<option>Wisconsin</option>
1152
											<option>Wyoming</option>
1153
										</select>
1154
									</div>
1155
								</div>
1156
								<div class="control-group">
1157
									<label class="control-label" for="origStateOtherContact">Other State/Province</label>
1158
									<div class="controls">
1159
										<input type="text" name="origStateOtherContact" id="contactStateOther" value="[%origStateOtherContact%]">
1160
									</div>
1161
								</div>
1162
								<div class="control-group">
1163
									<label class="control-label" for="origZIPContact">Postal Code</label>
1164
									<div class="controls">
1165
										<input type="text" name="origZIPContact" id="contactZip" value="[%origZIPContact%]">
1166
									</div>
1167
								</div>
1168
								<div class="control-group">
1169
									<label class="control-label" for="origCountryContact">Country</label>
1170
									<div class="controls">
1171
										<input type="text" name="origCountryContact" id="contactCountry" value="[%origCountryContact%]">
1172
									</div>
1173
								</div>
1174
1175
						    </div>
1176
						</div>
1177
1178 7926 leinfelder
						<!-- DISTRIBUTION INFO -->
1179
						<div class="accordion-heading">
1180
							<a class="accordion-toggle" data-toggle="collapse" data-target="#collapseDistribution" href="#none">
1181
								Distribution Information
1182
							</a>
1183
							<a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#DistributionIinformation"><i class="icon-question-sign"></i></a>
1184
						</div>
1185
						<div id="collapseDistribution" class="accordion-body collapse in">
1186
							<div class="accordion-inner">
1187
								<!--  the INPUT -->
1188
								<div class="control-group">
1189
									<label class="control-label" for="identifier">Data Set Identifier</label>
1190
									<div class="controls">
1191
										<input type="text" name="identifier" value="[%identifier%]">
1192
										<span class="help-block">
1193
									     If available, please enter a name or number that uniquely identifies and
1194
									     describes concisely the data set. Alternatively, provide other pertinent
1195
									     information that can identify and locate the data set within your site's
1196
									     data management system.</span>
1197
									</div>
1198
								</div>
1199
								<div class="control-group">
1200
									<label class="control-label" for="dataMedium">*Data Medium</label>
1201
									<div class="controls">
1202
										[% IF form == 're_entry' && (dataMedium == "digital " || dataMedium == "digital")  %]
1203
											<label class"radio inline">
1204
									            <input type="radio"  name="dataMedium" onClick="handleOther(0, 'otherDM')" value="digital" CHECKED>
1205
									            Digital
1206
									        </label>
1207
								        [%ELSE%]
1208
								        	<label class"radio inline">
1209
									            <input type="radio"  name="dataMedium" onClick="handleOther(0, 'otherDM')" value="digital">
1210
									            Digital
1211
									        </label>
1212
								        [% END %]
1213
								        [% IF form == 're_entry' && (dataMedium == "hardcopy " || dataMedium == "hardcopy") %]
1214
								        	<label class"radio inline">
1215
								           		<input type="radio"  name="dataMedium" onClick="handleOther(0, 'otherDM')" value="hardcopy" CHECKED>
1216
								           		Hardcopy
1217
								           	</label>
1218
								        [%ELSE%]
1219
								        	<label class"radio inline">
1220
												<input type="radio"  name="dataMedium" onClick="handleOther(0, 'otherDM')" value="hardcopy">
1221
								           		Hardcopy
1222
								           	</label>
1223
								        [% END %]
1224
								        [% IF form == 're_entry' && dataMedium == "other" %]
1225
								        	<label class"radio inline">
1226
									           <input type="radio" name="dataMedium" value="other" onClick="handleOther(1, 'otherDM')" CHECKED>
1227
									           Other
1228
									        </label>
1229
								        [%ELSE%]
1230
								        	<label class"radio inline">
1231
								           		<input type="radio"  name="dataMedium" onClick="handleOther(1, 'otherDM')" value="other">
1232
								           		Other
1233
								           	</label>
1234
								        [% END %]
1235
								  		<input type="text" name="dataMediumOther" value="[%dataMediumOther%]" id="otherDM"></input>
1236
									</div>
1237
								</div>
1238
1239
								<div class="control-group">
1240
									<label class="control-label" for="useConstraints">*Usage Rights</label>
1241
									<div class="controls">
1242
										[% IF form == 're_entry' && useConstraints == "no restrictions" %]
1243
											<label class"radio inline">
1244
												<input type="radio"  name="useConstraints" onClick="handleOther(0, 'otherUC')" value="no restrictions" CHECKED>
1245
												No restrictions
1246
											</label>
1247
										[%ELSE%]
1248
											<label class"radio inline">
1249
									            <input type="radio"  name="useConstraints" onClick="handleOther(0, 'otherUC')" value="no restrictions">
1250
									            No restrictions
1251
									        </label>
1252
										[%END%]
1253
										[% IF form == 're_entry' && useConstraints == "Obtain permission from data set owner(s)" %]
1254
											<label class"radio inline">
1255
										        <input type="radio"  name="useConstraints" onClick="handleOther(0, 'otherUC')" value="Obtain permission from data set owner(s)" CHECKED>
1256
										        Obtain permission from data set owner(s)
1257
										    </label>
1258
										[%ELSE%]
1259
											<label class"radio inline">
1260
									            <input type="radio"  name="useConstraints" onClick="handleOther(0, 'otherUC')" value="Obtain permission from data set owner(s)">
1261
									            Obtain permission from data set owner(s)
1262
									        </label>
1263
										[%END%]
1264
1265
										[% IF form == 're_entry' && useConstraints == "other" %]
1266
											<label class"radio inline">
1267
												<input type="radio"  name="useConstraints" onClick="handleOther(1, 'otherUC')" value="other" CHECKED>
1268
											    Other
1269
											</label>
1270
									    [%ELSE%]
1271
									    	<label class"radio inline">
1272
												<input type="radio"  name="useConstraints" onClick="handleOther(1, 'otherUC')" value="other">
1273
												Other
1274
											</label>
1275
									    [%END%]
1276
										<input type="text" name="useConstraintsOther" id="otherUC" value="[%useConstraintsOther%]" size="49">
1277
									</div>
1278
								</div>
1279
1280
								<div class="control-group">
1281
									<label class="control-label" for="url">URL</label>
1282
									<div class="controls">
1283
										<input type="text" name="url" value="[%url%]">
1284
									</div>
1285
								</div>
1286
								<div class="control-group">
1287
									<label class="control-label" for="addComments">Additional Information</label>
1288
									<div class="controls">
1289
										<textarea rows="6" cols="60" name="addComments">[%addComments%]</textarea>
1290
									</div>
1291
								</div>
1292
1293
						    </div>
1294
						</div>
1295
1296
1297 7927 leinfelder
					[% IF modules.upload == 'true' %]
1298
1299
						<!-- DATA UPLOAD -->
1300 7921 leinfelder
						<div class="accordion-heading">
1301 7927 leinfelder
							<a class="accordion-toggle" data-toggle="collapse" data-target="#collapseUploadData" href="#none">
1302
								Upload Data
1303 7921 leinfelder
							</a>
1304 7927 leinfelder
							<a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#XXX"><i class="icon-question-sign"></i></a>
1305 7921 leinfelder
						</div>
1306 7927 leinfelder
						<div id="collapseUploadData" class="accordion-body collapse in">
1307 7921 leinfelder
							<div class="accordion-inner">
1308 7928 leinfelder
1309 7921 leinfelder
								<!--  the INPUT -->
1310 7928 leinfelder
								<table class="tables" cellpadding="5" cellspacing="0" id="uploadTable">
1311
									<tr class="sectbody">
1312
									    <td class="rightCol"><span class="text-info">Upload Data File</span></td>
1313
									    <td colspan="5">
1314
								        	<input type="file" id="file_element" name="file_1" class="longwidth">
1315
1316
									        [% IF form == 're_entry' && upCount %]
1317
									           [% cnt = 0 %]
1318
									           [% WHILE cnt < upCount %]
1319
									                [% SET fileSum = "upload_${cnt}" %]
1320
									                [% SET fileName = "uploadname_${cnt}" %]
1321
									                [% SET fileType = "uploadtype_${cnt}" %]
1322
									                [% SET filePerm = "uploadperm_${cnt}" %]
1323
									                [% IF fileSum %]
1324
									                    <input type="hidden" name="[%fileSum%]" value="[% $fileSum %]">
1325
									                    <input type="hidden" name="[%fileName%]" value="[% $fileName %]">
1326
									                    <input type="hidden" name="[%fileType%]" value="[% $fileType %]">
1327
									                [% END %]
1328
									                [% cnt = cnt + 1 %]
1329
									            [% END %]
1330
									        <input type="hidden" id="upCount" name="upCount" value="[%upCount%]">
1331
									        [% END %]
1332
1333
									        <input type="hidden" id="fileCount" name="fileCount" value="[%fileCount%]">
1334
										</td>
1335
									</tr>
1336
									<tr class="sectbody">
1337
										<td class="rightCol" valign="top"><span class="text-info">Attached Files</span></td>
1338
										<td colspan="5" class="regtext">
1339 7927 leinfelder
										    [% IF !upCount %]
1340
										        <div id="file_comment">
1341
										            (<i>None currently attached</i>)
1342
										        </div>
1343
										    [% END %]
1344 7928 leinfelder
										    <div id="files_list">
1345
											    [% IF form == 're_entry' && upCount %]
1346
											    	[% cnt = 0 %]
1347
1348
												    [% WHILE cnt < upCount %]
1349
												        [% SET fileName = "uploadname_${cnt}" %]
1350
												        [% SET filePerm = "uploadperm_${cnt}" %]
1351
												        [% IF $filePerm == 'public' %]
1352
												          [% SET perm_a = "checked" %]
1353
												          [% SET perm_b = "" %]
1354
												        [% ELSE %]
1355
												          [% SET perm_a = "" %]
1356
												          [% SET perm_b = "checked" %]
1357
												        [% END %]
1358 7929 leinfelder
												        [% IF fileName %]
1359
													        <div>
1360
													          [% $fileName %]
1361
													          <label class="radio inline">
1362
																<input type="radio" name="[% filePerm %]" value="public" [% perm_a %]> Public
1363
													          </label>
1364
													          <label class="radio inline">
1365
													          	<input type="radio" name="[% filePerm %]" value="private" [% perm_b %]> Private
1366
													          </label>
1367
													          <label class="text inline">
1368
																<input type="button" value="Delete" onclick="deleteFile(event, [%fileName%]);"/>
1369
															</div>
1370 7928 leinfelder
														[% END %]
1371
1372
												        [% cnt = cnt + 1 %]
1373
												    [% END %]
1374
										    	[% END %]
1375
										    </div>
1376
										</td>
1377
									</tr>
1378
								</table>
1379
1380
								<script language="JavaScript" type="text/JavaScript">
1381
									var multi_selector = new MultiSelector( document.getElementById( 'files_list' ), 10);
1382
								    multi_selector.addElement( document.getElementById( 'file_element' ) );
1383
								</script>
1384
1385 7921 leinfelder
1386
						    </div>
1387
						</div>
1388 7927 leinfelder
1389
					[% END %]
1390
1391 7867 leinfelder
1392 7896 leinfelder
    					</div>
1393
					</div> <!-- end the accordinan -->
1394 7927 leinfelder
1395 7929 leinfelder
					<input type="SUBMIT" onClick="sortInputTags()" value="Submit Data Set Description" name="submit">
1396
				</form>
1397
1398 7896 leinfelder
			</div> <!-- end the row -->
1399
1400 7889 leinfelder
		</div>
1401
	</article>
1402
1403 7929 leinfelder
[% INCLUDE $templates.footer %]