[Templates-cvs] cvs commit: Template2/lib/Template Filters.pm

cvs@template-toolkit.org cvs@template-toolkit.org
Tue, 01 Jul 2003 13:43:56 +0100


cvs         03/07/01 12:43:55

  Modified:    lib/Template Filters.pm
  Log:
  Made the comments consistent with the syntax.
  
  Revision  Changes    Path
  2.72      +5 -5      Template2/lib/Template/Filters.pm
  
  Index: Filters.pm
  ===================================================================
  RCS file: /template-toolkit/Template2/lib/Template/Filters.pm,v
  retrieving revision 2.71
  retrieving revision 2.72
  diff -u -r2.71 -r2.72
  --- Filters.pm	2003/04/29 12:20:10	2.71
  +++ Filters.pm	2003/07/01 12:43:55	2.72
  @@ -18,7 +18,7 @@
   #
   #----------------------------------------------------------------------------
   #
  -# $Id: Filters.pm,v 2.71 2003/04/29 12:20:10 abw Exp $
  +# $Id: Filters.pm,v 2.72 2003/07/01 12:43:55 darren Exp $
   #
   #============================================================================
   
  @@ -31,7 +31,7 @@
   use vars qw( $VERSION $DEBUG $FILTERS $URI_ESCAPES $PLUGIN_FILTER );
   use Template::Constants;
   
  -$VERSION = sprintf("%d.%02d", q$Revision: 2.71 $ =~ /(\d+)\.(\d+)/);
  +$VERSION = sprintf("%d.%02d", q$Revision: 2.72 $ =~ /(\d+)\.(\d+)/);
   
   
   #------------------------------------------------------------------------
  @@ -538,7 +538,7 @@
   
   
   #------------------------------------------------------------------------
  -# redirect_filter_factory($context, $file)    [% Filter redirect(file) %]
  +# redirect_filter_factory($context, $file)    [% FILTER redirect(file) %]
   #
   # Create a filter to redirect the block text to a file.
   #------------------------------------------------------------------------
  @@ -567,7 +567,7 @@
   
   
   #------------------------------------------------------------------------
  -# stdout_filter_factory($context, $binmode)    [% Filter stdout(binmode) %]
  +# stdout_filter_factory($context, $binmode)    [% FILTER stdout(binmode) %]
   #
   # Create a filter to print a block to stdout, with an optional binmode.
   #------------------------------------------------------------------------
  @@ -586,7 +586,7 @@
   }
   
   #------------------------------------------------------------------------
  -# latex_filter_factory($context, $outputType)   [% Filter latex(outputType) %]
  +# latex_filter_factory($context, $outputType)   [% FILTER latex(outputType) %]
   #
   # Return a filter sub that converts a (hopefully) complete LaTeX source
   # file to either "ps", "dvi", or "pdf".  Output type should be "ps", "dvi"