fixed #9 Web: SMARTY integration