PHPTemplate output is now more versatile