Just added: a "CODE" tag that allows Perl code to live
inside a template.
As an example, I've now updarted the base templates with a couple of CODE tags. Basically, they sense whether or not you're using text menus or not, and display the header menu accordingly. (Sites using text menus used to have to manually modify their templates - no more!)
There's a lot of power here, though it might not be obvious at first. (I haven't even thought of most of the things you can do with this yet!

)
If you want to display something, don't print it, send it back to album.pl in a "return" statement. (See album_header.tml and album_footer.tml for examples.)
The nice part about this is that it makes templates more portable. If your template uses specific configuration items you can force those settings on or off. For example, you can force the number of columns to 1 if you have a template that works best in that mode. That way, if you share your template, the settings travel with it.
Granted, this is a hard concept to get a handle on, but it's very powerful and should allow for some very inventive templates.
If you have any questions (or better yet, ideas) just let me know.
Cheers