Project

General

Profile

metacat / lib / style / common / templates / metacatui / confirmData.tmpl @ 7901

1
[% INCLUDE $templates.header %]
2

    
3
	<!-- CONTENT SECTION
4
    ======================================================================= -->
5
	<article id="EntryReview">
6
		<div class="container">
7
		
8
			<div class="row-fluid">
9
				<h2>Review your entry</h2>
10
				<p class="lead">
11
					Use this form to submit a new data package to the repository.
12
				</p>
13
				<p>
14
					Please review the information that you've entered. To make changes, click on the edit button <a href="#buttons">at the bottom of the page</a>.
15
				</p>
16
			</div>
17

    
18
<table class="intro" cellpadding="3" cellspacing="0">
19
<tr><td align="left">
20
<a name="BasicInformation"></a>
21
<p><span class="sectionnames">BASIC INFORMATION</span>
22
</p>
23
<p><span class="label">First Name:</span>        [%providerGivenName%]
24
</p>
25
<p><span class="label">Last Name:</span>         [%providerSurName%]
26
</p>
27
<p><span class="label">Data Set Title:</span>     [%title%]
28
</p>
29

    
30

    
31

    
32
[% IF cfg == 'nceas' %]
33
    [% FOREACH group = wg %]
34
      <p><span class="label">NCEAS Project:</span>  [%group%] </p>
35
    [% END %]
36
    
37
[% ELSE %]
38
    [% IF cfg == 'esa' %]
39
      <p><span class="label">Organization Name:</span>  [%site%]</p>
40
    [% ELSE %]
41
      <p><span class="label">[% config.site | ucfirst %] Name:</span>  [%site%]</p>
42
    [% END %]
43
[% END %]
44

    
45
<hr class="rule">
46
<a name="DataSetOriginator"></a>
47
<p><span class="sectionnames">PRINCIPAL DATA SET OWNER</span>
48

    
49
<p><span class="label">First Name:</span>        [%origNamefirst0%]
50
</p>
51

    
52
<p><span class="label">Last Name:</span>         [%origNamelast0%]
53
</p>
54

    
55
<p><span class="label">Organization Name:</span> [%origNameOrg%]
56
</p>
57

    
58
<p><span class="label">E-Mail:</span>            [%origEmail%]
59
</p>
60

    
61
<p><span class="label">Phone:</span>             [%origPhone%]
62
</p>
63

    
64
<p><span class="label">FAX:</span>               [%origFAX%]
65
</p>
66

    
67
<p><span class="label">Street Information:</span> 
68
                                                    [%origDelivery%]
69
</p>
70

    
71
<p><span class="label">City:</span>              [%origCity%]
72
</p>
73

    
74
<p><span class="label">State:</span>             [%origState%]
75
</p>
76

    
77
<p><span class="label">Other State/Province:</span>       [%origStateOther%]
78
</p>
79

    
80
<p><span class="label">Postal Code:</span>               [%origZIP%]
81
</p>
82

    
83
<p><span class="label">Country:</span>               [%origCountry%]
84
</p>
85

    
86
<hr class="rule">
87
<a name="AdditionalOriginators"></a>
88
<p><span class="sectionnames">ASSOCIATED PARTIES</span> 
89

    
90
    [% numAO = 0 %]
91
    [% IF aoCount > 0 %]
92
        [% numAO = aoCount %]
93
    [% END %]
94

    
95
<table cellspacing="0" border="0" cellpadding="9" width="760">
96
    <tr> 
97
      <td width="21%" valign="TOP"> 
98
        <span class="label">First Name</span>
99
      </td>
100
      <td width="21%" valign="TOP"> 
101
        <span class="label">Last Name</span>
102
      </td>
103
      <td width="58%" valign="TOP"> 
104
        <span class="label">Role</span>
105
      </td>
106
    </tr>
107
    [% cnt = 1 %]
108
    [% WHILE cnt <= numAO %]
109
     [% SET origNamefirst = "origNamefirst${cnt}" %]
110
     [% SET origNamelast = "origNamelast${cnt}" %]
111
     [% SET origRole = "origRole${cnt}" %]
112
     <tr> 
113
      <td width="21%" valign="TOP"> 
114
        [% $origNamefirst %]
