Is this plugin useful?
| From: | luis | Date: | Wed, 09 Apr 2003 14:06:02 +0000 |
| Subject: | Is this plugin useful? | ||
| Groups: | php.smarty.dev | ||
| Request: | Send a blank email to php-smarty-dev+get-1115@lists.php.net to get a copy of this message | ||
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