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
        <h2>Failure</h2>
18 2023 sgarg
19
	<p>An error occurred.  Most likely some required fields
20 1929 brooke
        were missing.  Please check the list of errors below and
21 2023 sgarg
        click here to return to the previous form to fill in all
22
        required fields and submit the form again.</p>
23 1929 brooke
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 2023 sgarg
    [% IF status == 'success' %]
43 1929 brooke
       <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 2023 sgarg
    [% 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 2138 sgarg
  <input type="hidden" name="hasKeyword" value="[% hasKeyword %]">
53 2023 sgarg
  <input type="hidden" name="providerGivenName" value="[%providerGivenName%]">
54
  <input type="hidden" name="providerSurName" value="[%providerSurName%]">
55
  <input type="hidden" name="site" value="[%site%]">
56
  [% IF cfg == 'nceas' %]
57
      [% FOREACH group = wg %]
58
          <input type="hidden" name="wg" value="[%group%]">
59
      [% END %]
60
  [% END %]
61
  <input type="hidden" name="identifier" value="[%identifier%]">
62
  <input type="hidden" name="title" value="[%title%]">
63
  <input type="hidden" name="origNamefirst0" value="[%origNamefirst0%]">
64
  <input type="hidden" name="origNamelast0" value="[%origNamelast0%]">
65
  <input type="hidden" name="origNameOrg" value="[%origNameOrg%]">
66
  <input type="hidden" name="origRole0" value="[%origRole0%]">
67
  <input type="hidden" name="origDelivery" value="[%origDelivery%]">
68
  <input type="hidden" name="origCity" value="[%origCity%]">
69
  <input type="hidden" name="origState" value="[%origState%]">
70
  <input type="hidden" name="origStateOther" value="[%origStateOther%]">
71
  <input type="hidden" name="origZIP" value="[%origZIP%]">
72
  <input type="hidden" name="origCountry" value="[%origCountry%]">
73
  <input type="hidden" name="origPhone" value="[%origPhone%]">
74
  <input type="hidden" name="origFAX" value="[%origFAX%]">
75
  <input type="hidden" name="origEmail" value="[%origEmail%]">
76
  <input type="hidden" name="useOrigAddress" value="[%useOrigAddress%]">
77
  <input type="hidden" name="origNamefirstContact" value="[%origNamefirstContact%]">
78
  <input type="hidden" name="origNamelastContact" value="[%origNamelastContact%]">
79
  <input type="hidden" name="origNameOrgContact" value="[%origNameOrgContact%]">
80
  <input type="hidden" name="origDeliveryContact" value="[%origDeliveryContact%]">
81
  <input type="hidden" name="origCityContact" value="[%origCityContact%]">
82
  <input type="hidden" name="origStateContact" value="[%origStateContact%]">
83
  <input type="hidden" name="origStateOtherContact" value="[%origStateOtherContact%]">
84
  <input type="hidden" name="origZIPContact" value="[%origZIPContact%]">
85
  <input type="hidden" name="origCountryContact" value="[%origCountryContact%]">
86
  <input type="hidden" name="origPhoneContact" value="[%origPhoneContact%]">
87
  <input type="hidden" name="origFAXContact" value="[%origFAXContact%]">
88
  <input type="hidden" name="origEmailContact" value="[%origEmailContact%]">
89 2144 sgarg
 [% numAO = 0 %]
90
    [% IF aoCount > 0 %]
91
        [% numAO = aoCount %]
92
    [% END %]
93
  [% cnt = 1 %]
94
  [% WHILE cnt <= numAO %]
95
      [% SET origNamefirst = "origNamefirst${cnt}" %]
96
      [% SET origNamelast = "origNamelast${cnt}" %]
97
      [% SET origRole = "origRole${cnt}" %]
98
      <input type="hidden" name="[% origNamefirst %]" value="[% $origNamefirst%]">
99
      <input type="hidden" name="[% origNamelast %]" value="[% $origNamelast%]">
100
      <input type="hidden" name="[% origRole %]" value="[% $origRole%]">
101
      [% cnt = cnt + 1 %]
102
  [% END %]
103
104 2023 sgarg
  <input type="hidden" name="abstract" value="[%abstract%]">
105 2027 sgarg
  <input type="hidden" name="keyCount" value="[%keyCount%]">
106
  [% numKey = 0 %]
107
    [% IF keyCount > 0 %]
108
        [% numKey = keyCount %]
109
    [% END %]
110
  [% cnt = 1 %]
111
  [% WHILE cnt <= numKey %]
112
      [% SET kyd = "keyword${cnt}" %]
113
      [% SET keyType = "kwType${cnt}" %]
114
      [% SET keyTh = "kwTh${cnt}" %]
115
      <input type="hidden" name="[% kyd %]" value="[% $kyd %]">
116
      <input type="hidden" name="[% keyType %]" value="[% $keyType %]">
117
      <input type="hidden" name="[% keyTh %]" value="[% $keyTh %]">
118
      [% cnt = cnt + 1 %]
119
  [% END %]
120 2023 sgarg
  <input type="hidden" name="addComments" value="[%addComments%]">
121
  <input type="hidden" name="useConstraints" value="[%useConstraints%]">
122
  <input type="hidden" name="useConstraintsOther" value="[%useConstraintsOther%]">
123
  <input type="hidden" name="url" value="[%url%]">
124
  <input type="hidden" name="dataMedium" value="[%dataMedium%]">
125
  <input type="hidden" name="dataMediumOther" value="[%dataMediumOther%]">
126
  <input type="hidden" name="beginningYear" value="[%beginningYear%]">
127
  <input type="hidden" name="beginningMonth" value="[%beginningMonth%]">
128
  <input type="hidden" name="beginningDay" value="[%beginningDay%]">
129
  <input type="hidden" name="endingYear" value="[%endingYear%]">
130
  <input type="hidden" name="endingMonth" value="[%endingMonth%]">
131
  <input type="hidden" name="endingDay" value="[%endingDay%]">
132
  <input type="hidden" name="geogdesc" value="[%geogdesc%]">
133
  <input type="hidden" name="useSiteCoord" value="[%useSiteCoord%]">
134
  <input type="hidden" name="latDeg1" value="[% latDeg1 %]">
135
  <input type="hidden" name="latMin1" value="[%latMin1%]">
136
  <input type="hidden" name="latSec1" value="[%latSec1%]">
137
  <input type="hidden" name="hemisphLat1" value="[%hemisphLat1%]">
138
  <input type="hidden" name="longDeg1" value="[% longDeg1 %]">
139
  <input type="hidden" name="longMin1" value="[%longMin1%]">
140
  <input type="hidden" name="longSec1" value="[%longSec1%]">
141
  <input type="hidden" name="hemisphLong1" value="[%hemisphLong1%]">
142
  <input type="hidden" name="latDeg2" value="[%latDeg2%]">
143
  <input type="hidden" name="latMin2" value="[%latMin2%]">
144
  <input type="hidden" name="latSec2" value="[%latSec2%]">
145
  <input type="hidden" name="hemisphLat2" value="[%hemisphLat2%]">
146
  <input type="hidden" name="longDeg2" value="[%longDeg2%]">
147
  <input type="hidden" name="longMin2" value="[%longMin2%]">
148
  <input type="hidden" name="longSec2" value="[%longSec2%]">
149
  <input type="hidden" name="hemisphLong2" value="[%hemisphLong2%]">
150
  <input type="hidden" name="taxaCount" value="[%taxaCount%]">
151
  [% numTaxa = 0 %]
152
    [% IF taxaCount > 0 %]
153
        [% numTaxa = taxaCount %]
154 1929 brooke
    [% END %]
155 2023 sgarg
  [% cnt = 1 %]
156
  [% WHILE cnt <= numTaxa %]
157
      [% SET trn = "taxonRankName${cnt}" %]
158
      [% SET trv = "taxonRankValue${cnt}" %]
159
      <input type="hidden" name="[% trn %]" value="[% $trn %]">
160
      <input type="hidden" name="[% trv %]" value="[% $trv %]">
161
      [% cnt = cnt + 1 %]
162
  [% END %]
163
  <input type="hidden" name="taxaAuth" value="[%taxaAuth%]">
164
165
  <input type="hidden" name="methodTitle" value="[%methodTitle%]">
166
  [% FOREACH para = methodPara %]
167
      <input type="hidden" name="methodPara" value="[%para%]">
168
  [% END %]
169
  <input type="hidden" name="studyExtentDescription" value="[%studyExtentDescription%]">
170
  <input type="hidden" name="samplingDescription" value="[%samplingDescription%]">
171
172
       <p>To make changes to the entry just submitted,click
173
	<a href="#" onclick="document.editForm.submit()">here</a>.
174
       Otherwise, use the toolbar links above to navigate.</p>
175
      </form>
176
    [% END %]
177
    [% END %]
178 1929 brooke
[% INCLUDE "genericFooter.tmpl" %]