Re: [PHP Template] dynamic blocks

[email protected] (Dan Libby)
Newsgroups php.template
Message-ID <[email protected]>
> 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
danda.vcf (text/x-vcard, 304 B)
begin:vcard 
n:Libby;Dan
tel;work:650-210-2356
x-mozilla-html:TRUE
url:http://www.epinions.com
org:Epinions.com;Engineering
adr:;;;;;;
version:2.1
email;internet:[email protected]
title:Morlock
note:We're hiring at epinions.com.  Engineers, site designers, QA -- we need you.
fn:Dan Libby
end:vcard
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.