[dev] Templates: conditions in arrays

Chuck Hagenbuch chuck at horde.org
Wed Sep 10 18:52:01 PDT 2003


Quoting Nuno Loureiro <nuno at co.sapo.pt>:

> Here's a simple and possible patch for Horde Templates to let you have
> conditions in arrays, so you can do things like:
> <if:option.locked> ... </if:option.locked>

This looks okay and like it shouldn't hurt speed. However, the spacing and
function naming doesn't match CODING_STANDARDS, and array_bool() needs to be
documented (as well as renamed as noted).

-chuck

--
Charles Hagenbuch, <chuck at horde.org>
They're just looking at a wall of meat.


More information about the dev mailing list