Revision 3422
Added by walbridge almost 17 years ago
genericResponse.tmpl | ||
---|---|---|
75 | 75 |
<input type="hidden" name="hasSpatial" value="[% hasSpatial %]"> |
76 | 76 |
<input type="hidden" name="hasTaxonomic" value="[% hasTaxonomic %]"> |
77 | 77 |
<input type="hidden" name="hasMethod" value="[% hasMethod %]"> |
78 |
<input type="hidden" name="hasUpload" value="[% hasUpload %]"> |
|
78 | 79 |
<input type="hidden" name="temporalRequired" value="[% temporalRequired %]"> |
79 | 80 |
<input type="hidden" name="spatialRequired" value="[% spatialRequired %]"> |
80 | 81 |
<input type="hidden" name="contactEmailAddressRequired" value="[% contactEmailAddressRequired %]"> |
... | ... | |
198 | 199 |
[% END %] |
199 | 200 |
<input type="hidden" name="studyExtentDescription" value="[%studyExtentDescription%]"> |
200 | 201 |
<input type="hidden" name="samplingDescription" value="[%samplingDescription%]"> |
201 |
|
|
202 |
<table class="intro" cellpadding="8" cellspacing="0"> |
|
203 |
<tr><td align="left"> |
|
204 |
<span class="regtext">Click the button below to return to the form and fill in the required fields.</span> |
|
205 |
<span class="redbold">Do NOT use the back button on your browser.</span> |
|
206 |
<span class="regtext">Submit the description again when you are finished.</span> |
|
207 |
</td></tr> |
|
202 |
<input type="hidden" name="fileCount" value="[%fileCount%]"> |
|
203 |
<input type="hidden" name="upCount" value="[%upCount%]"> |
|
204 |
[% fCount = 0 %] |
|
205 |
[% IF upCount > 0 %] |
|
206 |
[% fCount = upCount %] |
|
207 |
[% END %] |
|
208 |
|
|
209 |
[% cnt = 0 %] |
|
210 |
[% WHILE cnt < fCount %] |
|
211 |
[% SET fileSum = "upload_${cnt}" %] |
|
212 |
[% SET fileName = "uploadname_${cnt}" %] |
|
213 |
[% SET fileType = "uploadtype_${cnt}" %] |
|
214 |
|
|
215 |
[% IF fileSum %] |
|
216 |
|
|
217 |
<input type="hidden" name="[% fileSum %]" value="[% $fileSum %]"> |
|
218 |
<input type="hidden" name="[% fileName %]" value="[% $fileName %]"> |
|
219 |
<input type="hidden" name="[% fileType %]" value="[% $fileType %]"> |
|
220 |
[% END %] |
|
221 |
[% cnt = cnt + 1 %] |
|
222 |
[% END %] |
|
223 |
|
|
224 |
<table class="intro" cellpadding="8" cellspacing="0"> |
|
225 |
<tr><td align="left"> |
|
226 |
<span class="regtext">Click the button below to return to the form and fill in the required fields.</span> |
|
227 |
<span class="redbold">Do NOT use the back button on your browser.</span> |
|
228 |
<span class="regtext">Submit the description again when you are finished.</span> |
|
229 |
</td></tr> |
|
208 | 230 |
<tr> |
209 | 231 |
<td align="left"> |
210 | 232 |
<input type="submit" value="Return to Form"/> |
Also available in: Unified diff
Added submission of data files to the registry. New parameter 'hasUpload' can be set on a per-skin basis to enable the uploading of data objects to be associated with a metadata document. NCEAS skin is using this by default, to be changed in the future for other skins.
Refactored XML creation in register-dataset.cgi to use function stubs, to allow us flexibility in document creation.