Re: [PHP Template] dynamic blocks
| From: | Andrei Zmievski | Date: | Thu, 17 Feb 2000 21:53:20 +0000 |
| Subject: | Re: [PHP Template] dynamic blocks | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.template |
| Request: | Send a blank email to php-template+get-112@lists.php.net to get a copy of this message | ||
On Wed, 16 Feb 2000, Dan Libby wrote:
> 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.
No, I don't really like the {{var name="varname"}} stuff. {{section
name="header"}} might be OK, but even then I'm not sure it's totally
necessary. {{section: header autohide="yes"}} looks fine to me.
-Andrei
"Claiming Java is easier than C++ is like
saying that K2 is shorter than Everest."
-- Larry O'Brien (editor, Software Development)