Re: Conditional include
| From: | Luc Saint-Elie | Date: | Thu, 19 Jul 2001 15:09:13 +0000 |
| Subject: | Re: Conditional include | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1211@lists.php.net to get a copy of this message | ||
Hello,
I do agree, and I hope that if a attribute option is added, the if-if option
will be kept.
{if $condition}
.....
{/if}
is far more obvious
Luc
En réponse à Andrei Zmievski <andrei@ispi.net>:
>
> I have to disagree. In the former case, there is a
> clear syntax that you can just read through,
> "if something, then include file such and such".
> The latter case is more confusing, "include file
> such and such.. and show something"?