Project

General

Profile

1
[% INCLUDE $templates.header %]
2

    
3
  <script language="JavaScript">
4
	    var contextUrl = '[% contextUrl %]';
5
	</script>
6
  <script language="JavaScript" type="text/javascript" src="[% styleCommonPath %]/templates/metacatui/entryForm.js">
7
  </script>
8

    
9
      
10
      
11
      
12
	<!-- CONTENT SECTION
13
    ======================================================================= -->
14
	<article id="EntryForm">
15
		<div class="container">
16
		
17
			<div class="row-fluid">
18
			
19
				[% IF form != 're_entry' %]  
20
				
21
					<h2>Upload your data</h2>
22
					<p class="lead">
23
						Use this form to submit a new data package to the repository.
24
					</p>
25
					
26
				[% ELSE %]
27
				
28
					<h2>Edit your data</h2>
29
					<p class="lead">
30
						Use this form to edit a data package submitted earlier.
31
					</p>
32
					
33
					[%IF docid !=''%]
34
						<p>
35
							The ID of this data set is: <a href="[% metacatUrl %]?action=read&qformat=[% cfg %]&docid=[% docid %]">[% docid %]</a>
36
						</p>	
37
\					[%END%]
38
				
39
				[% END %]
40
				
41
				<p>
42
					Please have a look at the 
43
					<a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide" target="guide">
44
					Guide for Completing the Data Repository Form</a> 
45
	        		before you start filling in this form. Also, use your browser's 
46
	        		Reload/Refresh function to make sure you see the latest version of this 
47
	        		page.
48
				</p>
49
				<p>
50
					If you have any questions, comments or problems 
51
					regarding this form, please contact the repository administrator at 
52
					<a href="mailto:[% email.recipient %]">[% email.recipient %]</a>
53
				</p>
54
				<p class="text-info">*Denotes a required field.</p>
55
			</div>
56

    
57

    
58
<form action="[% cgiPrefix %]/register-dataset.cgi" enctype="multipart/form-data" method="post">
59
  <input type="hidden" name="cfg" value="[% cfg %]">
60
  <input type="hidden" name="docid" value="[% docid %]">
61
  <input type="hidden" name="stage" value="insert">
62
  
63
        <table class="tables" cellpadding="5" cellspacing="0">
64
        <tr class="sectheader">
65
          <td colspan="5" align="left">
66
            <span class="label">NAME OF SUBMITTER</span> 
67
            <a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#Submitter" target="guide" class="smalltext">(What's this?)</a>
68
          </td>
69
          <td class="rightCol"><span><a onClick="submitterBit=swap(event, 'submitterTable', submitterBit)" style="cursor:pointer">Hide</a></span></td>
70
        </tr>
71
  </table>
72
        
73
        <table class="tables" cellpadding="5" cellspacing="0" id="submitterTable">
74
        <tr class="sectbody" id="firstName"><td class="rightCol"><span class="label">*First Name</span><td colspan="5"><input type="TEXT" name="providerGivenName" class="shortwidth" value="[%providerGivenName%]">
75
        </td></tr>
76
  <tr class="sectbody" id="lastName"><td class="rightCol"><span class="label">*Last Name</span><td colspan="5"><input type="TEXT" name="providerSurName" class="shortwidth" value="[%providerSurName%]">
77
        </td></tr>
78
  </table>
79
  
80
  
81
        <table class="tables" cellpadding="5" cellspacing="0">
82
        <tr class="sectheader">
83
          <td colspan="5" align="left">
84
            <span class="label">BASIC INFORMATION</span>
85
            <a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#BasicInformation" target="guide" class="smalltext">(What's this?)</a>
86
          </td>
87
          <td class="rightCol"><span><a onClick="basicInfoBit=swap(event, 'basicInfoTable', basicInfoBit)" style="cursor:pointer">Hide</a></span></td>
88
        </tr>
89
  </table>
90
        
91
        <table class="tables" cellpadding="5" cellspacing="0" id="basicInfoTable">
92
  <tr class="sectbody" id="title"><td class="rightCol"><span class="label">*Data Set Title</span></td><td colspan="5"><input type="TEXT" name="title" value="[%title%]" class="longwidth">
93
        </td></tr>
94
    
95
  [% IF show.siteList == 'true' %]
96
        <tr class="sectbody" id="sitelist"><td class="rightCol"><span class="label">*[% config.site | ucfirst %] Name</span></td>
97
    <td colspan="5"><select name="site" class="longwidth">
98
      [% IF form == 're_entry' %]
99
        <option selected>[%site%]</option>
100
      [% ELSE %]
101
          <option>Select your [% config.site %] here.</option>
102
      [% END %]
103
            [% FOREACH site = siteList %]
104
              <option>[% site %]</option>
105
            [% END %]
106
          </select></td></tr>
107
[% END %]
108
        
109
  [% IF show.wgList == 'true' %]
110
        <tr class="sectbody"><td class="rightCol"><span class="label">*NCEAS Project(s):</span></td>
111
            <td colspan="5"><select name="wg" multiple="multiple" size="5" class="longwidth">
112
            [% FOREACH project = projects %]
113
              [% SET pname = $project.3 %]
114
              [% IF pname.length > 50 %]
115
                [% SET sname = $project.4 %]
116
              [% END %]
117
              [% SET label = "NCEAS ${project.0}: ${project.1}: $project.4" %]
118
              [% SET value = "NCEAS ${project.0}: ${project.1}: $project.3" %]
119
              [% SET sel = '' %]
120
              [% FOREACH group = wg %]
121
                  [% IF group == value %]
122
                      [% SET sel = 'selected="selected"' %]
123
                  [% END %]
124
              [% END %]
125
              <option value="[% value %]" [% sel %]>[% label %]</option>
126
            [% END %]
127
          </select></td></tr>
128
[% END %]
129
[% IF show.organization == 'true' %]
130
        <tr class="sectbody"><td class="rightCol"><span class="label">*Organization Name</span></td>
131
            <td colspan="5"><input type="TEXT" name="site" class="longwidth" value="[%site%]"></td></tr>
132
[% END %]
133
    </table>
134
       
135
    <table class="tables" cellpadding="5" cellspacing="0">
136
        <tr class="sectheader">
137
          <td colspan="5" align="left">
138
            <span class="label">PRINCIPAL DATA SET OWNER</span>
139
            <a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#DataSetOriginator" 
