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/entryForm.js">
7
  </script>
8

    
9
      [% IF form != 're_entry' %]  
10
      
11
      
12
      <table class="intro" cellpadding="3" cellspacing="0">
13
      
14
      <tr><td align="left"><span class="emphasis">[% config.type %] Form</span></td></tr>
15
      <tr><td align="left"><span class="regtext">Use this form to submit a new data set description for
16
         inclusion in the [% config.type | lower %].</span>
17
     [%IF cfg =='esa' %]<span class="redbold">This metadata registry is ONLY for entries associated with articles for ESA publications.</span>
18
         <span class="regtext">  For those wishing to make public metadata entries not associated with 
19
          ESA, <a href="http://knb.ecoinformatics.org">The Knowledge Network for Biocomplexity</a> runs a
20
          metadata registry available to the greater scientific community.
21
        </span>
22
     [% END %]
23
     </td></tr>
24
      <tr><td></td></tr>
25
      <tr><td align="left"><span class="regtext">Please have a look at the 
26
      <a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide" target="guide">
27
        <span class="boldlink">Guide for Completing the Data [% config.type %] Form</span></a> 
28
        before you start filling in this form. Also, use your browser's 
29
        Reload/Refresh function to make sure you see the latest version of this 
30
        page.</span></td></tr>
31
      <tr><td></td></tr>
32
    
33
    [%IF cfg =='esa' %]
34
    <tr><td align="left"><span class="regtext">After you submit, watch for e-mail 
35
      sent by the ESA moderator regarding whether your data set description needs revision, has been denied or has been accepted.</span>
36
    </td></tr>
37
        <tr><td></td></tr>
38
    [% END %]
39
    
40
      <tr><td align="left"><span class="regtext">If you have any questions, comments or problems 
41
      regarding this form, please contact [% email.admin %] at 
42
      <a href="mailto:[% email.recipient %]"><span class="boldlink">[% email.recipient %]</span></a></span>.      
43
      </td></tr><tr><td></td></tr>
44
      [% ELSE %]
45
      
46
      
47
      <table class="intro" cellpadding="3" cellspacing="0">
48
      <tr><td align="left"><span class="regtext">Use this page to edit the data set description that you submitted earlier to the [% config.type | lower %].
49
      [%IF docid !=''%]
50
      <br>The ID of this data set is: <span class="boldlink"><a href="[% metacatUrl %]?action=read&qformat=[% cfg %]&docid=[% docid %]">[% docid %]</a>
51
      </span>
52
      [%END%]
53
      </span></td></tr>
54
      <a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide" target="guide">
55
        <span class="boldlink">Guide for Completing the Data [% config.type %] Form</span></a> 
56
        for help with filling in this form.</span></td</tr>
57
      <tr><td></td></tr>
58
      <tr><td align="left"><span class="regtext">If you have any questions, comments or problems 
59
      regarding this form, please contact [% email.admin %] at 
60
      <a href="mailto:[% email.recipient %]"><span class="boldling">[% email.recipient %]</span></a>.</span>
61
      </td></tr><tr><td></td></tr>
62
      [% END %]
63
      
64
      
65
      <tr><td align="left"><span class="label">*Denotes a required field.</span></td></tr>
66
      <tr><td></td></tr>
67
      
68
      <tr><td></td></tr>
69
      
70
      </table>
71

    
72

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

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

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

    
371

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

    
553
  <table class="tables" cellpadding="5" cellspacing="0">  
554

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

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

    
699
   [% IF modules.taxonomic == 'true' %]
700
   
701
  <table class="tables" cellpadding="5" cellspacing="0">  
702

    
703
    <tr class="sectheader">
704
      <td colspan="5" align="left">
705
        <span class="label">TAXONOMIC COVERAGE OF DATA</span>
706
        <a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#TaxonomicCoverage" target="guide" class="smalltext">(What's this?)</a>
707
      </td>
708
      <td class="rightCol"><span><a onClick="taxonomicBit=swap(event, 'taxonomicTable', taxonomicBit)" style="cursor:pointer">Hide</a></span></td>
709
    </tr>
710
  </table>
711
   
712
    <table class="tables" cellpadding="5" cellspacing="0" id="taxonomicTable">  
713
        <tr class="sectbody"><td></td>
