Project

General

Profile

1
[% INCLUDE $templates.header %]
2

    
3
  <script language="JavaScript" type="text/javascript" src="[% styleCommonPath %]/templates/entryForm.js">
4
  </script>
5

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

    
69

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

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

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

    
368

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

    
550
  <table class="tables" cellpadding="5" cellspacing="0">  
551

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

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

    
696
   [% IF modules.taxonomic == 'true' %]
697
   
698
  <table class="tables" cellpadding="5" cellspacing="0">  
699

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    
1145
[% INCLUDE $templates.footer %]
(4-4/24)