cvs: smarty /docs/en/programmers/advanced-features advanced-features-postfilters.xml

"George Miroshnikov" <[email protected]>
Newsgroups gmane.comp.php.cvs.smarty
Message-ID <cvsfreespace1101421551@cvsserver>
freespace		Thu Nov 25 17:25:51 2004 EDT

  Modified files:              
    /smarty/docs/en/programmers/advanced-features	
                                                 	advanced-features-postfilters.xml 
  Log:
  Another small fix.
  Although semicolon isn't required here at all, I left one to avoid confusion.
  Please, correct me if I'm wrong.
  
http://cvs.php.net/diff.php/smarty/docs/en/programmers/advanced-features/advanced-features-postfilters.xml?r1=1.2&r2=1.3&ty=u
Index: smarty/docs/en/programmers/advanced-features/advanced-features-postfilters.xml
diff -u smarty/docs/en/programmers/advanced-features/advanced-features-postfilters.xml:1.2 smarty/docs/en/programmers/advanced-features/advanced-features-postfilters.xml:1.3
--- smarty/docs/en/programmers/advanced-features/advanced-features-postfilters.xml:1.2	Sat Nov 20 21:04:01 2004
+++ smarty/docs/en/programmers/advanced-features/advanced-features-postfilters.xml	Thu Nov 25 17:25:51 2004
@@ -1,10 +1,10 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
 <sect1 id="advanced.features.postfilters">
  <title>Postfilters</title>
  <para>
   Template postfilters are PHP functions that your templates are ran through
-  after they are compiled. Postfilters can be either 
+  after they are compiled. Postfilters can be either
   <link linkend="api.register.postfilter">registered</link> or loaded
   from the plugins directory by using
   <link linkend="api.load.filter">load_filter()</link> function or by
@@ -22,7 +22,7 @@
 // put this in your application
 function add_header_comment($tpl_source, &$smarty)
 {
-    return "<?php echo \"<!-- Created by Smarty! -->;\n\" ?>;\n".$tpl_source;
+    return "<?php echo \"<!-- Created by Smarty! -->\n\"; ?>\n".$tpl_source;
 }
 
 // register the postfilter

-- 
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.