140
  target="guide" class="smalltext">(What's this?)</a>
141
          </td>
142
          <td class="rightCol"><span><a onClick="dsoBit=swap(event, 'dsoTable', dsoBit)" style="cursor:pointer">Hide</a></span></td>
143
        </tr>
144
    </table>
145

    
146
    <table class="tables" cellpadding="5" cellspacing="0" id="dsoTable">    
147
    <tr class="sectbody"><td class="rightCol"><span class="label">*First Name</span></td>
148
        <td colspan="5"><input type="TEXT" name="origNamefirst0" class="shortwidth" id="origNameFirst" value="[%origNamefirst0%]"></td></tr>
149
    <tr class="sectbody"><td class="rightCol"><span class="label">*Last Name</span></td>
150
        <td colspan="5"><input type="TEXT" name="origNamelast0" class="shortwidth" id="origNameLast" value="[%origNamelast0%]"></td></tr>
151
    <tr class="sectbody"><td class="rightCol"><span class="label">Organization Name</span></td>
152
        <td colspan="5"><input type="TEXT" name="origNameOrg" class="longwidth" id="origNameOrg" value="[%origNameOrg%]"></td></tr>
153
    <tr class="sectbody"><td class="rightCol"><span class="label">E-Mail</span></td>
154
         <td colspan="5"><input type="TEXT" name="origEmail" class="shortwidth" id="origEmail" value="[%origEmail%]"></td></tr>
155
    <tr class="sectbody"><td class="rightCol"><span class="label">Phone</span></td>
156
        <td colspan="5"><input type="TEXT" name="origPhone" class="shortwidth" id="origPhone" value="[%origPhone%]"></td></tr>
157
    <tr class="sectbody"><td class="rightCol"><span class="label">FAX</span></td>
158
        <td colspan="5"><input type="TEXT" name="origFAX" class="shortwidth" id="origFAX" value="[%origFAX%]"></td></tr>
159
  
160
   <tr class="sectbody"><td valign="top" align="right"><span class="label">Street<br>Information</td> 
161
        <td colspan="5"><textarea id="origDelivery" name="origDelivery" class="longwidth">[%origDelivery%]</textarea><br><span class="smalltext">(number, street, unit, etc.; comma-separated)</span>
162
        </td></tr>
163
    
164
    <tr class="sectbody"><td class="rightCol"><span class="label">City</span></td>
165
        <td colspan="5"><input type="TEXT" name="origCity" id="origCity" value="[%origCity%]" class="shortwidth"></td></tr>
166
    <tr class="sectbody"><td class="rightCol"><span class="label">U.S. State or Territory</span></td>
167
        <td colspan="5"><select name="origState" id="origState" class="shortwidth">
168
      [% IF form == 're_entry' %]
169
                <option selected>[%origState%]</option>
170
      [% ELSE %]
171
    <option>Select state or territory here.</option>
172
      [% END %]
173
            <option>Alabama</option>
174
            <option>Alaska</option>
175
            <option>American Samoa</option>
176
            <option>Arizona</option>
177
            <option>Arkansas</option>
178
            <option>California</option>
179
            <option>Colorado</option>
180
            <option>Connecticut</option>
181
            <option>Delaware</option>
182
            <option>District of Columbia</option>
183
            <option>Florida</option>
184
            <option>Georgia</option>
185
            <option>Guam</option>
186
            <option>Hawaii</option>
187
            <option>Idaho</option>
188
            <option>Illinois</option>
189
            <option>Indiana</option>
190
            <option>Iowa</option>
191
            <option>Kansas</option>
192
            <option>Kentucky</option>
193
            <option>Louisiana</option>
194
            <option>Maine</option>
195
            <option>Maryland</option>
196
            <option>Massachusetts</option>
197
            <option>Michigan</option>
198
            <option>Minnesota</option>
199
            <option>Mississippi</option>
200
            <option>Missouri</option>
201
            <option>Montana</option>
202
            <option>Nebraska</option>
203
            <option>Nevada</option>
204
            <option>New Hampshire</option>
205
            <option>New Jersey</option>
206
            <option>New Mexico</option>
207
            <option>New York</option>
208
            <option>North Carolina</option>
209
            <option>North Dakota</option>
210
            <option>Northern Mariana Islands</option>
211
            <option>Ohio</option>
212
            <option>Oklahoma</option>
213
            <option>Oregon</option>
214
            <option>Pennsylvania</option>
215
            <option>Puerto Rico</option>
216
            <option>Rhode Island</option>
217
            <option>South Carolina</option>
218
            <option>South Dakota</option>
219
            <option>Tennessee</option>
220
            <option>Texas</option>
221
            <option>Utah</option>
222
            <option>Vermont</option>
223
            <option>Virgin Islands</option>
224
            <option>Virginia</option>
225
            <option>Washington</option>
226
            <option>West Virginia</option>
227
            <option>Wisconsin</option>
228
            <option>Wyoming</option>
229
      </select></td></tr>
230
   
231
    <tr class="sectbody"><td class="rightCol"><span class="label">Other State/Province</span></td>
232
          <td colspan="5"><input type="TEXT" name="origStateOther" class="shortwidth" id="origStateOther" value="[%origStateOther%]"></td></tr>
233
    <tr class="sectbody"><td class="rightCol"><span class="label">Postal Code</span></td>
234
        <td colspan="5"><input type="TEXT" name="origZIP" id="origZip" value="[%origZIP%]" class="shortwidth"></td></tr>
235
    <tr class="sectbody"><td class="rightCol"><span class="label">Country</span></td>
236
        <td colspan="5"><input type="TEXT" name="origCountry" class="shortwidth" id="origCountry" value="[%origCountry%]"></td></tr>
237
    </table>
238
   
239
    <table class="tables" cellpadding="5" cellspacing="0">
240
      <tr class="sectheader">
241
      <td colspan="5" align="left">
242
        <span class="label">ASSOCIATED PARTIES</span>
243
        <a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#AdditionalOriginators" target="guide" class="smalltext">(What's this?)</a>
244
      </td>
245
      <td class="rightCol"><span><a onClick="apBit=swap(event, 'apTable', apBit)" style="cursor:pointer">Hide</a></span></td>
246
    </tr>
247
    </table>
248

    
249
    <table class="tables" cellpadding="5" cellspacing="0" id="apTable">    
250
    <tr class="sectbody"><td class="rightCol"><span class="label">First Name</span></td>
251
        <td colspan="5">
252
        <input name="aoFirstName" id="AONameFirst" class="shortwidth"></td></tr>
253
            
254
    <tr class="sectbody"><td class="rightCol"><span class="label">Last Name</span></td>
255
        <td colspan="5">
256
        <input name="aoLastName" id="AONameLast" class="shortwidth"></td></tr>
257
                   
258
    <tr class="sectbody"><td class="rightCol"><span class="label">Role</span></td>
259
        <td colspan="5"> 
260
        <select id="AORole" name="aoRole" class="shortwidth">
261
            <option>Co-owner</option>
262
            <option>Custodian/Steward</option>
263
            <option>Metadata Provider</option>
264
      <option>User</option>
265
        </select>
266
        </td>
267
    </tr>
268
  
269
   <tr id="addAssociatedParty" class="sectbody"> 
270
            <td></td>
271
            <td colspan="5"> <input type="button" value="Add Associated Party" id="addaobutton1"
272
                    onClick="addAssociatedParty()"></td></tr>
273
       
274
    [% numAO = 0 %]
275
    [% IF aoCount %]
276
        [% numAO = aoCount %]
277
        <tr class="sectbody" id="aoHRRow">
278
            <td colSpan="6">
279
                <hr width = "85%"/>
280
            </td>
281
        </tr>
282
    [% END %]
283
    [% cnt = 1 %]
284
    [% WHILE cnt < numAO%]
285
            
286
        <tr class="sectbody">
287
            [% SET aofn = "origNamefirst${cnt}" %]
288
            [% SET aoln = "origNamelast${cnt}" %]
289
            [% SET aorole = "origRole${cnt}" %]
290
     
291
            <td class="rightCol">
292
                <a style="cursor:pointer">
293
                    <img onClick="cleanTextNodes('aoHRRow', 'addaorow');moveUpRow(event)"
294
                    src="[% contextUrl %]/style/images/previous.gif"
295
                    alt="Move Up" border="0"/>
296
                </a>
297
                <a style="cursor:pointer">
298
                    <img onClick="cleanTextNodes('aoHRRow', 'addaorow');moveDownRow(event, 'addaorow')"
299
                    src="[% contextUrl %]/style/images/next.gif"
300
                    alt="Move Down" border="0"/>
301
                </a>
302
                <a style="cursor:pointer">
303
                    <img src="[% contextUrl %]/style/images/delete.gif"
304
                    onClick="delRow(event)" alt="Delete" border="0"/>
305
                </a>
306
            </td>
307
            <td colspan="5" align ="left" style="cursor:pointer"
308
                onClick="aoEditRow(event, 0, '[%$aofn%]', '[%$aoln%]' , '[%$aorole%]')">
309
                [%$aofn%] [%$aoln%] (Role: [%$aorole%])
310
                <input name="aoFirstName" type="hidden" value="[%$aofn%]"/>
311
                <input name="aoLastName" type="hidden" value="[%$aoln%]"/>
312
                <input name="aoRole" type="hidden" value="[%$aorole%]"/>
313
            </td>
314
        </tr>
315
        [% cnt = cnt + 1 %]
316
    [% END %]
317
    <input type="hidden" name="aoCount" value="[%numAO%]" id="aoCount">
318
    <tr class="sectbody" id="addaorow"><td colspan=6 /></tr>
319
    </table>
320
   
321
    <table class="tables" cellpadding="5" cellspacing="0">          
322
      <tr class="sectheader">
323
        <td colspan="5" align="left">
324
          <span class="label">DATA SET ABSTRACT</span>
325
          <a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#DataSetAbstract" target="guide" class="smalltext">(What's this?)</a>
326
        </td>
327
        <td class="rightCol"><span><a onClick="abstractBit=swap(event, 'abstractTable', abstractBit)" style="cursor:pointer">Hide</a></span></td>
328
  </tr>  
329
    </table>
330
   
331
    <table class="tables" cellpadding="5" cellspacing="0" id="abstractTable">  
332
    <tr class="sectbody"><td class="rightCol" valign="top"><span class="label">*Data Set Abstract</span><br><span class="regtext">(max. 350 words)</span></td>
333
        <td colspan="5"><textarea rows="6" cols="60" name="abstract">[%abstract%]</textarea></td></tr>
334
    </table>
335
  [% IF modules.keyword == 'true' %]
336
    <table class="tables" cellpadding="5" cellspacing="0">
337
      <tr class="sectheader">
338
        <td colspan="5" align="left">
339
          <span class="label">KEYWORD INFORMATION</span>
340
          <a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#KeywordInformation" target="guide" class="smalltext">(What's this?)</a>
341
        </td>
342
        <td class="rightCol"><span><a onClick="keywordBit=swap(event, 'keywordTable', keywordBit)" style="cursor:pointer">Hide</a></span></td>
343
        </tr>
344
    </table>
345
   
346
    <table class="tables" cellpadding="5" cellspacing="0" id="keywordTable">     
347
     <tr class="sectbody"><td><td colspan="5" align="left"><span class="regtext">For samples, see <a href=
348
"http://gcmd.nasa.gov/Resources/valids/gcmd_parameters.html" target="nasa"><span class=
349
"boldlink">NASA Global Change Master Directory (GCMD)</a>.</span>
350
     
351
      <tr class="sectbody">
352
        <td class="rightCol"><span class="label">Keyword</span></td>
353
      <td colspan="5">
354
            <input name="keyword" id="keyword" class="shortwidth"></td></tr>
355

    
356

    
357
     <tr class="sectbody"><td class="rightCol"><span class="label">Keyword Type</span></td>
358
     <td colspan="5">
359
            <select name="keywordType" id="keywordType" class="shortwidth">
360
      <option>None</option>
361
            <option>Theme</option>
362
            <option>Place</option>
363
            <option>Stratum</option>
364
            <option>Temporal</option>
365
            <option>Taxonomic</option>
366
            </select>
367
        </td></tr>
368
      
369
        <tr id="keyThRow" class="sectbody"><td class="rightCol"><span class="label">Keyword Thesaurus</span></td>
370
          <td colspan="5">
371
            
372
            <select name="keywordTh" id="keywordTh" class="shortwidth">
373
          <option>None</option>
374
             <option>GCMD</option>
375
            </select>
376
      
377
      </td></tr>
378
            
379
    <tr id="addKeyword" class="sectbody">
380
          <td></td>
381
          <td colspan="5" align="left">
382
                   <input type="button" value="Add Keyword" onClick="addKeyword()"></td></tr>
383
        
384
        
385
 [% numKey = 0 %]
386
 [% IF keyCount %]
387
   [% numKey = keyCount %]
388
        [% numAO = aoCount %]
389
        <tr class="sectbody" id="keywordHRRow">
390
            <td colSpan="6">
391
                <hr width = "85%"/>
392
            </td>
393
        </tr>
394
 [% END %]
395
 <input type="hidden" name="keyCount" value="[%numKey%]" 
396
            id="keyCount">
397
   
398
      [% cnt = 1 %]
399
        [% WHILE cnt < numKey %]
400
        
401
           <tr class="sectbody">
402
            <td class="rightCol">
403
                <a style="cursor:pointer">
404
                    <img onClick="cleanTextNodes('keywordHRRow', 'addkeyrow');moveUpRow(event)"
405
                    src="[% contextUrl %]/style/images/previous.gif"
406
                    alt="Move Up" border="0"/>
407
                </a>
408
                <a style="cursor:pointer">
409
                    <img onClick="cleanTextNodes('keywordHRRow', 'addkeyrow');moveDownRow(event, 'addkeyrow')"
410
                    src="[% contextUrl %]/style/images/next.gif"
411
                    alt="Move Down" border="0"/>
412
                </a>
413
                <a style="cursor:pointer">
414
                    <img src="[% contextUrl %]/style/images/delete.gif"
415
                    onClick="delRow(event)" alt="Delete" border="0"/>
416
                </a>
417
            </td>
418
            [% SET keyword = "keyword${cnt}" %]
419
            [% SET keywordType = "kwType${cnt}" %]
420
            [% SET keywordTh = "kwTh${cnt}" %]
421
            <td colspan="5" align ="left" style="cursor:pointer"
422
                onClick="keywordEditRow(event, 0, '[%$keyword%]', '[%$keywordType%]' , '[%$keywordTh%]')">
423
                [%$keyword%] (Type: [%$keywordType%], Thesaurus: [%$keywordTh%])
424
                <input name="keyword" type="hidden" value="[%$keyword%]"/>
425
                <input name="keywordType" type="hidden" value="[%$keywordType%]"/>
426
                <input name="keywordTh" type="hidden" value="[%$keywordTh%]"/>
427
            </td>
428
        </tr>
429
        [% cnt = cnt + 1 %]
430
       [% END %]
431
        <tr class="sectbody" id="addkeyrow"><td colspan=6 /></tr>
432
       </table>
433
  [% END %]
434
  
435
  [% IF modules.temporal == 'true' %]
436
   
437
  <table class="tables" cellpadding="5" cellspacing="0">   
438
    <tr class="sectheader">
439
      <td colspan="5" align="left">
440
        <span class="label">TEMPORAL COVERAGE OF DATA</span>
441
        <a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#TemporalCoverageOfData" target="guide" class="smalltext">(What's this?)</a>
442
      </td>
443
      <td class="rightCol"><span><a onClick="temporalBit=swap(event, 'temporalTable', temporalBit)" style="cursor:pointer">Hide</a></span></td>
444
   </tr>
445
   </table>
446
   
447
   <table class="tables" cellpadding="5" cellspacing="0" id="temporalTable">  
448
   <tr class="sectbody">
449
      <td/>
450
      <td align="left"><span class="label">Start Date</span></td>
451
      <td/>
452
      <td align="left"><span class="label">Stop Date</span></td>
453
      <td colspan="2"></td>
454
      </tr>
455
     
456
      <tr class="sectbody"> 
457
        <td class="rightCol"> 
458
          [% IF required.temporal == 'true' %]
459
            <span class="label">*Year (yyyy)</span>
460
          [% ELSE %]
461
    <span class="label">Year (yyyy)</span>
462
    [% END %]</td>
463
    <td align="left" style="width:15%"><input type="TEXT" name="beginningYear" value="[%beginningYear%]" size="8" maxlength="4"></td>
464
          <td class="rightCol"><span class="label">Year (yyyy)</span></td>
465
    <td align="left"><input type="TEXT" name="endingYear" value="[%endingYear%]" size="8" maxlength="4"></td>
466
          <td colspan="3"></td>
467
      </tr>
468
          
469
    
470
  <tr class="sectbody">
471
    <td class="rightCol">
472
    <span class="label">Month</span>
473
          </td>
474
    <td align="left"><select name="beginningMonth">
475
      [% IF form == 're_entry' && beginningMonth != ""%]
476
        <option selected>[%beginningMonth%]</option>
477
      [% END %]
478
            <option>MM</option>            <option>01</option>            <option>02</option>            <option>03</option>
479
            <option>04</option>            <option>05</option>            <option>06</option>            <option>07</option>
480
            <option>08</option>            <option>09</option>            <option>10</option>            <option>11</option>
481
            <option>12</option>
482
          </select></td>
483
      
484
         <td class="rightCol"><span class="label">Month</span></td>
485
   <td align="left"> <select name="endingMonth">
486
      [% IF form == 're_entry' && endingMonth != ""%]
487
        <option selected>[%endingMonth%]</option>
488
      [% END %]
489
            <option>MM</option>            <option>01</option>            <option>02</option>            <option>03</option>
490
            <option>04</option>            <option>05</option>            <option>06</option>            <option>07</option>
491
            <option>08</option>            <option>09</option>            <option>10</option>            <option>11</option>
492
            <option>12</option>
493
          </select></td>  <td colspan="2"></td></tr>
494
       
495
   <tr class="sectbody">
496
    <td class="rightCol"> 
497
            <span class="label">Day</span>
498
    </td>
499
    
500
    <td align="left"><select name="beginningDay">
501
      [% IF form == 're_entry' && beginningDay != ""%]
502
        <option selected>[%beginningDay%]</option>
503
      [% END %]
504
            <option>DD</option>            <option>01</option>            <option>02</option>            <option>03</option>
505
            <option>04</option>            <option>05</option>            <option>06</option>            <option>07</option>
506
            <option>08</option>            <option>09</option>            <option>10</option>            <option>11</option>
507
            <option>12</option>            <option>13</option>            <option>14</option>            <option>15</option>
508
            <option>16</option>            <option>17</option>            <option>18</option>            <option>19</option>
509
            <option>20</option>            <option>21</option>            <option>22</option>            <option>23</option>
510
            <option>24</option>            <option>25</option>            <option>26</option>            <option>27</option>
511
            <option>28</option>            <option>29</option>            <option>30</option>            <option>31</option>
512
          </select></td>
513
      
514
          <td class="rightCol"><span class="label">Day</span></td>
515
    <td align="left"><select name="endingDay">
516
      [% IF form == 're_entry' && endingDay != ""%]
517
        <option selected>[%endingDay%]</option>
518
      [% END %]
519
            <option>DD</option>            <option>01</option>            <option>02</option>            <option>03</option>
520
            <option>04</option>            <option>05</option>            <option>06</option>            <option>07</option>
521
            <option>08</option>            <option>09</option>            <option>10</option>            <option>11</option>
522
            <option>12</option>            <option>13</option>            <option>14</option>            <option>15</option>
523
            <option>16</option>            <option>17</option>            <option>18</option>            <option>19</option>
524
            <option>20</option>            <option>21</option>            <option>22</option>            <option>23</option>
525
            <option>24</option>            <option>25</option>            <option>26</option>            <option>27</option>
526
            <option>28</option>            <option>29</option>            <option>30</option>            <option>31</option>
527
          </select></td>
528
          <td colspan="2"></td></tr>
529
  <tr class="sectbody"> 
530
      <td></td><td align="left" colspan="5"> 
531
       <span class="label">Note: </span><span class="regtext">Leave "Stop Date" blank if your data set is open-ended.</span>
532
     </td></tr>
533
     </table>
534
  [% END %]  
535
  
536
[% IF modules.spatial == 'true' %]
537

    
538
  <table class="tables" cellpadding="5" cellspacing="0">  
539

    
540
    <tr class="sectheader">
541
      <td colspan="5" align="left">
542
        <span class="label">SPATIAL COVERAGE OF DATA</span>
543
        <a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#SpatialCoverageOfData" target="guide" class="smalltext">(What's this?)</a>
544
      </td>
545
      <td class="rightCol"><span><a onClick="spatialBit=swap(event, 'spatialTable', spatialBit)" style="cursor:pointer">Hide</a></span></td>
546
    </tr>
547
  </table>
548
   
549
   <table class="tables" cellpadding="5" cellspacing="0" id="spatialTable">  
550
   
551
    <tr class="sectbody">
552
       [% IF required.spatial == 'true' %]
553
          <td align="right" valign="top"><span class="label">*Geographic Description</span></td>
554
    [% ELSE %]
555
          <td align="right" valign="top"><span class="label">Geographic Description</span></td>
556
    [% END %]    
557
          <td align="left" colspan="5"><textarea rows="3" cols="60" name="geogdesc">[% geogdesc %]</textarea></td></tr>
558
    <tr class="sectbody"><td><td colspan="4"><span class="regtext">General description of the geographic area in which the data were collected. 
559
    It can be a simple place name (e.g., Santa Barbara) or a fuller description.</span></td><td>
560
    </td></tr>
561
    <tr class="sectbody"><td class="topbottom" align="center" colspan="6"><span class="label">COORDINATES</span></td></tr>
562
        
563
     
564
  [% IF show.siteList == 'true' %]
565
    <tr class="sectbody"><td align="left" valign="top" colspan="6">
566
        <input class="label" type="CHECKBOX" name="useSiteCoord" [%useSiteCoord%]>
567
        <span class="regtext">Use [% config.site %] coordinates. (This indicates that the data were
568
        collected at the [% config.site %]. If you check this box, you don't need
569
        to fill in the lat./long. fields below).</span>
570
        </td>
571
    </tr>
572
  [% END %]
573
    
574
    <tr class="sectbody">
575
      <td width="190"></td><td width="100" align="left"><span class="label">Degrees</span></td>
576
      <td width="110" align="left"><span class="label">Minutes</span></td>
577
      <td width="70" align="left"><span class="label">Seconds</span></td>
578
      <td width="200"></td><td width="90"</td>
579
   </tr>
580
      
581
   <tr class="sectbody">
582
     <td class="rightCol">
583
      [% IF required.spatial == 'true' %]
584
        <span class="label">*Latitude</span>
585
      [% ELSE %]
586
        <span class="label">Latitude</span>
587
      [% END %]</td> 
588
     <td> 
589
          <input type="TEXT" name="latDeg1" value="[%latDeg1%]" size="3" maxlength="3"></td>
590
      <td> <input type="TEXT" name="latMin1" value="[%latMin1%]" size="2" maxlength="2"></td>
591
      <td>  <input type="TEXT" name="latSec1" value="[%latSec1%]" size="2" maxlength="2"></td>
592
      
593
      <td Align="left" colspan="2"> 
594
      [% IF form == 're_entry' && hemisphLat1 == "N"%]
595
        <input type="radio"  name="hemisphLat1" value="N" CHECKED><span class="regtext">North&nbsp;&nbsp;</span>
596
      [%ELSE%]
597
        <input type="radio"  name="hemisphLat1" value="N"><span class="regtext">North&nbsp;&nbsp;</span>
598
      [%END%]
599
      [% IF form == 're_entry' && hemisphLat1 == "S"%]
600
        <input type="radio"  name="hemisphLat1" value="S" CHECKED><span class="regtext">South&nbsp;&nbsp;</span>
601
      [%ELSE%]
602
        <input type="radio"  name="hemisphLat1" value="S"><span class="regtext">South&nbsp;&nbsp;</span>
603
      [%END%]
604
      </td>
605
    </tr>
606

    
607
    <tr class="sectbody">
608
      <td class="rightCol"> 
609
      [% IF required.spatial == 'true' %]
610
        <span class="label">*Longitude</span>
611
      [% ELSE %]
612
        <span class="label">Longitude</span>
613
      [% END %]</td>
614
     
615
      <td> <input type="TEXT" name="longDeg1" value="[%longDeg1%]" size="3" maxlength="3"></td>
616
      <td> <input type="TEXT" name="longMin1" value="[%longMin1%]" size="2" maxlength="2"></td>
617
      <td> <input type="TEXT" name="longSec1" value="[%longSec1%]" size="2" maxlength="2"></td>
618
      
619
      
620
      <td align="left" colspan="2"> 
621
    [% IF form == 're_entry' && hemisphLong1 == "W"%]        
622
      <input type="radio"  name="hemisphLong1" value="W" CHECKED><span class="regtext">West&nbsp;&nbsp;</span>
623
    [%ELSE%]
624
      <input type="radio"  name="hemisphLong1" value="W"><span class="regtext">West&nbsp;&nbsp;</span>
625
    [%END%]
626
    [% IF form == 're_entry' && hemisphLong1 == "E"%]
627
      <input type="radio"  name="hemisphLong1" value="E" CHECKED><span class="regtext">East&nbsp;&nbsp;</span>
628
    [%ELSE%]
629
      <input type="radio"  name="hemisphLong1" value="E"><span class="regtext">East&nbsp;&nbsp;</span>
630
    [%END%]
631
      </td>
632
    </tr>
633
      
634
      
635
    <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>
636
      </td><td></td></tr>
637
      
638
    <tr class="sectbody"> 
639
      <td class="rightCol"><span class="label">Latitude</span></td>
640
  <td ><input type="TEXT" name="latDeg2" value="[%latDeg2%]" size="3" maxlength="3"></td>
641
      <td><input type="TEXT" name="latMin2" value="[%latMin2%]" size="2" maxlength="2"></td>
642
      <td><input type="TEXT" name="latSec2" value="[%latSec2%]" size="2" maxlength="2"></td>
643
        
644
      <td align="left" colspan="2"> 
645
      [% IF form == 're_entry' && hemisphLat2 == "N"%]
646
        <input type="radio"  name="hemisphLat2" value="N" CHECKED><span class="regtext">North&nbsp;&nbsp;</span>
647
      [%ELSE%]
648
        <input type="radio"  name="hemisphLat2" value="N"><span class="regtext">North&nbsp;&nbsp;</span>
649
      [%END%]
650
      [% IF form == 're_entry' && hemisphLat2 == "S"%]
651
        <input type="radio"  name="hemisphLat2" value="S" CHECKED><span class="regtext">South&nbsp;&nbsp;</span>
652
      [%ELSE%]
653
        <input type="radio"  name="hemisphLat2" value="S"><span class="regtext">South&nbsp;&nbsp;</span>
654
      [%END%]
655
      </td>
656
    </tr>
657
    
658
    <tr class="sectbody"><td class="rightCol"><span class="label">Longitude</span></td>
659
       <td> <input type="TEXT" name="longDeg2" value="[%longDeg2%]" size="3" maxlength="3"></td>
660
       <td> <input type="TEXT" name="longMin2" value="[%longMin2%]" size="2" maxlength="2"></td>
661
       <td> <input type="TEXT" name="longSec2" value="[%longSec2%]" size="2" maxlength="2"></td>
662
       <td align="left" colspan="2">
663
       
664
      [% IF form == 're_entry' && hemisphLong2 == "W"%]
665
        <input type="radio"  name="hemisphLong2" value="W" CHECKED><span class="regtext">West&nbsp;&nbsp;</span>
666
      [%ELSE%]
667
        <input type="radio"  name="hemisphLong2" value="W"><span class="regtext">West&nbsp;&nbsp;</span>
668
      [%END%]
669
      [% IF form == 're_entry' && hemisphLong2 == "E"%]
670
        <input type="radio"  name="hemisphLong2" value="E" CHECKED><span class="regtext">East&nbsp;&nbsp;</span>
671
      [%ELSE%]
672
        <input type="radio"  name="hemisphLong2" value="E"><span class="regtext">East&nbsp;&nbsp;</span>
673
      [%END%]
674
      </td>
675
    </tr>
676
    <tr class="sectbody"><td></td>
677
       <td align="left" colspan="4"><span class="regtext">
678
        If entered, this lat/long pair represents the southeast corner of a bounding box.</span>
679
      </td><td></td>
680
    </tr>
681
  </table>    
682
   [% END %]
683

    
684
   [% IF modules.taxonomic == 'true' %]
685
   
686
  <table class="tables" cellpadding="5" cellspacing="0">  
687

    
688
    <tr class="sectheader">
689
      <td colspan="5" align="left">
690
        <span class="label">TAXONOMIC COVERAGE OF DATA</span>
691
        <a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#TaxonomicCoverage" target="guide" class="smalltext">(What's this?)</a>
692
      </td>
693
      <td class="rightCol"><span><a onClick="taxonomicBit=swap(event, 'taxonomicTable', taxonomicBit)" style="cursor:pointer">Hide</a></span></td>
694
    </tr>
695
  </table>
696
   
697
    <table class="tables" cellpadding="5" cellspacing="0" id="taxonomicTable">  
698
        <tr class="sectbody"><td></td>
699
        <td colspan="5" align="left"><span class="regtext">See the <a href=
700
        "http://darwin.zoology.gla.ac.uk/~rpage/MyToL/www/index.php" target="_blank">Glasgow Taxonomic Name Server</a> or the <a href=
701
        "http://www.itis.gov/" target="_blank">Integrated Taxonomic Information System</a> for correct spelling of taxonomic names.</td></tr>
702
  
703
        <tr class="sectbody"> 
704
            <td class="rightCol"><span class="label">Taxonomic Rank</span></td>
705
            <td align="left" colspan="5">
706
                <input name="taxonRank" id="taxonRank" class="shortwidth">&nbsp;&nbsp;<span class="label"><span class="regtext">(e.g., Species)</span>
707
            </td>
708
        </tr>
709

    
710
        <tr class="sectbody"> 
711
            <td class="rightCol"><span class="label">Taxonomic Name</span></td>
712
            <td align="left" colspan="5">
713
                <input name="taxonName" id="taxonName" class="shortwidth">&nbsp;&nbsp;<span class="label"><span class="regtext">(e.g., <i>Ursus arctos</i>)</span>
714
            </td>
715
        </tr>
716

    
717
        <tr id="addTaxon" class="sectbody"> 
718
            <td></td>
719
            <td colspan="5" align="left"> <input type="button" value="Add Taxon"
720
                    onClick="addTaxon()">
721
            </td>
722
        </tr>
723

    
724
        [% numTaxa = 0 %]
725
        [% IF taxaCount %]
726
            [% numTaxa = taxaCount %]
727
            <tr class="sectbody" id="taxonHRRow">
728
                <td colSpan="6">
729
                    <hr width = "85%"/>
730
                </td>
731
            </tr>
732
        [% END %]
733
        <input type="hidden" name="taxaCount" value="[%numTaxa%]" id="taxaCount">
734
    
735
        [% cnt = 1 %]
736
        [% WHILE cnt <= numTaxa%]        
737
            <tr class="sectbody">
738
                <td class="rightCol">
739
                    <a style="cursor:pointer">
740
                        <img onClick="cleanTextNodes('taxonHRRow', 'addtaxarow');moveUpRow(event)"
741
                        src="[% contextUrl %]/style/images/previous.gif"
742
                        alt="Move Up" border="0"/>
743
                    </a>
744
                    <a style="cursor:pointer">
745
                        <img onClick="cleanTextNodes('taxonHRRow', 'addtaxarow');moveDownRow(event, 'addtaxarow')"
746
                        src="[% contextUrl %]/style/images/next.gif"
747
                        alt="Move Down" border="0"/>
748
                    </a>
749
                    <a style="cursor:pointer">
750
                        <img src="[% contextUrl %]/style/images/delete.gif"
751
                        onClick="delRow(event)" alt="Delete" border="0"/>
752
                    </a>
753
                </td>
754
                [% SET rank = "taxonRankName${cnt}" %]
755
                [% SET name = "taxonRankValue${cnt}" %]
756
                <td colspan="5" align ="left" style="cursor:pointer"
757
                    onClick="taxonEditRow(event, 0, '[%$rank%]', '[%$name%]')">
758
                    Rank: [%$rank%], Name: [%$name%]
759
                    <input name="taxonName" type="hidden" value="[%$name%]"/>
760
                    <input name="taxonRank" type="hidden" value="[%$rank%]"/>
761
            </tr>
762
            [% cnt = cnt + 1 %]
763
        [% END %]
764

    
765
     <tr class="sectbody" id="addtaxarow"> 
766
        <td class="bordertop" valign="top" align="right" ><span class="label">Taxonomic Reference</span></td>
767
        <td class="bordertop" align="left" colspan="5"><textarea rows="3" cols="30" name="taxaAuth">[% taxaAuth %]</textarea></td>
768
        </tr>
769
     <tr class="sectbody">
770
     <td></td>
771
     <td colspan="5"><span class="regtext">List the source(s) used for identifying and naming taxa (e.g., name of a <br>field guide, key, or
772
     nomenclature revision).</span></td>
773
     </tr>   
774
   </table>
775
    [% END %]  
776

    
777
  [% IF modules.method == 'true' %]
778
  <table class="tables" cellpadding="5" cellspacing="0">  
779
    <tr class="sectheader">
780
      <td colspan="5" align="left">
781
        <span class="label">DATA COLLECTION METHODS</span>
782
        <a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#Methods" target="guide" class="smalltext">(What's this?)</a>
783
      </td>
784
      <td class="rightCol"><span><a onClick="methodBit=swap(event, 'methodTable', methodBit)" style="cursor:pointer">Hide</a></span></td>
785
    </tr>
786
  </table>
787
 
788
   <table class="tables" cellpadding="5" cellspacing="0" id="methodTable">  
789

    
790
    <tr class="sectbody"> 
791
      <td class="rightCol"><span class="label">Method Title</span></td>
792
      <td colspan="5" align="left"><input type="text" name="methodTitle" value="[%methodTitle%]" class="longwidth"></td></tr>
793

    
794
       <tr class="sectbody"><td valign="top" class="rightCol"><span class="label">Method Description</span>      
795
        <td colspan="5" align="left">
796
        [% IF !methodPara %]
797
          <textarea rows="6" cols="60" name="methodPara"></textarea>
798
        [% END %]
799
        [% FOREACH para = methodPara %]
800
           <textarea rows="6" cols="60" name="methodPara">[% para %]</textarea>
801
        [% END %]
802
        </td></tr>
803
        
804
    <tr class="sectbody" id="addparabutton1">
805
    <td ></td>
806
    <td colspan="5" align="left">
807
          <input type="button" value="Add Paragraph to Method Description" 
808
                 onClick="addParagraph()"></td></tr>
809
   
810
     
811
    <tr class="sectbody">
812
      <td valign="top" align="right" class="bordertop">
813
       <span class="label">Extent of Study Description</span>
814
       </td>
815
        <td colspan="5" align="left" class="bordertop"><textarea rows="6" cols="60" name="studyExtentDescription">[% studyExtentDescription %]</textarea></td>
816
    </tr>
817
  
818
   <tr class="sectbody">
819
    <td>
820
    </td>
821
    <td colspan="5"><span class="regtext">
822
        Describe the temporal, spatial and taxonomic extent of the study,<br>
823
        supplementing the information on coverage provided above.  <br>
824
        For example, if the temporal coverage of the data is 1990-2000, you<br>
825
        might provide details about any years that were missed or the months<br>
826
        in which sampling occurred.</span>
827
    </td>
828
    </tr>
829
          
830
    <tr class="sectbody"><td class="bordertop" valign="top" align="right"><span class="label">Sampling Description</span></td>
831
        <td colspan="5" align="left" class="bordertop" ><textarea rows="6" cols="60" name="samplingDescription">[% samplingDescription %]</textarea></td></tr>
832
  
833
   <tr class="sectbody"><td><td colspan="5"><span class="regtext">
834
        Describe the sampling design of the study.  For example, you might <br> 
835
        describe the way in which treatments were assigned to sampling units.</span></td></tr>
836
      
837
    </table>     
838
   [% END %]
839

    
840
  <table class="tables" cellpadding="5" cellspacing="0">    
841
    <tr class="sectheader">
842
      <td colspan="5" align="left">
843
        <span class="label">DATA SET CONTACT</span>
844
        <a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#DataSetContactAddress" target="guide" class="smalltext">(What's this?)</a>
845
      </td>
846
      <td class="rightCol"><span><a onClick="dscBit=swap(event, 'dscTable', dscBit)" style="cursor:pointer">Hide</a></span></td>
847
    </tr>
848
  </table>
849

    
850
   <table class="tables" cellpadding="5" cellspacing="0" id="dscTable">  
851
  <tr class="sectbody"><td valign="top" align="left" colspan="6">
852
        <input type="CHECKBOX" name="useOrigAddress" onClick="copyContact()" id="copyCheckBox" [%useOrigAddress%]>
853
        <span class="regtext">Use the same name and address as the <span class="label">PRINCIPAL DATA SET OWNER</span> above.</span></td></tr> 
854
   <tr class="sectbody">
855
      <td class="rightCol"><span class="label">*First Name</span></td>
856
      <td colspan="5"><input type="TEXT" name="origNamefirstContact" id="contactNameFirst" value="[%origNamefirstContact%]" class="shortwidth"></td></tr>
857
    <tr class="sectbody">
858
      <td class="rightCol"><span class="label">*Last Name</span>
859
      <td colspan="5"><input type="TEXT" name="origNamelastContact" id="contactNameLast" value="[%origNamelastContact%]" class="shortwidth"></td></tr>
860
    <tr class="sectbody">
861
      <td class="rightCol"><span class="label">Organization Name</span>
862
      <td colspan="5"><input type="TEXT" name="origNameOrgContact" id="contactNameOrg" value="[%origNameOrgContact%]" class="longwidth"></td></tr>
863
    <tr class="sectbody">      
864
      [% IF required.contactEmailAddress == 'true' %]
865
        <td class="rightCol"><span class="label">*E-Mail</span>
866
      [% ELSE %]
867
        <td class="rightCol"><span class="label">E-Mail</span>
868
      [% END %]
869
      <td colspan="5"><input type="TEXT" name="origEmailContact" id="contactEmail" value="[%origEmailContact%]" class="shortwidth"></td></tr>
870
    <tr class="sectbody">
871
      <td class="rightCol"><span class="label">Phone</span>
872
      <td colspan="5"><input type="TEXT" name="origPhoneContact" id="contactPhone" value="[%origPhoneContact%]" class="shortwidth"></td></tr>
873
    <tr class="sectbody"> 
874
      <td class="rightCol"><span class="label">FAX</span>
875
      <td colspan="5"><input type="TEXT" name="origFAXContact" id="contactFAX" value="[%origFAXContact%]" class="shortwidth"></td></tr>
876
    <tr class="sectbody"><td valign="top" align="right"><span class="label">Street<br>Information</td>
877
      <td colspan="5"><textarea rows="3" cols="30" name="origDeliveryContact" id="contactDelivery">[%origDeliveryContact%]</textarea><br><span class="smalltext">(number, street, unit, etc.; comma-separated)</span></td></tr>
878
    <tr class="sectbody">    
879
      <td class="rightCol"><span class="label">City</span>
880
      <td colspan="5"><input type="TEXT" name="origCityContact" id="contactCity" value="[%origCityContact%]" class="shortwidth"></td></tr>
881
    <tr class="sectbody">
882
      <td class="rightCol"><span class="label">U.S. State or Territory</span>
883
      <td colspan="5"><select id="contactState" name="origStateContact" class="shortwidth">
884
      [% IF form == 're_entry' %]  
885
              <option>[%origStateContact%]</option>
886
      [% ELSE %]
887
                <option>Select state or territory here.</option>
888
            [% END %]
889
          <option>Alabama</option>
890
            <option>Alaska</option>
891
            <option>American Samoa</option>
892
            <option>Arizona</option>
893
            <option>Arkansas</option>
894
            <option>California</option>
895
            <option>Colorado</option>
896
            <option>Connecticut</option>
897
            <option>Delaware</option>
898
            <option>District of Columbia</option>
899
            <option>Florida</option>
900
            <option>Georgia</option>
901
            <option>Guam</option>
902
            <option>Hawaii</option>
903
            <option>Idaho</option>
904
            <option>Illinois</option>
905
            <option>Indiana</option>
906
            <option>Iowa</option>
907
            <option>Kansas</option>
908
            <option>Kentucky</option>
909
            <option>Louisiana</option>
910
            <option>Maine</option>
911
            <option>Maryland</option>
912
            <option>Massachusetts</option>
913
            <option>Michigan</option>
914
            <option>Minnesota</option>
915
            <option>Mississippi</option>
916
            <option>Missouri</option>
917
            <option>Montana</option>
918
            <option>Nebraska</option>
919
            <option>Nevada</option>
920
            <option>New Hampshire</option>
921
            <option>New Jersey</option>
922
            <option>New Mexico</option>
923
            <option>New York</option>
924
            <option>North Carolina</option>
925
            <option>North Dakota</option>
926
            <option>Northern Mariana Islands</option>
927
            <option>Ohio</option>
928
            <option>Oklahoma</option>
929
            <option>Oregon</option>
930
            <option>Pennsylvania</option>
931
            <option>Puerto Rico</option>
932
            <option>Rhode Island</option>
933
            <option>South Carolina</option>
934
            <option>South Dakota</option>
935
            <option>Tennessee</option>
936
            <option>Texas</option>
937
            <option>Utah</option>
938
            <option>Vermont</option>
939
            <option>Virgin Islands</option>
940
            <option>Virginia</option>
941
            <option>Washington</option>
942
            <option>West Virginia</option>
943
            <option>Wisconsin</option>
944
            <option>Wyoming</option>
945
          </select></td></tr>
946
     <tr class="sectbody">
947
        <td class="rightCol"><span class="label">Other State/Province</span>
948
  <td colspan="5"><input type="TEXT" name="origStateOtherContact" id="contactStateOther" value="[%origStateOtherContact%]" class="shortwidth"></td></tr>
949
     <tr class="sectbody">     
950
        <td class="rightCol"><span class="label">Postal Code</span>
951
  <td colspan="5"><input type="TEXT" name="origZIPContact" class="shortwidth" id="contactZip" value="[%origZIPContact%]"></td></tr>
952
     <tr class="sectbody">
953
        <td class="rightCol"><span class="label">Country</span>
954
        <td colspan="5"><input type="TEXT" name="origCountryContact" id="contactCountry" value="[%origCountryContact%]" class="shortwidth"></td></tr>
955
     </table>
956
   
957
  <table class="tables" cellpadding="5" cellspacing="0">  
958
    <tr class="sectheader">
959
      <td colspan="5" align="left">
960
        <span class="label">DISTRIBUTION INFORMATION</span>
961
        <a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#DistributionIinformation" target="guide" class="smalltext">(What's this?)</a>
962
      </td>
963
      <td class="rightCol"><span><a onClick="distBit=swap(event, 'distTable', distBit)" style="cursor:pointer">Hide</a></span></td>
964
    </tr>
965
  </table>
966

    
967
   <table class="tables" cellpadding="5" cellspacing="0" id="distTable">  
968
  <tr class="sectbody"><td class="rightCol"><span class="label">Data Set Identifier</span></td>
969
  <td colspan="5"><input type="TEXT" name="identifier" value="[%identifier%]" class="longwidth"></td></tr>
970
  <tr class="sectbody"><td valign="top" align="right"><span class="label">Note:</span></td>
971
     <td colspan="4" align="left"><span class="regtext">
972
     If available, please enter a name or number that uniquely identifies and<br>
973
     describes concisely the data set. Alternatively, provide other pertinent<br>
974
     information that can identify and locate the data set within your site's<br>
975
     data management system.</span></td><td></td></tr>
976
  
977
    <tr class="sectbody">
978
        <td class="rightCol"><span class="label">*Data Medium</span></td>
979
  
980
        <td colspan="5" align="left">
981
        [% IF form == 're_entry' && (dataMedium == "digital " || dataMedium == "digital")  %]  
982
            <input type="radio"  name="dataMedium" onClick="handleOther(0, 'otherDM')" value="digital" CHECKED>
983
            <span class="regtext">Digital&nbsp;&nbsp;</span></input>
984
        [%ELSE%]
985
            <input type="radio"  name="dataMedium" onClick="handleOther(0, 'otherDM')" value="digital">
986
            <span class="regtext">Digital&nbsp;&nbsp;</span></input>
987
        [% END %]
988
        [% IF form == 're_entry' && (dataMedium == "hardcopy " || dataMedium == "hardcopy") %]  
989
           <input type="radio"  name="dataMedium" onClick="handleOther(0, 'otherDM')" value="hardcopy" CHECKED>
990
           <span class="regtext">Hardcopy&nbsp;&nbsp;</span></input>
991
        [%ELSE%]
992
           <input type="radio"  name="dataMedium" onClick="handleOther(0, 'otherDM')" value="hardcopy">
993
           <span class="regtext">Hardcopy&nbsp;&nbsp;</span></input>
994
        [% END %]
995
        [% IF form == 're_entry' && dataMedium == "other" %]
996
           <input type="radio" name="dataMedium" value="other" onClick="handleOther(1, 'otherDM')" CHECKED>
997
           <span class="regtext">Other&nbsp;</span></input>
998
        [%ELSE%]
999
           <input type="radio"  name="dataMedium" onClick="handleOther(1, 'otherDM')" value="other">
1000
           <span class="regtext">Other&nbsp;</span></input>
1001
        [% END %]
1002

    
1003
  <input type="TEXT" name="dataMediumOther" value="[%dataMediumOther%]" id="otherDM" class="shortwidth"></input>
1004
        </td>
1005
    </tr>  
1006
  
1007
  <tr class="sectbody"><td class="rightCol"><span class="label">*Usage Rights</span></td>
1008
      <td colspan="5" align="left">
1009
      
1010
          [% IF form == 're_entry' && useConstraints == "no restrictions" %]      
1011
      <input type="radio"  name="useConstraints" onClick="handleOther(0, 'otherUC')" value="no restrictions" CHECKED>
1012
      <span class="regtext">No restrictions&nbsp;&nbsp;</span>
1013
          [%ELSE%]
1014
            <input type="radio"  name="useConstraints" onClick="handleOther(0, 'otherUC')" value="no restrictions">
1015
            <span class="regtext">No restrictions&nbsp;&nbsp;</span>
1016
          [%END%]
1017
          [% IF form == 're_entry' && useConstraints == "Obtain permission from data set owner(s)" %]      
1018
        <input type="radio"  name="useConstraints" onClick="handleOther(0, 'otherUC')" value="Obtain permission from data set owner(s)" CHECKED>
1019
        <span class="regtext">Obtain permission from data set owner(s)&nbsp;&nbsp;</span>
1020
          [%ELSE%]
1021
            <input type="radio"  name="useConstraints" onClick="handleOther(0, 'otherUC')" value="Obtain permission from data set owner(s)">
1022
            <span class="regtext">Obtain permission from data set owner(s)&nbsp;&nbsp;</span>
1023
          [%END%]
1024
          </td></tr>
1025
    
1026

    
1027
   
1028
   <tr class="sectbody"><td></td><td colspan="5" align="left">
1029
 
1030
    [% IF form == 're_entry' && useConstraints == "other" %]      
1031
      <input type="radio"  name="useConstraints" onClick="handleOther(1, 'otherUC')" value="other" CHECKED>
1032
      <span class="regtext">Other&nbsp;</span>
1033
    [%ELSE%]
1034
      <input type="radio"  name="useConstraints" onClick="handleOther(1, 'otherUC')" value="other">
1035
      <span class="regtext">Other&nbsp;</span>
1036
    [%END%]
1037
   <input type="TEXT" name="useConstraintsOther" id="otherUC" value="[%useConstraintsOther%]" size="49"></td</tr>
1038
   
1039
   
1040
   <tr class="sectbody"><td class="rightCol"><span class="label">URL</span></td>
1041
   <td colspan="5" align="left"><input type="TEXT" name="url" value="[%url%]" class="longwidth"></td></tr>
1042
   
1043
   <tr class="sectbody"><td valign="top" align="right"><span class="label">Additional Information</span>
1044
   <td colspan="5" align="left"><textarea rows="6" cols="60" name="addComments">[%addComments%]</textarea></td></tr>
1045
   
1046
   </table>
1047
   
1048
  [% IF modules.upload == 'true' %]
1049

    
1050
  <!-- Associated Data -->
1051
  <table class="tables" cellpadding="5" cellspacing="0">
1052
  <tr class="sectheader">
1053
    <td colspan="5" align="left">
1054
      <span class="label">UPLOAD DATA</span>
1055
      <a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#XXX" target="guide" class="smalltext">(What's this?)</a>
1056
    </td>
1057
    <td class="rightCol"><span><a onClick="uploadBit=swap(event, 'uploadTable', uploadBit)" style="cursor:pointer">Hide</a></span></td>
1058
  </tr>
1059
   </table>
1060
  <table class="tables" cellpadding="5" cellspacing="0" id="uploadTable">
1061
  <tr class="sectbody">
1062
    <td class="rightCol"><span class="label">Upload Data File:</span></td>
1063
    <td colspan="5">
1064
        <input type="file" id="file_element" name="file_1" class="longwidth">
1065

    
1066
        [% IF form == 're_entry' && upCount %]
1067
           [% cnt = 0 %]
1068
           [% WHILE cnt < upCount %]
1069
                [% SET fileSum = "upload_${cnt}" %]
1070
                [% SET fileName = "uploadname_${cnt}" %]
1071
                [% SET fileType = "uploadtype_${cnt}" %] 
1072
                [% SET filePerm = "uploadperm_${cnt}" %]
1073
                [% IF fileSum %]
1074
                    <input type="hidden" name="[%fileSum%]" value="[% $fileSum %]"> 
1075
                    <input type="hidden" name="[%fileName%]" value="[% $fileName %]"> 
1076
                    <input type="hidden" name="[%fileType%]" value="[% $fileType %]"> 
1077
                [% END %]
1078
                [% cnt = cnt + 1 %]
1079
            [% END %]
1080
        <input type="hidden" id="upCount" name="upCount" value="[%upCount%]">
1081
        [% END %]
1082

    
1083
        <input type="hidden" id="fileCount" name="fileCount" value="[%fileCount%]"></td>
1084
  </tr>
1085
  <tr class="sectbody">
1086
    <td class="rightCol" valign="top"><span class="label">Attached Files:</span></td>
1087
    <td colspan="5" class="regtext">
1088
    [% IF !upCount %]
1089
        <div id="file_comment">
1090
            (<i>None currently attached</i>)
1091
        </div>
1092
    [% END %]
1093
    <div id="files_list">[% IF form == 're_entry' && upCount %]
1094
    [% cnt = 0 %]
1095

    
1096
    [% WHILE cnt < upCount %]
1097
        [% SET fileName = "uploadname_${cnt}" %]
1098
        [% SET filePerm = "uploadperm_${cnt}" %]
1099
        [% IF $filePerm == 'public' %]
1100
          [% SET perm_a = "checked" %]
1101
          [% SET perm_b = "" %]
1102
        [% ELSE %]
1103
          [% SET perm_a = "" %]
1104
          [% SET perm_b = "checked" %]
1105
        [% END %]
1106
        [% IF fileName %]<div>
1107
          [% $fileName %]
1108
          <input type="radio" name="[% filePerm %]" value="public" [% perm_a %]> Public
1109
          <input type="radio" name="[% filePerm %]" value="private" [% perm_b %]> Private
1110

    
1111
          <input type="button" value="Delete" onclick="deleteFile(event, [%fileName%]);"/></div>[% END %]
1112

    
1113
        [% cnt = cnt + 1 %]
1114
    [% END %]
1115
    [% END %]</div></td>
1116
  </tr>
1117
  </table>
1118
  
1119
  <script language="JavaScript" type="text/JavaScript">
1120
    var multi_selector = new MultiSelector( document.getElementById( 'files_list' ), 10);
1121
    multi_selector.addElement( document.getElementById( 'file_element' ) );
1122
  </script>
1123
  [% END %]
1124
   <table class="tables" cellpadding="5" cellspacing="0">    
1125
   <tr class="sectheader"><td colspan="6" align="left"></td></tr>
1126
   <tr class="sectheader"><td colspan="6" align="center" class="borderbottom"><input type="SUBMIT" onClick="sortInputTags()" value="Submit Data Set Description" name="SUBMIT">
1127
              
1128
    </table>
1129
    <p></p>
1130
   
1131
</form>
1132

    
1133
		</div>
1134
	</article>
1135

    
1136
[% INCLUDE $templates.footer %]
(4-4/10)