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