Re: comments on the template engine example document
[email protected] (Monte Ohrt) Thu, 23 Mar 2000 13:12:43 -0600
| Newsgroups | php.template |
|---|---|
| Organization | ispi |
| Message-ID | <[email protected]> |
jm wrote:
>
> I hope my example was clear...
> I found that quite powerful and therefore my rejection of "logic" stuff
> directly in the template. Another thing you might want to consider is that
> not all people are native english speaker and a
> {section}
> {alternate}
> {/section}
> is as complicated for them as some php code.
>
How about:
{section}
{sectionelse}
{/section}
we already have:
{if}
{else}
{/if}
We could follow this syntax concept. It would be tough to make the
syntax meaningful in all languages.
Monte