Sugar is a new template engine for PHP, similar in spirit to Smarty.
A powerful and flexible compilation engine is used which allows for powerful expressions similar to that of PHP itself. It also features a clean and easy to understand syntax, which was created with the average designer in mind.
Security is a strength of Sugar. For example, output is HTML-escaped by default, instead of requiring explicit escaping like PHP itself, which makes it far less likely to accidentally introduce an HTML or JavaScript code injection vulnerability from user-submitted content.