115
      </td>
116
      <td width="21%" valign="TOP"> 
117
        [% $origNamelast %]
118
      </td>
119
      <td width="58%" valign="TOP"> 
120
	[% $origRole %]
121
      </td>
122
     </tr>
123
     [% cnt = cnt + 1 %]
124
     [% END %]    
125
</table>
126

    
127
<hr class="rule">
128
<a name="DataSetAbstract"></a>
129
<p><span class="sectionnames">DATA SET ABSTRACT</span><br>  [%abstract%]
130
</p>
131
 [% IF modules.keyword == 'true' %]
132
<hr class="rule">
133
<a name="KeywordInformation"></a>
134
<p><span class="sectionnames">KEYWORD INFORMATION</span> 
135

    
136
    [% numKey = 0 %]
137
    [% IF keyCount > 1 %]
138
        [% numKey = keyCount %]
139
    [% END %]
140

    
141
<table cellspacing="0" border="0" cellpadding="9" width="760">
142
    <tr> 
143
      <td width="21%" align="left" valign="TOP"> 
144
        <span class="label">Keyword</span>
145
      </td>
146
      <td width="21%" align="left" valign="TOP"> 
147
        <span class="label">Keyword Type</span>
148
      </td>
149
      <td width="58%" align="left" valign="TOP"> 
150
        <span class="label">Keyword Thesaurus</span>
151
      </td>
152
    </tr>
153
    [% cnt = 1 %]
154
    [% WHILE cnt <= numKey %]
155
     [% SET key = "keyword${cnt}" %]
156
     [% SET keyType = "kwType${cnt}" %]
157
     [% SET keyTh = "kwTh${cnt}" %]
158
     <tr> 
159
      <td width="21%" align="left" valign="TOP"> 
160
        [% $key %]
161
      </td>
162
      <td width="21%" align="left" valign="TOP"> 
163
        [% $keyType %]
164
      </td>
165
      <td width="58%" align="left" valign="TOP"> 
166
	[% $keyTh %]
167
      </td>
168
     </tr>
169
     [% cnt = cnt + 1 %]
170
     [% END %]
171
</table>
172
[% END %]
173
  
174
[% IF modules.temporal == 'true' %]
175
<hr class="rule">
176
<a name="TemporalCoverageOfData"></a>
177
<p><span class="sectionnames">TEMPORAL COVERAGE OF DATA</span> 
178

    
179
<p><span class="label">Start Date:</span> [%beginningYear%]&nbsp;[%beginningMonth%]&nbsp;[%beginningDay%]
180
</p>
181

    
182
<p><span class="label">Stop Date:</span>    [%endingYear%]&nbsp;[%endingMonth%]&nbsp;[%endingDay%]
183
</p>
184
[% END %]
185

    
186
[% IF modules.spatial == 'true' %]
187
<hr class="rule">
188
<a name="SpatialCoverageOfData"></a>
189
<p><span class="sectionnames">SPATIAL COVERAGE OF DATA</span> 
190

    
191

    
192
<table cellspacing="0" border="0" cellpadding="9" width="760">
193
    <tr>
194
      <td valign="TOP" colspan="4"> 
195
        <p><span class="label">Geographic Description:</span> [%geogdesc%]</p>
196
      </td>
197
    </tr>
198
    <tr> 
199
      <td valign="TOP" colspan="4"> 
200
        <p><span class="label">Coordinates (in Degrees, Minutes and Seconds):</span></p>
201
      </td>
202
    </tr>
203
    
204
    <tr> 
205
      <td valign="TOP" colspan="4"> 
206
        <p><span class="label">The first lat/long pair:</span></p>
207
      </td>
208
    </tr>
209
    <tr> 
210
      <td width="18%" valign="TOP"> 
211
        <p><span class="label">&nbsp;Latitude</span></p>
212
      </td>
213
      <td width="20%" valign="TOP"> 
214
        <p><span class="label">&nbsp;North/South</span></p>
215
      </td>
216
      <td width="20%" valign="TOP"> 
217
        <p><span class="label">&nbsp;Longitude</span></p>
218
      </td>
219
      <td width="42%" valign="TOP"> 
220
        <p><span class="label">&nbsp;West/East</span></p>
221
      </td>
