Re: [PHP Template] A suggestion
| From: | Andrei Zmievski | Date: | Wed, 01 Mar 2000 14:35:07 +0000 |
| Subject: | Re: [PHP Template] A suggestion | ||
| References: | 1 2 3 4 5 6 | Groups: | php.template |
| Request: | Send a blank email to php-template+get-277@lists.php.net to get a copy of this message | ||
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. *