smarty truncate