Re: [PHP Template] Revised proposal

From: Date: Thu, 17 Feb 2000 23:04:37 +0000
Subject: Re: [PHP Template] Revised proposal
References: 1 2  Groups: php.template 
Request: Send a blank email to php-template+get-126@lists.php.net to get a copy of this message
On Thu, 17 Feb 2000, Travis E. Sitzlar wrote: > This might be a dumb idea, but why not have an option to do an implicit > tpl_assign on unknowns? I.e., if a block of code such as > > {if: $title != "foo"} > <b>$title</b> > {else:} > <b>none</b> > {/if:} > > is encountered but there is no $title assigned, why not have a way of > auto-assigning $GLOBAL['title']? I don't think it's a good idea to automatically assign anything. Who knows what your $GLOBALS may contain and the designer will be bitten by it. -Andrei * Ethernet n.: something used to catch the etherbunny. *

« previous php.template (#126) next »