* Name: capitalize
* Purpose: capitalize words in the string
* @link http://smarty.php.net/manual/en/language.modifiers.php#LANGUAGE.MODIFIER.CAPITALIZE
* capitalize (Smarty online manual)
* @author Monte Ohrt
* @param string
* @return string
*/
function smarty_modifier_ucfirst($chaine)
{
return mb_convert_case($chaine, MB_CASE_TITLE, 'UTF-8');
}