Project

General

Profile

« Previous | Next » 

Revision 9851

Added by Chris Jones over 8 years ago

Update the trunk with the confirmData template based on the 2.6.0 tag.

View differences:

lib/style/common/templates/metacatui/confirmData.tmpl
137 137
				[% END %]
138 138
				</table>
139 139

  
140
<p><span class="text-info">First Name:</span>        [%origNamefirstContact%]
141
</p>
142

  
143
<p><span class="text-info">Last Name:</span>         [%origNamelastContact%]
144
</p>
145

  
146
<p><span class="text-info">Organization Name:</span> [%origNameOrgContact%]
147
</p>
148

  
149
<p><span class="text-info">E-Mail:</span>            [%origEmailContact%]
150
</p>
151

  
152
<p><span class="text-info">Phone:</span>             [%origPhoneContact%]
153
</p>
154

  
155
<p><span class="text-info">FAX:</span>               [%origFAXContact%]
156
</p>
157

  
158
<p><span class="text-info">Street Information:</span> 
159
                                                    [%origDeliveryContact%]
160
</p>
161

  
162
<p><span class="text-info">City:</span>              [%origCityContact%]
163
</p>
164

  
165
<p><span class="text-info">State:</span>             [%origStateContact%]
166
</p>
167

  
168
<p><span class="text-info">Other State/Province:</span>       [%origStateOtherContact%]
169
</p>
170

  
171
<p><span class="text-info">Postal Code:</span>               [%origZIPContact%]
172
</p>
173

  
174
<p><span class="text-info">Country:</span>           [%origCountryContact%]
175
</p>
176

  
177

  
178
<hr class="rule" />
179
<a name="DistributionIinformation"></a>
180
<h4>Distribution Information</h4> 
181

  
182
<a name="Site-specificCode"></a>
183
<p><span class="text-info">Data Set Identifiers:</span> 
184

  
185
[% numIdentifier = 0 %]
186
[% IF identifierCount > 0 %]
187
    [% numIdentifier = identifierCount %]
188
[% END %]
189
[% cnt = 1 %]
190
[% WHILE cnt <= numIdentifier %]
191
    [% SET id = "identifierValue${cnt}" %]
192
    <p><span class="text-info">Identifier:</span> [% $id %]</p>
193
    [% cnt = cnt + 1 %]
194
 [% END %]
195

  
196
</p>
197

  
198
<p><span class="text-info">Data Medium:</span>       [%dataMedium%]    <span class="text-info">Other Data Medium</span>: [%dataMediumOther%]
199
</p>
200

  
201

  
202
<p><span class="text-info">Usage Constraints:</span>   [%useConstraints%]    <span class="text-info">Other Usage Constraints:</span>  [%useConstraintsOther%]
203
</p>
204

  
205

  
206
<p><span class="text-info">URL</span>:               [%url%]
207
</p>
208
<p><span class="text-info">Additional Information:</span>  [%addComments%]
209
</p>
210
<hr class="rule" />
211
<p>
212
  All data and metadata are released under either the 
213
  <a href="http://creativecommons.org/publicdomain/zero/1.0/">CC-0 Public Domain Dedication</a>
214
  or the 
215
  <a href="http://creativecommons.org/licenses/by/4.0/">
216
    Creative Commons Attribution 4.0 International License
217
  </a>. 
218
  As a repository dedicated to helping researchers increase collaboration 
219
  and the pace of science, this repository needs certain rights to copy, store, 
220
  and redistribute data. By uploading data, metadata, and any other content to 
221
  this repository, you warrant that you own any rights to the content and are 
222
  authorized to do so under copyright or any other right that might pertain 
223
  to the content. 
224
  <a href="http://www.bitlaw.com/copyright/database.html">
225
    Data and facts themselves are not covered under copyright
226
  </a> 
227
  in the US and most countries, since facts in and of themselves are not 
228
  eligible for copyright. That said, some associated metadata and some 
229
  particular compilations of data could potentially be covered by copyright 
230
  in some jurisdictions. By uploading content, you grant this repository and 
231
  UCSB all rights needed to copy, store, redistribute, and share data, metadata, 
232
  and any other content. By marking content as publicly available, you grant this 
233
  repository, UCSB, and any other users the right to copy the content and redistribute 
234
  it to the public without restriction under the terms of the 
235
  <a href="http://creativecommons.org/licenses/by/4.0/">
236
    Creative Commons Attribution 4.0 International License
237
  </a> 
238
  or the 
239
  <a href="http://creativecommons.org/publicdomain/zero/1.0/">CC-0 Public Domain Dedication</a>, 
240
  depending on which you choose at the time of upload.
