23 Feb
2008
23 Feb
'08
9:51 p.m.
Larry Garfield wrote:
That's also the original logic behind the component module:
http://drupal.org/project/component
That said, -1 to putting function calls directly in the template. They're not portable to other template engines other than PHPTemplate. That's also putting too much logic into a template, where it belongs in a theme/template (preprocess) function.
We already rely on templates being able to use the t() function and theme ('links') appears in the standard page.tpl.php as well.