222
    </tr>
223
    <tr> 
224
      <td width="18%" valign="TOP"> 
225
        <p><font size="-1">
226
	[%latDeg1%]&nbsp;[%latMin1%]'&nbsp;[%latSec1%]&quot; 
227
        </font></p>
228
      </td>
229
      <td width="20%" valign="TOP"> 
230
        <p> <font size="-1">
231
          [%hemisphLat1%]
232
	</font></p>
233
      </td>
234
      <td width="20%" valign="TOP"> 
235
        <p><font size="-1"> 
236
	  [%longDeg1%]&nbsp;[%longMin1%]'&nbsp;[%longSec1%]&quot; 
237
        </font></p>
238
      </td>
239
      <td width="42%" valign="TOP"> 
240
        <p> <font size="-1">
241
          [%hemisphLong1%]
242
        </font></p>
243
      </td>
244
    </tr>
245
    [% IF latDeg2 %]
246
    <tr> 
247
      <td valign="TOP" colspan="4"> 
248
        <p><span class="label">The second lat/long pair:</span></p>
249
      </td>
250
    </tr>
251
    <tr> 
252
      <td width="18%" valign="TOP"> 
253
        <p><span class="label">Latitude</span></p>
254
      </td>
255
      <td width="20%" valign="TOP"> 
256
        <p><sapn class="label">&nbsp;North/South</span></p>
257
      </td>
258
      <td width="20%" valign="TOP"> 
259
        <p><span class="label">Longitude</span></p>
260
      </td>
261
      <td width="42%" valign="TOP"> 
262
        <p><sapn class="label">West/East</span></p>
263
      </td>
264
    </tr>
265
    <tr>
266
      <td width="18%" valign="TOP"> 
267
        <p><font size="-1">
268
	[%latDeg2%]&nbsp;[%latMin2%]'&nbsp;[%latSec2%]&quot;
269
        </font></p>
270
      </td>
271
      <td width="20%" valign="TOP"> 
272
        <p> <font size="-1">
273
          [%hemisphLat2%]
274
	</font></p>
275
      </td>
276
      <td width="20%" valign="TOP"> 
277
        <p><font size="-1"> 
278
	  [%longDeg2%]&nbsp;[%longMin2%]'&nbsp;[%longSec2%]&quot; 
279
        </font></p>
280
      </td>
281
      <td width="42%" valign="TOP">
282
        <p> <font size="-1">
283
          [%hemisphLong2%]
284
        </font></p>
285
      </td>
286
    </tr>
287
    [% END %]
288
  </table>
289
[% END %]
290

    
291
[% IF modules.taxonomic == 'true' %]
292
    [% numTaxa = 0 %]
293
    [% IF taxaCount > 0 %]
294
        [% numTaxa = taxaCount %]
295
    [% END %]
296
    <hr class="rule">
297
    <a name="Taxonomic Coverage"></a>
298
    <p><span class="sectionnames">TAXONOMIC COVERAGE OF DATA</span></p>
299
    [% cnt = 1 %]
300
    [% WHILE cnt <= numTaxa %]
301
        [% SET trn = "taxonRankName${cnt}" %]
302
        [% SET trv = "taxonRankValue${cnt}" %]
303
        <p><span class="label">Taxon:</span>  [% $trn %]: [% $trv %]</p>
304
        [% cnt = cnt + 1 %]
305
     [% END %]
306
     <p><span class="label">Taxonomic Reference:</span>  [% taxaAuth %]</p>
307
[% END %]
308

    
309
[% IF modules.method == 'true' %]
310
    <hr class="rule">
311
    <a name="Methods"></a>
312
    <p><span class="sectionnames">DATA COLLECTION METHODS</span></p>
313
    <p><span class="label">Method Title:</span> [%methodTitle%]</p>
314
    [% FOREACH para = methodPara %]
315
        <p><span class="label">Paragraph:</span> [%para%] </p>
316
    [% END %]
317
    <p><span class="label">Extent of Study Description:</span> [%studyExtentDescription%]</p>
318
    <p><span class="label">Sampling Description:</span> [%samplingDescription%]</p>
319
[% END %]
320

    
321
[% IF modules.upload == 'true' && upCount %]
322
   <hr class="rule">
