Smarty for the Mako php framework