Re: [PHPLIB-DEV] cvs commit From: Sylvan Ravinet (sylvan <email protected>)
Date: 03/30/00

Kristian Köhntopp wrote:
>
> kir wrote:
> > - More story about templates. Now Template class from template.inc
> > supports conditional blocks:
> > <!-- BEGIN var IF {expression} --> {another_var} html code
> > <!-- END var -->
>
> Argh! Please no! Please remove this!
>
> NO CODE IN TEMPLATES! NO CONDITIONS IN TEMPLATES! NO LOGIC IN TEMPLATES!
>
> If you want to have conditional replacement of {PLACEHOLDER},
> set_var("PLACEHOLDER", ""); Anything programmatic does not
> belong into a template, but into your code.

yes, please let's not create again PHP but inside Templates...

-Sylvan
-
PHPLIB Developers Mailing List. Send messages to <phplib-dev <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-dev-request <email protected>> in
the body, not the subject, of your message.