[themes] Example phptemplate theme

David Carrington david.carrington at gmail.com
Mon Dec 5 00:21:46 UTC 2005


On 05/12/05, Rowan Kerr <rowan0 at gmail.com> wrote:
> Actually, on my wishlist for phptemplate is finer-grained control of
> date/time/author variables for a node (instead of just $submitted).

You have access to $node, so you can make it anything you like:

<?php t('Scribbled quickly by %a on %b.', array('%a' =>
theme('username', $node), '%b' => format_date($node->created))); ?>

--
David Carrington


More information about the themes mailing list