isset
| From: | Andres Ferrando | Date: | Thu, 01 Aug 2002 17:07:43 +0000 |
| Subject: | isset | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-5538@lists.php.net to get a copy of this message | ||
Hi
I read Monte's mail about not use isset in templates, to improve
separation between logic and presentation ...
in a template, the correct is {if $flag} and not {if isset($flag) &&
$flag} ...
you'll implement this, or how can I test from a template that a part is
displayed only if a var is set, and not otherwise?
thanks!
--
Andres Ferrando <anferr@mecon.gov.ar>