714
        <td colspan="5" align="left"><span class="regtext">See the <a href=
715
        "http://darwin.zoology.gla.ac.uk/~rpage/MyToL/www/index.php" target="_blank">Glasgow Taxonomic Name Server</a> or the <a href=
716
        "http://www.itis.gov/" target="_blank">Integrated Taxonomic Information System</a> for correct spelling of taxonomic names.</td></tr>
717
  
718
        <tr class="sectbody"> 
719
            <td class="rightCol"><span class="label">Taxonomic Rank</span></td>
720
            <td align="left" colspan="5">
721
                <input name="taxonRank" id="taxonRank" class="shortwidth">&nbsp;&nbsp;<span class="label"><span class="regtext">(e.g., Species)</span>
722
            </td>
723
        </tr>
724

    
725
        <tr class="sectbody"> 
726
            <td class="rightCol"><span class="label">Taxonomic Name</span></td>
727
            <td align="left" colspan="5">
728
                <input name="taxonName" id="taxonName" class="shortwidth">&nbsp;&nbsp;<span class="label"><span class="regtext">(e.g., <i>Ursus arctos</i>)</span>
729
            </td>
730
        </tr>
731

    
732
        <tr id="addTaxon" class="sectbody"> 
733
            <td></td>
734
            <td colspan="5" align="left"> <input type="button" value="Add Taxon"
735
                    onClick="addTaxon()">
736
            </td>
737
        </tr>
738

    
739
        [% numTaxa = 0 %]
740
        [% IF taxaCount %]
741
            [% numTaxa = taxaCount %]
742
            <tr class="sectbody" id="taxonHRRow">
743
                <td colSpan="6">
744
                    <hr width = "85%"/>
745
                </td>
746
            </tr>
747
        [% END %]
748
        <input type="hidden" name="taxaCount" value="[%numTaxa%]" id="taxaCount">
749
    
750
        [% cnt = 1 %]
751
        [% WHILE cnt <= numTaxa%]        
752
            <tr class="sectbody">
753
                <td class="rightCol">
754
                    <a style="cursor:pointer">
755
                        <img onClick="cleanTextNodes('taxonHRRow', 'addtaxarow');moveUpRow(event)"
756
                        src="[% contextUrl %]/style/images/previous.gif"
757
                        alt="Move Up" border="0"/>
758
                    </a>
759
                    <a style="cursor:pointer">
760
                        <img onClick="cleanTextNodes('taxonHRRow', 'addtaxarow');moveDownRow(event, 'addtaxarow')"
761
                        src="[% contextUrl %]/style/images/next.gif"
762
                        alt="Move Down" border="0"/>
763
                    </a>
764
                    <a style="cursor:pointer">
765
                        <img src="[% contextUrl %]/style/images/delete.gif"
766
                        onClick="delRow(event)" alt="Delete" border="0"/>
767
                    </a>
768
                </td>
769
                [% SET rank = "taxonRankName${cnt}" %]
770
                [% SET name = "taxonRankValue${cnt}" %]
771
                <td colspan="5" align ="left" style="cursor:pointer"
772
                    onClick="taxonEditRow(event, 0, '[%$rank%]', '[%$name%]')">
773
                    Rank: [%$rank%], Name: [%$name%]
774
                    <input name="taxonName" type="hidden" value="[%$name%]"/>
775
                    <input name="taxonRank" type="hidden" value="[%$rank%]"/>
776
            </tr>
777
            [% cnt = cnt + 1 %]
778
        [% END %]
779

    
780
     <tr class="sectbody" id="addtaxarow"> 
781
        <td class="bordertop" valign="top" align="right" ><span class="label">Taxonomic Reference</span></td>
782
        <td class="bordertop" align="left" colspan="5"><textarea rows="3" cols="30" name="taxaAuth">[% taxaAuth %]</textarea></td>
783
        </tr>
784
     <tr class="sectbody">
785
     <td></td>
786
     <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
787
     nomenclature revision).</span></td>
788
     </tr>   
789
   </table>
790
    [% END %]  
791

    
792
  [% IF modules.method == 'true' %]
793
  <table class="tables" cellpadding="5" cellspacing="0">  
794
    <tr class="sectheader">
795
      <td colspan="5" align="left">
