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

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

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

    
366

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

    
561
  <table class="tables" cellpadding="5" cellspacing="0">  
562

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

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

    
705
   [% IF hasTaxonomic == 'true' %]
706
   
707
   <table class="tables" cellpadding="5" cellspacing="0">  
708

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

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

    
736
        <tr id="addTaxon" class="sectbody"> 
737
            <td></td>
738
            <td colspan="5" align="left"> <input type="button" value="Add Taxon"
739
                    onClick="addTaxon()">
740
            </td>
741
        </tr>
742

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

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

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

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

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

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

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

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

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

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

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

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

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

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