[themes] shortcut for phptemplate variable printouts
Farsheed
tfarsheed at yahoo.com
Fri Jun 23 17:04:24 UTC 2006
Hi,
In order to minimize the php code seen by a themer, I
was wondering what people thought of making simple
aliases for basic printouts of phptemplate variables.
The phptemplate engine would go in and find these
aliases and convert them to their actual values.
BEFORE:
<?php print $content ?>
<?php print $sidebar_left ?>
AFTER:
{$content}
{$sidebar_left}
Just looking to reduce the amount of potentially
intimidating code for new themers. Of course regular
PHP should still work.
Farsheed
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the themes
mailing list