Project

General

Profile

« Previous | Next » 

Revision 2023

Added by sgarg almost 21 years ago

Changes made to fix bug# 1326. There is a link which call register-dataset.cgi with all the inputs such as that resgiter-dataset calls reEnterDataSet

View differences:

lib/style/common/templates/genericResponse.tmpl
14 14
        [%END%]
15 15
    [% ELSE %]
16 16
        <h2>Failure</h2>
17

  
18
        <p>An error occurred.  Most likely some required fields
17
        
18
	<p>An error occurred.  Most likely some required fields
19 19
        were missing.  Please check the list of errors below and
20
        return to the previous form to fill in all required fields 
21
        and submit the form again.</p>
20
        click here to return to the previous form to fill in all 
21
        required fields and submit the form again.</p>
22 22

  
23 23
        <ul>
24 24
        [% FOREACH parameter = invalidParams %]
......
38 38
       <p>For a new entry, click on 'Register New Dataset' in the toolbar above.
39 39
       Otherwise, use the toolbar links above to navigate.</p>
40 40
    [% ELSE %]
41
    [% IF status == 'success' %]
41 42
       <p>For a new entry, or to make changes to the entry just submitted,
42 43
       use the return function in your browser to go back.
43 44
       Otherwise, use the toolbar links above to navigate.</p>
45
    [% 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
  <input type="hidden" name="keyword0" value="[%keyword0%]">
119
  <input type="hidden" name="kwType0" value="[%kwType0%]">
120
  <input type="hidden" name="kwTh0" value="[%kwTh0%]">
121
  <input type="hidden" name="keyword1" value="[%keyword1%]">
122
  <input type="hidden" name="kwType1" value="[%kwType1%]">
123
  <input type="hidden" name="kwTh1" value="[%kwTh1%]">
124
  <input type="hidden" name="keyword2" value="[%keyword2%]">
125
  <input type="hidden" name="kwType2" value="[%kwType2%]">
126
  <input type="hidden" name="kwTh2" value="[%kwTh2%]">
127
  <input type="hidden" name="keyword3" value="[%keyword3%]">
128
  <input type="hidden" name="kwType3" value="[%kwType3%]">
129
  <input type="hidden" name="kwTh3" value="[%kwTh3%]">
130
  <input type="hidden" name="keyword4" value="[%keyword4%]">
131
  <input type="hidden" name="kwType4" value="[%kwType4%]">
132
  <input type="hidden" name="kwTh4" value="[%kwTh4%]">
133
  <input type="hidden" name="keyword5" value="[%keyword5%]">
134
  <input type="hidden" name="kwType5" value="[%kwType5%]">
135
  <input type="hidden" name="kwTh5" value="[%kwTh5%]">
136
  <input type="hidden" name="keyword6" value="[%keyword6%]">
137
  <input type="hidden" name="kwType6" value="[%kwType6%]">
138
  <input type="hidden" name="kwTh6" value="[%kwTh6%]">
139
  <input type="hidden" name="keyword7" value="[%keyword7%]">
140
  <input type="hidden" name="kwType7" value="[%kwType7%]">
141
  <input type="hidden" name="kwTh7" value="[%kwTh7%]">
142
  <input type="hidden" name="keyword8" value="[%keyword8%]">
143
  <input type="hidden" name="kwType8" value="[%kwType8%]">
144
  <input type="hidden" name="kwTh8" value="[%kwTh8%]">
145
  <input type="hidden" name="keyword9" value="[%keyword9%]">
146
  <input type="hidden" name="kwType9" value="[%kwType9%]">
147
  <input type="hidden" name="kwTh9" value="[%kwTh9%]">
148
  <input type="hidden" name="addComments" value="[%addComments%]">
149
  <input type="hidden" name="useConstraints" value="[%useConstraints%]">
150
  <input type="hidden" name="useConstraintsOther" value="[%useConstraintsOther%]">
151
  <input type="hidden" name="url" value="[%url%]">
152
  <input type="hidden" name="dataMedium" value="[%dataMedium%]">
153
  <input type="hidden" name="dataMediumOther" value="[%dataMediumOther%]">
154
  <input type="hidden" name="beginningYear" value="[%beginningYear%]">
155
  <input type="hidden" name="beginningMonth" value="[%beginningMonth%]">
156
  <input type="hidden" name="beginningDay" value="[%beginningDay%]">
157
  <input type="hidden" name="endingYear" value="[%endingYear%]">
158
  <input type="hidden" name="endingMonth" value="[%endingMonth%]">
159
  <input type="hidden" name="endingDay" value="[%endingDay%]">
160
  <input type="hidden" name="geogdesc" value="[%geogdesc%]">
161
  <input type="hidden" name="useSiteCoord" value="[%useSiteCoord%]">
162
  <input type="hidden" name="latDeg1" value="[% latDeg1 %]">
163
  <input type="hidden" name="latMin1" value="[%latMin1%]">
164
  <input type="hidden" name="latSec1" value="[%latSec1%]">
165
  <input type="hidden" name="hemisphLat1" value="[%hemisphLat1%]">	
166
  <input type="hidden" name="longDeg1" value="[% longDeg1 %]">
167
  <input type="hidden" name="longMin1" value="[%longMin1%]">
168
  <input type="hidden" name="longSec1" value="[%longSec1%]">
169
  <input type="hidden" name="hemisphLong1" value="[%hemisphLong1%]">
170
  <input type="hidden" name="latDeg2" value="[%latDeg2%]">
171
  <input type="hidden" name="latMin2" value="[%latMin2%]">
172
  <input type="hidden" name="latSec2" value="[%latSec2%]">
173
  <input type="hidden" name="hemisphLat2" value="[%hemisphLat2%]">	
174
  <input type="hidden" name="longDeg2" value="[%longDeg2%]">
175
  <input type="hidden" name="longMin2" value="[%longMin2%]">
176
  <input type="hidden" name="longSec2" value="[%longSec2%]">
177
  <input type="hidden" name="hemisphLong2" value="[%hemisphLong2%]">
178
  <input type="hidden" name="taxaCount" value="[%taxaCount%]">
179
  [% numTaxa = 0 %]
180
    [% IF taxaCount > 0 %]
181
        [% numTaxa = taxaCount %]
44 182
    [% END %]
183
  [% cnt = 1 %]
184
  [% WHILE cnt <= numTaxa %]
185
      [% SET trn = "taxonRankName${cnt}" %]
186
      [% SET trv = "taxonRankValue${cnt}" %]
187
      <input type="hidden" name="[% trn %]" value="[% $trn %]">
188
      <input type="hidden" name="[% trv %]" value="[% $trv %]">
189
      [% cnt = cnt + 1 %]
190
  [% END %]
191
  <input type="hidden" name="taxaAuth" value="[%taxaAuth%]">
192

  
193
  <input type="hidden" name="methodTitle" value="[%methodTitle%]">
194
  [% FOREACH para = methodPara %]
195
      <input type="hidden" name="methodPara" value="[%para%]">
196
  [% END %]
197
  <input type="hidden" name="studyExtentDescription" value="[%studyExtentDescription%]">
198
  <input type="hidden" name="samplingDescription" value="[%samplingDescription%]">
199

  
200
       <p>To make changes to the entry just submitted,click 
201
	<a href="#" onclick="document.editForm.submit()">here</a>.
202
       Otherwise, use the toolbar links above to navigate.</p>
203
      </form>
204
    [% END %]
205
    [% END %]
45 206
[% INCLUDE "genericFooter.tmpl" %]

Also available in: Unified diff