Re: [PHP Template] Re: if statements
[email protected] ("Tobias Ratschiller")
| Newsgroups | php.template |
|---|---|
| Message-ID | <014d01bf7802$3806ca20$26d0f2c2@tobiasneu> |
> Not if the single match needs to be shown in red, for example, or have > some other formatting? Since now we're talking about formatting, that > belongs in the designer domain. That's true again. Okay, let me rephrase that: some compromise is needed - either you have application logic in the template, or layout in the code. So, I'm for if-constructs, and maybe other constructs, in the template as long as they don't slow down parsing considerably. -Tobias