Vanilla does not use any fancy templating. You will need to edit files with php in them and work around the system.
Comments
templating in an application like this is very impractical unless the template files can contain some sort of intelligence.
having plain old php in the templates doesn't incur the additional overhead that an additional templating system like Smarty would.