From 7fc981a63823b963fb1e601fa1fdc2403a47849d Mon Sep 17 00:00:00 2001 From: freespace Date: Thu, 25 Nov 2004 22:25:51 +0000 Subject: [PATCH] Another small fix. Although semicolon isn't required here at all, I left one to avoid confusion. Please, correct me if I'm wrong. --- .../advanced-features/advanced-features-postfilters.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/programmers/advanced-features/advanced-features-postfilters.xml b/docs/en/programmers/advanced-features/advanced-features-postfilters.xml index 2992f8f3..30405c13 100644 --- a/docs/en/programmers/advanced-features/advanced-features-postfilters.xml +++ b/docs/en/programmers/advanced-features/advanced-features-postfilters.xml @@ -4,7 +4,7 @@ Postfilters 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 registered or loaded from the plugins directory by using load_filter() function or by @@ -22,7 +22,7 @@ // put this in your application function add_header_comment($tpl_source, &$smarty) { - return ";\n\" ?>;\n".$tpl_source; + return "\n\"; ?>\n".$tpl_source; } // register the postfilter