Re: Is this plugin useful?

From: Date: Wed, 09 Apr 2003 14:32:24 +0000
Subject: Re: Is this plugin useful?
References: 1  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-1117@lists.php.net to get a copy of this message
Luis wrote: > I wonder if a plugin to stop displaying a template may added to the > smarty distro, > Something like {stop [msg='foo']} that will be compiled into a > die('foo'); statement. > In some situations templates will be more readable if you can stop > displaying rather than using a bunch of {if}s or perhaps better: http://dev.feth.com/PHP/Smarty/compiler.die.phps greets, Joscha

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