From 6dd3bc9cad87e8efa3b1cbcb235c1678174416f0 Mon Sep 17 00:00:00 2001 From: andrey Date: Wed, 25 Apr 2001 14:52:52 +0000 Subject: [PATCH] Fixing docs a bit. --- RELEASE_NOTES | 6 +++--- docs.sgml | 11 +++++------ 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/RELEASE_NOTES b/RELEASE_NOTES index 8e55f749..97f4a83a 100644 --- a/RELEASE_NOTES +++ b/RELEASE_NOTES @@ -51,9 +51,9 @@ etc. Just give some formats a try and see what works. Smarty now has template filters, meaning that you can run your templates through custom functions before they are compiled. This is good for things like -removing unwanted comments, "beautifying" your template code, keep an eye on -words or functionality people are putting in templates, translating XML -> -HTML, etc. See the register_filter documentation for more info. +removing unwanted comments, keeping an eye on words or functionality people are +putting in templates, translating XML -> HTML, etc. See the register_filter +documentation for more info. UPGRADE NOTES diff --git a/docs.sgml b/docs.sgml index 9b4231f5..e6bf838d 100644 --- a/docs.sgml +++ b/docs.sgml @@ -1183,12 +1183,11 @@ $smarty->display("db:index.tpl"); Template Filters - Template filters are PHP functions that your templates are ran through - before they are compiled. This is good for preprocessing your templates - to remove unwanted comments, "beautify" the template code, keep an eye - on what people are putting in their templates, etc. Filters are - processed in the order they are registered. + Template filters are PHP functions that your templates are ran through + before they are compiled. This is good for preprocessing your templates + to remove unwanted comments, keeping an eye on what people are putting + in their templates, etc. Filters are processed in the order they are + registered. Example of a Template Filter