Revision 2258
Added by Matt Jones over 19 years ago
entryForm.tmpl | ||
---|---|---|
268 | 268 |
|
269 | 269 |
</script> |
270 | 270 |
|
271 |
[% IF cfg == 'nrs' %] |
|
272 |
[% lsite = 'reserve' %] |
|
273 |
[% usite = 'Reserve' %] |
|
274 |
[% showSiteList = 'true' %] |
|
275 |
[% ELSIF cfg == 'obfs' %] |
|
276 |
[% lsite = 'station' %] |
|
277 |
[% usite = 'Station' %] |
|
278 |
[% showSiteList = 'true' %] |
|
279 |
[% ELSIF cfg == 'specnet' %] |
|
280 |
[% lsite = 'station' %] |
|
281 |
[% usite = 'Station' %] |
|
282 |
[% showSiteList = 'true' %] |
|
283 |
[% ELSIF cfg == 'nceas' %] |
|
284 |
[% lsite = 'station' %] |
|
285 |
[% usite = 'Station' %] |
|
286 |
[% showSiteList = 'false' %] |
|
287 |
[% ELSE %] |
|
288 |
[% lsite = 'station' %] |
|
289 |
[% usite = 'Station' %] |
|
290 |
[% showSiteList = 'false' %] |
|
291 |
[% END %] |
|
292 |
|
|
293 | 271 |
[% IF form != 're_entry' %] |
294 | 272 |
<p>Use this page to submit a <b>new</b> data set description for |
295 | 273 |
inclusion in the registry.</p> |
... | ... | |
376 | 354 |
<p align="left"> |
377 | 355 |
<input type="TEXT" name="title" value="[%title%]" size="53"> |
378 | 356 |
<span class="required">Data Set Title</span></p> |
379 |
[% IF cfg == 'nceas' %]
|
|
357 |
[% IF showWgList == 'true' %]
|
|
380 | 358 |
<p align="left"> |
381 | 359 |
<span class="required">NCEAS Project(s):</span></p> |
382 | 360 |
<select name="wg" multiple="multiple" size="5"> |
... | ... | |
397 | 375 |
[% END %] |
398 | 376 |
</select> |
399 | 377 |
[% END %] |
400 |
[% IF cfg == 'knb' %]
|
|
378 |
[% IF showOrganization == 'true' %]
|
|
401 | 379 |
<p align="left"> |
402 | 380 |
<input type="TEXT" name="site" size="40" value="[%site%]"> |
403 | 381 |
<span class="required">Organization Name</span> |
Also available in: Unified diff
Modifications to the registry to support the new ESA skin. Factored out some of
the configuration-specific code into properties that are set in the various
cfg files in the skins. New properties in the cfg files are lsite, usite,
showSiteList, showWgList, showOrganization. These now need to be set in every skin
configuration file, in addition to the previous settings. These changes need to be
tested for every skin before being deployed.