Project

General

Profile

1 1929 brooke
[% 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 2138 sgarg
            <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 1929 brooke
 <!--       <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 2346 sgarg
    [%  IF function == 'cancel' %]
18
19
    [% ELSE %]
20 1929 brooke
        <h2>Failure</h2>
21 2023 sgarg
22
	<p>An error occurred.  Most likely some required fields
23 1929 brooke
        were missing.  Please check the list of errors below and
24 2023 sgarg
        click here to return to the previous form to fill in all
25
        required fields and submit the form again.</p>
26 1929 brooke
27
        <ul>
28
        [% FOREACH parameter = invalidParams %]
29
            <li class="emphasis">[% parameter %]</li>
30
        [% END %]
31
        </ul>
32
33
        <ul>
34
        [% FOREACH msg = errorMessages %]
35
            <li class="emphasis">[% msg %]</li>
36
        [% END %]
37
        </ul>
38
    [% END %]
39 2346 sgarg
    [% END %]
40 1929 brooke
41
    <p>&nbsp;</p>
42 2346 sgarg
    [% IF function == 'deleted' || function == 'cancel' %]
43 1929 brooke
       <p>For a new entry, click on 'Register New Dataset' in the toolbar above.
44
       Otherwise, use the toolbar links above to navigate.</p>
45
    [% ELSE %]
46 2023 sgarg
    [% IF status == 'success' %]
47 1929 brooke
       <p>For a new entry, or to make changes to the entry just submitted,
48
       use the return function in your browser to go back.
49
       Otherwise, use the toolbar links above to navigate.</p>
50 2023 sgarg
    [% ELSE %]
51 2335 sgarg
    [% IF status != 'failure_no_resubmit' %]
52 2023 sgarg
       <form name="editForm" action="@cgi-prefix@/register-dataset.cgi" method="post">
53
       <input type="hidden" name="cfg" value="[% cfg %]">
54
	  <input type="hidden" name="docid" value="[% docid %]">
55
  <input type="hidden" name="stage" value="confirmed">
56
  <input type="hidden" name="dataWrong" value="No, go back to editing">
57 2281 sgarg
  <input type="hidden" name="showSiteList" value="[% showSiteList %]">
58
  <input type="hidden" name="showWgList" value="[% showWgList %]">
59
  <input type="hidden" name="showOrganization" value="[% showOrganization %]">
60 2282 sgarg
  <input type="hidden" name="lsite" value="[% lsite %]">
61 2281 sgarg
  <input type="hidden" name="usite" value="[% usite %]">
62 2138 sgarg
  <input type="hidden" name="hasKeyword" value="[% hasKeyword %]">
63 2150 sgarg
  <input type="hidden" name="hasTemporal" value="[% hasTemporal %]">
64
  <input type="hidden" name="hasSpatial" value="[% hasSpatial %]">
65
  <input type="hidden" name="hasTaxonomic" value="[% hasTaxonomic %]">
66
  <input type="hidden" name="hasMethod" value="[% hasMethod %]">
67
  <input type="hidden" name="temporalRequired" value="[% temporarlRequired %]">
68
  <input type="hidden" name="spatialRequired" value="[% spatialRequired %]">
69 2023 sgarg
  <input type="hidden" name="providerGivenName" value="[%providerGivenName%]">
70
  <input type="hidden" name="providerSurName" value="[%providerSurName%]">
71
  <input type="hidden" name="site" value="[%site%]">
72
  [% IF cfg == 'nceas' %]
73
      [% FOREACH group = wg %]
74
          <input type="hidden" name="wg" value="[%group%]">
75
      [% END %]
76
  [% END %]
77
  <input type="hidden" name="identifier" value="[%identifier%]">
78
  <input type="hidden" name="title" value="[%title%]">
79
  <input type="hidden" name="origNamefirst0" value="[%origNamefirst0%]">
80
  <input type="hidden" name="origNamelast0" value="[%origNamelast0%]">
81
  <input type="hidden" name="origNameOrg" value="[%origNameOrg%]">
82
  <input type="hidden" name="origRole0" value="[%origRole0%]">
83
  <input type="hidden" name="origDelivery" value="[%origDelivery%]">
84
  <input type="hidden" name="origCity" value="[%origCity%]">
85
  <input type="hidden" name="origState" value="[%origState%]">
86
  <input type="hidden" name="origStateOther" value="[%origStateOther%]">
87
  <input type="hidden" name="origZIP" value="[%origZIP%]">
88
  <input type="hidden" name="origCountry" value="[%origCountry%]">
89
  <input type="hidden" name="origPhone" value="[%origPhone%]">
90
  <input type="hidden" name="origFAX" value="[%origFAX%]">
91
  <input type="hidden" name="origEmail" value="[%origEmail%]">
92
  <input type="hidden" name="useOrigAddress" value="[%useOrigAddress%]">
93
  <input type="hidden" name="origNamefirstContact" value="[%origNamefirstContact%]">
94
  <input type="hidden" name="origNamelastContact" value="[%origNamelastContact%]">
95
  <input type="hidden" name="origNameOrgContact" value="[%origNameOrgContact%]">
96
  <input type="hidden" name="origDeliveryContact" value="[%origDeliveryContact%]">
97
  <input type="hidden" name="origCityContact" value="[%origCityContact%]">
98
  <input type="hidden" name="origStateContact" value="[%origStateContact%]">
99
  <input type="hidden" name="origStateOtherContact" value="[%origStateOtherContact%]">
100
  <input type="hidden" name="origZIPContact" value="[%origZIPContact%]">
101
  <input type="hidden" name="origCountryContact" value="[%origCountryContact%]">
102
  <input type="hidden" name="origPhoneContact" value="[%origPhoneContact%]">
103
  <input type="hidden" name="origFAXContact" value="[%origFAXContact%]">
104
  <input type="hidden" name="origEmailContact" value="[%origEmailContact%]">
105 2361 sgarg
  <input type="hidden" name="aoCount" value="[%aoCount%]">
106
107 2144 sgarg
 [% numAO = 0 %]
108
    [% IF aoCount > 0 %]
109
        [% numAO = aoCount %]
110
    [% END %]
111
  [% cnt = 1 %]
112
  [% WHILE cnt <= numAO %]
113
      [% SET origNamefirst = "origNamefirst${cnt}" %]
114
      [% SET origNamelast = "origNamelast${cnt}" %]
115
      [% SET origRole = "origRole${cnt}" %]
116
      <input type="hidden" name="[% origNamefirst %]" value="[% $origNamefirst%]">
117
      <input type="hidden" name="[% origNamelast %]" value="[% $origNamelast%]">
118
      <input type="hidden" name="[% origRole %]" value="[% $origRole%]">
119
      [% cnt = cnt + 1 %]
120
  [% END %]
121
122 2023 sgarg
  <input type="hidden" name="abstract" value="[%abstract%]">
123 2027 sgarg
  <input type="hidden" name="keyCount" value="[%keyCount%]">
124
  [% numKey = 0 %]
125
    [% IF keyCount > 0 %]
126
        [% numKey = keyCount %]
127
    [% END %]
128
  [% cnt = 1 %]
129
  [% WHILE cnt <= numKey %]
130
      [% SET kyd = "keyword${cnt}" %]
131
      [% SET keyType = "kwType${cnt}" %]
132
      [% SET keyTh = "kwTh${cnt}" %]
133
      <input type="hidden" name="[% kyd %]" value="[% $kyd %]">
134
      <input type="hidden" name="[% keyType %]" value="[% $keyType %]">
135
      <input type="hidden" name="[% keyTh %]" value="[% $keyTh %]">
136
      [% cnt = cnt + 1 %]
137
  [% END %]
138 2023 sgarg
  <input type="hidden" name="addComments" value="[%addComments%]">
139
  <input type="hidden" name="useConstraints" value="[%useConstraints%]">
140
  <input type="hidden" name="useConstraintsOther" value="[%useConstraintsOther%]">
141
  <input type="hidden" name="url" value="[%url%]">
142
  <input type="hidden" name="dataMedium" value="[%dataMedium%]">
143
  <input type="hidden" name="dataMediumOther" value="[%dataMediumOther%]">
144
  <input type="hidden" name="beginningYear" value="[%beginningYear%]">
145
  <input type="hidden" name="beginningMonth" value="[%beginningMonth%]">
146
  <input type="hidden" name="beginningDay" value="[%beginningDay%]">
147
  <input type="hidden" name="endingYear" value="[%endingYear%]">
148
  <input type="hidden" name="endingMonth" value="[%endingMonth%]">
149
  <input type="hidden" name="endingDay" value="[%endingDay%]">
150
  <input type="hidden" name="geogdesc" value="[%geogdesc%]">
151
  <input type="hidden" name="useSiteCoord" value="[%useSiteCoord%]">
152
  <input type="hidden" name="latDeg1" value="[% latDeg1 %]">
153
  <input type="hidden" name="latMin1" value="[%latMin1%]">
154
  <input type="hidden" name="latSec1" value="[%latSec1%]">
155
  <input type="hidden" name="hemisphLat1" value="[%hemisphLat1%]">
156
  <input type="hidden" name="longDeg1" value="[% longDeg1 %]">
157
  <input type="hidden" name="longMin1" value="[%longMin1%]">
158
  <input type="hidden" name="longSec1" value="[%longSec1%]">
159
  <input type="hidden" name="hemisphLong1" value="[%hemisphLong1%]">
160
  <input type="hidden" name="latDeg2" value="[%latDeg2%]">
161
  <input type="hidden" name="latMin2" value="[%latMin2%]">
162
  <input type="hidden" name="latSec2" value="[%latSec2%]">
163
  <input type="hidden" name="hemisphLat2" value="[%hemisphLat2%]">
164
  <input type="hidden" name="longDeg2" value="[%longDeg2%]">
165
  <input type="hidden" name="longMin2" value="[%longMin2%]">
166
  <input type="hidden" name="longSec2" value="[%longSec2%]">
167
  <input type="hidden" name="hemisphLong2" value="[%hemisphLong2%]">
168
  <input type="hidden" name="taxaCount" value="[%taxaCount%]">
169
  [% numTaxa = 0 %]
170
    [% IF taxaCount > 0 %]
171
        [% numTaxa = taxaCount %]
172 1929 brooke
    [% END %]
173 2023 sgarg
  [% cnt = 1 %]
174
  [% WHILE cnt <= numTaxa %]
175
      [% SET trn = "taxonRankName${cnt}" %]
176
      [% SET trv = "taxonRankValue${cnt}" %]
177
      <input type="hidden" name="[% trn %]" value="[% $trn %]">
178
      <input type="hidden" name="[% trv %]" value="[% $trv %]">
179
      [% cnt = cnt + 1 %]
180
  [% END %]
181
  <input type="hidden" name="taxaAuth" value="[%taxaAuth%]">
182
183
  <input type="hidden" name="methodTitle" value="[%methodTitle%]">
184
  [% FOREACH para = methodPara %]
185
      <input type="hidden" name="methodPara" value="[%para%]">
186
  [% END %]
187
  <input type="hidden" name="studyExtentDescription" value="[%studyExtentDescription%]">
188
  <input type="hidden" name="samplingDescription" value="[%samplingDescription%]">
189
190
       <p>To make changes to the entry just submitted,click
191
	<a href="#" onclick="document.editForm.submit()">here</a>.
192
       Otherwise, use the toolbar links above to navigate.</p>
193
      </form>
194
    [% END %]
195
    [% END %]
196 2335 sgarg
    [% END %]
197 1929 brooke
[% INCLUDE "genericFooter.tmpl" %]