--- nfo/php/libs/net.php.smarty/plugins/modifier.indent.php 2002/10/09 00:53:36 1.1 +++ nfo/php/libs/net.php.smarty/plugins/modifier.indent.php 2004/06/16 21:58:17 1.2 @@ -1,16 +1,27 @@ + * Name: indent
* Purpose: indent lines of text - * ------------------------------------------------------------- + * @link http://smarty.php.net/manual/en/language.modifier.indent.php + * indent (Smarty online manual) + * @param string + * @param integer + * @param string + * @return string */ function smarty_modifier_indent($string,$chars=4,$char=" ") { - return preg_replace('!^!m',str_repeat($char,$chars),$string); + return preg_replace('!^!m',str_repeat($char,$chars),$string); } ?>