796
        <span class="label">DATA COLLECTION METHODS</span>
797
        <a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#Methods" target="guide" class="smalltext">(What's this?)</a>
798
      </td>
799
      <td class="rightCol"><span><a onClick="methodBit=swap(event, 'methodTable', methodBit)" style="cursor:pointer">Hide</a></span></td>
800
    </tr>
801
  </table>
802
 
803
   <table class="tables" cellpadding="5" cellspacing="0" id="methodTable">  
804

    
805
    <tr class="sectbody"> 
806
      <td class="rightCol"><span class="label">Method Title</span></td>
807
      <td colspan="5" align="left"><input type="text" name="methodTitle" value="[%methodTitle%]" class="longwidth"></td></tr>
808

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

    
855
  <table class="tables" cellpadding="5" cellspacing="0">    
856
    <tr class="sectheader">
857
      <td colspan="5" align="left">
858
        <span class="label">DATA SET CONTACT</span>
859
        <a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#DataSetContactAddress" target="guide" class="smalltext">(What's this?)</a>
860
      </td>
861
      <td class="rightCol"><span><a onClick="dscBit=swap(event, 'dscTable', dscBit)" style="cursor:pointer">Hide</a></span></td>
862
    </tr>
863
  </table>
864

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

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

    
1018
  <input type="TEXT" name="dataMediumOther" value="[%dataMediumOther%]" id="otherDM" class="shortwidth"></input>
1019
        </td>
1020
    </tr>  
1021
  
1022
  <tr class="sectbody"><td class="rightCol"><span class="label">*Usage Rights</span></td>
1023
      <td colspan="5" align="left">
1024
      
1025
          [% IF form == 're_entry' && useConstraints == "no restrictions" %]      
1026
      <input type="radio"  name="useConstraints" onClick="handleOther(0, 'otherUC')" value="no restrictions" CHECKED>
1027
      <span class="regtext">No restrictions&nbsp;&nbsp;</span>
1028
          [%ELSE%]
1029
            <input type="radio"  name="useConstraints" onClick="handleOther(0, 'otherUC')" value="no restrictions">
1030
            <span class="regtext">No restrictions&nbsp;&nbsp;</span>
1031
          [%END%]
1032
          [% IF form == 're_entry' && useConstraints == "Obtain permission from data set owner(s)" %]      
1033
        <input type="radio"  name="useConstraints" onClick="handleOther(0, 'otherUC')" value="Obtain permission from data set owner(s)" CHECKED>
1034
        <span class="regtext">Obtain permission from data set owner(s)&nbsp;&nbsp;</span>
1035
          [%ELSE%]
1036
            <input type="radio"  name="useConstraints" onClick="handleOther(0, 'otherUC')" value="Obtain permission from data set owner(s)">
1037
            <span class="regtext">Obtain permission from data set owner(s)&nbsp;&nbsp;</span>
1038
          [%END%]
1039
          </td></tr>
1040
    
1041

    
1042
   
1043
   <tr class="sectbody"><td></td><td colspan="5" align="left">
1044
 
1045
    [% IF form == 're_entry' && useConstraints == "other" %]      
1046
      <input type="radio"  name="useConstraints" onClick="handleOther(1, 'otherUC')" value="other" CHECKED>
1047
      <span class="regtext">Other&nbsp;</span>
1048
    [%ELSE%]
1049
      <input type="radio"  name="useConstraints" onClick="handleOther(1, 'otherUC')" value="other">
1050
      <span class="regtext">Other&nbsp;</span>
1051
    [%END%]
1052
   <input type="TEXT" name="useConstraintsOther" id="otherUC" value="[%useConstraintsOther%]" size="49"></td</tr>
1053
   
1054
   
1055
   <tr class="sectbody"><td class="rightCol"><span class="label">URL</span></td>
1056
   <td colspan="5" align="left"><input type="TEXT" name="url" value="[%url%]" class="longwidth"></td></tr>
1057
   
1058
   <tr class="sectbody"><td valign="top" align="right"><span class="label">Additional Information</span>
1059
   <td colspan="5" align="left"><textarea rows="6" cols="60" name="addComments">[%addComments%]</textarea></td></tr>
1060
   
1061
   </table>
1062
   
1063
  [% IF modules.upload == 'true' %]