323
	 <a name="Upload Data"></a>
324
	  <p><span class="sectionnames">UPLOAD DATA</span></p>
325
    
326
    [% cnt = 0 %]
327
    [% WHILE cnt < upCount %]
328
        [% SET fileName = "uploadname_${cnt}" %]
329
        [% SET filePerm = "uploadperm_${cnt}" %]
330
        [% cnt = cnt + 1 %]
331

    
332
        <p>
333
					<span class="label">File #[% cnt %]:</span> [% $fileName %], [% $filePerm %] access
334
					[% dCount = 0 %]
335
					[% IF delCount > 0 %]
336
						 [% dCount = delCount %]
337
					[% END %]
338
					[% cntd = 0 %]
339
					[% WHILE cntd < dCount %]
340
							[% SET delfile = "deletefile_${cntd}" %]
341
							[% IF $delfile == fileName %]
342
								<span class="redbold">to be removed</b>	
343
							[% END %]
344
							[% cntd = cntd + 1 %]
345
  				[% END %]   
346
				</p>
347
    [% END %]
348
[% END %]
349
<hr class="rule">
350
<a name="DataSetContactAddress"></a>
351
<p><span class="sectionnames">DATA SET CONTACT</span> 
352

    
353
<p><span class="label">First Name:</span>        [%origNamefirstContact%]
354
</p>
355

    
356
<p><span class="label">Last Name:</span>         [%origNamelastContact%]
357
</p>
358

    
359
<p><span class="label">Organization Name:</span> [%origNameOrgContact%]
360
</p>
361

    
362
<p><span class="label">E-Mail:</span>            [%origEmailContact%]
363
</p>
364

    
365
<p><span class="label">Phone:</span>             [%origPhoneContact%]
366
</p>
367

    
368
<p><span class="label">FAX:</span>               [%origFAXContact%]
369
</p>
370

    
371
<p><span class="label">Street Information:</span> 
372
                                                    [%origDeliveryContact%]
373
</p>
374

    
375
<p><span class="label">City:</span>              [%origCityContact%]
376
</p>
377

    
378
<p><span class="label">State:</span>             [%origStateContact%]
379
</p>
380

    
381
<p><span class="label">Other State/Province:</span>       [%origStateOtherContact%]
382
</p>
383

    
384
<p><span class="label">Postal Code:</span>               [%origZIPContact%]
385
</p>
386

    
387
<p><span class="label">Country:</span>           [%origCountryContact%]
388
</p>
389

    
390

    
391
<hr class="rule">
392
<a name="DistributionIinformation"></a>
393
<p><span class="sectionnames">DISTRIBUTION INFORMATION</span> 
394

    
395
<a name=Site-specificCode></a>
396
<p><span class="label">Data Set Identifier:</span> [%identifier%]
397
</p>
398

    
399
<p><span class="label">Data Medium:</span>       [%dataMedium%]&nbsp;&nbsp;&nbsp;&nbsp;<span class="label">Other Data Medium</span>: [%dataMediumOther%]
400
</p>
401

    
402

    
403
<p><span class="label">Usage Constraints:</span>   [%useConstraints%]&nbsp;&nbsp;&nbsp;&nbsp;<span class="label">Other Usage Constraints:</span>  [%useConstraintsOther%]
404
</p>
405

    
406

    
407
<p><span class="label">URL</span>:               [%url%]
408
</p>
409
<p><span class="label">Additional Information:</span>  [%addComments%]
410
</p>
411
<hr class="rule">
412

    
413
<form action="[% cgiPrefix %]/register-dataset.cgi" method="post">
414
  <input type="hidden" name="cfg" value="[% cfg %]">
415
  <input type="hidden" name="docid" value="[% docid %]">
416
  <input type="hidden" name="stage" value="confirmed">
417
  <input type="hidden" name="providerGivenName" value="[%providerGivenName%]">
418
  <input type="hidden" name="providerSurName" value="[%providerSurName%]">
419
  <input type="hidden" name="site" value="[%site%]">
420
  [% IF cfg == 'nceas' %]
421
      [% FOREACH group = wg %]
422
          <input type="hidden" name="wg" value="[%group%]">
423
      [% END %]
424
  [% END %]
425
  <input type="hidden" name="identifier" value="[%identifier%]">
