Project

General

Profile

1
[% INCLUDE "genericHeader.tmpl" %]
2

    
3
    [% IF status == 'success' %]
4
        <h2>Success</h2>
5
	[% IF function == 'deleted' %]
6
            <p>Your entry has been [% function  %].  Thank you.</p>
7
        [%ELSE%]
8
	    <p>Your entry has been [% function  %].  Thank you.</p>
9
            <p>You can the see the entry by clicking 
10
	    <a href="@servlet-path@?action=read&qformat=[% cfg %]&docid=[% docid %]">here</a> or the Search button above. 
11
 <!--       <p>The entry will be reviewed by the [% orgabbrev %] Data Registry
12
            Manager and then will be added to the registry. You
13
            should expect to see the entry within a few days.</p> -->
14
	   
15
        [%END%]
16
    [% ELSE %]
17
        <h2>Failure</h2>
18
        
19
	<p>An error occurred.  Most likely some required fields
20
        were missing.  Please check the list of errors below and
21
        click here to return to the previous form to fill in all 
22
        required fields and submit the form again.</p>
23

    
24
        <ul>
25
        [% FOREACH parameter = invalidParams %]
26
            <li class="emphasis">[% parameter %]</li>
27
        [% END %]
28
        </ul>
29
    
30
        <ul>
31
        [% FOREACH msg = errorMessages %]
32
            <li class="emphasis">[% msg %]</li>
33
        [% END %]
34
        </ul>
35
    [% END %]
36

    
37
    <p>&nbsp;</p>
38
    [% IF function == 'deleted' %]
39
       <p>For a new entry, click on 'Register New Dataset' in the toolbar above.
40
       Otherwise, use the toolbar links above to navigate.</p>
41
    [% ELSE %]
42
    [% IF status == 'success' %]
43
       <p>For a new entry, or to make changes to the entry just submitted,
44
       use the return function in your browser to go back.
45
       Otherwise, use the toolbar links above to navigate.</p>
46
    [% ELSE %]
47
       <form name="editForm" action="@cgi-prefix@/register-dataset.cgi" method="post">
48
       <input type="hidden" name="cfg" value="[% cfg %]">
49
	  <input type="hidden" name="docid" value="[% docid %]">
50
  <input type="hidden" name="stage" value="confirmed">
51
  <input type="hidden" name="dataWrong" value="No, go back to editing">
52
  <input type="hidden" name="showSiteList" value="[% showSiteList %]">
53
  <input type="hidden" name="showWgList" value="[% showWgList %]">
54
  <input type="hidden" name="showOrganization" value="[% showOrganization %]">
55
  <input type="hidden" name="lsite" value="[% lsite %]>"
56
  <input type="hidden" name="usite" value="[% usite %]">
57
  <input type="hidden" name="hasKeyword" value="[% hasKeyword %]">
58
  <input type="hidden" name="hasTemporal" value="[% hasTemporal %]">
59
  <input type="hidden" name="hasSpatial" value="[% hasSpatial %]">
60
  <input type="hidden" name="hasTaxonomic" value="[% hasTaxonomic %]">
61
  <input type="hidden" name="hasMethod" value="[% hasMethod %]">
62
  <input type="hidden" name="temporalRequired" value="[% temporarlRequired %]">
63
  <input type="hidden" name="spatialRequired" value="[% spatialRequired %]">
64
  <input type="hidden" name="providerGivenName" value="[%providerGivenName%]">
65
  <input type="hidden" name="providerSurName" value="[%providerSurName%]">
66
  <input type="hidden" name="site" value="[%site%]">
67
  [% IF cfg == 'nceas' %]
68
      [% FOREACH group = wg %]
69
          <input type="hidden" name="wg" value="[%group%]">
70
      [% END %]
71
  [% END %]
72
  <input type="hidden" name="identifier" value="[%identifier%]">
73
  <input type="hidden" name="title" value="[%title%]">
