5 * @subpackage plugins
\r
10 * Smarty indent modifier plugin
\r
12 * Type: modifier<br>
\r
14 * Purpose: indent lines of text
\r
15 * @link http://smarty.php.net/manual/en/language.modifier.indent.php
\r
16 * indent (Smarty online manual)
\r
22 function smarty_modifier_indent($string,$chars=4,$char=" ")
\r
24 return preg_replace('!^!m',str_repeat($char,$chars),$string);
\r