Smarty template parser for PhileCMS