Project

General

Profile

« Previous | Next » 

Revision 1975

Added by Matt Jones about 21 years ago

Updated registry further for NCEAS-specific needs. Confirm data template
now handles new wg field. Still need to write WG metadata into EML document.

View differences:

lib/style/common/templates/confirmData.tmpl
55 55
<p><b><font size="-1">Last Name:</font></b>         [%providerSurName%]
56 56
</p>
57 57

  
58
[% IF cfg == 'nceas' %]
59
    [% FOREACH group = wg %]
60
      <p><b><font size="-1">Working Group:</font></b>  [%group%] </p>
61
    [% END %]
62
[% ELSE %]
58 63
<p><b><font size="-1">[% usite %] Name:</font></b>  [%site%]
59 64
</p>
65
[% END %]
60 66

  
61 67
<p><b><font size="-1">Data Set Title:</font></b>     [%title%]
62 68
</p>
......
552 558
  <input type="hidden" name="providerGivenName" value="[%providerGivenName%]">
553 559
  <input type="hidden" name="providerSurName" value="[%providerSurName%]">
554 560
  <input type="hidden" name="site" value="[%site%]">
561
  [% IF cfg == 'nceas' %]
562
      [% FOREACH group = wg %]
563
          <input type="hidden" name="wg" value="[%group%]">
564
      [% END %]
565
  [% END %]
555 566
  <input type="hidden" name="identifier" value="[%identifier%]">
556 567
  <input type="hidden" name="title" value="[%title%]">
557 568
  <input type="hidden" name="origNamefirst0" value="[%origNamefirst0%]">
src/perl/register-dataset.cgi
2016 2016
	}else{
2017 2017
	    $$templateVars{'site'} = $FORM::site;
2018 2018
	}
2019
	if($FORM::cfg eq "nceas"){
2020
	    $$templateVars{'wg'} = \@FORM::wg;
2021
	}
2019 2022
	$$templateVars{'identifier'} = $FORM::identifier;
2020 2023
	$$templateVars{'title'} = $FORM::title;
2021 2024
	$$templateVars{'origNamefirst0'} = $FORM::origNamefirst0;
......
2242 2245
    $$templateVars{'providerGivenName'} = $FORM::providerGivenName;
2243 2246
    $$templateVars{'providerSurName'} = $FORM::providerSurName;
2244 2247
    $$templateVars{'site'} = $FORM::site;
2248
	if($FORM::cfg eq "nceas"){
2249
	    $$templateVars{'wg'} = \@FORM::wg;
2250
	}
2245 2251
    $$templateVars{'identifier'} = $FORM::identifier;
2246 2252
    $$templateVars{'title'} = $FORM::title;
2247 2253
    $$templateVars{'origNamefirst0'} = $FORM::origNamefirst0;

Also available in: Unified diff