241
</p>
242
<form id="confirmForm" action="[% cgiPrefix %]/register-dataset.cgi" method="post">
243
  <input type="hidden" name="cfg" value="[% cfg %]" />
244
  <input type="hidden" name="docid" value="[% docid %]" />
245
  <input type="hidden" name="stage" value="confirmed" />
246
  <input type="hidden" name="providerGivenName" value="[%providerGivenName%]" />
247
  <input type="hidden" name="providerSurName" value="[%providerSurName%]"/>
248
  <input type="hidden" name="site" value="[%site%]"/>
249
  [% IF cfg == 'nceas' %]
250
      [% FOREACH group = wg %]
251
          <input type="hidden" name="wg" value="[%group%]" />
252
      [% END %]
253
  [% END %]
254

  
255
  [% cnt = 1 %]
256
  [% WHILE cnt <= numIdentifier %]
257
      [% SET id = "identifierValue${cnt}" %]
258
      <input type="hidden" name="[% id %]" value="[% $id %]" />
259
      <input type="hidden" name="identifier" value="[% $id %]" />
260
      [% cnt = cnt + 1 %]
261
  [% END %]  
262
  <input type="hidden" name="identifierCount" value="[% identifierCount %]" />
263

  
264
  <input type="hidden" name="title" value="[%title%]" />
265
  <input type="hidden" name="origNamefirst0" value="[%origNamefirst0%]" />
266
  <input type="hidden" name="origNamelast0" value="[%origNamelast0%]" />
267
  <input type="hidden" name="origNameOrg" value="[%origNameOrg%]" />
268
  <input type="hidden" name="origRole0" value="[%origRole0%]" />
269
  <input type="hidden" name="origDelivery" value="[%origDelivery%]" />
270
  <input type="hidden" name="origCity" value="[%origCity%]" /> 
271
  <input type="hidden" name="origState" value="[%origState%]" />
272
  <input type="hidden" name="origStateOther" value="[%origStateOther%]" />
273
  <input type="hidden" name="origZIP" value="[%origZIP%]" />
274
  <input type="hidden" name="origCountry" value="[%origCountry%]" />
275
  <input type="hidden" name="origPhone" value="[%origPhone%]" />
276
  <input type="hidden" name="origFAX" value="[%origFAX%]"/>
277
  <input type="hidden" name="origEmail" value="[%origEmail%]" />
278
  <input type="hidden" name="useOrigAddress" value="[%useOrigAddress%]" />
279
  <input type="hidden" name="origNamefirstContact" value="[%origNamefirstContact%]" />
280
  <input type="hidden" name="origNamelastContact" value="[%origNamelastContact%]" />
281
  <input type="hidden" name="origNameOrgContact" value="[%origNameOrgContact%]" />
282
  <input type="hidden" name="origDeliveryContact" value="[%origDeliveryContact%]" />
283
  <input type="hidden" name="origCityContact" value="[%origCityContact%]" /> 
284
  <input type="hidden" name="origStateContact" value="[%origStateContact%]" />
285
  <input type="hidden" name="origStateOtherContact" value="[%origStateOtherContact%]" />
286
  <input type="hidden" name="origZIPContact" value="[%origZIPContact%]"/>
287
  <input type="hidden" name="origCountryContact" value="[%origCountryContact%]" />
288
  <input type="hidden" name="origPhoneContact" value="[%origPhoneContact%]" />
289
  <input type="hidden" name="origFAXContact" value="[%origFAXContact%]" />
290
  <input type="hidden" name="origEmailContact" value="[%origEmailContact%]" />
291
  <input type="hidden" name="aoCount" value="[%aoCount%]" />
292
  [% cnt = 1 %]
293
  [% WHILE cnt <= numAO %]
294
      [% SET origNamefirst = "origNamefirst${cnt}" %]
295
      [% SET origNamelast = "origNamelast${cnt}" %]
296
      [% SET origRole = "origRole${cnt}" %]
297
      <input type="hidden" name="[% origNamefirst %]" value="[% $origNamefirst %]" />
298
      <input type="hidden" name="[% origNamelast %]" value="[% $origNamelast %]" />
299
      <input type="hidden" name="[% origRole %]" value="[% $origRole %]" />
300
      [% cnt = cnt + 1 %]
301
  [% END %]
302
  <input type="hidden" name="abstract" value="[%abstract%]" />
303
  <input type="hidden" name="keyCount" value="[%keyCount%]" />
304
  [% cnt = 1 %]
305
  [% WHILE cnt <= numKey %]
306
      [% SET kyd = "keyword${cnt}" %]
307
      [% SET keyType = "kwType${cnt}" %]
308
      [% SET keyTh = "kwTh${cnt}" %]
