A small library for use in PHP template files