426
  <input type="hidden" name="title" value="[%title%]">
427
  <input type="hidden" name="origNamefirst0" value="[%origNamefirst0%]">
428
  <input type="hidden" name="origNamelast0" value="[%origNamelast0%]">
429
  <input type="hidden" name="origNameOrg" value="[%origNameOrg%]">
430
  <input type="hidden" name="origRole0" value="[%origRole0%]">
431
  <input type="hidden" name="origDelivery" value="[%origDelivery%]">
432
  <input type="hidden" name="origCity" value="[%origCity%]"> 
433
  <input type="hidden" name="origState" value="[%origState%]">
434
  <input type="hidden" name="origStateOther" value="[%origStateOther%]">
435
  <input type="hidden" name="origZIP" value="[%origZIP%]">
436
  <input type="hidden" name="origCountry" value="[%origCountry%]">
437
  <input type="hidden" name="origPhone" value="[%origPhone%]">
438
  <input type="hidden" name="origFAX" value="[%origFAX%]">
439
  <input type="hidden" name="origEmail" value="[%origEmail%]">
440
  <input type="hidden" name="useOrigAddress" value="[%useOrigAddress%]">
441
  <input type="hidden" name="origNamefirstContact" value="[%origNamefirstContact%]">
442
  <input type="hidden" name="origNamelastContact" value="[%origNamelastContact%]">
443
  <input type="hidden" name="origNameOrgContact" value="[%origNameOrgContact%]">
444
  <input type="hidden" name="origDeliveryContact" value="[%origDeliveryContact%]">
445
  <input type="hidden" name="origCityContact" value="[%origCityContact%]"> 
446
  <input type="hidden" name="origStateContact" value="[%origStateContact%]">
447
  <input type="hidden" name="origStateOtherContact" value="[%origStateOtherContact%]">
448
  <input type="hidden" name="origZIPContact" value="[%origZIPContact%]">
449
  <input type="hidden" name="origCountryContact" value="[%origCountryContact%]">
450
  <input type="hidden" name="origPhoneContact" value="[%origPhoneContact%]">
451
  <input type="hidden" name="origFAXContact" value="[%origFAXContact%]">
452
  <input type="hidden" name="origEmailContact" value="[%origEmailContact%]">
453
  <input type="hidden" name="aoCount" value="[%aoCount%]">
454
  [% cnt = 1 %]
455
  [% WHILE cnt <= numAO %]
456
      [% SET origNamefirst = "origNamefirst${cnt}" %]
457
      [% SET origNamelast = "origNamelast${cnt}" %]
458
      [% SET origRole = "origRole${cnt}" %]
459
      <input type="hidden" name="[% origNamefirst %]" value="[% $origNamefirst %]">
460
      <input type="hidden" name="[% origNamelast %]" value="[% $origNamelast %]">
461
      <input type="hidden" name="[% origRole %]" value="[% $origRole %]">
462
      [% cnt = cnt + 1 %]
463
  [% END %]
464
  <input type="hidden" name="abstract" value="[%abstract%]">
465
  <input type="hidden" name="keyCount" value="[%keyCount%]">
466
  [% cnt = 1 %]
467
  [% WHILE cnt <= numKey %]
468
      [% SET kyd = "keyword${cnt}" %]
469
      [% SET keyType = "kwType${cnt}" %]
470
      [% SET keyTh = "kwTh${cnt}" %]
471
      <input type="hidden" name="[% kyd %]" value="[% $kyd %]">
472
      <input type="hidden" name="[% keyType %]" value="[% $keyType %]">
473
      <input type="hidden" name="[% keyTh %]" value="[% $keyTh %]">
474
      [% cnt = cnt + 1 %]
475
  [% END %]
476
  <input type="hidden" name="addComments" value="[%addComments%]">
477
  <input type="hidden" name="useConstraints" value="[%useConstraints%]">
478
  <input type="hidden" name="useConstraintsOther" value="[%useConstraintsOther%]">
479
  <input type="hidden" name="url" value="[%url%]">
480
  <input type="hidden" name="dataMedium" value="[%dataMedium%]">
481
  <input type="hidden" name="dataMediumOther" value="[%dataMediumOther%]">