74
  <input type="hidden" name="origNamefirst0" value="[%origNamefirst0%]">
75
  <input type="hidden" name="origNamelast0" value="[%origNamelast0%]">
76
  <input type="hidden" name="origNameOrg" value="[%origNameOrg%]">
77
  <input type="hidden" name="origRole0" value="[%origRole0%]">
78
  <input type="hidden" name="origDelivery" value="[%origDelivery%]">
79
  <input type="hidden" name="origCity" value="[%origCity%]"> 
80
  <input type="hidden" name="origState" value="[%origState%]">
81
  <input type="hidden" name="origStateOther" value="[%origStateOther%]">
82
  <input type="hidden" name="origZIP" value="[%origZIP%]">
83
  <input type="hidden" name="origCountry" value="[%origCountry%]">
84
  <input type="hidden" name="origPhone" value="[%origPhone%]">
85
  <input type="hidden" name="origFAX" value="[%origFAX%]">
86
  <input type="hidden" name="origEmail" value="[%origEmail%]">
87
  <input type="hidden" name="useOrigAddress" value="[%useOrigAddress%]">
88
  <input type="hidden" name="origNamefirstContact" value="[%origNamefirstContact%]">
89
  <input type="hidden" name="origNamelastContact" value="[%origNamelastContact%]">
90
  <input type="hidden" name="origNameOrgContact" value="[%origNameOrgContact%]">
91
  <input type="hidden" name="origDeliveryContact" value="[%origDeliveryContact%]">
92
  <input type="hidden" name="origCityContact" value="[%origCityContact%]"> 
93
  <input type="hidden" name="origStateContact" value="[%origStateContact%]">
94
  <input type="hidden" name="origStateOtherContact" value="[%origStateOtherContact%]">
95
  <input type="hidden" name="origZIPContact" value="[%origZIPContact%]">
96
  <input type="hidden" name="origCountryContact" value="[%origCountryContact%]">
97
  <input type="hidden" name="origPhoneContact" value="[%origPhoneContact%]">
98
  <input type="hidden" name="origFAXContact" value="[%origFAXContact%]">
99
  <input type="hidden" name="origEmailContact" value="[%origEmailContact%]">
100
 [% numAO = 0 %]
101
    [% IF aoCount > 0 %]
102
        [% numAO = aoCount %]
103
    [% END %]
104
  [% cnt = 1 %]
105
  [% WHILE cnt <= numAO %]
106
      [% SET origNamefirst = "origNamefirst${cnt}" %]
107
      [% SET origNamelast = "origNamelast${cnt}" %]
108
      [% SET origRole = "origRole${cnt}" %]
109
      <input type="hidden" name="[% origNamefirst %]" value="[% $origNamefirst%]">
110
      <input type="hidden" name="[% origNamelast %]" value="[% $origNamelast%]">
111
      <input type="hidden" name="[% origRole %]" value="[% $origRole%]">
112
      [% cnt = cnt + 1 %]
113
  [% END %]
114

    
115
  <input type="hidden" name="abstract" value="[%abstract%]">
116
  <input type="hidden" name="keyCount" value="[%keyCount%]">
117
  [% numKey = 0 %]
118
    [% IF keyCount > 0 %]
119
        [% numKey = keyCount %]
120
    [% END %]
121
  [% cnt = 1 %]
122
  [% WHILE cnt <= numKey %]
123
      [% SET kyd = "keyword${cnt}" %]
124
      [% SET keyType = "kwType${cnt}" %]
125
      [% SET keyTh = "kwTh${cnt}" %]
126
      <input type="hidden" name="[% kyd %]" value="[% $kyd %]">
127
      <input type="hidden" name="[% keyType %]" value="[% $keyType %]">
128
      <input type="hidden" name="[% keyTh %]" value="[% $keyTh %]">
129
      [% cnt = cnt + 1 %]
130
  [% END %]
131
  <input type="hidden" name="addComments" value="[%addComments%]">
