[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.5, Tue Oct 17 18:44:33 2006 UTC revision 1.6, Fri Nov 3 18:22:31 2006 UTC
# Line 155  Line 155 
155          if ($FIG_Config::template_url) {          if ($FIG_Config::template_url) {
156              $template = "$FIG_Config::template_url/$template";              $template = "$FIG_Config::template_url/$template";
157          } else {          } else {
158              $template = "<<$FIG_Config::fig/CGI/Html";              $template = "<<$FIG_Config::fig/CGI/Html/$template";
159          }          }
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
# Line 341  Line 341 
341  sub titles {  sub titles {
342      # Get the parameters.      # Get the parameters.
343      my ($self, $parameters) = @_;      my ($self, $parameters) = @_;
344        my $cgi = $self->{cgi};
345      if ($self->{template}) {      if ($self->{template}) {
346          # In template mode, we get useful stuff from the framework. First, the message          # In template mode, we get useful stuff from the framework. First, the message
347          # of the day.          # of the day.
# Line 357  Line 358 
358          }          }
359      } else {      } else {
360          # No template, so we pull in the plain header.          # No template, so we pull in the plain header.
361            $self->add($cgi->start_html(-title => $parameters->{title}));
362          $self->add(header => FigWebServices::SeedComponents::Framework::get_plain_header($parameters));          $self->add(header => FigWebServices::SeedComponents::Framework::get_plain_header($parameters));
363      }      }
364  }  }

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3