[turba] Letter "Pager"

Mike Bydalek mbydalek at zivix.com
Thu Mar 11 14:44:25 PST 2004


Quoting Chuck Hagenbuch <chuck at horde.org>:
>
> The general rule is to keep *business* logic out of the templates - display
> logic in them is usually fine. Also, I'm not sure what logic you'd be moving
> into the template at all?

Just this line would do:

if (Util::getFormData ('key') == '**search') {}

If search, display pages, else display A-Z - display logic ;) If that's fine,
I'll do it and just send you a patch for the template.

-Mike


More information about the turba mailing list