Re: [PHP Template] A suggestion
[email protected] (Andrei Zmievski) Wed, 1 Mar 2000 08:35:07 -0600
| Newsgroups | php.template |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 01 Mar 2000, Dan Libby wrote: > > escape = html/url/none (or should it be 'no'?) > > fine. I think we should define either no or none as a standard option for most > attributes. My vote is for no cuz it is shorter. Well, yes/no are actually boolean values, so there's a conflict here because you specify 'html' (string), 'url' (string), or 'no' (boolean). Then you'd have to allow 'yes' as well, but it doesn't make sense. I'd much rather have 'none' as the final option, just hope it looks good: escape=none > me neither offhand, but remember to add unescape also. ;-) Unescape? -Andrei * 2 + 2 = 5 for extremely large values of 2. *