Re-adds support for Michel Fortin's php Smarty Pants