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

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

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

    
352

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

    
532
  <table class="tables" cellpadding="5" cellspacing="0">  
533

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

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

    
676
   [% IF modules.taxonomic == 'true' %]
677
   
678
   <table class="tables" cellpadding="5" cellspacing="0">  
679

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

    
700
        <tr class="sectbody"> 
701
            <td class="rightCol"><span class="label">Taxonomic Name</span></td>
702
            <td align="left" colspan="5">
703
                <input name="taxonName" id="taxonName" class="shortwidth">&nbsp;&nbsp;<span class="label"><span class="regtext">(e.g., <i>Ursus arctos</i>)</span>
704
            </td>
705
        </tr>
706

    
707
        <tr id="addTaxon" class="sectbody"> 
708
            <td></td>
709
            <td colspan="5" align="left"> <input type="button" value="Add Taxon"
710
                    onClick="addTaxon()">
711
            </td>
712
        </tr>
713

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

    
755
     <tr class="sectbody" id="addtaxarow"> 
756
        <td class="bordertop" valign="top" align="right" ><span class="label">Taxonomic Reference</span></td>
757
        <td class="bordertop" align="left" colspan="5"><textarea rows="3" cols="30" name="taxaAuth">[% taxaAuth %]</textarea></td>
758
        </tr>
759
     <tr class="sectbody">
760
     <td></td>
761
     <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
762
     nomenclature revision).</span></td>
763
     </tr>   
764
   </table>
765
    [% END %]	
766

    
767
  [% IF modules.method == 'true' %]
768
   <table class="tables" cellpadding="5" cellspacing="0">  
769
  <tr class="sectheader"><td colspan="5" align="left">
770
  <span class="label">DATA COLLECTION METHODS&nbsp;</span>
771
  <a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#Methods" target="guide"><span class="smalltext">(What's this?)</span></a></td>
772
  <td class="rightCol"><span><a onClick="methodBit=swap(event, 'methodTable', methodBit)" style="cursor:pointer">Hide</a></span></td>
773
  </tr>
774
     </table>
775
   
776
   <table class="tables" cellpadding="5" cellspacing="0" id="methodTable">  
777

    
778
    <tr class="sectbody"> 
779
      <td class="rightCol"><span class="label">Method Title</span></td>
780
      <td colspan="5" align="left"><input type="text" name="methodTitle" value="[%methodTitle%]" class="longwidth"></td></tr>
781

    
782
       <tr class="sectbody"><td valign="top" class="rightCol"><span class="label">Method Description</span>      
783
        <td colspan="5" align="left">
784
        [% IF !methodPara %]
785
          <textarea rows="6" cols="60" name="methodPara"></textarea>
786
        [% END %]
787
        [% FOREACH para = methodPara %]
788
           <textarea rows="6" cols="60" name="methodPara">[% para %]</textarea>
789
        [% END %]
790
        </td></tr>
791
        
792
    <tr class="sectbody" id="addparabutton1">
793
    <td ></td>
794
    <td colspan="5" align="left">
795
          <input type="button" value="Add Paragraph to Method Description" 
796
                 onClick="addParagraph()"></td></tr>
797
   
798
     
799
    <tr class="sectbody">
800
      <td valign="top" align="right" class="bordertop">
801
       <span class="label">Extent of Study Description</span>
802
       </td>
803
        <td colspan="5" align="left" class="bordertop"><textarea rows="6" cols="60" name="studyExtentDescription">[% studyExtentDescription %]</textarea></td>
804
    </tr>
805
	
806
   <tr class="sectbody">
807
    <td>
808
    </td>
809
    <td colspan="5"><span class="regtext">
810
        Describe the temporal, spatial and taxonomic extent of the study,<br>
811
        supplementing the information on coverage provided above.  <br>
812
        For example, if the temporal coverage of the data is 1990-2000, you<br>
813
        might provide details about any years that were missed or the months<br>
814
        in which sampling occurred.</span>
815
    </td>
816
    </tr>
817
          
818
    <tr class="sectbody"><td class="bordertop" valign="top" align="right"><span class="label">Sampling Description</span></td>
819
        <td colspan="5" align="left" class="bordertop" ><textarea rows="6" cols="60" name="samplingDescription">[% samplingDescription %]</textarea></td></tr>