1064

    
1065
  <!-- Associated Data -->
1066
  <table class="tables" cellpadding="5" cellspacing="0">
1067
  <tr class="sectheader">
1068
    <td colspan="5" align="left">
1069
      <span class="label">UPLOAD DATA</span>
1070
      <a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#XXX" target="guide" class="smalltext">(What's this?)</a>
1071
    </td>
1072
    <td class="rightCol"><span><a onClick="uploadBit=swap(event, 'uploadTable', uploadBit)" style="cursor:pointer">Hide</a></span></td>
1073
  </tr>
1074
   </table>
1075
  <table class="tables" cellpadding="5" cellspacing="0" id="uploadTable">
1076
  <tr class="sectbody">
1077
    <td class="rightCol"><span class="label">Upload Data File:</span></td>
1078
    <td colspan="5">
1079
        <input type="file" id="file_element" name="file_1" class="longwidth">
1080

    
1081
        [% IF form == 're_entry' && upCount %]
1082
           [% cnt = 0 %]
1083
           [% WHILE cnt < upCount %]
1084
                [% SET fileSum = "upload_${cnt}" %]
1085
                [% SET fileName = "uploadname_${cnt}" %]
1086
                [% SET fileType = "uploadtype_${cnt}" %] 
1087
                [% SET filePerm = "uploadperm_${cnt}" %]
1088
                [% IF fileSum %]
1089
                    <input type="hidden" name="[%fileSum%]" value="[% $fileSum %]"> 
1090
                    <input type="hidden" name="[%fileName%]" value="[% $fileName %]"> 
1091
                    <input type="hidden" name="[%fileType%]" value="[% $fileType %]"> 
1092
                [% END %]
1093
                [% cnt = cnt + 1 %]
1094
            [% END %]
1095
        <input type="hidden" id="upCount" name="upCount" value="[%upCount%]">
1096
        [% END %]
1097

    
1098
        <input type="hidden" id="fileCount" name="fileCount" value="[%fileCount%]"></td>
1099
  </tr>
1100
  <tr class="sectbody">
1101
    <td class="rightCol" valign="top"><span class="label">Attached Files:</span></td>
1102
    <td colspan="5" class="regtext">
1103
    [% IF !upCount %]
1104
        <div id="file_comment">
1105
            (<i>None currently attached</i>)
1106
        </div>
1107
    [% END %]
1108
    <div id="files_list">[% IF form == 're_entry' && upCount %]
1109
    [% cnt = 0 %]
1110

    
1111
    [% WHILE cnt < upCount %]
1112
        [% SET fileName = "uploadname_${cnt}" %]
1113
        [% SET filePerm = "uploadperm_${cnt}" %]
1114
        [% IF $filePerm == 'public' %]
1115
          [% SET perm_a = "checked" %]
1116
          [% SET perm_b = "" %]
1117
        [% ELSE %]
1118
          [% SET perm_a = "" %]
1119
          [% SET perm_b = "checked" %]
1120
        [% END %]
1121
        [% IF fileName %]<div>
1122
          [% $fileName %]
1123
          <input type="radio" name="[% filePerm %]" value="public" [% perm_a %]> Public
1124
          <input type="radio" name="[% filePerm %]" value="private" [% perm_b %]> Private
1125

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

    
1128
        [% cnt = cnt + 1 %]
1129
    [% END %]
1130
    [% END %]</div></td>
1131
  </tr>
1132
  </table>
1133
  
1134
  <script language="JavaScript" type="text/JavaScript">
1135
    var multi_selector = new MultiSelector( document.getElementById( 'files_list' ), 10);
1136
    multi_selector.addElement( document.getElementById( 'file_element' ) );
1137
  </script>
1138
  [% END %]
1139
   <table class="tables" cellpadding="5" cellspacing="0">    
1140
   <tr class="sectheader"><td colspan="6" align="left"></td></tr>
1141
   <tr class="sectheader"><td colspan="6" align="center" class="borderbottom"><input type="SUBMIT" onClick="sortInputTags()" value="Submit Data Set Description" name="SUBMIT">
1142
              
1143
    </table>
1144
    <p></p>
1145
   
1146
</form>
1147

    
1148
[% INCLUDE $templates.footer %]
(4-4/26)