Smarty 3.1.20 upgrade (see changelog)