Re: [PHP Template] dynamic blocks

From: Date: Wed, 16 Feb 2000 23:38:02 +0000
Subject: Re: [PHP Template] dynamic blocks
References: 1 2 3 4 5  Groups: php.template 
Request: Send a blank email to php-template+get-96@lists.php.net to get a copy of this message
On Wed, 16 Feb 2000, Monte Ohrt wrote: > This works too, its a new tag for the designer to > learn, but usable. again, maybe name attributes like so: > > {section: name=link} > <a href="{link}"><font face="{fontface}" > size="{fontsize}" > color="{fontcolor}">{linktext}</font></a> > {/section: name=link} > > {if: {title} != "foo"} > <b>{title}</b> > {else:} > <b>none</b> > {/if} I don't see why you'd need to put {..} around vars in {if: } construct. -Andrei

« previous php.template (#96) next »