Re: [PHP Template] dynamic blocks
| From: | Dan Libby | Date: | Thu, 17 Feb 2000 06:12:13 +0000 |
| Subject: | Re: [PHP Template] dynamic blocks | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.template |
| Request: | Send a blank email to php-template+get-104@lists.php.net to get a copy of this message | ||
> What about named attributes for commands, i.e.
> {{section: name = header}} instead of {{section: header}}?
if you're going to do that, then it should be {{section name="header"}}.
And for consistency, variables should be {{var name="varname"}}. Of course,
that gets wordier. I used the semi-colon as a way to keep the variable
names short and still keep the namespace open for other types of
identifiers, like section.
-dan
Attachment: [text/x-vcard] Card for Dan Libby danda.vcf
Attachment: [text/x-vcard] Card for Dan Libby danda.vcf