[Bio] / FigKernelPackages / TemplateObject.pm Repository:
ViewVC logotype

Diff of /FigKernelPackages/TemplateObject.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1, Fri Jul 28 02:01:33 2006 UTC revision 1.2, Fri Jul 28 04:36:59 2006 UTC
# Line 160  Line 160 
160      }      }
161      # Now $template is either a null string (FALSE) or the name of the      # Now $template is either a null string (FALSE) or the name of the
162      # template (TRUE). We are ready to create the return object.      # template (TRUE). We are ready to create the return object.
163      my $retVal = { template => $template };      my $retVal = { template => $template,
164                       cgi => $cgi,
165                     };
166      # Next we add the object that will be accepting the HTML strings.      # Next we add the object that will be accepting the HTML strings.
167      if ($template) {      if ($template) {
168          $retVal->{varHash} = {};          $retVal->{varHash} = {};
# Line 307  Line 309 
309          $self->add(version =>          $self->add(version =>
310                     FigWebServices::SeedComponents::Framework::get_version({fig => $parameters->{fig_object},                     FigWebServices::SeedComponents::Framework::get_version({fig => $parameters->{fig_object},
311                                                                             fig_disk => $parameters->{fig_disk}}));                                                                             fig_disk => $parameters->{fig_disk}}));
312            # Next, the location tag.
313            $self->add(location_tag => $self->{cgi}->url());
314          # Finally the protein (if any).          # Finally the protein (if any).
315          if (exists $parameters->{peg_id}) {          if (exists $parameters->{peg_id}) {
316              $self->add(feature_id => $parameters->{peg_id});              $self->add(feature_id => $parameters->{peg_id});

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3