Re: [PHP Template] dynamic blocks
[email protected] (Andrei Zmievski)
| Newsgroups | php.template |
|---|---|
| Message-ID | <[email protected]> |
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)