Project

General

Profile

« Previous | Next » 

Revision 2150

Added by sgarg about 20 years ago

Made changes to fix bug# 1303 and 1367.(Both are related)
Following variables can now be specifieD from the cfg file to control behaviour of the skin: hasKeyword, hasMethod, hasSpatial, hasTaxonomic and hasTemporal. Following two also can be used: spatialRequired and temporalRequired

View differences:

confirmData.tmpl
285 285
  </table>
286 286
[% END %]
287 287
  
288
[% IF hasTemporal == 'true' %]
288 289
<hr>
289 290
<a name="TemporalCoverageOfData"></a>
290 291
<p><b><font size="4" color="#0000ff">TEMPORAL COVERAGE OF DATA</font></b> 
......
294 295

  
295 296
<p><b><font size="-1">Ending Date of Data Set:</font></b>    [%endingMonth%]&nbsp;[%endingDay%]&nbsp;[%endingYear%]
296 297
</p>
298
[% END %]
297 299

  
300
[% IF hasSpatial == 'true' %]
298 301
<hr>
299 302
<a name="SpatialCoverageOfData"></a>
300 303
<p><b><font size="4" color="#0000ff">SPATIAL COVERAGE OF DATA</font></b> 
......
399 402
      </td>
400 403
    </tr>
401 404
  </table>
405
[% END %]
402 406

  
407
[% IF hasTaxonomic == 'true' %]
403 408
    [% numTaxa = 0 %]
404 409
    [% IF taxaCount > 0 %]
405 410
        [% numTaxa = taxaCount %]
......
415 420
        [% cnt = cnt + 1 %]
416 421
     [% END %]
417 422
     <p><b><font size="-1">Authority:</font></b>  [% taxaAuth %]</p>
423
[% END %]
418 424

  
425
[% IF hasMethod == 'true' %]
419 426
    <hr>
420 427
    <a name="Methods"></a>
421 428
    <p><b><font size="4" color="#0000ff">METHODS</font></b></p>
......
425 432
    [% END %]
426 433
    <p><b><font size="-1">Study Extent:</font></b> [%studyExtentDescription%]</p>
427 434
    <p><b><font size="-1">Sampling Description:</font></b> [%samplingDescription%]</p>
435
[% END %]
428 436

  
429 437
<hr>
430 438
<a name="DataSetContactAddress"></a>
......
502 510
  <input type="hidden" name="docid" value="[% docid %]">
503 511
  <input type="hidden" name="stage" value="confirmed">
504 512
  <input type="hidden" name="hasKeyword" value="[% hasKeyword %]">
513
  <input type="hidden" name="hasSpatial" value="[% hasSpatial %]">
514
  <input type="hidden" name="hasTemporal" value="[% hasTemporal %]">
515
  <input type="hidden" name="hasTaxonomic" value="[% hasTaxonomic %]">
516
  <input type="hidden" name="hasMethod" value="[% hasMethod %]">
517
  <input type="hidden" name="temporalRequired" value="[% temporalRequired %]">
518
  <input type="hidden" name="spatialRequired" value="[% spatialRequired %]">
505 519
  <input type="hidden" name="providerGivenName" value="[%providerGivenName%]">
506 520
  <input type="hidden" name="providerSurName" value="[%providerSurName%]">
507 521
  <input type="hidden" name="site" value="[%site%]">

Also available in: Unified diff