Date: 03/30/00
- Next message: Sylvan Ravinet: "Re: [PHPLIB-DEV] cvs commit"
- Previous message: kir: "[PHPLIB-DEV] cvs commit"
- In reply to: kir: "[PHPLIB-DEV] cvs commit"
- Next in thread: Sylvan Ravinet: "Re: [PHPLIB-DEV] cvs commit"
- Reply: Sylvan Ravinet: "Re: [PHPLIB-DEV] cvs commit"
- Reply: Kirill Maximov: "Re: [PHPLIB-DEV] cvs commit"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
Kristian
-- Kristian Köhntopp, NetUSE Kommunikationstechnologie GmbH Siemenswall, D-24107 Kiel, Germany, +49 431 386 436 00 Using PHP3? See our web development library at http://phplib.netuse.de/ (We have moved! Update your bookmarks!) - 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.
- Next message: Sylvan Ravinet: "Re: [PHPLIB-DEV] cvs commit"
- Previous message: kir: "[PHPLIB-DEV] cvs commit"
- In reply to: kir: "[PHPLIB-DEV] cvs commit"
- Next in thread: Sylvan Ravinet: "Re: [PHPLIB-DEV] cvs commit"
- Reply: Sylvan Ravinet: "Re: [PHPLIB-DEV] cvs commit"
- Reply: Kirill Maximov: "Re: [PHPLIB-DEV] cvs commit"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