820
	
821
   <tr class="sectbody"><td><td colspan="5"><span class="regtext">
822
        Describe the sampling design of the study.  For example, you might <br> 
823
        describe the way in which treatments were assigned to sampling units.</span></td></tr>
824
      
825
    </table>     
826
   [% END %]
827
 
828
   <table class="tables" cellpadding="5" cellspacing="0">    
829
  <tr class="sectheader"><td colspan="5" align="left">
830
  <span class="label">DATA SET CONTACT&nbsp;</span><a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#DataSetContactAddress" target="guide"><span class="smalltext">(What's this?)</span></a></td>
831
  <td class="rightCol"><span><a onClick="dscBit=swap(event, 'dscTable', dscBit)" style="cursor:pointer">Hide</a></span></td>
832
  </tr>
833
     </table>
834
   
835
   <table class="tables" cellpadding="5" cellspacing="0" id="dscTable">  
836
  <tr class="sectbody"><td valign="top" align="left" colspan="6">
837
        <input type="CHECKBOX" name="useOrigAddress" onClick="copyContact()" id="copyCheckBox" [%useOrigAddress%]>
838
        <span class="regtext">Use the same name and address as the <span class="label">PRINCIPAL DATA SET OWNER</span> above.</span></td></tr> 
839
   <tr class="sectbody">
840
      <td class="rightCol"><span class="label">*First Name</span></td>
841
      <td colspan="5"><input type="TEXT" name="origNamefirstContact" id="contactNameFirst" value="[%origNamefirstContact%]" class="shortwidth"></td></tr>
842
    <tr class="sectbody">
843
      <td class="rightCol"><span class="label">*Last Name</span>
844
      <td colspan="5"><input type="TEXT" name="origNamelastContact" id="contactNameLast" value="[%origNamelastContact%]" class="shortwidth"></td></tr>
845
    <tr class="sectbody">
846
      <td class="rightCol"><span class="label">Organization Name</span>
847
      <td colspan="5"><input type="TEXT" name="origNameOrgContact" id="contactNameOrg" value="[%origNameOrgContact%]" class="longwidth"></td></tr>
848
    <tr class="sectbody">      
849
      [% IF required.contactEmailAddress == 'true' %]
850
      	<td class="rightCol"><span class="label">*E-Mail</span>
851
      [% ELSE %]
852
      	<td class="rightCol"><span class="label">E-Mail</span>
853
      [% END %]
854
      <td colspan="5"><input type="TEXT" name="origEmailContact" id="contactEmail" value="[%origEmailContact%]" class="shortwidth"></td></tr>
855
    <tr class="sectbody">
856
      <td class="rightCol"><span class="label">Phone</span>
857
      <td colspan="5"><input type="TEXT" name="origPhoneContact" id="contactPhone" value="[%origPhoneContact%]" class="shortwidth"></td></tr>
858
    <tr class="sectbody"> 
859
      <td class="rightCol"><span class="label">FAX</span>
860
      <td colspan="5"><input type="TEXT" name="origFAXContact" id="contactFAX" value="[%origFAXContact%]" class="shortwidth"></td></tr>
861
    <tr class="sectbody"><td valign="top" align="right"><span class="label">Street<br>Information</td>
862
      <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>
863
    <tr class="sectbody">    
864
      <td class="rightCol"><span class="label">City</span>
865
      <td colspan="5"><input type="TEXT" name="origCityContact" id="contactCity" value="[%origCityContact%]" class="shortwidth"></td></tr>
866
    <tr class="sectbody">
867
      <td class="rightCol"><span class="label">U.S. State or Territory</span>
868
      <td colspan="5"><select id="contactState" name="origStateContact" class="shortwidth">
869
	    [% IF form == 're_entry' %]	
870
            	<option>[%origStateContact%]</option>
871
	    [% ELSE %]
872
                <option>Select state or territory here.</option>
873
            [% END %]
874
	        <option>Alabama</option>
875
            <option>Alaska</option>
876
            <option>American Samoa</option>
877
            <option>Arizona</option>
878
            <option>Arkansas</option>
879
            <option>California</option>
880
            <option>Colorado</option>
881
            <option>Connecticut</option>
882
            <option>Delaware</option>
883
            <option>District of Columbia</option>
