Another small fix.

Although semicolon isn't required here at all, I left one to avoid confusion.
Please, correct me if I'm wrong.
This commit is contained in:
freespace
2004-11-25 22:25:51 +00:00
parent ec0dabfc77
commit 7fc981a638

View File

@@ -4,7 +4,7 @@
<title>Postfilters</title> <title>Postfilters</title>
<para> <para>
Template postfilters are PHP functions that your templates are ran through 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 <link linkend="api.register.postfilter">registered</link> or loaded
from the plugins directory by using from the plugins directory by using
<link linkend="api.load.filter">load_filter()</link> function or by <link linkend="api.load.filter">load_filter()</link> function or by
@@ -22,7 +22,7 @@
// put this in your application // put this in your application
function add_header_comment($tpl_source, &$smarty) 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 // register the postfilter