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 2144 sgarg
 [% numAO = 0 %]
106
    [% IF aoCount > 0 %]
107
        [% numAO = aoCount %]
108
    [% END %]
109
  [% cnt = 1 %]
110
  [% WHILE cnt <= numAO %]
111
      [% SET origNamefirst = "origNamefirst${cnt}" %]
112
      [% SET origNamelast = "origNamelast${cnt}" %]
113
      [% SET origRole = "origRole${cnt}" %]
114
      <input type="hidden" name="[% origNamefirst %]" value="[% $origNamefirst%]">
115
      <input type="hidden" name="[% origNamelast %]" value="[% $origNamelast%]">
116
      <input type="hidden" name="[% origRole %]" value="[% $origRole%]">
117
      [% cnt = cnt + 1 %]
118
  [% END %]
119
120 2023 sgarg
  <input type="hidden" name="abstract" value="[%abstract%]">
121 2027 sgarg
  <input type="hidden" name="keyCount" value="[%keyCount%]">
122
  [% numKey = 0 %]
123
    [% IF keyCount > 0 %]
124
        [% numKey = keyCount %]
125
    [% END %]
126
  [% cnt = 1 %]
127
  [% WHILE cnt <= numKey %]
128
      [% SET kyd = "keyword${cnt}" %]
129
      [% SET keyType = "kwType${cnt}" %]
130
      [% SET keyTh = "kwTh${cnt}" %]
131
      <input type="hidden" name="[% kyd %]" value="[% $kyd %]">
132
      <input type="hidden" name="[% keyType %]" value="[% $keyType %]">
133
      <input type="hidden" name="[% keyTh %]" value="[% $keyTh %]">
134
      [% cnt = cnt + 1 %]
135
  [% END %]
136 2023 sgarg
  <input type="hidden" name="addComments" value="[%addComments%]">
137
  <input type="hidden" name="useConstraints" value="[%useConstraints%]">
138
  <input type="hidden" name="useConstraintsOther" value="[%useConstraintsOther%]">
139
  <input type="hidden" name="url" value="[%url%]">
140
  <input type="hidden" name="dataMedium" value="[%dataMedium%]">
141
  <input type="hidden" name="dataMediumOther" value="[%dataMediumOther%]">
142
  <input type="hidden" name="beginningYear" value="[%beginningYear%]">
143
  <input type="hidden" name="beginningMonth" value="[%beginningMonth%]">
144
  <input type="hidden" name="beginningDay" value="[%beginningDay%]">
145
  <input type="hidden" name="endingYear" value="[%endingYear%]">
146
  <input type="hidden" name="endingMonth" value="[%endingMonth%]">
147
  <input type="hidden" name="endingDay" value="[%endingDay%]">
148
  <input type="hidden" name="geogdesc" value="[%geogdesc%]">
149
  <input type="hidden" name="useSiteCoord" value="[%useSiteCoord%]">
150
  <input type="hidden" name="latDeg1" value="[% latDeg1 %]">
151
  <input type="hidden" name="latMin1" value="[%latMin1%]">
152
  <input type="hidden" name="latSec1" value="[%latSec1%]">
153
  <input type="hidden" name="hemisphLat1" value="[%hemisphLat1%]">
154
  <input type="hidden" name="longDeg1" value="[% longDeg1 %]">
155
  <input type="hidden" name="longMin1" value="[%longMin1%]">
156
  <input type="hidden" name="longSec1" value="[%longSec1%]">
157
  <input type="hidden" name="hemisphLong1" value="[%hemisphLong1%]">
158
  <input type="hidden" name="latDeg2" value="[%latDeg2%]">
159
  <input type="hidden" name="latMin2" value="[%latMin2%]">
160
  <input type="hidden" name="latSec2" value="[%latSec2%]">
161
  <input type="hidden" name="hemisphLat2" value="[%hemisphLat2%]">
162
  <input type="hidden" name="longDeg2" value="[%longDeg2%]">
163
  <input type="hidden" name="longMin2" value="[%longMin2%]">
164
  <input type="hidden" name="longSec2" value="[%longSec2%]">
165
  <input type="hidden" name="hemisphLong2" value="[%hemisphLong2%]">
166
  <input type="hidden" name="taxaCount" value="[%taxaCount%]">
167
  [% numTaxa = 0 %]
168
    [% IF taxaCount > 0 %]
169
        [% numTaxa = taxaCount %]
170 1929 brooke
    [% END %]
171 2023 sgarg
  [% cnt = 1 %]
172
  [% WHILE cnt <= numTaxa %]
173
      [% SET trn = "taxonRankName${cnt}" %]
174
      [% SET trv = "taxonRankValue${cnt}" %]
175
      <input type="hidden" name="[% trn %]" value="[% $trn %]">
176
      <input type="hidden" name="[% trv %]" value="[% $trv %]">
177
      [% cnt = cnt + 1 %]
178
  [% END %]
179
  <input type="hidden" name="taxaAuth" value="[%taxaAuth%]">
180
181
  <input type="hidden" name="methodTitle" value="[%methodTitle%]">
182
  [% FOREACH para = methodPara %]
183
      <input type="hidden" name="methodPara" value="[%para%]">
184
  [% END %]
185
  <input type="hidden" name="studyExtentDescription" value="[%studyExtentDescription%]">
186
  <input type="hidden" name="samplingDescription" value="[%samplingDescription%]">
187
188
       <p>To make changes to the entry just submitted,click
189
	<a href="#" onclick="document.editForm.submit()">here</a>.
190
       Otherwise, use the toolbar links above to navigate.</p>
191
      </form>
192
    [% END %]
193
    [% END %]
194 2335 sgarg
    [% END %]
195 1929 brooke
[% INCLUDE "genericFooter.tmpl" %]