[dev] Templates: conditions in arrays

Nuno Loureiro nuno at co.sapo.pt
Thu Sep 11 15:42:06 PDT 2003


Okay!

Have done the modifications you asked. Also I did one more modification
in a variable name to be more clear.

Please check if everything is ok, now.

Thanks.

On Thu, 2003-09-11 at 02:52, Chuck Hagenbuch wrote:
> 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.
-- 
Nuno Loureiro <nuno at co.sapo.pt>
PTM.com - http://www.sapo.pt/
PGP fingerprint = 8A32 5174 E80C 2D40 9075 405E C107 6592 054A 4D05
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tpl.diff
Type: text/x-patch
Size: 2934 bytes
Desc: not available
Url : http://lists.horde.org/archives/dev/attachments/20030911/67a4ab1a/tpl.bin


More information about the dev mailing list