Fixing docs a bit.

This commit is contained in:
andrey
2001-04-25 14:52:52 +00:00
parent e144ade561
commit 6dd3bc9cad
2 changed files with 8 additions and 9 deletions

View File

@@ -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

View File

@@ -1183,12 +1183,11 @@ $smarty->display("db:index.tpl");
<sect1 id="section.template.filters">
<title>Template Filters</title>
<para>
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 <link
linkend="api.register.filter">registered</link>.
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
<link linkend="api.register.filter">registered</link>.
</para>
<sect2>
<title>Example of a Template Filter</title>