Function smarty_outputfilter_trimwhitespace
Smarty trimwhitespace outputfilter plugin
File: outputfilter.trimwhitespace.php
Type: outputfilter
Name: trimwhitespace
Date: Jan 25, 2003
Purpose: trim leading white space and blank lines from template source after it
gets interpreted, cleaning up code and saving bandwidth. Does not affect
<<PRE>></PRE> and <SCRIPT></SCRIPT> blocks.
Install: Drop into the plugin directory, call <span
class="php-var">$smarty</span>->load_filter(<span
class="php-quote">'output'</span>,<span
class="php-quote">'trimwhitespace'</span>);
from
application.
Package: Smarty\plugins
Author: Monte Ohrt <monte at ohrt dot com>
Author: Contributions from Lars Noschinski <lars@usenet.noschinski.de>
Version: 1.3
Located at xoops_trust_path/libs/smarty/plugins/outputfilter.trimwhitespace.php
Author: Monte Ohrt <monte at ohrt dot com>
Author: Contributions from Lars Noschinski <lars@usenet.noschinski.de>
Version: 1.3
Located at xoops_trust_path/libs/smarty/plugins/outputfilter.trimwhitespace.php
string
|
$source |
|
|
& $smarty |