482
  <input type="hidden" name="beginningYear" value="[%beginningYear%]">
483
  <input type="hidden" name="beginningMonth" value="[%beginningMonth%]">
484
  <input type="hidden" name="beginningDay" value="[%beginningDay%]">
485
  <input type="hidden" name="endingYear" value="[%endingYear%]">
486
  <input type="hidden" name="endingMonth" value="[%endingMonth%]">
487
  <input type="hidden" name="endingDay" value="[%endingDay%]">
488
  <input type="hidden" name="geogdesc" value="[%geogdesc%]">
489
  <input type="hidden" name="useSiteCoord" value="[%useSiteCoord%]">
490
  <input type="hidden" name="latDeg1" value="[% latDeg1 %]">
491
  <input type="hidden" name="latMin1" value="[%latMin1%]">
492
  <input type="hidden" name="latSec1" value="[%latSec1%]">
493
  <input type="hidden" name="hemisphLat1" value="[%hemisphLat1%]">	
494
  <input type="hidden" name="longDeg1" value="[% longDeg1 %]">
495
  <input type="hidden" name="longMin1" value="[%longMin1%]">
496
  <input type="hidden" name="longSec1" value="[%longSec1%]">
497
  <input type="hidden" name="hemisphLong1" value="[%hemisphLong1%]">
498
  <input type="hidden" name="latDeg2" value="[%latDeg2%]">
499
  <input type="hidden" name="latMin2" value="[%latMin2%]">
500
  <input type="hidden" name="latSec2" value="[%latSec2%]">
501
  <input type="hidden" name="hemisphLat2" value="[%hemisphLat2%]">	
502
  <input type="hidden" name="longDeg2" value="[%longDeg2%]">
503
  <input type="hidden" name="longMin2" value="[%longMin2%]">
504
  <input type="hidden" name="longSec2" value="[%longSec2%]">
505
  <input type="hidden" name="hemisphLong2" value="[%hemisphLong2%]">
506
  <input type="hidden" name="taxaCount" value="[%taxaCount%]">
507
  <input type="hidden" name="userLoggedIn" value="[%userLoggedIn%]">
508
  [% cnt = 1 %]
509
  [% WHILE cnt <= numTaxa %]
510
      [% SET trn = "taxonRankName${cnt}" %]
511
      [% SET trv = "taxonRankValue${cnt}" %]
512
      <input type="hidden" name="[% trn %]" value="[% $trn %]">
513
      <input type="hidden" name="[% trv %]" value="[% $trv %]">
514
      [% cnt = cnt + 1 %]
515
  [% END %]
516
  <input type="hidden" name="taxaAuth" value="[%taxaAuth%]">
517

    
518
  <input type="hidden" name="methodTitle" value="[%methodTitle%]">
519
  [% FOREACH para = methodPara %]
520
      <input type="hidden" name="methodPara" value="[%para%]">
521
  [% END %]
522
  <input type="hidden" name="studyExtentDescription" value="[%studyExtentDescription%]">
523
  <input type="hidden" name="samplingDescription" value="[%samplingDescription%]">
524
  <input type="hidden" name="upCount" value="[%upCount%]">
525
  <input type="hidden" name="delCount" value="[% delCount %]">
526
  [% dCount = 0 %]
527
  [% IF delCount > 0 %]
528
     [% dCount = delCount %]
529
  [% END %]
530
  [% cnt = 0 %]
531
  [% WHILE cnt < dCount %]
532
 		  [% SET delfile = "deletefile_${cnt}" %]
533
      <input type="hidden" name="[% delfile %]" value="[% $delfile %]">
534
			<input type="hidden" name="deletefile" value="[% $delfile %]">
535
			[% cnt = cnt + 1 %]
536
	[% END %]		
537

    
538
  [% fCount = 0 %]
539
  [% IF upCount > 0 %]
540
      [% fCount = upCount %]
541
  [% END %]
542

    
543
  [% cnt = 0 %]
544
  [% WHILE cnt < fCount %]
545
      [% SET fileSum = "upload_${cnt}" %]
546
      [% SET fileName = "uploadname_${cnt}" %]
547
      [% SET fileType = "uploadtype_${cnt}" %] 
548
      [% SET filePerm = "uploadperm_${cnt}" %]