132
  <input type="hidden" name="useConstraints" value="[%useConstraints%]">
133
  <input type="hidden" name="useConstraintsOther" value="[%useConstraintsOther%]">
134
  <input type="hidden" name="url" value="[%url%]">
135
  <input type="hidden" name="dataMedium" value="[%dataMedium%]">
136
  <input type="hidden" name="dataMediumOther" value="[%dataMediumOther%]">
137
  <input type="hidden" name="beginningYear" value="[%beginningYear%]">
138
  <input type="hidden" name="beginningMonth" value="[%beginningMonth%]">
139
  <input type="hidden" name="beginningDay" value="[%beginningDay%]">
140
  <input type="hidden" name="endingYear" value="[%endingYear%]">
141
  <input type="hidden" name="endingMonth" value="[%endingMonth%]">
142
  <input type="hidden" name="endingDay" value="[%endingDay%]">
143
  <input type="hidden" name="geogdesc" value="[%geogdesc%]">
144
  <input type="hidden" name="useSiteCoord" value="[%useSiteCoord%]">
145
  <input type="hidden" name="latDeg1" value="[% latDeg1 %]">
146
  <input type="hidden" name="latMin1" value="[%latMin1%]">
147
  <input type="hidden" name="latSec1" value="[%latSec1%]">
148
  <input type="hidden" name="hemisphLat1" value="[%hemisphLat1%]">	
149
  <input type="hidden" name="longDeg1" value="[% longDeg1 %]">
150
  <input type="hidden" name="longMin1" value="[%longMin1%]">
151
  <input type="hidden" name="longSec1" value="[%longSec1%]">
152
  <input type="hidden" name="hemisphLong1" value="[%hemisphLong1%]">
153
  <input type="hidden" name="latDeg2" value="[%latDeg2%]">
154
  <input type="hidden" name="latMin2" value="[%latMin2%]">
155
  <input type="hidden" name="latSec2" value="[%latSec2%]">
156
  <input type="hidden" name="hemisphLat2" value="[%hemisphLat2%]">	
157
  <input type="hidden" name="longDeg2" value="[%longDeg2%]">
158
  <input type="hidden" name="longMin2" value="[%longMin2%]">
159
  <input type="hidden" name="longSec2" value="[%longSec2%]">
160
  <input type="hidden" name="hemisphLong2" value="[%hemisphLong2%]">
161
  <input type="hidden" name="taxaCount" value="[%taxaCount%]">
162
  [% numTaxa = 0 %]
163
    [% IF taxaCount > 0 %]
164
        [% numTaxa = taxaCount %]
165
    [% END %]
166
  [% cnt = 1 %]
167
  [% WHILE cnt <= numTaxa %]
168
      [% SET trn = "taxonRankName${cnt}" %]
169
      [% SET trv = "taxonRankValue${cnt}" %]
170
      <input type="hidden" name="[% trn %]" value="[% $trn %]">
171
      <input type="hidden" name="[% trv %]" value="[% $trv %]">
172
      [% cnt = cnt + 1 %]
173
  [% END %]
174
  <input type="hidden" name="taxaAuth" value="[%taxaAuth%]">
175

    
176
  <input type="hidden" name="methodTitle" value="[%methodTitle%]">
177
  [% FOREACH para = methodPara %]
178
      <input type="hidden" name="methodPara" value="[%para%]">
179
  [% END %]
180
  <input type="hidden" name="studyExtentDescription" value="[%studyExtentDescription%]">
181
  <input type="hidden" name="samplingDescription" value="[%samplingDescription%]">
182

    
183
       <p>To make changes to the entry just submitted,click 
184
	<a href="#" onclick="document.editForm.submit()">here</a>.
185
       Otherwise, use the toolbar links above to navigate.</p>
186
      </form>
187
    [% END %]
188
    [% END %]
189
[% INCLUDE "genericFooter.tmpl" %]
(7-7/7)