Re: [SMARTY-DEV] Re: Is this plugin useful?

From: Date: Wed, 09 Apr 2003 16:23:52 +0000
Subject: Re: [SMARTY-DEV] Re: Is this plugin useful?
References: 1 2 3  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-1121@lists.php.net to get a copy of this message
On Wed, 9 Apr 2003 16:05:50 +0000, Messju Mohr wrote: > On Wed, Apr 09, 2003 at 12:36:33PM -0300, luis wrote: >> Yap bu think about a install script >> {if nodatabase} >> form asking for host... etc >> {else} >> {if no admin account} >> form asking for admin account >> {else} >> {if upgrading} >> .... >> {else} >> .... >> {/if} >> {/if} >> {/if} > hmm i wouldn't put that logic inside the template. I totally agree.... you should make templates as simple as possible... I don't see any reason to implement a die plugin, since die (or stop as you call it) should be run in the PHP code.... not in the templates.... Basically you are making your templates to advanced... you might as well not use templates at all then. -- Tom Sommer, Denmark www.tsn.dk - www.dreamcoder.dk

« previous php.smarty.dev (#1121) next »