549

    
550
      [% IF fileSum %]
551
        <input type="hidden" name="[% fileSum %]" value="[% $fileSum %]">
552
        <input type="hidden" name="[% fileName %]" value="[% $fileName %]">
553
        <input type="hidden" name="[% fileType %]" value="[% $fileType %]">
554
        <input type="hidden" name="[% filePerm %]" value="[% $filePerm %]">
555
      [% END %]
556
      [% cnt = cnt + 1 %]
557
  [% END %]
558
</td><tr></table>
559

    
560
[% IF userLoggedIn != 'true' %]
561

    
562
			<div class="row-fluid">
563
				<div class="span6 pagination-left">
564
					<h2>Login</h2>
565
					<p class="lead">
566
						<em>NOTE:</em> You must enter your username and password. 
567
					</p>
568
					<p>	
569
						This is for the protection of your metadata. 
570
						The username and password will prevent any unauthorized person from
571
						modifying your metadata.
572
					</p>
573
  
574
					<form method="post" action="[% cgiPrefix %]/register-dataset.cgi" onsubmit="return submitform(this);" >
575
						<input type="hidden" name="stage" value="login"> 
576
						<input type="hidden" name="username" value=""> 
577
						<input type="hidden" name="cfg" value="[%cfg%]"> 
578
					
579
						<div>
580
							<div class="row-fluid">
581
								<div class="span2 text-left">Username</div>
582
								<div class="span4 text-left"><input name="uid" type="text" value=""></div>
583
							</div>
584
							<div class="row-fluid">
585
								<div class="span2 text-left">Organization</div>
586
								<div class="span4 text-left"><select name="organization">
587
										<option value="" selected>&#8212; choose one &#8212;</option>
588
										<option value="NCEAS">NCEAS</option>
589
										<option value="LTER">LTER</option>
590
										<option value="KU">KU</option>
591
										<option value="OBFS">OBFS</option>
592
										<option value="OSUSB">OSUSB</option>
593
										<option value="PARC">PARC</option>
594
										<option value="PISCO">PISCO</option>
595
										<option value="SAEON">SAEON</option>
596
										<option value="SANParks">SANParks</option>
597
										<option value="SDSC">SDSC</option>
598
										<option value="UCNRS">UCNRS</option>
599
										<option value="unaffiliated">unaffiliated</option>
600
								</select></div>
601
							</div>
602
							<div class="row-fluid">
603
								<div class="span2 text-left">Password</div>
604
								<div class="span4 text-left"><input name="password" type="password" maxlength="50"
605
									value=""></div>
606
							</div>
607
							<div class="row-fluid">
608
								<div class="offset2 span4 text-left">
609
									<input type="submit" name="loginAction" value="Login">
610
								</div>
611
							</div>
612
						</div>
613
						
614
					</form>
615
				</div>
616
				
617
				<div class="span6 pagination-left">
618
					
619
					<div class="row-fluid">
620
						<div class="span6 text-left">
621
							<p>Don't have an account yet?</p>
622
						</div>
623
						<div class="span6 text-left">
624
							<a href="[% cgiPrefix %]/ldapweb.cgi?cfg=[%cfg%]">
625
								<i class="icon-user"></i>
626
								Create a new account
627
							</a>
628
						</div>
629
					</div>
630
					
631
					<div class="row-fluid">
632
						<div class="span6 text-left">
633
							<p>Forgot your password?</p>
634
						</div>
635
						<div class="span6 text-left">							
636
							<a href="[% cgiPrefix %]/ldapweb.cgi?cfg=[%cfg%]&amp;stage=resetpass">
637
								<i class="icon-key"></i>
638
								Reset your password
639
							</a>
640
						</div>
641
					</div>
642
						
643
				</div>
644
				
645
			</div>
646

    
647
[% END %]
648

    
649
	<!-- form submission -->
650
	<a name="buttons"></a>
651
	<p><span class="label">Is the information above correct?</span></p> 
652
	<input type="SUBMIT" value="     Yes, submit    " name="dataCorrect">
653
	<input type="SUBMIT" value="No, go back to editing" name="dataWrong">
654

    
655
</form>
656

    
657
		</div>
658
	</article>
659
	
660
[% INCLUDE $templates.footer %]