Updated Smarty to latest stable version. Smarty 3.1.12