309
      <input type="hidden" name="[% kyd %]" value="[% $kyd %]" />
310
      <input type="hidden" name="[% keyType %]" value="[% $keyType %]" />
311
      <input type="hidden" name="[% keyTh %]" value="[% $keyTh %]" />
312
      [% cnt = cnt + 1 %]
313
  [% END %]
314
  <input type="hidden" name="addComments" value="[%addComments%]" />
315
  <input type="hidden" name="useConstraints" value="[%useConstraints%]" />
316
  <input type="hidden" name="useConstraintsOther" value="[%useConstraintsOther%]" />
317
  <input type="hidden" name="url" value="[%url%]" />
318
  <input type="hidden" name="dataMedium" value="[%dataMedium%]" />
319
  <input type="hidden" name="dataMediumOther" value="[%dataMediumOther%]" />
320
  <input type="hidden" name="beginningYear" value="[%beginningYear%]" />
321
  <input type="hidden" name="beginningMonth" value="[%beginningMonth%]" />
322
  <input type="hidden" name="beginningDay" value="[%beginningDay%]" />
323
  <input type="hidden" name="endingYear" value="[%endingYear%]" />
324
  <input type="hidden" name="endingMonth" value="[%endingMonth%]" />
325
  <input type="hidden" name="endingDay" value="[%endingDay%]" />
326
  <input type="hidden" name="geogdesc" value="[%geogdesc%]" />
327
  <input type="hidden" name="useSiteCoord" value="[%useSiteCoord%]" />
328
  <input type="hidden" name="latDeg1" value="[% latDeg1 %]" />
329
  <input type="hidden" name="latMin1" value="[%latMin1%]" />
330
  <input type="hidden" name="latSec1" value="[%latSec1%]" />
331
  <input type="hidden" name="hemisphLat1" value="[%hemisphLat1%]" />	
332
  <input type="hidden" name="longDeg1" value="[% longDeg1 %]" />
333
  <input type="hidden" name="longMin1" value="[%longMin1%]" />
334
  <input type="hidden" name="longSec1" value="[%longSec1%]" />
335
  <input type="hidden" name="hemisphLong1" value="[%hemisphLong1%]" />
336
  <input type="hidden" name="latDeg2" value="[%latDeg2%]" />
337
  <input type="hidden" name="latMin2" value="[%latMin2%]" />
338
  <input type="hidden" name="latSec2" value="[%latSec2%]" />
339
  <input type="hidden" name="hemisphLat2" value="[%hemisphLat2%]" />	
340
  <input type="hidden" name="longDeg2" value="[%longDeg2%]" />
341
  <input type="hidden" name="longMin2" value="[%longMin2%]" />
342
  <input type="hidden" name="longSec2" value="[%longSec2%]" />
343
  <input type="hidden" name="hemisphLong2" value="[%hemisphLong2%]" />
344
  <input type="hidden" name="taxaCount" value="[%taxaCount%]" />
345
  <input type="hidden" name="userLoggedIn" value="[%userLoggedIn%]" />
346
  [% cnt = 1 %]
347
  [% WHILE cnt <= numTaxa %]
348
      [% SET trn = "taxonRankName${cnt}" %]
349
      [% SET trv = "taxonRankValue${cnt}" %]
350
      <input type="hidden" name="[% trn %]" value="[% $trn %]" />
351
      <input type="hidden" name="[% trv %]" value="[% $trv %]" />
352
      [% cnt = cnt + 1 %]
353
  [% END %]
354
  <input type="hidden" name="taxaAuth" value="[%taxaAuth%]" />
355

  
356
  <input type="hidden" name="methodTitle" value="[%methodTitle%]" />
357
  [% FOREACH para = methodPara %]
358
      <input type="hidden" name="methodPara" value="[%para%]" />
359
  [% END %]
360
  <input type="hidden" name="studyExtentDescription" value="[%studyExtentDescription%]" />
361
  <input type="hidden" name="samplingDescription" value="[%samplingDescription%]" />
362
  <input type="hidden" name="upCount" value="[%upCount%]" />
363
  <input type="hidden" name="delCount" value="[% delCount %]" />
364
  [% dCount = 0 %]
365
  [% IF delCount > 0 %]
366
     [% dCount = delCount %]
367
  [% END %]
368
  [% cnt = 0 %]
369
  [% WHILE cnt < dCount %]
370
 		  [% SET delfile = "deletefile_${cnt}" %]
371
      		<input type="hidden" name="[% delfile %]" value="[% $delfile %]" />
372
			<input type="hidden" name="deletefile" value="[% $delfile %]" />
373
			[% cnt = cnt + 1 %]
374
	[% END %]		
375

  
376
  [% fCount = 0 %]
377
  [% IF upCount > 0 %]