884
            <option>Florida</option>
885
            <option>Georgia</option>
886
            <option>Guam</option>
887
            <option>Hawaii</option>
888
            <option>Idaho</option>
889
            <option>Illinois</option>
890
            <option>Indiana</option>
891
            <option>Iowa</option>
892
            <option>Kansas</option>
893
            <option>Kentucky</option>
894
            <option>Louisiana</option>
895
            <option>Maine</option>
896
            <option>Maryland</option>
897
            <option>Massachusetts</option>
898
            <option>Michigan</option>
899
            <option>Minnesota</option>
900
            <option>Mississippi</option>
901
            <option>Missouri</option>
902
            <option>Montana</option>
903
            <option>Nebraska</option>
904
            <option>Nevada</option>
905
            <option>New Hampshire</option>
906
            <option>New Jersey</option>
907
            <option>New Mexico</option>
908
            <option>New York</option>
909
            <option>North Carolina</option>
910
            <option>North Dakota</option>
911
            <option>Northern Mariana Islands</option>
912
            <option>Ohio</option>
913
            <option>Oklahoma</option>
914
            <option>Oregon</option>
915
            <option>Pennsylvania</option>
916
            <option>Puerto Rico</option>
917
            <option>Rhode Island</option>
918
            <option>South Carolina</option>
919
            <option>South Dakota</option>
920
            <option>Tennessee</option>
921
            <option>Texas</option>
922
            <option>Utah</option>
923
            <option>Vermont</option>
924
            <option>Virgin Islands</option>
925
            <option>Virginia</option>
926
            <option>Washington</option>
927
            <option>West Virginia</option>
928
            <option>Wisconsin</option>
929
            <option>Wyoming</option>
930
          </select></td></tr>
931
     <tr class="sectbody">
932
        <td class="rightCol"><span class="label">Other State/Province</span>
933
	<td colspan="5"><input type="TEXT" name="origStateOtherContact" id="contactStateOther" value="[%origStateOtherContact%]" class="shortwidth"></td></tr>
934
     <tr class="sectbody">     
935
        <td class="rightCol"><span class="label">Postal Code</span>
936
	<td colspan="5"><input type="TEXT" name="origZIPContact" class="shortwidth" id="contactZip" value="[%origZIPContact%]"></td></tr>
937
     <tr class="sectbody">
938
        <td class="rightCol"><span class="label">Country</span>
939
        <td colspan="5"><input type="TEXT" name="origCountryContact" id="contactCountry" value="[%origCountryContact%]" class="shortwidth"></td></tr>
940
     </table>
941
   
942
   <table class="tables" cellpadding="5" cellspacing="0">  
943
  <tr class="sectheader"><td colspan="5" align="left">
944
  <span class="label">DISTRIBUTION INFORMATION&nbsp;</span><a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#DistributionIinformation" 
