RE: [PHP Template] Revised proposal

From: Date: Thu, 17 Feb 2000 22:53:42 +0000
Subject: RE: [PHP Template] Revised proposal
References: 1  Groups: php.template 
Request: Send a blank email to php-template+get-125@lists.php.net to get a copy of this message
> > Handling unnknowns is planned via .ini or some other setting. It will > either silently remove unknowns, loudly complain about them, or turn > them into HTML comments. > 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']? Just a thought; seems that this could be a very good fallback feature for simplicity... Travis Sitzlar

« previous php.template (#125) next »