378
      [% fCount = upCount %]
379
  [% END %]
380

  
381
  [% cnt = 0 %]
382
  [% WHILE cnt < fCount %]
383
      [% SET fileSum = "upload_${cnt}" %]
384
      [% SET fileName = "uploadname_${cnt}" %]
385
      [% SET fileType = "uploadtype_${cnt}" %] 
386
      [% SET filePerm = "uploadperm_${cnt}" %]
387

  
388
      [% IF fileSum %]
389
        <input type="hidden" name="[% fileSum %]" value="[% $fileSum %]" />
390
        <input type="hidden" name="[% fileName %]" value="[% $fileName %]" />
391
        <input type="hidden" name="[% fileType %]" value="[% $fileType %]" />
392
        <input type="hidden" name="[% filePerm %]" value="[% $filePerm %]" />
393
      [% END %]
394
      [% cnt = cnt + 1 %]
395
  [% END %]
396
  
397
  	<!-- form submission -->
398
	<a name="buttons"></a>
399
	<p><span class="text-info">Is the information above correct?</span></p> 
400
	<input id="dataCorrect" type="button" class="btn" value="     Yes, submit    " name="dataCorrect" />
401
	<input id="dataWrongButton" type="button" class="btn" value="No, go back to editing" />
402
	<input id="dataWrong" name="dataWrong" type="hidden" class="btn" value="TBD" />
403

  
404
</form>
405

  
406
[% IF userLoggedIn != 'true' %]
407

  
408
			<div class="row-fluid">
409
				<div class="span6 pagination-left">
410
					<h2>Login</h2>
411
					<p class="lead">
412
						<em>NOTE:</em> You must enter your username and password. 
413
					</p>
414
					<p>	
415
						This is for the protection of your metadata. 
416
						The username and password will prevent any unauthorized person from
417
						modifying your metadata.
418
					</p>
419
  
420
					<form method="post" action="[% cgiPrefix %]/register-dataset.cgi" onsubmit="return submitform(this);" >
421
						<input type="hidden" name="stage" value="login" /> 
422
						<input type="hidden" name="username" value="" /> 
423
						<input type="hidden" name="cfg" value="[%cfg%]" /> 
140
				<a name="DataSetAbstract"></a>
141
				<h4>Data Set Abstract</h4>
142
				<p>[%- abstract -%]</p>
143
				[% IF modules.keyword == 'true' %]
144
					<a name="KeywordInformation"></a>
145
					<h4>Keyword Information</h4> 
146
      	
147
					[% numKey = 0 %]
148
					[% IF keyCount > 1 %]
149
						[% numKey = keyCount %]
150
					[% END %]
151
      	
152
					<table class="table table-bordered table-striped teble-condensed">
153
						<thead>
154
							<tr>
155
								<th>Keyword</th>
156
							  <th>Keyword Type</th>
157
							  <th>Keyword Thesaurus</th>
158
							</tr>						
159
						</thead>
160
						<tbody>
161
							[% cnt = 1 %]
162
							[% WHILE cnt <= numKey %]
163
								[% SET key = "keyword${cnt}" %]
164
								[% SET keyType = "kwType${cnt}" %]
165
								[% SET keyTh = "kwTh${cnt}" %]
166
								<tr> 
167
								 <td>[%- $key -%]</td>
168
								 <td>[%- $keyType -%]</td>
169
								 <td>[%- $keyTh -%]</td>
170
								</tr>
171
								[% cnt = cnt + 1 %]
172
							[% END %]						
173
						</tbody>
174
					</table>
175
				[% END %]
176
      	
177
				[% IF modules.temporal == 'true' %]
178
					<a name="TemporalCoverageOfData"></a>
179
					<h4>Temporal Coverage of Data</h4> 
180
					<table class="table table-bordered table-striped teble-condensed">
181
						<tr>
182
							<td>Start Date:</td>
183
							<td>[%beginningYear%][%IF beginningMonth != ''%]-[% END%][%beginningMonth%][%IF beginningDay != ''%]-[% END%][%beginningDay%]</td>
184
						</tr>
185
						<tr>
186
							<td>Stop Date:</td>
187
							<td>[%endingYear%][%IF endingMonth != ''%]-[% END%][%endingMonth%][%IF endingDay != ''%]-[% END%][%endingDay%]</td>
188
						</tr>
189
					</table>				
190
				[% END %]
191
      	
192
				[% IF modules.spatial == 'true' %]
193
					<a name="SpatialCoverageOfData"></a>
194
					<h4>Spatial Coverage of Data</h4> 
424 195
					
425 196
					
426 197
					<table class="table table-bordered table-striped teble-condensed">

Also available in: Unified diff