Project

General

Profile

« Previous | Next » 

Revision 3915

Added by walbridge almost 16 years ago

Merging Perl changes into detokenization branch. Removes usage of tokens from all Perl and Perl Template Toolkit files, instead using pure Java .property files to manage settings. Basic path for eliminating .cfg files from Perl, and skin.config files from Java side. Backported changes from 1.8.1RC1 release.

View differences:

confirmData.tmpl
22 22
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
23 23
-->
24 24

  
25
[% IF cfg == 'nceas' %]
26
  [% INCLUDE "nceasHeader.tmpl" %]
27
[% ELSE %]
28
  [% INCLUDE "genericHeader.tmpl" %]
29
[% END %]
25
[% INCLUDE $templates.header %]
30 26

  
31
[% IF cfg == 'nrs' %]
32
  [% lsite = 'reserve' %]
33
  [% usite = 'Reserve' %]
34
[% ELSE %]
35
  [% lsite = 'station' %]
36
  [% usite = 'Station' %]
37
[% END %]
38

  
39 27
<table class="intro" cellpadding="3" cellspacing="0">
40 28
<tr><td align="left"><span class="regtext">
41
Please review the information that you entered in the [% orgabbrev %] 
42
 Data Registry Form. If the information below is correct, provide your username, organization, and password at the bottom of this page, and submit the information. 
43
If you need to edit something, click on the edit button that is provided at the bottom of this page.<span></td></tr>
29
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>.<span></td></tr>
44 30

  
45
<tr><td align="left"><span class="regtext">You can print this page for your record.<span></td></tr> 
31
<tr><td align="left"><span class="regtext">Print this page to keep a copy for your records.<span></td></tr> 
46 32
</table>
47 33

  
48 34
<table class="intro" cellpadding="3" cellspacing="0">
......
68 54
    [% IF cfg == 'esa' %]
69 55
      <p><span class="label">Organization Name:</span>  [%site%]</p>
70 56
    [% ELSE %]
71
      <p><span class="label">[% usite %] Name:</span>  [%site%]</p>
57
      <p><span class="label">[% config.site | ucfirst %] Name:</span>  [%site%]</p>
72 58
    [% END %]
73 59
[% END %]
74 60

  
......
356 342
    [% cnt = 0 %]
357 343
    [% WHILE cnt < upCount %]
358 344
        [% SET fileName = "uploadname_${cnt}" %]
345
        [% SET filePerm = "uploadperm_${cnt}" %]
359 346
        [% cnt = cnt + 1 %]
360 347

  
361
        <p><span class="label">File #[% cnt %]:</span> [% $fileName %] </p>
348
        <p><span class="label">File #[% cnt %]:</span> [% $fileName %], [% $filePerm %] access</p>
362 349
    [% END %]
363 350
[% END %]
364 351
<hr>
......
425 412
</p>
426 413
<hr>
427 414

  
428
<form action="@cgi-prefix@/register-dataset.cgi" method="post">
415
<form action="[% cgiPrefix %]/register-dataset.cgi" method="post">
429 416
  <input type="hidden" name="cfg" value="[% cfg %]">
430 417
  <input type="hidden" name="docid" value="[% docid %]">
431 418
  <input type="hidden" name="stage" value="confirmed">
432 419
  <input type="hidden" name="showSiteList" value="[% showSiteList %]">
433 420
  <input type="hidden" name="showWgList" value="[% showWgList %]">
434 421
  <input type="hidden" name="showOrganization" value="[% showOrganization %]">
435
  <input type="hidden" name="lsite" value="[% lsite %]">
436
  <input type="hidden" name="usite" value="[% usite %]">
422
  <input type="hidden" name="lsite" value="[% config.site %]">
437 423
  <input type="hidden" name="hasKeyword" value="[% hasKeyword %]">
438 424
  <input type="hidden" name="hasSpatial" value="[% hasSpatial %]">
439 425
  <input type="hidden" name="hasTemporal" value="[% hasTemporal %]">
......
550 536
  [% END %]
551 537
  <input type="hidden" name="studyExtentDescription" value="[%studyExtentDescription%]">
552 538
  <input type="hidden" name="samplingDescription" value="[%samplingDescription%]">
553
  <input type="hidden" name="fileCount" value="[%fileCount%]">
554 539
  <input type="hidden" name="upCount" value="[%upCount%]">
555 540
  [% fCount = 0 %]
556 541
  [% IF upCount > 0 %]
......
562 547
      [% SET fileSum = "upload_${cnt}" %]
563 548
      [% SET fileName = "uploadname_${cnt}" %]
564 549
      [% SET fileType = "uploadtype_${cnt}" %] 
550
      [% SET filePerm = "uploadperm_${cnt}" %]
565 551

  
566 552
      [% IF fileSum %]
567 553
        <input type="hidden" name="[% fileSum %]" value="[% $fileSum %]">
568 554
        <input type="hidden" name="[% fileName %]" value="[% $fileName %]">
569 555
        <input type="hidden" name="[% fileType %]" value="[% $fileType %]">
556
        <input type="hidden" name="[% filePerm %]" value="[% $filePerm %]">
570 557
      [% END %]
571 558
      [% cnt = cnt + 1 %]
572 559
  [% END %]
......
579 566
      and password. This is for the protection of your metadata. The
580 567
      username and password will prevent any unauthorized person from
581 568
      modifying your metadata. If you do not have an account, click <a
582
      target="ldap" href="@cgi-prefix@/ldapweb.cgi?cfg=[% cfg %]">here</a>. 
569
      target="ldap" href="[% cgiPrefix %]/ldapweb.cgi?cfg=[% cfg %]">here</a>. 
583 570
      If you don't remember your password, you can
584 571
      have it reset and e-mailed to you by clicking <a target="ldap"
585
      href="@cgi-prefix@/ldapweb.cgi?stage=initresetpass&cfg=[% cfg %]">here</a>. If you want to 
572
      href="[% cgiPrefix %]/ldapweb.cgi?stage=initresetpass&cfg=[% cfg %]">here</a>. If you want to 
586 573
      change your password, click <a target="ldap"
587
      href="@cgi-prefix@/ldapweb.cgi?stage=initchangepass&cfg=[% cfg %]">here</a>.
574
      href="[% cgiPrefix %]/ldapweb.cgi?stage=initchangepass&cfg=[% cfg %]">here</a>.
588 575
      </span>
589 576
      <table cellspacing="0" border="0" cellpadding="9" width="360" align="left">
590 577
        <tr>
......
624 611
<p>&nbsp;</p>
625 612
[% END %]
626 613

  
614
<a name="buttons"></a>
627 615
<table class="intro" cellspacing="0" cellpadding="3" >
628 616
  <tr><td align="left">
629 617
  <p><span class="label">Is the information above correct?</span></p> 
......
635 623
</table>
636 624
</form>
637 625
<p>&nbsp;</p>
638
[% IF cfg == 'nceas' %]
639
  [% INCLUDE "nceasFooter.tmpl" %]
640
[% ELSE %]
641
  [% INCLUDE "genericFooter.tmpl" %]
642
[% END %]
626
[% INCLUDE $templates.footer %]

Also available in: Unified diff