945
  target="guide"><span class="smalltext">(What's this?)</span></a></td>
946
  <td class="rightCol"><span><a onClick="distBit=swap(event, 'distTable', distBit)" style="cursor:pointer">Hide</a></span></td>
947
  </tr>
948
   </table>
949
   
950
   <table class="tables" cellpadding="5" cellspacing="0" id="distTable">  
951
  <tr class="sectbody"><td class="rightCol"><span class="label">Data Set Identifier</span></td>
952
  <td colspan="5"><input type="TEXT" name="identifier" value="[%identifier%]" class="longwidth"></td></tr>
953
  <tr class="sectbody"><td valign="top" align="right"><span class="label">Note:</span></td>
954
     <td colspan="4" align="left"><span class="regtext">
955
     If available, please enter a name or number that uniquely identifies and<br>
956
     describes concisely the data set. Alternatively, provide other pertinent<br>
957
     information that can identify and locate the data set within your site's<br>
958
     data management system.</span></td><td></td></tr>
959
  
960
    <tr class="sectbody">
961
        <td class="rightCol"><span class="label">*Data Medium</span></td>
962
  
963
        <td colspan="5" align="left">
964
        [% IF form == 're_entry' && (dataMedium == "digital " || dataMedium == "digital")  %]	
965
            <input type="radio"  name="dataMedium" onClick="handleOther(0, 'otherDM')" value="digital" CHECKED>
966
						<span class="regtext">Digital&nbsp;&nbsp;</span></input>
967
        [%ELSE%]
968
            <input type="radio"  name="dataMedium" onClick="handleOther(0, 'otherDM')" value="digital">
969
						<span class="regtext">Digital&nbsp;&nbsp;</span></input>
970
        [% END %]
971
        [% IF form == 're_entry' && (dataMedium == "hardcopy " || dataMedium == "hardcopy") %]	
972
           <input type="radio"  name="dataMedium" onClick="handleOther(0, 'otherDM')" value="hardcopy" CHECKED>
973
					 <span class="regtext">Hardcopy&nbsp;&nbsp;</span></input>
974
        [%ELSE%]
975
           <input type="radio"  name="dataMedium" onClick="handleOther(0, 'otherDM')" value="hardcopy">
976
					 <span class="regtext">Hardcopy&nbsp;&nbsp;</span></input>
977
        [% END %]
978
        [% IF form == 're_entry' && dataMedium == "other" %]
979
           <input type="radio" name="dataMedium" value="other" onClick="handleOther(1, 'otherDM')" CHECKED>
980
					 <span class="regtext">Other&nbsp;</span></input>
981
        [%ELSE%]
982
           <input type="radio"  name="dataMedium" onClick="handleOther(1, 'otherDM')" value="other">
983
					 <span class="regtext">Other&nbsp;</span></input>
984
        [% END %]
985

    
986
	<input type="TEXT" name="dataMediumOther" value="[%dataMediumOther%]" id="otherDM" class="shortwidth"></input>
987
        </td>
988
    </tr>  
989
  
990
  <tr class="sectbody"><td class="rightCol"><span class="label">*Usage Rights</span></td>
991
      <td colspan="5" align="left">
992
      
993
          [% IF form == 're_entry' && useConstraints == "no restrictions" %]		  
994
	    <input type="radio"  name="useConstraints" onClick="handleOther(0, 'otherUC')" value="no restrictions" CHECKED>
995
			<span class="regtext">No restrictions&nbsp;&nbsp;</span>
996
          [%ELSE%]
997
            <input type="radio"  name="useConstraints" onClick="handleOther(0, 'otherUC')" value="no restrictions">
998
						<span class="regtext">No restrictions&nbsp;&nbsp;</span>
999
          [%END%]
1000
          [% IF form == 're_entry' && useConstraints == "Obtain permission from data set owner(s)" %]		  
1001
  	    <input type="radio"  name="useConstraints" onClick="handleOther(0, 'otherUC')" value="Obtain permission from data set owner(s)" CHECKED>
1002
				<span class="regtext">Obtain permission from data set owner(s)&nbsp;&nbsp;</span>
1003
          [%ELSE%]
1004
            <input type="radio"  name="useConstraints" onClick="handleOther(0, 'otherUC')" value="Obtain permission from data set owner(s)">
1005
						<span class="regtext">Obtain permission from data set owner(s)&nbsp;&nbsp;</span>
1006
          [%END%]
1007
          </td></tr>
1008
	  
1009

    
1010
   
1011
   <tr class="sectbody"><td></td><td colspan="5" align="left">
1012
 
1013
    [% IF form == 're_entry' && useConstraints == "other" %]		  
1014
      <input type="radio"  name="useConstraints" onClick="handleOther(1, 'otherUC')" value="other" CHECKED>
1015
			<span class="regtext">Other&nbsp;</span>
1016
    [%ELSE%]
1017
      <input type="radio"  name="useConstraints" onClick="handleOther(1, 'otherUC')" value="other">
1018
			<span class="regtext">Other&nbsp;</span>
1019
    [%END%]
1020
   <input type="TEXT" name="useConstraintsOther" id="otherUC" value="[%useConstraintsOther%]" size="49"></td</tr>
1021
   
1022
   
1023
   <tr class="sectbody"><td class="rightCol"><span class="label">URL</span></td>
1024
   <td colspan="5" align="left"><input type="TEXT" name="url" value="[%url%]" class="longwidth"></td></tr>
1025
   
1026
   <tr class="sectbody"><td valign="top" align="right"><span class="label">Additional Information</span>
1027
   <td colspan="5" align="left"><textarea rows="6" cols="60" name="addComments">[%addComments%]</textarea></td></tr>
1028
   
1029
   </table>
1030
   
1031
  [% IF modules.upload == 'true' %]
1032

    
1033
  <!-- Associated Data -->
1034
  <table class="tables" cellpadding="5" cellspacing="0">
1035
  <tr class="sectheader"><td colspan="5" align="left">
1036
  <span class="label">UPLOAD DATA&nbsp;</span><a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#XXX" 
1037
  target="guide"><span class="smalltext">(What's this?)</span></a></td>
1038
  <td class="rightCol"><span><a onClick="uploadBit=swap(event, 'uploadTable', uploadBit)" style="cursor:pointer">Hide</a></span></td>
1039
  </tr>
1040
   </table>
1041
  <table class="tables" cellpadding="5" cellspacing="0" id="uploadTable">
1042
  <tr class="sectbody">
1043
    <td class="rightCol"><span class="label">Upload Data File:</span></td>
1044
    <td colspan="5">
1045
        <input type="file" id="file_element" name="file_1" class="longwidth">
1046

    
1047
        [% IF form == 're_entry' && upCount %]
1048
           [% cnt = 0 %]
1049
           [% WHILE cnt < upCount %]
1050
                [% SET fileSum = "upload_${cnt}" %]
1051
                [% SET fileName = "uploadname_${cnt}" %]
1052
                [% SET fileType = "uploadtype_${cnt}" %] 
1053
                [% SET filePerm = "uploadperm_${cnt}" %]
1054
                [% IF fileSum %]
1055
                    <input type="hidden" name="[%fileSum%]" value="[% $fileSum %]"> 
1056
                    <input type="hidden" name="[%fileName%]" value="[% $fileName %]"> 
1057
                    <input type="hidden" name="[%fileType%]" value="[% $fileType %]"> 
1058
                [% END %]
1059
                [% cnt = cnt + 1 %]
1060
            [% END %]
1061
        <input type="hidden" name="upCount" value="[%upCount%]">
1062
        [% END %]
1063

    
1064
        <input type="hidden" name="fileCount" value="[%fileCount%]" id="fileCount"></td>
1065
  </tr>
1066
  <tr class="sectbody">
1067
    <td class="rightCol" valign="top"><span class="label">Attached Files:</span></td>
1068
    <td colspan="5" class="regtext">
1069
    [% IF !upCount %]
1070
        <div id="file_comment">
1071
            (<i>None currently attached</i>)
1072
        </div>
1073
    [% END %]
1074
    <div id="files_list">[% IF form == 're_entry' && upCount %]
1075
    [% cnt = 0 %]
1076

    
1077
    [% WHILE cnt < upCount %]
1078
        [% SET fileName = "uploadname_${cnt}" %]
1079
        [% SET filePerm = "uploadperm_${cnt}" %]
1080
        [% IF $filePerm == 'public' %]
1081
          [% SET perm_a = "checked" %]
1082
          [% SET perm_b = "" %]
1083
        [% ELSE %]
1084
          [% SET perm_a = "" %]
1085
          [% SET perm_b = "checked" %]
1086
        [% END %]
1087
        [% IF fileName %]<div>
1088
          [% $fileName %]
1089
          <input type="radio" name="[% filePerm %]" value="public" [% perm_a %]> Public
1090
          <input type="radio" name="[% filePerm %]" value="private" [% perm_b %]> Private
1091

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

    
1094
        [% cnt = cnt + 1 %]
1095
    [% END %]
1096
    [% END %]</div></td>
1097
  </tr>
1098
  </table>
1099
  
1100
  <script language="JavaScript" type="text/JavaScript">
1101
    var multi_selector = new MultiSelector( document.getElementById( 'files_list' ), 10);
1102
    multi_selector.addElement( document.getElementById( 'file_element' ) );
1103
  </script>
1104
  [% END %]
1105
   <table class="tables" cellpadding="5" cellspacing="0">    
1106
   <tr class="sectheader"><td colspan="6" align="left"></td></tr>
1107
   <tr class="sectheader"><td colspan="6" align="center" class="borderbottom"><input type="SUBMIT" onClick="sortInputTags()" value="Submit Data Set Description" name="SUBMIT">
1108
              
1109
    </table>
1110
    <p></p>
1111
   
1112
</form>
1113

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