[Bio] / Sprout / CompileTemplate.pl Repository:
ViewVC logotype

Diff of /Sprout/CompileTemplate.pl

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

revision 1.3, Tue Nov 6 13:54:53 2007 UTC revision 1.4, Thu Dec 6 14:48:44 2007 UTC
# Line 154  Line 154 
154    
155  =head3 CompileTemplate  =head3 CompileTemplate
156    
157  C<< CompileTemplate($ih, $oh, $copyName, $templateName, $style); >>      CompileTemplate($ih, $oh, $copyName, $templateName, $style);
158    
159  Compile a template from an input stream into a web page that can be used to generate code from  Compile a template from an input stream into a web page that can be used to generate code from
160  the template. The web page will contain a display of the template file plus a form allowing the  the template. The web page will contain a display of the template file plus a form allowing the
# Line 284  Line 284 
284      }      }
285      # Put in the file title row.      # Put in the file title row.
286      push @retVal, $cgi->Tr($cgi->td(["File Title", $cgi->textfield(-name => "fileTitle", -size => 40)]));      push @retVal, $cgi->Tr($cgi->td(["File Title", $cgi->textfield(-name => "fileTitle", -size => 40)]));
287        # Finally, add the description.
288        push @retVal, $cgi->Tr($cgi->td(["Description", $cgi->textarea(-name => 'desc', -rows => 10,
289                                                                       -cols => 80, -wrap => 'physical')]));
290      # Now for the submit button.      # Now for the submit button.
291      push @retVal, $cgi->Tr( $cgi->td({-colspan => 2, -align => "center" },      push @retVal, $cgi->Tr( $cgi->td({-colspan => 2, -align => "center" },
292                              $cgi->submit(-name => 'submit', -value => 'GENERATE')));                              $cgi->submit(-name => 'submit', -value => 'GENERATE')));

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3