10 * Smarty capitalize modifier plugin
13 * Name: capitalize<br>
14 * Purpose: capitalize words in the string
15 * @link http://smarty.php.net/manual/en/language.modifiers.php#LANGUAGE.MODIFIER.CAPITALIZE
16 * capitalize (Smarty online manual)
20 function smarty_modifier_capitalize($string)
22 return ucwords($string);