Revision 1984
Added by Matt Jones over 20 years ago
confirmData.tmpl | ||
---|---|---|
484 | 484 |
</tr> |
485 | 485 |
</table> |
486 | 486 |
|
487 |
[% numTaxa = 0 %] |
|
488 |
[% IF taxaCount > 0 %] |
|
489 |
[% numTaxa = taxaCount %] |
|
490 |
[% END %] |
|
491 |
<hr> |
|
492 |
<a name="Taxonomic Coverage"></a> |
|
493 |
[% cnt = 1 %] |
|
494 |
[% WHILE cnt <= numTaxa %] |
|
495 |
[% SET trn = "taxonRankName${cnt}" %] |
|
496 |
[% SET trv = "taxonRankValue${cnt}" %] |
|
497 |
<p><b><font size="-1">Taxon:</font></b> [% $trn %]: [% $trv %]</p> |
|
498 |
[% cnt = cnt + 1 %] |
|
499 |
[% END %] |
|
487 | 500 |
|
488 | 501 |
[% IF cfg == 'nceas' %] |
489 | 502 |
<hr> |
490 | 503 |
<a name="Methods"></a> |
491 |
<p><b><font size="-1">Mthod Title:</font></b> [%methodTitle%]</p> |
|
504 |
<p><b><font size="-1">Method Title:</font></b> [%methodTitle%]</p>
|
|
492 | 505 |
[% FOREACH para = methodPara %] |
493 | 506 |
<p><b><font size="-1">Paragraph:</font></b> [%para%] </p> |
494 | 507 |
[% END %] |
... | ... | |
696 | 709 |
<input type="hidden" name="longMin2" value="[%longMin2%]"> |
697 | 710 |
<input type="hidden" name="longSec2" value="[%longSec2%]"> |
698 | 711 |
<input type="hidden" name="hemisphLong2" value="[%hemisphLong2%]"> |
712 |
<input type="hidden" name="taxaCount" value="[%taxaCount%]"> |
|
713 |
[% cnt = 1 %] |
|
714 |
[% WHILE cnt <= numTaxa %] |
|
715 |
[% SET trn = "taxonRankName${cnt}" %] |
|
716 |
[% SET trv = "taxonRankValue${cnt}" %] |
|
717 |
<input type="hidden" name="[% trn %]" value="[% $trn %]"> |
|
718 |
<input type="hidden" name="[% trv %]" value="[% $trv %]"> |
|
719 |
[% cnt = cnt + 1 %] |
|
720 |
[% END %] |
|
721 |
|
|
699 | 722 |
[% IF cfg == 'nceas' %] |
700 | 723 |
<input type="hidden" name="methodTitle" value="[%methodTitle%]"> |
701 | 724 |
[% FOREACH para = methodPara %] |
Also available in: Unified diff
Added the ability to describe taxonomicCoverage to the registry. This
allows an arbitrary number of species or other taxa to be listed, and the
editing form can dynamically grow through a simple javascript approach
(also used in Methods). Need to test thoroughly, and need to test on
other browsers -- works on Mozilla and Firebird so far.